review: theme-owned drop mask token, overlay fade-in, stable gallery keys, close-button stacking, stale note defaults

This commit is contained in:
creatixchu
2026-08-12 13:12:06 +08:00
parent 7259252536
commit c9a536e0c8
10 changed files with 33 additions and 12 deletions
@@ -1,5 +1,4 @@
import { createPortal } from 'react-dom'
import clsx from 'clsx'
import css from './DropOverlay.module.css'
/** Drop-overlay strings the owner resolves from its own locale namespace. */
@@ -27,7 +26,7 @@ export function DropOverlay({ disabled, labels }: {
labels: DropOverlayLabels
}) {
return createPortal(
<div className={clsx(css.mask, disabled && css.disabled)} role="status">
<div className={css.mask} role="status">
<div className={css.wrap}>
<div className={css.illustration} aria-hidden="true">
{disabled ? <UploadDisabledIllustration /> : <UploadIllustration />}