orbital-ds 0.41.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +54 -12
- package/CHANGELOG.md +458 -0
- package/README.md +2 -2
- package/components.manifest.json +6630 -3569
- package/dist/hooks/use-esc-close-stack.js +38 -0
- package/dist/hooks/use-simulated-progress.js +30 -0
- package/dist/lib/brand-allowlist.js +703 -0
- package/dist/lib/brand-runtime.js +85 -0
- package/dist/lib/echarts-presets.js +152 -1
- package/dist/lib/echarts-setup.js +2 -0
- package/dist/lib/format.js +177 -0
- package/dist/lib/i18n.js +35 -2
- package/dist/lib/locales/de.js +536 -0
- package/dist/lib/locales/fr.js +536 -0
- package/dist/lib/locales/he.js +536 -0
- package/dist/lib/locales/it.js +536 -0
- package/dist/ui/auth-form.js +13 -6
- package/dist/ui/ayuda.js +4 -1
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/calendar.js +3 -0
- package/dist/ui/carousel.js +10 -5
- package/dist/ui/context-menu.js +3 -3
- package/dist/ui/cta-banner.js +63 -0
- package/dist/ui/date-time.js +55 -0
- package/dist/ui/description-list.js +86 -0
- package/dist/ui/detail-panel.js +2 -2
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/faq.js +25 -0
- package/dist/ui/feature-grid.js +40 -0
- package/dist/ui/hero.js +145 -0
- package/dist/ui/landing-section.js +59 -0
- package/dist/ui/mfa-challenge.js +1 -1
- package/dist/ui/next-step-card.js +92 -0
- package/dist/ui/page-header.js +20 -11
- package/dist/ui/pagination.js +2 -2
- package/dist/ui/pricing-table.js +86 -0
- package/dist/ui/quantity.js +27 -0
- package/dist/ui/sheet.js +6 -2
- package/dist/ui/sidebar.js +7 -3
- package/dist/ui/tag-input.js +169 -0
- package/dist/ui/testimonial.js +61 -0
- package/dist/ui/textarea.js +7 -1
- package/dist/ui/usage-meter.js +116 -0
- package/dist/ui/week-strip.js +2 -2
- package/docs/adr/0001-rtl-clases-logicas.md +14 -1
- package/docs/designer/flujo.md +1 -1
- package/docs/designer/patrones.md +45 -1
- package/manifest/actions.json +364 -0
- package/manifest/agents.json +399 -0
- package/manifest/ai.json +128 -0
- package/manifest/auth.json +1547 -0
- package/manifest/chat.json +612 -0
- package/manifest/content.json +2793 -0
- package/manifest/data.json +2802 -0
- package/manifest/feedback.json +1005 -0
- package/manifest/forms.json +1954 -0
- package/manifest/motion.json +196 -0
- package/manifest/navigation.json +1792 -0
- package/manifest/overlays.json +934 -0
- package/package.json +240 -238
- package/scripts/cli.mjs +124 -8
- package/scripts/doctor.mjs +153 -2
- package/scripts/eslint-plugin.mjs +125 -0
- package/scripts/i18n.mjs +1 -1
- package/scripts/manifest.mjs +179 -7
- package/scripts/upgrade.mjs +126 -0
- package/skill/SKILL.md +8 -3
- package/dist/hooks/use-ds-messages.d.ts +0 -537
- package/dist/hooks/use-ds-motion.d.ts +0 -17
- package/dist/hooks/use-in-view.d.ts +0 -9
- package/dist/hooks/use-mobile.d.ts +0 -3
- package/dist/lib/a2ui-catalog.d.ts +0 -42
- package/dist/lib/a2ui.d.ts +0 -289
- package/dist/lib/ai-events.d.ts +0 -15
- package/dist/lib/auth-better-auth.d.ts +0 -29
- package/dist/lib/auth-flow.d.ts +0 -85
- package/dist/lib/auth-providers.d.ts +0 -194
- package/dist/lib/auth.d.ts +0 -68
- package/dist/lib/echarts-presets.d.ts +0 -227
- package/dist/lib/echarts-server.d.ts +0 -15
- package/dist/lib/echarts-setup.d.ts +0 -8
- package/dist/lib/echarts-theme.d.ts +0 -36
- package/dist/lib/header-control.d.ts +0 -4
- package/dist/lib/i18n.d.ts +0 -545
- package/dist/lib/image-upload.d.ts +0 -41
- package/dist/lib/motion.d.ts +0 -74
- package/dist/lib/presets.d.ts +0 -8
- package/dist/lib/template-syntax.d.ts +0 -22
- package/dist/lib/utils.d.ts +0 -5
- package/dist/motion.css +0 -146
- package/dist/styles.css +0 -1737
- package/dist/themes/chocolate.css +0 -259
- package/dist/themes/chocolate.fonts.css +0 -2
- package/dist/themes/chocolate.guide.md +0 -30
- package/dist/themes/chocolate.meta.json +0 -61
- package/dist/themes/chocolate.scoped.css +0 -259
- package/dist/themes/chocolate.tokens.json +0 -49
- package/dist/themes/fractalia.css +0 -556
- package/dist/themes/fractalia.fonts.css +0 -3
- package/dist/themes/fractalia.guide.md +0 -86
- package/dist/themes/fractalia.meta.json +0 -112
- package/dist/themes/fractalia.scoped.css +0 -556
- package/dist/themes/fractalia.tokens.json +0 -39
- package/dist/themes/friendly.css +0 -375
- package/dist/themes/friendly.fonts.css +0 -2
- package/dist/themes/friendly.guide.md +0 -38
- package/dist/themes/friendly.meta.json +0 -82
- package/dist/themes/friendly.scoped.css +0 -375
- package/dist/themes/friendly.tokens.json +0 -45
- package/dist/themes/lagoon.css +0 -362
- package/dist/themes/lagoon.fonts.css +0 -2
- package/dist/themes/lagoon.guide.md +0 -47
- package/dist/themes/lagoon.meta.json +0 -85
- package/dist/themes/lagoon.scoped.css +0 -362
- package/dist/themes/lagoon.tokens.json +0 -49
- package/dist/themes/liquid.css +0 -510
- package/dist/themes/liquid.fonts.css +0 -7
- package/dist/themes/liquid.guide.md +0 -82
- package/dist/themes/liquid.meta.json +0 -134
- package/dist/themes/liquid.scoped.css +0 -510
- package/dist/themes/liquid.tokens.json +0 -47
- package/dist/themes/matcha.css +0 -259
- package/dist/themes/matcha.fonts.css +0 -2
- package/dist/themes/matcha.guide.md +0 -30
- package/dist/themes/matcha.meta.json +0 -61
- package/dist/themes/matcha.scoped.css +0 -259
- package/dist/themes/matcha.tokens.json +0 -49
- package/dist/themes/qratia.css +0 -264
- package/dist/themes/qratia.fonts.css +0 -2
- package/dist/themes/qratia.guide.md +0 -34
- package/dist/themes/qratia.meta.json +0 -49
- package/dist/themes/qratia.scoped.css +0 -264
- package/dist/themes/qratia.tokens.json +0 -49
- package/dist/themes/stone.css +0 -263
- package/dist/themes/stone.fonts.css +0 -2
- package/dist/themes/stone.guide.md +0 -30
- package/dist/themes/stone.meta.json +0 -47
- package/dist/themes/stone.scoped.css +0 -263
- package/dist/themes/stone.tokens.json +0 -49
- package/dist/themes/tactile.css +0 -596
- package/dist/themes/tactile.fonts.css +0 -3
- package/dist/themes/tactile.guide.md +0 -82
- package/dist/themes/tactile.meta.json +0 -182
- package/dist/themes/tactile.scoped.css +0 -596
- package/dist/themes/tactile.tokens.json +0 -42
- package/dist/themes/twitter.css +0 -364
- package/dist/themes/twitter.fonts.css +0 -6
- package/dist/themes/twitter.guide.md +0 -35
- package/dist/themes/twitter.meta.json +0 -90
- package/dist/themes/twitter.scoped.css +0 -364
- package/dist/themes/twitter.tokens.json +0 -45
- package/dist/themes/y2k.css +0 -259
- package/dist/themes/y2k.fonts.css +0 -2
- package/dist/themes/y2k.guide.md +0 -30
- package/dist/themes/y2k.meta.json +0 -59
- package/dist/themes/y2k.scoped.css +0 -259
- package/dist/themes/y2k.tokens.json +0 -49
- package/dist/themes/zyro.css +0 -442
- package/dist/themes/zyro.fonts.css +0 -2
- package/dist/themes/zyro.guide.md +0 -33
- package/dist/themes/zyro.meta.json +0 -74
- package/dist/themes/zyro.scoped.css +0 -442
- package/dist/themes/zyro.tokens.json +0 -46
- package/dist/ui/a2ui-renderer.d.ts +0 -33
- package/dist/ui/accordion.d.ts +0 -9
- package/dist/ui/agent-events.d.ts +0 -32
- package/dist/ui/ai-tag.d.ts +0 -8
- package/dist/ui/alert-dialog.d.ts +0 -23
- package/dist/ui/alert.d.ts +0 -13
- package/dist/ui/animated-number.d.ts +0 -9
- package/dist/ui/app-bar.d.ts +0 -10
- package/dist/ui/aspect-ratio.d.ts +0 -7
- package/dist/ui/attachment.d.ts +0 -26
- package/dist/ui/auth-backdrop.d.ts +0 -20
- package/dist/ui/auth-form.d.ts +0 -113
- package/dist/ui/auth-layout.d.ts +0 -72
- package/dist/ui/auth-parts.d.ts +0 -43
- package/dist/ui/auth-status.d.ts +0 -23
- package/dist/ui/avatar.d.ts +0 -16
- package/dist/ui/ayuda.d.ts +0 -22
- package/dist/ui/badge.d.ts +0 -15
- package/dist/ui/banner.d.ts +0 -14
- package/dist/ui/bottom-nav.d.ts +0 -15
- package/dist/ui/breadcrumb.d.ts +0 -12
- package/dist/ui/bubble.d.ts +0 -19
- package/dist/ui/button-group.d.ts +0 -15
- package/dist/ui/button.d.ts +0 -14
- package/dist/ui/calendar.d.ts +0 -15
- package/dist/ui/card-stack.d.ts +0 -9
- package/dist/ui/card.d.ts +0 -28
- package/dist/ui/carousel.d.ts +0 -33
- package/dist/ui/chain-of-thought.d.ts +0 -19
- package/dist/ui/chart-card.d.ts +0 -28
- package/dist/ui/chart.d.ts +0 -46
- package/dist/ui/chart.js +0 -254
- package/dist/ui/chat-composer.d.ts +0 -39
- package/dist/ui/checkbox.d.ts +0 -6
- package/dist/ui/choice-card.d.ts +0 -16
- package/dist/ui/code-block.d.ts +0 -14
- package/dist/ui/collapsible.d.ts +0 -8
- package/dist/ui/combobox.d.ts +0 -26
- package/dist/ui/command-palette.d.ts +0 -36
- package/dist/ui/command.d.ts +0 -22
- package/dist/ui/confirm-action.d.ts +0 -18
- package/dist/ui/confirm-dialog.d.ts +0 -21
- package/dist/ui/connected-accounts.d.ts +0 -25
- package/dist/ui/content-card.d.ts +0 -52
- package/dist/ui/context-menu.d.ts +0 -31
- package/dist/ui/conversation-list.d.ts +0 -24
- package/dist/ui/copy-button.d.ts +0 -14
- package/dist/ui/data-table.d.ts +0 -198
- package/dist/ui/date-picker.d.ts +0 -65
- package/dist/ui/detail-panel.d.ts +0 -16
- package/dist/ui/dialog.d.ts +0 -19
- package/dist/ui/direction.d.ts +0 -1
- package/dist/ui/dock.d.ts +0 -13
- package/dist/ui/drawer.d.ts +0 -18
- package/dist/ui/dropdown-menu.d.ts +0 -31
- package/dist/ui/dropzone.d.ts +0 -44
- package/dist/ui/echart.d.ts +0 -31
- package/dist/ui/empty-state.d.ts +0 -26
- package/dist/ui/empty.d.ts +0 -15
- package/dist/ui/entity-list.d.ts +0 -25
- package/dist/ui/error-page.d.ts +0 -28
- package/dist/ui/error-state.d.ts +0 -16
- package/dist/ui/eyebrow.d.ts +0 -7
- package/dist/ui/field.d.ts +0 -28
- package/dist/ui/file-upload.d.ts +0 -42
- package/dist/ui/filter-bar.d.ts +0 -38
- package/dist/ui/form-layout.d.ts +0 -19
- package/dist/ui/gauge.d.ts +0 -40
- package/dist/ui/generated-image.d.ts +0 -14
- package/dist/ui/generated-table.d.ts +0 -11
- package/dist/ui/heatmap-grid.d.ts +0 -39
- package/dist/ui/hover-card.d.ts +0 -8
- package/dist/ui/i18n-provider.d.ts +0 -11
- package/dist/ui/icon-tile.d.ts +0 -11
- package/dist/ui/input-group.d.ts +0 -22
- package/dist/ui/input-otp.d.ts +0 -13
- package/dist/ui/input.d.ts +0 -5
- package/dist/ui/instruction-editor.d.ts +0 -64
- package/dist/ui/item.d.ts +0 -26
- package/dist/ui/kbd.d.ts +0 -6
- package/dist/ui/label.d.ts +0 -5
- package/dist/ui/legend.d.ts +0 -32
- package/dist/ui/level-meter.d.ts +0 -16
- package/dist/ui/load-more.d.ts +0 -19
- package/dist/ui/loading-state.d.ts +0 -14
- package/dist/ui/locale-switcher.d.ts +0 -19
- package/dist/ui/markdown.d.ts +0 -14
- package/dist/ui/marker.d.ts +0 -13
- package/dist/ui/media-card.d.ts +0 -13
- package/dist/ui/menubar.d.ts +0 -31
- package/dist/ui/message-actions.d.ts +0 -12
- package/dist/ui/message-scroller.d.ts +0 -16
- package/dist/ui/message.d.ts +0 -12
- package/dist/ui/mfa-challenge.d.ts +0 -33
- package/dist/ui/mfa-setup.d.ts +0 -29
- package/dist/ui/mosaic.d.ts +0 -15
- package/dist/ui/motion-provider.d.ts +0 -11
- package/dist/ui/native-select.d.ts +0 -10
- package/dist/ui/navigation-menu.d.ts +0 -15
- package/dist/ui/notice-review.d.ts +0 -32
- package/dist/ui/notifications.d.ts +0 -81
- package/dist/ui/oauth-consent.d.ts +0 -54
- package/dist/ui/page-header.d.ts +0 -22
- package/dist/ui/page-loader.d.ts +0 -23
- package/dist/ui/page-shell.d.ts +0 -8
- package/dist/ui/pagination.d.ts +0 -22
- package/dist/ui/panel.d.ts +0 -12
- package/dist/ui/passkey-list.d.ts +0 -17
- package/dist/ui/password-input.d.ts +0 -5
- package/dist/ui/password-strength.d.ts +0 -14
- package/dist/ui/popover.d.ts +0 -12
- package/dist/ui/progress.d.ts +0 -9
- package/dist/ui/proportion-bar.d.ts +0 -27
- package/dist/ui/questionnaire.d.ts +0 -24
- package/dist/ui/radio-group.d.ts +0 -8
- package/dist/ui/reasoning.d.ts +0 -10
- package/dist/ui/resizable.d.ts +0 -10
- package/dist/ui/reveal.d.ts +0 -11
- package/dist/ui/scroll-area.d.ts +0 -7
- package/dist/ui/search-box.d.ts +0 -32
- package/dist/ui/select.d.ts +0 -19
- package/dist/ui/separator.d.ts +0 -6
- package/dist/ui/session-list.d.ts +0 -19
- package/dist/ui/session-timeout.d.ts +0 -13
- package/dist/ui/sheet.d.ts +0 -16
- package/dist/ui/shield.d.ts +0 -21
- package/dist/ui/show-more.d.ts +0 -12
- package/dist/ui/sidebar.d.ts +0 -90
- package/dist/ui/sign-out-dialog.d.ts +0 -17
- package/dist/ui/skeleton.d.ts +0 -10
- package/dist/ui/slider.d.ts +0 -23
- package/dist/ui/sonner.d.ts +0 -6
- package/dist/ui/sparkline.d.ts +0 -26
- package/dist/ui/spinner.d.ts +0 -5
- package/dist/ui/stat-group.d.ts +0 -8
- package/dist/ui/stat.d.ts +0 -90
- package/dist/ui/status-badge.d.ts +0 -39
- package/dist/ui/status-hero.d.ts +0 -12
- package/dist/ui/step-dots.d.ts +0 -10
- package/dist/ui/step-flow.d.ts +0 -48
- package/dist/ui/step-ring.d.ts +0 -12
- package/dist/ui/stepper.d.ts +0 -20
- package/dist/ui/suggestions.d.ts +0 -8
- package/dist/ui/switch.d.ts +0 -8
- package/dist/ui/table.d.ts +0 -12
- package/dist/ui/tabs.d.ts +0 -14
- package/dist/ui/task-loader.d.ts +0 -14
- package/dist/ui/task-progress.d.ts +0 -18
- package/dist/ui/textarea.d.ts +0 -11
- package/dist/ui/theme-toggle.d.ts +0 -14
- package/dist/ui/timeline.d.ts +0 -29
- package/dist/ui/toast.d.ts +0 -19
- package/dist/ui/toggle-group.d.ts +0 -14
- package/dist/ui/toggle.d.ts +0 -12
- package/dist/ui/tool-call.d.ts +0 -15
- package/dist/ui/tooltip.d.ts +0 -9
- package/dist/ui/week-strip.d.ts +0 -12
- package/dist/ui/workflow-run.d.ts +0 -23
|
@@ -1,442 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* TEMA zyro — «liquid glass» (traducido de faro-orbital-zyro-ui).
|
|
3
|
-
*
|
|
4
|
-
* Personalidad: lavanda claro / azul muy oscuro, acento azul profundo (claro) y
|
|
5
|
-
* cian (oscuro). El cristal vive en la capa de NAVEGACIÓN y CONTROLES (sidebar,
|
|
6
|
-
* campos, menús); el CONTENIDO (tarjetas) se mantiene casi opaco, como indican
|
|
7
|
-
* las guías de cristal. Sidebar a ras de borde, sin silueta flotante. Acción
|
|
8
|
-
* primaria = píldora con degradado de marca y brillo.
|
|
9
|
-
*
|
|
10
|
-
* Estructura del fichero:
|
|
11
|
-
* 1. Variables claras (:root) y oscuras (.dark) — el CONTRATO del tema.
|
|
12
|
-
* 2. Capa de PERSONALIDAD — reglas sobre los ganchos del DOM (`data-slot`,
|
|
13
|
-
* `data-variant`…) escritas solo con variables. Va SIN capa para ganar a las
|
|
14
|
-
* utilidades de los componentes, así que define también los estados
|
|
15
|
-
* (hover, active). Es lo que da forma propia a los elementos.
|
|
16
|
-
*
|
|
17
|
-
* Variables `--zy-*`: privadas de este tema (no son contrato).
|
|
18
|
-
* Importar DESPUÉS de la estructura. Fuentes: `zyro.fonts.css`, lo primero del CSS.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/* ── 1. VARIABLES · PIEL CLARA ───────────────────────────────────────────── */
|
|
22
|
-
:root:where([data-theme='zyro']) {
|
|
23
|
-
/* Movimiento automático (orbital-ds/motion.css): tipo de entrada por grupo; lo describe la ficha (motion.auto) */
|
|
24
|
-
--ds-enter-surfaces: ds-auto-focus;
|
|
25
|
-
--ds-enter-notices: ds-auto-focus;
|
|
26
|
-
--ds-enter-headers: ds-auto-fade;
|
|
27
|
-
--ds-enter-rows: ds-auto-fade;
|
|
28
|
-
--radius: 18px;
|
|
29
|
-
|
|
30
|
-
/* Tipografía: Montserrat (titulares) + Roboto (cuerpo) */
|
|
31
|
-
--ds-font-sans: 'Roboto', system-ui, -apple-system, sans-serif;
|
|
32
|
-
--ds-font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
|
|
33
|
-
--ds-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
|
|
34
|
-
|
|
35
|
-
/* Lateral: iconos, raíl, logo y separadores (cada tema fija su forma y tamaño) */
|
|
36
|
-
--ds-sidebar-icon: 1.25rem;
|
|
37
|
-
--ds-sidebar-icon-stroke: 2;
|
|
38
|
-
--ds-sidebar-rail-w: 4.5rem;
|
|
39
|
-
--ds-sidebar-rail-item: 2.75rem;
|
|
40
|
-
--ds-sidebar-logo: 2.25rem;
|
|
41
|
-
--ds-sidebar-sep-inset: 0rem;
|
|
42
|
-
--ds-heading-tracking: -0.01em;
|
|
43
|
-
|
|
44
|
-
/* Color */
|
|
45
|
-
/* Gris estándar (scripts/neutral.mjs): solo el matiz; los neutros se calculan */
|
|
46
|
-
--ds-neutral-h: 272;
|
|
47
|
-
--ds-neutral-c: 0.036;
|
|
48
|
-
|
|
49
|
-
--background: #f0f4ff;
|
|
50
|
-
--foreground: #101526;
|
|
51
|
-
|
|
52
|
-
--card: #fafcff;
|
|
53
|
-
--card-foreground: #101526;
|
|
54
|
-
--popover: #fafcff;
|
|
55
|
-
--popover-foreground: #101526;
|
|
56
|
-
|
|
57
|
-
--primary: #0349fe;
|
|
58
|
-
--primary-foreground: #ffffff;
|
|
59
|
-
--secondary: #ebf0ff;
|
|
60
|
-
--secondary-foreground: #101526;
|
|
61
|
-
--muted: #ebf0ff;
|
|
62
|
-
--muted-foreground: #535a70;
|
|
63
|
-
--accent: rgba(3, 73, 254, 0.09);
|
|
64
|
-
--accent-foreground: #0349fe;
|
|
65
|
-
--destructive: #e61919;
|
|
66
|
-
--destructive-foreground: #ffffff;
|
|
67
|
-
|
|
68
|
-
--border: #d8ddef;
|
|
69
|
-
--input: #c4cade;
|
|
70
|
-
--ring: #0349fe;
|
|
71
|
-
|
|
72
|
-
--chart-1: #0349fe;
|
|
73
|
-
--chart-2: #14bd44;
|
|
74
|
-
--chart-3: #ffb300;
|
|
75
|
-
--chart-4: #eb1919;
|
|
76
|
-
--chart-5: #9747ff;
|
|
77
|
-
|
|
78
|
-
--sidebar: rgba(255, 255, 255, 0.58);
|
|
79
|
-
--sidebar-foreground: rgba(14, 22, 48, 0.78);
|
|
80
|
-
--sidebar-primary: #0349fe;
|
|
81
|
-
--sidebar-primary-foreground: #ffffff;
|
|
82
|
-
--sidebar-accent: rgba(3, 73, 254, 0.09);
|
|
83
|
-
--sidebar-accent-foreground: #0349fe;
|
|
84
|
-
--sidebar-border: rgba(168, 190, 235, 0.35);
|
|
85
|
-
--sidebar-ring: #0349fe;
|
|
86
|
-
|
|
87
|
-
--danger: #c21414;
|
|
88
|
-
--danger-soft: rgba(235, 25, 25, 0.1);
|
|
89
|
-
--warning: #845f00;
|
|
90
|
-
--warning-soft: rgba(255, 179, 0, 0.16);
|
|
91
|
-
--success: #0b742a;
|
|
92
|
-
--success-soft: rgba(20, 189, 68, 0.12);
|
|
93
|
-
--info: #1267a1;
|
|
94
|
-
--info-soft: rgba(42, 147, 213, 0.12);
|
|
95
|
-
--neutral: rgba(14, 22, 48, 0.63);
|
|
96
|
-
--neutral-soft: rgba(14, 22, 48, 0.06);
|
|
97
|
-
|
|
98
|
-
--link: #0349fe;
|
|
99
|
-
--link-hover: #0236c0;
|
|
100
|
-
--inset: #e2e7f9;
|
|
101
|
-
--inset-foreground: #101526;
|
|
102
|
-
--brand: #0349fe;
|
|
103
|
-
--brand-bright: #36b3ed;
|
|
104
|
-
|
|
105
|
-
/* Formas: la esquina crece con el tamaño del contenedor (7·10·14·18·22) */
|
|
106
|
-
--ds-radius-sm: 7px;
|
|
107
|
-
--ds-radius-md: 10px;
|
|
108
|
-
--ds-radius-lg: 14px;
|
|
109
|
-
--ds-radius-xl: 18px;
|
|
110
|
-
--ds-radius-2xl: 22px;
|
|
111
|
-
--ds-radius-control: 10px;
|
|
112
|
-
--ds-radius-overlay: 22px;
|
|
113
|
-
/* Píldoras: botones, etiquetas y conmutadores; el botón de solo icono, redondeado */
|
|
114
|
-
--ds-radius-button: var(--ds-radius-pill);
|
|
115
|
-
--ds-radius-button-icon: var(--ds-radius-xl);
|
|
116
|
-
--ds-radius-badge: var(--ds-radius-pill);
|
|
117
|
-
--ds-radius-tabs-list: var(--ds-radius-pill);
|
|
118
|
-
--ds-radius-tab: var(--ds-radius-pill);
|
|
119
|
-
|
|
120
|
-
/* Sombras de cristal: capa tenue + brillo interior en el borde superior */
|
|
121
|
-
--ds-shadow-card: 0 2px 14px rgba(28, 48, 100, 0.07);
|
|
122
|
-
--ds-shadow-card-hover: 0 6px 26px rgba(28, 48, 100, 0.1);
|
|
123
|
-
--ds-shadow-raised: 0 4px 30px rgba(28, 48, 100, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
|
124
|
-
--ds-shadow-overlay: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
125
|
-
--ds-shadow-popover: 0 14px 52px rgba(28, 48, 100, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
|
|
126
|
-
|
|
127
|
-
/* Medidas: controles algo más altos y holgados */
|
|
128
|
-
--ds-control-h-sm: 2.25rem;
|
|
129
|
-
--ds-control-h-md: 2.5rem;
|
|
130
|
-
--ds-control-h-lg: 2.75rem;
|
|
131
|
-
--ds-button-px-sm: 1rem;
|
|
132
|
-
--ds-button-px-md: 1.25rem;
|
|
133
|
-
--ds-button-px-lg: 1.5rem;
|
|
134
|
-
--ds-field-px: 1rem;
|
|
135
|
-
--ds-field-bg: var(--zy-field-bg); /* cristal claro (cada piel da su --zy-field-bg) */
|
|
136
|
-
|
|
137
|
-
/* Materiales: cristal en navegación y controles; tarjetas sin desenfoque */
|
|
138
|
-
--ds-sidebar-backdrop: blur(28px) saturate(180%);
|
|
139
|
-
--ds-overlay-backdrop: blur(28px) saturate(180%);
|
|
140
|
-
--ds-field-backdrop: blur(12px) saturate(160%);
|
|
141
|
-
--ds-card-backdrop: none;
|
|
142
|
-
--ds-page-backdrop:
|
|
143
|
-
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.3), transparent 70%),
|
|
144
|
-
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.16), transparent 70%),
|
|
145
|
-
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.14), transparent 70%);
|
|
146
|
-
|
|
147
|
-
/* Sidebar a ras de borde: sin separación, sin silueta; filo de 1px */
|
|
148
|
-
--ds-sidebar-pad: 0px;
|
|
149
|
-
--ds-sidebar-radius: 0px;
|
|
150
|
-
--ds-sidebar-shadow: 0 0 #0000;
|
|
151
|
-
--ds-sidebar-ring: 0px;
|
|
152
|
-
--ds-sidebar-edge: 1px solid var(--zy-glass-bs);
|
|
153
|
-
--ds-sidebar-item-radius: var(--ds-radius-lg);
|
|
154
|
-
|
|
155
|
-
/* Privadas de zyro */
|
|
156
|
-
--zy-accent-g: linear-gradient(135deg, #0349fe, #36b3ed);
|
|
157
|
-
--zy-accent-glow: rgba(3, 73, 254, 0.24);
|
|
158
|
-
--zy-glass-bt: rgba(255, 255, 255, 0.95);
|
|
159
|
-
--zy-glass-bs: rgba(168, 190, 235, 0.4);
|
|
160
|
-
--zy-card-bt: rgba(255, 255, 255, 1);
|
|
161
|
-
--zy-card-bs: rgba(168, 190, 235, 0.46);
|
|
162
|
-
--zy-field-bg: rgba(255, 255, 255, 0.72);
|
|
163
|
-
--zy-field-b: rgba(168, 190, 235, 0.55);
|
|
164
|
-
--zy-field-bt: rgba(255, 255, 255, 1);
|
|
165
|
-
--zy-pill: rgba(255, 255, 255, 0.55);
|
|
166
|
-
--zy-pill-on: rgba(255, 255, 255, 0.98);
|
|
167
|
-
--zy-conv-h: rgba(20, 40, 90, 0.04);
|
|
168
|
-
--zy-conv-a: rgba(3, 73, 254, 0.07);
|
|
169
|
-
--zy-conv-ab: rgba(3, 73, 254, 0.24);
|
|
170
|
-
--zy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
171
|
-
--ds-hover-bg: #e3e9fb;
|
|
172
|
-
--ds-active-bg: #d9dff2;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* ── 1b. VARIABLES · PIEL OSCURA ─────────────────────────────────────────── */
|
|
176
|
-
:where(:root[data-theme='zyro']).dark {
|
|
177
|
-
--background: #080b14;
|
|
178
|
-
--foreground: #ebeef9;
|
|
179
|
-
|
|
180
|
-
--card: #121522;
|
|
181
|
-
--card-foreground: #ebeef9;
|
|
182
|
-
--popover: #121522;
|
|
183
|
-
--popover-foreground: #ebeef9;
|
|
184
|
-
|
|
185
|
-
--primary: #36b3ed;
|
|
186
|
-
--primary-foreground: #04121c;
|
|
187
|
-
--secondary: #1d2130;
|
|
188
|
-
--secondary-foreground: #ebeef9;
|
|
189
|
-
--muted: #1d2130;
|
|
190
|
-
--muted-foreground: #a0a7bd;
|
|
191
|
-
--accent: rgba(54, 179, 237, 0.16);
|
|
192
|
-
--accent-foreground: #36b3ed;
|
|
193
|
-
--destructive: #e61919;
|
|
194
|
-
--destructive-foreground: #ffffff;
|
|
195
|
-
|
|
196
|
-
--border: #2b303f;
|
|
197
|
-
--input: #343a4c;
|
|
198
|
-
--ring: #36b3ed;
|
|
199
|
-
|
|
200
|
-
--chart-1: #36b3ed;
|
|
201
|
-
--chart-2: #14bd44;
|
|
202
|
-
--chart-3: #ffb300;
|
|
203
|
-
--chart-4: #eb1919;
|
|
204
|
-
--chart-5: #9747ff;
|
|
205
|
-
|
|
206
|
-
--sidebar: rgba(255, 255, 255, 0.04);
|
|
207
|
-
--sidebar-foreground: rgba(255, 255, 255, 0.72);
|
|
208
|
-
--sidebar-primary: #36b3ed;
|
|
209
|
-
--sidebar-primary-foreground: #04121c;
|
|
210
|
-
--sidebar-accent: rgba(54, 179, 237, 0.16);
|
|
211
|
-
--sidebar-accent-foreground: #36b3ed;
|
|
212
|
-
--sidebar-border: rgba(255, 255, 255, 0.07);
|
|
213
|
-
--sidebar-ring: #36b3ed;
|
|
214
|
-
|
|
215
|
-
--danger: #ff6b6b;
|
|
216
|
-
--danger-soft: rgba(235, 25, 25, 0.2);
|
|
217
|
-
--warning: #ffb300;
|
|
218
|
-
--warning-soft: rgba(255, 179, 0, 0.18);
|
|
219
|
-
--success: #3cc864;
|
|
220
|
-
--success-soft: rgba(20, 189, 68, 0.18);
|
|
221
|
-
--info: #70b7e3;
|
|
222
|
-
--info-soft: rgba(42, 147, 213, 0.2);
|
|
223
|
-
--neutral: rgba(255, 255, 255, 0.6);
|
|
224
|
-
--neutral-soft: rgba(255, 255, 255, 0.08);
|
|
225
|
-
|
|
226
|
-
--link: #36b3ed;
|
|
227
|
-
--link-hover: #7fd0f5;
|
|
228
|
-
--inset: #0c0f1a;
|
|
229
|
-
--inset-foreground: #ebeef9;
|
|
230
|
-
--brand: #36b3ed;
|
|
231
|
-
--brand-bright: #7fd0f5;
|
|
232
|
-
|
|
233
|
-
--ds-shadow-card: 0 2px 14px rgba(0, 0, 0, 0.3);
|
|
234
|
-
--ds-shadow-card-hover: 0 6px 26px rgba(0, 0, 0, 0.38);
|
|
235
|
-
--ds-shadow-raised: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
236
|
-
--ds-shadow-overlay: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
237
|
-
--ds-shadow-popover: 0 22px 64px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.13);
|
|
238
|
-
|
|
239
|
-
--ds-sidebar-backdrop: blur(24px) saturate(180%);
|
|
240
|
-
--ds-overlay-backdrop: blur(24px) saturate(180%);
|
|
241
|
-
--ds-page-backdrop:
|
|
242
|
-
radial-gradient(55% 45% at 78% 6%, rgba(54, 179, 237, 0.26), transparent 70%),
|
|
243
|
-
radial-gradient(50% 45% at 96% 58%, rgba(3, 73, 254, 0.24), transparent 70%),
|
|
244
|
-
radial-gradient(55% 50% at 40% 106%, rgba(151, 71, 255, 0.2), transparent 70%);
|
|
245
|
-
|
|
246
|
-
--zy-accent-g: linear-gradient(135deg, #36b3ed, #0349fe);
|
|
247
|
-
--zy-accent-glow: rgba(54, 179, 237, 0.42);
|
|
248
|
-
--zy-glass-bt: rgba(255, 255, 255, 0.3);
|
|
249
|
-
--zy-glass-bs: rgba(255, 255, 255, 0.07);
|
|
250
|
-
--zy-card-bt: rgba(255, 255, 255, 0.11);
|
|
251
|
-
--zy-card-bs: rgba(255, 255, 255, 0.06);
|
|
252
|
-
--zy-field-bg: rgba(255, 255, 255, 0.06);
|
|
253
|
-
--zy-field-b: rgba(255, 255, 255, 0.12);
|
|
254
|
-
--zy-field-bt: rgba(255, 255, 255, 0.26);
|
|
255
|
-
--zy-pill: rgba(255, 255, 255, 0.05);
|
|
256
|
-
--zy-pill-on: rgba(255, 255, 255, 0.12);
|
|
257
|
-
--zy-conv-h: rgba(255, 255, 255, 0.05);
|
|
258
|
-
--zy-conv-a: rgba(54, 179, 237, 0.14);
|
|
259
|
-
--zy-conv-ab: rgba(54, 179, 237, 0.4);
|
|
260
|
-
--ds-hover-bg: #262b3a;
|
|
261
|
-
--ds-active-bg: #303545;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/* ── VARIABLES DE LA PERSONALIDAD ────────────────────────────────────────────
|
|
265
|
-
* Lo que las reglas de abajo piden: cámbialo aquí (o en el brand.css de la app),
|
|
266
|
-
* nunca en las reglas. Las `--zy-*` son privadas del tema.
|
|
267
|
-
*/
|
|
268
|
-
:root:where([data-theme='zyro']) {
|
|
269
|
-
/* Movimiento: suave y largo, como el cristal; curva muy amortiguada */
|
|
270
|
-
--ds-motion-fast: 140ms;
|
|
271
|
-
--ds-motion-base: 260ms;
|
|
272
|
-
--ds-motion-slow: 380ms;
|
|
273
|
-
--ds-ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
|
|
274
|
-
--ds-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
|
|
275
|
-
--ds-ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
|
|
276
|
-
--ds-motion-distance: 12px;
|
|
277
|
-
--ds-motion-scale: 0.97;
|
|
278
|
-
--ds-motion-blur: 6px;
|
|
279
|
-
--ds-spring-bounce: 0.1;
|
|
280
|
-
--ds-motion-stagger: 55ms;
|
|
281
|
-
--ds-motion-press-scale: 0.98;
|
|
282
|
-
--ds-rule-w: 1px;
|
|
283
|
-
--ds-shadow-button: 0 4px 16px var(--zy-accent-glow);
|
|
284
|
-
--ds-shadow-button-hover: 0 6px 22px var(--zy-accent-glow);
|
|
285
|
-
--zy-accent-ink: #ffffff; /* texto sobre el degradado de marca, en las dos pieles */
|
|
286
|
-
--zy-shadow-danger: 0 4px 16px rgba(235, 25, 25, 0.3);
|
|
287
|
-
--zy-shadow-tab-active: 0 1px 6px rgba(28, 48, 100, 0.12);
|
|
288
|
-
--zy-press-scale: 0.98;
|
|
289
|
-
--zy-hover-brightness: 1.1;
|
|
290
|
-
--zy-drift-duration: 40s;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
/* La sombra lee un color que cambia de piel: se repite en .dark para que se resuelva allí. */
|
|
294
|
-
:where(:root[data-theme='zyro']).dark {
|
|
295
|
-
--ds-shadow-button: 0 4px 16px var(--zy-accent-glow);
|
|
296
|
-
--ds-shadow-button-hover: 0 6px 22px var(--zy-accent-glow);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/* ── 2. PERSONALIDAD ─────────────────────────────────────────────────────────
|
|
300
|
-
* Sin capa: gana a las utilidades de los componentes. Solo variables (lo comprueba
|
|
301
|
-
* el doctor: tema `conformance: strict`). Familias completas.
|
|
302
|
-
*/
|
|
303
|
-
:root:where([data-theme='zyro']) {
|
|
304
|
-
/* Botones: píldora. Acción primaria con degradado de marca y brillo. */
|
|
305
|
-
[data-slot='button'] {
|
|
306
|
-
transition: all var(--ds-motion-base) var(--zy-ease);
|
|
307
|
-
}
|
|
308
|
-
[data-slot='button']:active:not(:disabled) {
|
|
309
|
-
transform: scale(var(--zy-press-scale));
|
|
310
|
-
}
|
|
311
|
-
[data-slot='button'][data-variant='default'] {
|
|
312
|
-
background-color: transparent;
|
|
313
|
-
background-image: var(--zy-accent-g);
|
|
314
|
-
color: var(--zy-accent-ink);
|
|
315
|
-
border-color: transparent;
|
|
316
|
-
box-shadow: var(--ds-shadow-button);
|
|
317
|
-
}
|
|
318
|
-
[data-slot='button'][data-variant='default']:hover:not(:disabled) {
|
|
319
|
-
filter: brightness(var(--zy-hover-brightness));
|
|
320
|
-
box-shadow: var(--ds-shadow-button-hover);
|
|
321
|
-
}
|
|
322
|
-
[data-slot='button'][data-variant='destructive'] {
|
|
323
|
-
box-shadow: var(--zy-shadow-danger);
|
|
324
|
-
}
|
|
325
|
-
[data-slot='button'][data-variant='outline'],
|
|
326
|
-
[data-slot='button'][data-variant='secondary'] {
|
|
327
|
-
border: var(--ds-rule-w) solid var(--zy-field-b);
|
|
328
|
-
background: color-mix(in oklch, var(--foreground) 5%, var(--background));
|
|
329
|
-
color: var(--muted-foreground);
|
|
330
|
-
}
|
|
331
|
-
[data-slot='button'][data-variant='outline']:hover:not(:disabled),
|
|
332
|
-
[data-slot='button'][data-variant='secondary']:hover:not(:disabled) {
|
|
333
|
-
background: color-mix(in oklch, var(--foreground) 11%, var(--background));
|
|
334
|
-
color: var(--foreground);
|
|
335
|
-
}
|
|
336
|
-
[data-slot='button'][data-variant='ghost']:hover:not(:disabled) {
|
|
337
|
-
background: var(--zy-conv-h);
|
|
338
|
-
color: var(--foreground);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/* Tarjetas: contenido casi opaco con filo superior luminoso */
|
|
342
|
-
[data-slot='card'],
|
|
343
|
-
[data-slot='panel'][data-variant='default'],
|
|
344
|
-
[data-slot='stat'][data-variant='card'],
|
|
345
|
-
[data-slot='item'][data-variant='card'] {
|
|
346
|
-
border: var(--ds-rule-w) solid var(--zy-card-bs);
|
|
347
|
-
border-top-color: var(--zy-card-bt);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
/* Campos (familia «field»): filo superior; el cristal claro va en --ds-field-bg */
|
|
351
|
-
[data-slot='input'],
|
|
352
|
-
[data-slot='textarea'],
|
|
353
|
-
[data-slot='select-trigger'],
|
|
354
|
-
[data-slot='native-select'],
|
|
355
|
-
[data-slot='input-group'],
|
|
356
|
-
[data-slot='input-otp-slot'] {
|
|
357
|
-
border-color: var(--zy-field-b);
|
|
358
|
-
border-top-color: var(--zy-field-bt);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
/* Capas (familias «modal» y «floating»): filo de cristal */
|
|
362
|
-
[data-slot='dialog-content'],
|
|
363
|
-
[data-slot='sheet-content'],
|
|
364
|
-
[data-slot='alert-dialog-content'],
|
|
365
|
-
[data-slot='drawer-popup'],
|
|
366
|
-
[data-slot='popover-content'],
|
|
367
|
-
[data-slot='dropdown-menu-content'],
|
|
368
|
-
[data-slot='dropdown-menu-sub-content'],
|
|
369
|
-
[data-slot='select-content'],
|
|
370
|
-
[data-slot='context-menu-content'],
|
|
371
|
-
[data-slot='context-menu-sub-content'],
|
|
372
|
-
[data-slot='menubar-content'],
|
|
373
|
-
[data-slot='menubar-sub-content'],
|
|
374
|
-
[data-slot='hover-card-content'],
|
|
375
|
-
[data-slot='combobox-content'],
|
|
376
|
-
[data-slot='navigation-menu-popup'] {
|
|
377
|
-
border: var(--ds-rule-w) solid var(--zy-glass-bs);
|
|
378
|
-
border-top-color: var(--zy-glass-bt);
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
/* Conmutadores (familia «toggle»): píldora de cristal con el activo elevado */
|
|
383
|
-
[data-slot='tabs-list']:not([data-variant='line']) {
|
|
384
|
-
background: var(--zy-pill);
|
|
385
|
-
border: var(--ds-rule-w) solid var(--zy-card-bs);
|
|
386
|
-
}
|
|
387
|
-
[data-slot='toggle'],
|
|
388
|
-
[data-slot='toggle-group-item'] {
|
|
389
|
-
border-radius: var(--ds-radius-pill);
|
|
390
|
-
}
|
|
391
|
-
[data-variant='default'] > [data-slot='tabs-trigger'][data-active],
|
|
392
|
-
[data-slot='toggle'][aria-pressed='true'],
|
|
393
|
-
[data-slot='toggle-group-item'][aria-pressed='true'] {
|
|
394
|
-
background: var(--zy-pill-on);
|
|
395
|
-
box-shadow: var(--zy-shadow-tab-active);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/* Interruptor y progreso: degradado de marca */
|
|
399
|
-
[data-slot='switch'][data-checked] {
|
|
400
|
-
background-image: var(--zy-accent-g);
|
|
401
|
-
background-color: transparent;
|
|
402
|
-
}
|
|
403
|
-
[data-slot='progress-indicator'] {
|
|
404
|
-
background-image: var(--zy-accent-g);
|
|
405
|
-
background-color: transparent;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/* Sidebar: destino activo con tinte y filo, como la conversación activa de zyro */
|
|
409
|
-
[data-sidebar='menu-button'][data-active='true'] {
|
|
410
|
-
background: var(--zy-conv-a);
|
|
411
|
-
box-shadow: inset 0 0 0 var(--ds-rule-w) var(--zy-conv-ab);
|
|
412
|
-
color: var(--sidebar-accent-foreground);
|
|
413
|
-
}
|
|
414
|
-
[data-sidebar='menu-button']:hover:not([data-active='true']) {
|
|
415
|
-
background: var(--zy-conv-h);
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/* Ajustes de personalidad (vistos en el banco de pruebas) */
|
|
420
|
-
:root:where([data-theme='zyro']) {
|
|
421
|
-
/* Esqueletos: visibles sobre la tarjeta casi blanca */
|
|
422
|
-
[data-slot='skeleton'] {
|
|
423
|
-
background: color-mix(in oklch, var(--foreground) 9%, transparent);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
/* Fondo vivo: los degradados derivan despacio (aproximación ligera, sin WebGL de la
|
|
428
|
-
malla original). `prefers-reduced-motion` ya detiene la animación en la estructura. */
|
|
429
|
-
:root:where([data-theme='zyro']) {
|
|
430
|
-
body {
|
|
431
|
-
background-size: 160% 160%;
|
|
432
|
-
animation: zy-drift var(--zy-drift-duration) ease-in-out infinite alternate;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
@keyframes zy-drift {
|
|
436
|
-
from {
|
|
437
|
-
background-position: 0% 0%;
|
|
438
|
-
}
|
|
439
|
-
to {
|
|
440
|
-
background-position: 100% 100%;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "zyro",
|
|
3
|
-
"light": {
|
|
4
|
-
"palette": [
|
|
5
|
-
"#0349fe",
|
|
6
|
-
"#14bd44",
|
|
7
|
-
"#ffb300",
|
|
8
|
-
"#eb1919",
|
|
9
|
-
"#9747ff",
|
|
10
|
-
"#1267a1",
|
|
11
|
-
"#0b742a",
|
|
12
|
-
"#845f00",
|
|
13
|
-
"#c21414"
|
|
14
|
-
],
|
|
15
|
-
"foreground": "#101526",
|
|
16
|
-
"muted": "#535a70",
|
|
17
|
-
"border": "#d8ddef",
|
|
18
|
-
"surface": "#fafcff",
|
|
19
|
-
"surfaceForeground": "#101526",
|
|
20
|
-
"fontSans": "'Roboto', system-ui, -apple-system, sans-serif",
|
|
21
|
-
"fontDisplay": "'Montserrat', system-ui, -apple-system, sans-serif",
|
|
22
|
-
"motionBaseMs": 200,
|
|
23
|
-
"motionSlowMs": 300
|
|
24
|
-
},
|
|
25
|
-
"dark": {
|
|
26
|
-
"palette": [
|
|
27
|
-
"#36b3ed",
|
|
28
|
-
"#14bd44",
|
|
29
|
-
"#ffb300",
|
|
30
|
-
"#eb1919",
|
|
31
|
-
"#9747ff",
|
|
32
|
-
"#70b7e3",
|
|
33
|
-
"#3cc864",
|
|
34
|
-
"#ff6b6b"
|
|
35
|
-
],
|
|
36
|
-
"foreground": "#ebeef9",
|
|
37
|
-
"muted": "#a0a7bd",
|
|
38
|
-
"border": "#2b303f",
|
|
39
|
-
"surface": "#121522",
|
|
40
|
-
"surfaceForeground": "#ebeef9",
|
|
41
|
-
"fontSans": "'Roboto', system-ui, -apple-system, sans-serif",
|
|
42
|
-
"fontDisplay": "'Montserrat', system-ui, -apple-system, sans-serif",
|
|
43
|
-
"motionBaseMs": 200,
|
|
44
|
-
"motionSlowMs": 300
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { A2UIComponent, A2UIMessage, A2UIActionEvent } from '../lib/a2ui.js';
|
|
3
|
-
import { A2UIIssue } from '../lib/a2ui-catalog.js';
|
|
4
|
-
|
|
5
|
-
/** Lo que recibe el renderizador de cada nodo. */
|
|
6
|
-
interface A2UINodeProps {
|
|
7
|
-
node: A2UIComponent;
|
|
8
|
-
surfaceId: string;
|
|
9
|
-
/** Modelo de datos de la superficie. */
|
|
10
|
-
data: Record<string, unknown>;
|
|
11
|
-
/** Ruta del elemento actual cuando el nodo vive dentro de una plantilla de lista. */
|
|
12
|
-
scopePath?: string;
|
|
13
|
-
/** Idioma activo (BCP 47) para formatear números, monedas, fechas y plurales. */
|
|
14
|
-
locale?: string;
|
|
15
|
-
/** Pinta un hijo por su id (con el ámbito dado o el actual). */
|
|
16
|
-
resolveChild: (id: string, scopePath?: string) => React.ReactNode;
|
|
17
|
-
/** Componente de un id (para leer su `weight` sin pintarlo). */
|
|
18
|
-
peek: (id: string) => A2UIComponent | undefined;
|
|
19
|
-
/** Escribe en el modelo de datos (entradas bidireccionales). */
|
|
20
|
-
setDataPath: (path: string, value: unknown) => void;
|
|
21
|
-
}
|
|
22
|
-
type A2UINodeRenderer = React.ComponentType<A2UINodeProps>;
|
|
23
|
-
/** Catálogo propio: nombre del componente → renderizador. Sustituye o amplía el de Orbital. */
|
|
24
|
-
type A2UICatalog = Record<string, A2UINodeRenderer>;
|
|
25
|
-
declare function A2UIRenderer({ messages, onAction, onIssues, catalog, renderMarkdown, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
26
|
-
messages: readonly A2UIMessage[];
|
|
27
|
-
onAction?: (event: A2UIActionEvent) => void;
|
|
28
|
-
onIssues?: (issues: A2UIIssue[]) => void;
|
|
29
|
-
catalog?: A2UICatalog;
|
|
30
|
-
renderMarkdown?: (text: string) => React.ReactNode;
|
|
31
|
-
}): React.JSX.Element;
|
|
32
|
-
|
|
33
|
-
export { type A2UICatalog, type A2UINodeProps, type A2UINodeRenderer, A2UIRenderer };
|
package/dist/ui/accordion.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
3
|
-
|
|
4
|
-
declare function Accordion({ className, ...props }: Accordion$1.Root.Props): React.JSX.Element;
|
|
5
|
-
declare function AccordionItem({ className, ...props }: Accordion$1.Item.Props): React.JSX.Element;
|
|
6
|
-
declare function AccordionTrigger({ className, children, ...props }: Accordion$1.Trigger.Props): React.JSX.Element;
|
|
7
|
-
declare function AccordionContent({ className, children, ...props }: Accordion$1.Panel.Props): React.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type AgentEventType = "thinking" | "tool" | "message" | "handoff" | "error" | "done";
|
|
4
|
-
type AgentEventStatus = "running" | "done" | "error";
|
|
5
|
-
/** Dato breve del evento (modelo, tokens, coste, herramienta…) que se muestra como badge. */
|
|
6
|
-
interface AgentEventChip {
|
|
7
|
-
kind: "model" | "tokens" | "cost" | "tools" | "reasoning" | "branch" | "tool" | "content";
|
|
8
|
-
label: string;
|
|
9
|
-
}
|
|
10
|
-
interface AgentEvent {
|
|
11
|
-
id: string;
|
|
12
|
-
type: AgentEventType;
|
|
13
|
-
/** Qué hizo (nombre de la herramienta, a quién traspasa…); si falta, se usa la etiqueta del tipo. */
|
|
14
|
-
title?: React.ReactNode;
|
|
15
|
-
/** Texto breve visible siempre. */
|
|
16
|
-
summary?: React.ReactNode;
|
|
17
|
-
/** Contenido plegado (razonamiento completo, entrada y salida…). */
|
|
18
|
-
detail?: React.ReactNode;
|
|
19
|
-
time?: Date | string | number;
|
|
20
|
-
/** Metadatos del evento (véase `chipsFromMeta` en `orbital-ds/lib/ai-events`). */
|
|
21
|
-
chips?: AgentEventChip[];
|
|
22
|
-
/** `running` pulsa el indicador; por defecto `done` (`error` en el tipo error). */
|
|
23
|
-
status?: AgentEventStatus;
|
|
24
|
-
}
|
|
25
|
-
declare function AgentEvents({ events, density, now, className, ...props }: Omit<React.ComponentProps<"ol">, "children"> & {
|
|
26
|
-
events: AgentEvent[];
|
|
27
|
-
density?: "default" | "compact";
|
|
28
|
-
/** Referencia para el tiempo relativo (fíjala en SSR). */
|
|
29
|
-
now?: Date;
|
|
30
|
-
}): React.JSX.Element;
|
|
31
|
-
|
|
32
|
-
export { type AgentEvent, type AgentEventChip, type AgentEventStatus, type AgentEventType, AgentEvents };
|
package/dist/ui/ai-tag.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function AiTag({ className, children, iconOnly, ...props }: React.ComponentProps<"span"> & {
|
|
4
|
-
iconOnly?: boolean;
|
|
5
|
-
}): React.JSX.Element;
|
|
6
|
-
declare function AiTagMeta({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { AiTag, AiTagMeta };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
|
|
3
|
-
import { Button } from './button.js';
|
|
4
|
-
import 'class-variance-authority/types';
|
|
5
|
-
import '@base-ui/react/use-render';
|
|
6
|
-
import 'class-variance-authority';
|
|
7
|
-
|
|
8
|
-
declare function AlertDialog({ ...props }: AlertDialog$1.Root.Props): React.JSX.Element;
|
|
9
|
-
declare function AlertDialogTrigger({ ...props }: AlertDialog$1.Trigger.Props): React.JSX.Element;
|
|
10
|
-
declare function AlertDialogPortal({ ...props }: AlertDialog$1.Portal.Props): React.JSX.Element;
|
|
11
|
-
declare function AlertDialogOverlay({ className, ...props }: AlertDialog$1.Backdrop.Props): React.JSX.Element;
|
|
12
|
-
declare function AlertDialogContent({ className, size, ...props }: AlertDialog$1.Popup.Props & {
|
|
13
|
-
size?: "default" | "sm";
|
|
14
|
-
}): React.JSX.Element;
|
|
15
|
-
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
16
|
-
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
17
|
-
declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
18
|
-
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Title>): React.JSX.Element;
|
|
19
|
-
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Description>): React.JSX.Element;
|
|
20
|
-
declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
|
|
21
|
-
declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialog$1.Close.Props & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): React.JSX.Element;
|
|
22
|
-
|
|
23
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
package/dist/ui/alert.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const alertVariants: (props?: ({
|
|
6
|
-
variant?: "info" | "warning" | "success" | "danger" | "default" | "destructive" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): React.JSX.Element;
|
|
9
|
-
declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
10
|
-
declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
11
|
-
declare function AlertAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
12
|
-
|
|
13
|
-
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function AnimatedNumber({ value, format, className, ...props }: Omit<React.ComponentProps<"span">, "children"> & {
|
|
4
|
-
value: number;
|
|
5
|
-
/** Cómo escribir el número. Por defecto, `Intl.NumberFormat` del idioma activo. */
|
|
6
|
-
format?: (value: number) => string;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { AnimatedNumber };
|
package/dist/ui/app-bar.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type AppBarPreset = "app" | "compact" | "transparent";
|
|
4
|
-
declare function AppBar({ preset, className, ...props }: React.ComponentProps<"header"> & {
|
|
5
|
-
preset?: AppBarPreset;
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
declare function AppBarTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
8
|
-
declare function AppBarActions({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { AppBar, AppBarActions, type AppBarPreset, AppBarTitle };
|
package/dist/ui/attachment.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { Button } from './button.js';
|
|
6
|
-
|
|
7
|
-
declare const attachmentVariants: (props?: ({
|
|
8
|
-
size?: "default" | "xs" | "sm" | null | undefined;
|
|
9
|
-
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare function Attachment({ className, state, size, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof attachmentVariants> & {
|
|
12
|
-
state?: "idle" | "uploading" | "processing" | "error" | "done";
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
declare const attachmentMediaVariants: (props?: ({
|
|
15
|
-
variant?: "icon" | "image" | null | undefined;
|
|
16
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
-
declare function AttachmentMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof attachmentMediaVariants>): React.JSX.Element;
|
|
18
|
-
declare function AttachmentContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
19
|
-
declare function AttachmentTitle({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
20
|
-
declare function AttachmentDescription({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
21
|
-
declare function AttachmentActions({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
22
|
-
declare function AttachmentAction({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
|
|
23
|
-
declare function AttachmentTrigger({ className, render, type, ...props }: useRender.ComponentProps<"button">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
24
|
-
declare function AttachmentGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
25
|
-
|
|
26
|
-
export { Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger };
|