mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 04:32:15 +01:00
Use relative cn imports in UI package to improve isolation and fix
package build
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
CalendarRoot,
|
CalendarRoot,
|
||||||
type CalendarRootEmits,
|
type CalendarRootEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { CalendarGrid, type CalendarGridProps, useForwardProps } from 'reka-ui';
|
import { CalendarGrid, type CalendarGridProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { CalendarGridRow, type CalendarGridRowProps, useForwardProps } from 'reka-ui';
|
import { CalendarGridRow, type CalendarGridRowProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { CalendarHeadCell, type CalendarHeadCellProps, useForwardProps } from 'reka-ui';
|
import { CalendarHeadCell, type CalendarHeadCellProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { CalendarHeader, type CalendarHeaderProps, useForwardProps } from 'reka-ui';
|
import { CalendarHeader, type CalendarHeaderProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { CalendarHeading, type CalendarHeadingProps, useForwardProps } from 'reka-ui';
|
import { CalendarHeading, type CalendarHeadingProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from 'vue';
|
|||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { Check } from 'lucide-vue-next';
|
import { Check } from 'lucide-vue-next';
|
||||||
import { ContextMenuCheckboxItem, ContextMenuItemIndicator, useForwardPropsEmits } from 'reka-ui';
|
import { ContextMenuCheckboxItem, ContextMenuItemIndicator, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<ContextMenuCheckboxItemProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<ContextMenuCheckboxItemProps & { class?: HTMLAttributes['class'] }>();
|
||||||
const emits = defineEmits<ContextMenuCheckboxItemEmits>();
|
const emits = defineEmits<ContextMenuCheckboxItemEmits>();
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { ContextMenuContentEmits, ContextMenuContentProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { ContextMenuContent, ContextMenuPortal, useForwardPropsEmits } from 'reka-ui';
|
import { ContextMenuContent, ContextMenuPortal, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<ContextMenuContentProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<ContextMenuContentProps & { class?: HTMLAttributes['class'] }>();
|
||||||
const emits = defineEmits<ContextMenuContentEmits>();
|
const emits = defineEmits<ContextMenuContentEmits>();
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { ContextMenuItemEmits, ContextMenuItemProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { ContextMenuItem, useForwardPropsEmits } from 'reka-ui';
|
import { ContextMenuItem, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
ContextMenuItemProps & { class?: HTMLAttributes['class']; inset?: boolean }
|
ContextMenuItemProps & { class?: HTMLAttributes['class']; inset?: boolean }
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { ContextMenuLabelProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { ContextMenuLabel } from 'reka-ui';
|
import { ContextMenuLabel } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
ContextMenuLabelProps & { class?: HTMLAttributes['class']; inset?: boolean }
|
ContextMenuLabelProps & { class?: HTMLAttributes['class']; inset?: boolean }
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from 'vue';
|
|||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { Circle } from 'lucide-vue-next';
|
import { Circle } from 'lucide-vue-next';
|
||||||
import { ContextMenuItemIndicator, ContextMenuRadioItem, useForwardPropsEmits } from 'reka-ui';
|
import { ContextMenuItemIndicator, ContextMenuRadioItem, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<ContextMenuRadioItemProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<ContextMenuRadioItemProps & { class?: HTMLAttributes['class'] }>();
|
||||||
const emits = defineEmits<ContextMenuRadioItemEmits>();
|
const emits = defineEmits<ContextMenuRadioItemEmits>();
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { ContextMenuSeparatorProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { ContextMenuSeparator } from 'reka-ui';
|
import { ContextMenuSeparator } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<ContextMenuSeparatorProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<ContextMenuSeparatorProps & { class?: HTMLAttributes['class'] }>();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { DropdownMenuSubContentEmits, DropdownMenuSubContentProps } from 'r
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { ContextMenuSubContent, useForwardPropsEmits } from 'reka-ui';
|
import { ContextMenuSubContent, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<DropdownMenuSubContentProps & { class?: HTMLAttributes['class'] }>();
|
||||||
const emits = defineEmits<DropdownMenuSubContentEmits>();
|
const emits = defineEmits<DropdownMenuSubContentEmits>();
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from 'vue';
|
|||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { ChevronRight } from 'lucide-vue-next';
|
import { ChevronRight } from 'lucide-vue-next';
|
||||||
import { ContextMenuSubTrigger, useForwardProps } from 'reka-ui';
|
import { ContextMenuSubTrigger, useForwardProps } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<
|
const props = defineProps<
|
||||||
ContextMenuSubTriggerProps & { class?: HTMLAttributes['class']; inset?: boolean }
|
ContextMenuSubTriggerProps & { class?: HTMLAttributes['class']; inset?: boolean }
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
DialogContent,
|
DialogContent,
|
||||||
type DialogContentEmits,
|
type DialogContentEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { DialogDescription, type DialogDescriptionProps, useForwardProps } from 'reka-ui';
|
import { DialogDescription, type DialogDescriptionProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{ class?: HTMLAttributes['class'] }>();
|
const props = defineProps<{ class?: HTMLAttributes['class'] }>();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { X } from 'lucide-vue-next';
|
import { X } from 'lucide-vue-next';
|
||||||
import {
|
import {
|
||||||
DialogClose,
|
DialogClose,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { DialogTitle, type DialogTitleProps, useForwardProps } from 'reka-ui';
|
import { DialogTitle, type DialogTitleProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Check } from 'lucide-vue-next';
|
import { Check } from 'lucide-vue-next';
|
||||||
import {
|
import {
|
||||||
DropdownMenuCheckboxItem,
|
DropdownMenuCheckboxItem,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
DropdownMenuContent,
|
DropdownMenuContent,
|
||||||
type DropdownMenuContentEmits,
|
type DropdownMenuContentEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from 'reka-ui';
|
import { DropdownMenuItem, type DropdownMenuItemProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from 'reka-ui';
|
import { DropdownMenuLabel, type DropdownMenuLabelProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Circle } from 'lucide-vue-next';
|
import { Circle } from 'lucide-vue-next';
|
||||||
import {
|
import {
|
||||||
DropdownMenuItemIndicator,
|
DropdownMenuItemIndicator,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { DropdownMenuSeparator, type DropdownMenuSeparatorProps } from 'reka-ui';
|
import { DropdownMenuSeparator, type DropdownMenuSeparatorProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
DropdownMenuSubContent,
|
DropdownMenuSubContent,
|
||||||
type DropdownMenuSubContentEmits,
|
type DropdownMenuSubContentEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { ChevronRight } from 'lucide-vue-next';
|
import { ChevronRight } from 'lucide-vue-next';
|
||||||
import { DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, useForwardProps } from 'reka-ui';
|
import { DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import type { FieldVariants } from '.';
|
import type { FieldVariants } from '.';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { fieldVariants } from '.';
|
import { fieldVariants } from '.';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { computed } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { Component, HTMLAttributes } from 'vue';
|
import type { Component, HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Label } from '../label/index';
|
import { Label } from '../label/index';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Separator } from '../separator';
|
import { Separator } from '../separator';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { LabelProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { Label } from 'reka-ui';
|
import { Label } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<LabelProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<LabelProps & { class?: HTMLAttributes['class'] }>();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { NumberFieldRootEmits, NumberFieldRootProps } from 'reka-ui';
|
import type { NumberFieldRootEmits, NumberFieldRootProps } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { NumberFieldRoot, useForwardPropsEmits } from 'reka-ui';
|
import { NumberFieldRoot, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes, inject, type ComputedRef } from 'vue';
|
import { computed, type HTMLAttributes, inject, type ComputedRef } from 'vue';
|
||||||
import type { Organization } from '@/packages/api/src';
|
import type { Organization } from '@/packages/api/src';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
class?: HTMLAttributes['class'];
|
class?: HTMLAttributes['class'];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { NumberFieldDecrementProps } from 'reka-ui';
|
import type { NumberFieldDecrementProps } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Minus } from 'lucide-vue-next';
|
import { Minus } from 'lucide-vue-next';
|
||||||
import { NumberFieldDecrement, useForwardProps } from 'reka-ui';
|
import { NumberFieldDecrement, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { NumberFieldIncrementProps } from 'reka-ui';
|
import type { NumberFieldIncrementProps } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Plus } from 'lucide-vue-next';
|
import { Plus } from 'lucide-vue-next';
|
||||||
import { NumberFieldIncrement, useForwardProps } from 'reka-ui';
|
import { NumberFieldIncrement, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { NumberFieldInput } from 'reka-ui';
|
import { NumberFieldInput } from 'reka-ui';
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
PopoverContent,
|
PopoverContent,
|
||||||
type PopoverContentEmits,
|
type PopoverContentEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
RangeCalendarRoot,
|
RangeCalendarRoot,
|
||||||
type RangeCalendarRootEmits,
|
type RangeCalendarRootEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { RangeCalendarCell, type RangeCalendarCellProps, useForwardProps } from 'reka-ui';
|
import { RangeCalendarCell, type RangeCalendarCellProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { RangeCalendarGrid, type RangeCalendarGridProps, useForwardProps } from 'reka-ui';
|
import { RangeCalendarGrid, type RangeCalendarGridProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { RangeCalendarGridRow, type RangeCalendarGridRowProps, useForwardProps } from 'reka-ui';
|
import { RangeCalendarGridRow, type RangeCalendarGridRowProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { RangeCalendarHeadCell, type RangeCalendarHeadCellProps, useForwardProps } from 'reka-ui';
|
import { RangeCalendarHeadCell, type RangeCalendarHeadCellProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { RangeCalendarHeader, type RangeCalendarHeaderProps, useForwardProps } from 'reka-ui';
|
import { RangeCalendarHeader, type RangeCalendarHeaderProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { RangeCalendarHeading, type RangeCalendarHeadingProps, useForwardProps } from 'reka-ui';
|
import { RangeCalendarHeading, type RangeCalendarHeadingProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import {
|
import {
|
||||||
SelectContent,
|
SelectContent,
|
||||||
type SelectContentEmits,
|
type SelectContentEmits,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { SelectGroup, type SelectGroupProps } from 'reka-ui';
|
import { SelectGroup, type SelectGroupProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { Check } from 'lucide-vue-next';
|
import { Check } from 'lucide-vue-next';
|
||||||
import {
|
import {
|
||||||
SelectItem,
|
SelectItem,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { SelectLabel, type SelectLabelProps } from 'reka-ui';
|
import { SelectLabel, type SelectLabelProps } from 'reka-ui';
|
||||||
|
|
||||||
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes['class'] }>();
|
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes['class'] }>();
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { ChevronDown } from 'lucide-vue-next';
|
import { ChevronDown } from 'lucide-vue-next';
|
||||||
import { SelectScrollDownButton, type SelectScrollDownButtonProps, useForwardProps } from 'reka-ui';
|
import { SelectScrollDownButton, type SelectScrollDownButtonProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { ChevronUp } from 'lucide-vue-next';
|
import { ChevronUp } from 'lucide-vue-next';
|
||||||
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from 'reka-ui';
|
import { SelectScrollUpButton, type SelectScrollUpButtonProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { SelectSeparator, type SelectSeparatorProps } from 'reka-ui';
|
import { SelectSeparator, type SelectSeparatorProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
import { ChevronDown } from 'lucide-vue-next';
|
import { ChevronDown } from 'lucide-vue-next';
|
||||||
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from 'reka-ui';
|
import { SelectIcon, SelectTrigger, type SelectTriggerProps, useForwardProps } from 'reka-ui';
|
||||||
import { computed, type HTMLAttributes } from 'vue';
|
import { computed, type HTMLAttributes } from 'vue';
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { SeparatorProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { Separator } from 'reka-ui';
|
import { Separator } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
const props = withDefaults(defineProps<SeparatorProps & { class?: HTMLAttributes['class'] }>(), {
|
const props = withDefaults(defineProps<SeparatorProps & { class?: HTMLAttributes['class'] }>(), {
|
||||||
orientation: 'horizontal',
|
orientation: 'horizontal',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { TooltipContentEmits, TooltipContentProps } from 'reka-ui';
|
|||||||
import type { HTMLAttributes } from 'vue';
|
import type { HTMLAttributes } from 'vue';
|
||||||
import { reactiveOmit } from '@vueuse/core';
|
import { reactiveOmit } from '@vueuse/core';
|
||||||
import { TooltipContent, TooltipPortal, useForwardPropsEmits } from 'reka-ui';
|
import { TooltipContent, TooltipPortal, useForwardPropsEmits } from 'reka-ui';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '../utils/cn';
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user