From 322e3c0005c06c6fb51ee06ce8beeca45b1c1b93 Mon Sep 17 00:00:00 2001 From: supakornnetsuwan Date: Tue, 16 Dec 2025 17:29:58 +0700 Subject: [PATCH 1/3] fix: add background color for `dropzone`. --- packages/ui/src/components/primitives/drop-zone.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui/src/components/primitives/drop-zone.tsx b/packages/ui/src/components/primitives/drop-zone.tsx index 96e39aa5..384dfb71 100644 --- a/packages/ui/src/components/primitives/drop-zone.tsx +++ b/packages/ui/src/components/primitives/drop-zone.tsx @@ -182,7 +182,7 @@ export const DropZoneArea = ( data-file-dialog-active={dropzoneCtx.isFileDialogActive} data-disabled={dropzoneCtx.disabled} className={cn( - 'group/dropzone relative h-auto w-full flex-col overflow-hidden rounded-md border border-dashed p-12', + 'bg-background group/dropzone relative h-auto w-full flex-col overflow-hidden rounded-md border border-dashed p-12', 'data-[drag-active=true]:ring-ring ring-offset-2 data-[drag-active=true]:outline-none data-[drag-active=true]:ring-[2px]', 'data-[disabled=true]:bg-surface-primary-disabled', props.className @@ -260,7 +260,7 @@ export const DropZoneEmptyUploadButton = ({ variant="outline" asChild className={cn( - 'group-data-[disabled=true]/dropzone:bg-surface-primary-disabled group-data-[disabled=true]/dropzone:active:bg-surface-primary-disabled group-data-[disabled=true]/dropzone:cursor-default', + 'group-hadata-[disabled=true]/dropzone:bg-surface-primary-disabled group-data-[disabled=true]/dropzone:active:bg-surface-primary-disabled group-data-[disabled=true]/dropzone:cursor-default', className )} children={ From e904f31f4e0a6f7a5b98be8686856ea1669957c0 Mon Sep 17 00:00:00 2001 From: supakornnetsuwan Date: Tue, 16 Dec 2025 17:30:31 +0700 Subject: [PATCH 2/3] chore: add changeset --- .changeset/true-taxes-vanish.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/true-taxes-vanish.md diff --git a/.changeset/true-taxes-vanish.md b/.changeset/true-taxes-vanish.md new file mode 100644 index 00000000..8db8347b --- /dev/null +++ b/.changeset/true-taxes-vanish.md @@ -0,0 +1,5 @@ +--- +'@genseki/ui': patch +--- + +fix: add background color for `dropzone`. From f2e8dabcec1e510faa683fce937612d8236c4bd4 Mon Sep 17 00:00:00 2001 From: supakornnetsuwan Date: Tue, 16 Dec 2025 17:31:55 +0700 Subject: [PATCH 3/3] chore: add changeset. --- .changeset/true-taxes-vanish.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/true-taxes-vanish.md b/.changeset/true-taxes-vanish.md index 8db8347b..8643f4d0 100644 --- a/.changeset/true-taxes-vanish.md +++ b/.changeset/true-taxes-vanish.md @@ -2,4 +2,4 @@ '@genseki/ui': patch --- -fix: add background color for `dropzone`. +add background color for `dropzone`.