memos/web/src/components/AttachmentLibrary
johnnyjoygh f5a60263b2 chore(ui): align frontend on shadcn kit
Design system:
- add semantic --success/--warning OKLCH tokens across themes; replace
  hardcoded green/amber feedback colors and their manual dark: overrides
- drop the unused @emotion dependency

Kit usage:
- migrate raw <button>/<input> to ui-kit components (actions) or
  <div>/<span> (non-action surfaces); keep genuinely custom looks as
  raw HTML with their own styles
- make kit usage prop-only (no className overrides): add Button
  size="icon-sm", Badge "warning" variant + "pill" shape
- extract a shared Tabs primitive (segmented/underline) and migrate
  Inboxes + UserProfile onto it
- tokenize z-index tiers as z-overlay/z-dropdown/z-tooltip
- export variant types (ButtonVariant/Size, BadgeVariant/Shape, TabsVariant)
- document the kit and its policy in components/ui/README.md
2026-06-21 09:17:04 +08:00
..
AttachmentFileRows.tsx chore(ui): align frontend on shadcn kit 2026-06-21 09:17:04 +08:00
AttachmentLibraryEmptyState.tsx refactor(attachments): simplify the attachment library 2026-04-06 17:39:58 +08:00
AttachmentLibraryPrimitives.tsx chore(ui): align frontend on shadcn kit 2026-06-21 09:17:04 +08:00
AttachmentLibraryStates.tsx chore(ui): align frontend on shadcn kit 2026-06-21 09:17:04 +08:00
AttachmentLibraryToolbar.tsx refactor(attachments): simplify the attachment library 2026-04-06 17:39:58 +08:00
AttachmentMediaGrid.tsx chore(ui): align frontend on shadcn kit 2026-06-21 09:17:04 +08:00
index.ts refactor(attachments): simplify the attachment library 2026-04-06 17:39:58 +08:00