Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/true-taxes-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@genseki/ui': patch
---

add background color for `dropzone`.
4 changes: 2 additions & 2 deletions packages/ui/src/components/primitives/drop-zone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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={
Expand Down
Loading