chore: move ui utils to utils/ui
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<script lang="ts">
|
||||
import { Select as SelectPrimitive } from 'bits-ui';
|
||||
|
||||
import { type WithoutChild, cn } from '$lib/utils.js';
|
||||
import { type WithoutChild, cn } from '$lib/utils/ui.js';
|
||||
|
||||
import SelectPortal from './select-portal.svelte';
|
||||
import SelectScrollDownButton from './select-scroll-down-button.svelte';
|
||||
import SelectScrollUpButton from './select-scroll-up-button.svelte';
|
||||
|
||||
import type { WithoutChildrenOrChild } from '$lib/utils.js';
|
||||
import type { WithoutChildrenOrChild } from '$lib/utils/ui.js';
|
||||
import type { ComponentProps } from 'svelte';
|
||||
|
||||
let {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Select as SelectPrimitive } from 'bits-ui';
|
||||
|
||||
import { cn } from '$lib/utils.js';
|
||||
import { cn } from '$lib/utils/ui.js';
|
||||
|
||||
import type { ComponentProps } from 'svelte';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import CheckIcon from '@lucide/svelte/icons/check';
|
||||
import { Select as SelectPrimitive } from 'bits-ui';
|
||||
|
||||
import { type WithoutChild, cn } from '$lib/utils.js';
|
||||
import { type WithoutChild, cn } from '$lib/utils/ui.js';
|
||||
|
||||
let {
|
||||
ref = $bindable(null),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { type WithElementRef, cn } from '$lib/utils.js';
|
||||
import { type WithElementRef, cn } from '$lib/utils/ui.js';
|
||||
|
||||
import type { HTMLAttributes } from 'svelte/elements';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
|
||||
import { Select as SelectPrimitive } from 'bits-ui';
|
||||
|
||||
import { type WithoutChildrenOrChild, cn } from '$lib/utils.js';
|
||||
import { type WithoutChildrenOrChild, cn } from '$lib/utils/ui.js';
|
||||
|
||||
let {
|
||||
ref = $bindable(null),
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import ChevronUpIcon from '@lucide/svelte/icons/chevron-up';
|
||||
import { Select as SelectPrimitive } from 'bits-ui';
|
||||
|
||||
import { type WithoutChildrenOrChild, cn } from '$lib/utils.js';
|
||||
import { type WithoutChildrenOrChild, cn } from '$lib/utils/ui.js';
|
||||
|
||||
let {
|
||||
ref = $bindable(null),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { cn } from '$lib/utils.js';
|
||||
import { cn } from '$lib/utils/ui.js';
|
||||
|
||||
import { Separator } from '$lib/components/ui/separator/index.js';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import ChevronDownIcon from '@lucide/svelte/icons/chevron-down';
|
||||
import { Select as SelectPrimitive } from 'bits-ui';
|
||||
|
||||
import { type WithoutChild, cn } from '$lib/utils.js';
|
||||
import { type WithoutChild, cn } from '$lib/utils/ui.js';
|
||||
|
||||
let {
|
||||
ref = $bindable(null),
|
||||
|
||||
Reference in New Issue
Block a user