chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
@@ -28,9 +28,9 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
||||
ref={ref}
|
||||
type={type}
|
||||
className={cn(
|
||||
// `transition-*` explícito en vez de `transition-all`: solo se animan
|
||||
// color, fondo, borde y transform. El feedback de presión se anula
|
||||
// con `motion-reduce` para respetar prefers-reduced-motion.
|
||||
// Explicit `transition-*` instead of `transition-all`: only color,
|
||||
// background, border and transform are animated. Press feedback is
|
||||
// cancelled with `motion-reduce` to respect prefers-reduced-motion.
|
||||
'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl font-medium transition-[color,background-color,border-color,fill,stroke,transform] duration-150 ease-out active:scale-[0.96] motion-reduce:active:scale-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent disabled:pointer-events-none disabled:opacity-50',
|
||||
variants[variant],
|
||||
sizes[size],
|
||||
|
||||
Reference in New Issue
Block a user