5a824c2eee
75 components + DESIGN_SYSTEM.md + sync script. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.6 KiB
1.6 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, framework, props, output, tested, tests, test_file_path, file_path, emits, has_state, variant
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | framework | props | output | tested | tests | test_file_path | file_path | emits | has_state | variant | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| timeline | component | ts | ui | 1.0.0 | impure | FnTimeline(props: FnTimelineProps): JSX.Element | Timeline vertical con items, iconos y colores. Wrapper sobre Mantine Timeline. |
|
false |
|
react |
|
Timeline vertical con bullets, titulos, timestamps y descripciones | false | frontend/functions/ui/timeline.tsx | false |
Ejemplo
import { FnTimeline } from '@fn_library'
<FnTimeline
active={1}
items={[
{ title: 'Creado', time: '2024-01-01', icon: <IconCheck size={12} /> },
{ title: 'En progreso', description: 'Pipeline ejecutando', color: 'blue' },
{ title: 'Completado' },
]}
/>
Notas
Wrapper sobre Mantine Timeline. Recibe array declarativo de items. El time se muestra como texto dimmed debajo del titulo. Items despues de active se muestran como inactivos.