From e06142b89aada3461e7ea65b4d41a9c24309a5cd Mon Sep 17 00:00:00 2001 From: MyPrototypeWhat Date: Mon, 3 Nov 2025 14:24:22 +0800 Subject: [PATCH] chore: remove deprecation comments from EditableNumber and Sortable components - Removed deprecation comments from EditableNumber and Sortable components, as they were previously marked for removal due to low usage and dependency conflicts. --- .../ui/src/components/composites/EditableNumber/index.tsx | 8 -------- .../ui/src/components/composites/Sortable/Sortable.tsx | 8 -------- 2 files changed, 16 deletions(-) diff --git a/packages/ui/src/components/composites/EditableNumber/index.tsx b/packages/ui/src/components/composites/EditableNumber/index.tsx index e6fed3cb55..a89a4bea7d 100644 --- a/packages/ui/src/components/composites/EditableNumber/index.tsx +++ b/packages/ui/src/components/composites/EditableNumber/index.tsx @@ -1,11 +1,3 @@ -/** - * @deprecated 此组件使用频率仅为 2 次,不符合 UI 库提取标准(需 ≥3 次) - * 计划在未来版本中移除。且此组件依赖 antd 和 styled-components,与项目迁移方向不符。 - * - * This component has only 2 usages and does not meet the UI library extraction criteria (requires ≥3 usages). - * Planned for removal in future versions. Also depends on antd and styled-components, which conflicts with the migration direction. - */ - // Original path: src/renderer/src/components/EditableNumber/index.tsx import { InputNumber } from 'antd' import type { FC } from 'react' diff --git a/packages/ui/src/components/composites/Sortable/Sortable.tsx b/packages/ui/src/components/composites/Sortable/Sortable.tsx index 4ddc429eb4..0f6892e7d4 100644 --- a/packages/ui/src/components/composites/Sortable/Sortable.tsx +++ b/packages/ui/src/components/composites/Sortable/Sortable.tsx @@ -1,11 +1,3 @@ -/** - * @deprecated 此组件使用频率仅为 2 次,不符合 UI 库提取标准(需 ≥3 次) - * 计划在未来版本中移除。且此组件依赖 styled-components,与项目迁移方向不符。 - * - * This component has only 2 usages and does not meet the UI library extraction criteria (requires ≥3 usages). - * Planned for removal in future versions. Also depends on styled-components, which conflicts with the migration direction. - */ - import type { Active, DragEndEvent,