refactor(ui): use relative internal imports

This commit is contained in:
Maofeng
2026-09-21 17:32:06 +08:00
parent 4c61e79d0d
commit 91cfb3d068
59 changed files with 114 additions and 150 deletions
+4 -8
View File
@@ -7,14 +7,10 @@ import {
type DayButton,
} from "react-day-picker"
import { cn } from "@workspace/ui/lib/utils"
import { Button, buttonVariants } from "@workspace/ui/components/button"
import { useCalendarLocale, useLocale } from "@workspace/ui/components/i18n"
import {
ChevronLeftIcon,
ChevronRightIcon,
ChevronDownIcon,
} from "@workspace/ui/components/icon"
import { cn } from "../lib/utils"
import { Button, buttonVariants } from "./button"
import { useCalendarLocale, useLocale } from "./i18n"
import { ChevronLeftIcon, ChevronRightIcon, ChevronDownIcon } from "./icon"
type CalendarComponents = NonNullable<
React.ComponentProps<typeof DayPicker>["components"]