@club-employes/utopia
Version:
🎨 Modern Vue 3 design system with multi-brand theming, design tokens, and 30+ components. Supports Club Employés & Gifteo brands with light/dark modes.
23 lines (22 loc) • 716 B
TypeScript
export interface InputTextProps {
modelValue?: string;
label?: string;
placeholder?: string;
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
state?: 'default' | 'error' | 'valid' | 'incomplete' | 'completed';
size?: 'extra-small' | 'small' | 'medium' | 'large';
disabled?: boolean;
readonly?: boolean;
icon?: string;
iconPosition?: 'left' | 'right';
iconClickable?: boolean;
message?: string;
required?: boolean;
min?: number;
max?: number;
step?: number;
maxlength?: number;
isCode?: boolean;
forceModelValueOnBlur?: boolean;
}