fix: 修正文件命名

- 与组件命名一致:button.variants.ts -> Button.variants.ts
This commit is contained in:
2025-12-23 14:23:35 +08:00
parent d32d88b56c
commit be210a3e36
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<script lang="ts"> <script lang="ts">
import { Button as BitsButton, type WithoutChildren } from 'bits-ui'; import { Button as BitsButton, type WithoutChildren } from 'bits-ui';
import type { Snippet } from 'svelte'; import type { Snippet } from 'svelte';
import { COLOR_MAP, VARIANT_MAP, SIZE_MAP } from './button.variants'; import { COLOR_MAP, VARIANT_MAP, SIZE_MAP } from './Button.variants';
import type { Color, Variant, Size } from './button.variants'; import type { Color, Variant, Size } from './Button.variants';
type Props = WithoutChildren<BitsButton.RootProps> & { type Props = WithoutChildren<BitsButton.RootProps> & {
color?: Color; color?: Color;