'use client'; import { useState } from 'react'; import { Button, Card, Badge, StatusBadge, Input, Select, Textarea, Switch, TagInput, StatCard, Loading, BlockEditor, } from '@zen/core/shared/components'; import { UserCircle02Icon } from '@zen/core/shared/icons'; import AdminHeader from '../components/AdminHeader.js'; const ROLE_OPTIONS = [ { value: 'admin', label: 'Admin', color: '#6366f1' }, { value: 'editor', label: 'Éditeur', color: '#f59e0b' }, { value: 'viewer', label: 'Lecteur', color: '#10b981' }, { value: 'support', label: 'Support', color: '#3b82f6' }, { value: 'billing', label: 'Facturation', color: '#ec4899' }, ]; function TagInputDemo({ label, description, error, renderTag }) { const [value, setValue] = useState([]); return ( ); } function PreviewBlock({ title, children }) { return (

{title}

{children}
); } export default function ComponentsPage() { return (
Default Primary Success Warning Danger Info Purple Pink Orange Indigo Ambre Émeraude Bleu Rose Rouge Violet Teal {['default', 'elevated', 'outline', 'success', 'info', 'warning', 'danger'].map(v => ( {v} ))}
{}} /> {}} /> {}} /> {}} /> {}} />
{}} />