From 549bdd9f681b51b076910f64ccc4b353162f0cdf Mon Sep 17 00:00:00 2001 From: keven1024 Date: Sun, 24 May 2026 14:06:03 +0800 Subject: [PATCH] chore(dependencies): replace lucide-vue-next imports with @lucide/vue across multiple components for consistency and improved dependency management --- front/components/Field/FileUploadField.vue | 2 +- front/components/FileIcon/File.vue | 2 +- .../Home/File/FileUploadProgressView/index.vue | 2 +- front/components/Navbar.vue | 3 +-- front/components/Share/FileShareView.vue | 2 +- front/components/Share/TextShareView.vue | 2 +- .../components/ui/accordion/AccordionTrigger.vue | 2 +- front/components/ui/command/CommandInput.vue | 2 +- front/components/ui/dialog/DialogContent.vue | 2 +- .../components/ui/dialog/DialogScrollContent.vue | 2 +- .../ui/dropdown-menu/DropdownMenuCheckboxItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuRadioItem.vue | 2 +- .../ui/dropdown-menu/DropdownMenuSubTrigger.vue | 2 +- .../components/ui/menubar/MenubarCheckboxItem.vue | 2 +- front/components/ui/menubar/MenubarRadioItem.vue | 2 +- front/components/ui/menubar/MenubarSubTrigger.vue | 2 +- .../components/ui/pin-input/PinInputSeparator.vue | 15 ++++++--------- front/components/ui/select/SelectItem.vue | 2 +- .../ui/select/SelectScrollDownButton.vue | 2 +- .../components/ui/select/SelectScrollUpButton.vue | 2 +- front/components/ui/select/SelectTrigger.vue | 2 +- 21 files changed, 26 insertions(+), 30 deletions(-) diff --git a/front/components/Field/FileUploadField.vue b/front/components/Field/FileUploadField.vue index 7ed1695..c0eeac9 100644 --- a/front/components/Field/FileUploadField.vue +++ b/front/components/Field/FileUploadField.vue @@ -3,7 +3,7 @@ import FileUpload from '@/components/FileUpload.vue' import { cx } from 'class-variance-authority' import type { RuleExpression } from 'vee-validate' import Button from '../ui/button/Button.vue' -import { PlusIcon } from 'lucide-vue-next' +import { PlusIcon } from '@lucide/vue' import { isEmpty } from 'lodash-es' const props = defineProps<{ diff --git a/front/components/FileIcon/File.vue b/front/components/FileIcon/File.vue index be5442b..f84bb27 100644 --- a/front/components/FileIcon/File.vue +++ b/front/components/FileIcon/File.vue @@ -1,5 +1,5 @@ diff --git a/front/components/ui/select/SelectItem.vue b/front/components/ui/select/SelectItem.vue index 0bcb97f..6129fe3 100644 --- a/front/components/ui/select/SelectItem.vue +++ b/front/components/ui/select/SelectItem.vue @@ -2,7 +2,7 @@ import type { SelectItemProps } from 'reka-ui' import type { HTMLAttributes } from 'vue' import { reactiveOmit } from '@vueuse/core' -import { Check } from 'lucide-vue-next' +import { Check } from '@lucide/vue' import { SelectItem, SelectItemIndicator, SelectItemText, useForwardProps } from 'reka-ui' import { cn } from '@/lib/utils' diff --git a/front/components/ui/select/SelectScrollDownButton.vue b/front/components/ui/select/SelectScrollDownButton.vue index 9f47884..a86acb3 100644 --- a/front/components/ui/select/SelectScrollDownButton.vue +++ b/front/components/ui/select/SelectScrollDownButton.vue @@ -2,7 +2,7 @@ import type { SelectScrollDownButtonProps } from 'reka-ui' import type { HTMLAttributes } from 'vue' import { reactiveOmit } from '@vueuse/core' -import { ChevronDown } from 'lucide-vue-next' +import { ChevronDown } from '@lucide/vue' import { SelectScrollDownButton, useForwardProps } from 'reka-ui' import { cn } from '@/lib/utils' diff --git a/front/components/ui/select/SelectScrollUpButton.vue b/front/components/ui/select/SelectScrollUpButton.vue index 3bd44aa..7c4def9 100644 --- a/front/components/ui/select/SelectScrollUpButton.vue +++ b/front/components/ui/select/SelectScrollUpButton.vue @@ -2,7 +2,7 @@ import type { SelectScrollUpButtonProps } from 'reka-ui' import type { HTMLAttributes } from 'vue' import { reactiveOmit } from '@vueuse/core' -import { ChevronUp } from 'lucide-vue-next' +import { ChevronUp } from '@lucide/vue' import { SelectScrollUpButton, useForwardProps } from 'reka-ui' import { cn } from '@/lib/utils' diff --git a/front/components/ui/select/SelectTrigger.vue b/front/components/ui/select/SelectTrigger.vue index 3cea3fc..d88184f 100644 --- a/front/components/ui/select/SelectTrigger.vue +++ b/front/components/ui/select/SelectTrigger.vue @@ -2,7 +2,7 @@ import type { SelectTriggerProps } from 'reka-ui' import type { HTMLAttributes } from 'vue' import { reactiveOmit } from '@vueuse/core' -import { ChevronDown } from 'lucide-vue-next' +import { ChevronDown } from '@lucide/vue' import { SelectIcon, SelectTrigger, useForwardProps } from 'reka-ui' import { cn } from '@/lib/utils'