"use client" import { Building2, Globe, Link2, Shield, Trash2, UserRound, } from "lucide-react" import { DRIVE_BTN_GHOST, DRIVE_BTN_PRIMARY, DRIVE_DIALOG_CONTENT, DRIVE_DIALOG_FOOTER, DRIVE_DIALOG_HEADER, DRIVE_FIELD_CLASS, DRIVE_TEXT_PRIMARY, DRIVE_TEXT_SECONDARY, DRIVE_TEXT_TITLE, } from "@/lib/drive/drive-dialog-styles" import { cn } from "@/lib/utils" const EXISTING_SHARES = [ { id: "alice", label: "Alice Martin", role: "Éditeur", icon: UserRound, }, { id: "team", label: "Équipe Produit", role: "Lecteur", icon: Building2, }, { id: "link", label: "Lien public", role: "Lecteur", icon: Link2, password: true, }, ] as const /** Modale de partage flottante — aperçu statique, sans overlay ni fenêtre navigateur. */ export function UltidriveSharePreview() { return (

Partager « Roadmap Q3 — Produit »

Personnes

    {EXISTING_SHARES.map((share) => { const ShareIcon = share.icon return (
  • {share.label}

    {"password" in share && share.password ? ( ) : null} {share.role}
  • ) })}

Accès général

Lien public

Toute personne disposant du lien peut consulter l'élément.

Lecteur
) }