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,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type AuthBackdropVariant = "none" | "dots" | "grid" | "aurora" | "mesh" | "glow" | "rings" | "beams" | "image";
|
|
4
|
-
declare function AuthBackdrop({ variant, interactive, ink, animated, media, mediaTint, glass, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
5
|
-
variant?: AuthBackdropVariant;
|
|
6
|
-
/** image: la foto o el vídeo (un <img>/<video> con alt=""). */
|
|
7
|
-
media?: React.ReactNode;
|
|
8
|
-
/** image: tinte de marca (brand), dos tintas (duotone) o la foto tal cual (none). */
|
|
9
|
-
mediaTint?: "none" | "brand" | "duotone";
|
|
10
|
-
/** Cristal esmerilado encima del fondo (mesh, aurora, imagen…): suaviza y da profundidad. */
|
|
11
|
-
glass?: boolean;
|
|
12
|
-
/** Paralaje suave con inercia al mover el puntero (no en táctil ni con movimiento reducido). */
|
|
13
|
-
interactive?: boolean;
|
|
14
|
-
/** Tinta de puntos y líneas. */
|
|
15
|
-
ink?: "canvas" | "brand";
|
|
16
|
-
/** Motion graphics: false = fondo quieto. */
|
|
17
|
-
animated?: boolean;
|
|
18
|
-
}): React.JSX.Element | null;
|
|
19
|
-
|
|
20
|
-
export { AuthBackdrop, type AuthBackdropVariant };
|
package/dist/ui/auth-form.d.ts
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AuthErrorCode, AuthField, PasswordRules, AuthProviderOption, AuthLink } from '../lib/auth.js';
|
|
3
|
-
import '../lib/i18n.js';
|
|
4
|
-
|
|
5
|
-
type AuthFormPreset = "sign-in" | "social" | "sign-up" | "magic-link" | "email-code" | "sso" | "forgot-password" | "reset-password";
|
|
6
|
-
type AuthIdentifierKind = "email" | "username" | "email-or-username";
|
|
7
|
-
type AuthMessage = AuthErrorCode | React.ReactNode;
|
|
8
|
-
type AuthFormValues = {
|
|
9
|
-
identifier: string;
|
|
10
|
-
password: string;
|
|
11
|
-
name: string;
|
|
12
|
-
confirmPassword: string;
|
|
13
|
-
remember: boolean;
|
|
14
|
-
terms: boolean;
|
|
15
|
-
/** Campos extra (`extraFields`) y todo lo demás del formulario. */
|
|
16
|
-
formData: FormData;
|
|
17
|
-
};
|
|
18
|
-
type AuthOrganization = {
|
|
19
|
-
id: string;
|
|
20
|
-
label: React.ReactNode;
|
|
21
|
-
description?: React.ReactNode;
|
|
22
|
-
icon?: React.ReactNode;
|
|
23
|
-
};
|
|
24
|
-
/** Lo que devuelve un callback: error general, errores por campo o la vista siguiente. */
|
|
25
|
-
type AuthResult = void | undefined | {
|
|
26
|
-
error?: AuthMessage;
|
|
27
|
-
fieldErrors?: Partial<Record<AuthField, AuthMessage>>;
|
|
28
|
-
next?: "password" | "code" | "sent" | "sso" | "redirecting";
|
|
29
|
-
};
|
|
30
|
-
/** Ruta que decide la app para un identificador (home realm discovery). */
|
|
31
|
-
type AuthRoute = void | undefined | {
|
|
32
|
-
method: "password" | "sso" | "passkey" | "email-code" | "magic-link";
|
|
33
|
-
/** Puerta por la que entra: plantilla o gente de fuera (se muestra junto al correo). */
|
|
34
|
-
access?: "internal" | "external";
|
|
35
|
-
/** SSO con varias organizaciones para el mismo dominio: se deja elegir. */
|
|
36
|
-
organizations?: AuthOrganization[];
|
|
37
|
-
error?: AuthMessage;
|
|
38
|
-
};
|
|
39
|
-
declare function AuthForm({ preset, title, description, icon, identifier, defaultIdentifier, identifierFirst, onIdentify, audience, entry, fields, extraFields, passwordRules, showStrength, remember, providers, onProvider, providersPlacement, providersLayout, onPasskey, onSso, ssoBy, lastUsed, onSubmit, onVerifyCode, onResend, resendAfter, codeLength, error: errorProp, fieldErrors: fieldErrorsProp, links, submitLabel, footer, className, ...props }: Omit<React.ComponentProps<"div">, "title" | "onSubmit"> & {
|
|
40
|
-
preset?: AuthFormPreset;
|
|
41
|
-
title?: React.ReactNode;
|
|
42
|
-
description?: React.ReactNode;
|
|
43
|
-
/** Icono sobre el título (IconTile, logo de la app…). */
|
|
44
|
-
icon?: React.ReactNode;
|
|
45
|
-
/** Qué identifica a la persona. */
|
|
46
|
-
identifier?: AuthIdentifierKind;
|
|
47
|
-
defaultIdentifier?: string;
|
|
48
|
-
/** sign-in: primero el identificador; luego el método que toque. */
|
|
49
|
-
identifierFirst?: boolean;
|
|
50
|
-
/** Home realm discovery: la app dice qué método le toca a ese identificador. */
|
|
51
|
-
onIdentify?: (identifier: string) => AuthRoute | Promise<AuthRoute>;
|
|
52
|
-
/** Quién puede entrar: explica en pantalla, antes de escribir el correo, qué puerta le toca a cada persona. */
|
|
53
|
-
audience?: "internal" | "external" | "mixed";
|
|
54
|
-
/** Inicio del acceso mixto: `identifier` pide el correo y el dominio decide; `doors` ofrece dos puertas sin escribir: «Continuar con SSO» para el personal y «Acceso para personas externas», que abre el formulario de cuenta propia (correo y contraseña, passkey). Necesita `onSso`. */
|
|
55
|
-
entry?: "identifier" | "doors";
|
|
56
|
-
/** Campos y orden (sign-up y reset-password). */
|
|
57
|
-
fields?: AuthField[];
|
|
58
|
-
/** Campos propios de la app, antes del botón (llegan en `formData`). */
|
|
59
|
-
extraFields?: React.ReactNode;
|
|
60
|
-
passwordRules?: PasswordRules;
|
|
61
|
-
/** Barra de fuerza de la contraseña (sign-up y reset-password por defecto). */
|
|
62
|
-
showStrength?: boolean;
|
|
63
|
-
/** Casilla «mantener la sesión iniciada». */
|
|
64
|
-
remember?: boolean;
|
|
65
|
-
/** SSO o redes sociales (la app pone nombre e icono). */
|
|
66
|
-
providers?: AuthProviderOption[];
|
|
67
|
-
onProvider?: (id: string) => void | Promise<AuthResult>;
|
|
68
|
-
providersPlacement?: "top" | "bottom";
|
|
69
|
-
providersLayout?: "stack" | "grid" | "icons";
|
|
70
|
-
/** Entrar con passkey (y autocompletado de passkeys en el campo del identificador). */
|
|
71
|
-
onPasskey?: () => void | Promise<AuthResult>;
|
|
72
|
-
/** SSO de empresa: enlace «usar SSO» en sign-in y envío del preset sso. */
|
|
73
|
-
onSso?: (input: {
|
|
74
|
-
identifier: string;
|
|
75
|
-
organization?: string;
|
|
76
|
-
}) => AuthResult | Promise<AuthResult | {
|
|
77
|
-
organizations: AuthOrganization[];
|
|
78
|
-
}>;
|
|
79
|
-
/** sso: se identifica por correo de trabajo o por organización. */
|
|
80
|
-
ssoBy?: "email" | "organization";
|
|
81
|
-
/** Último método usado en este dispositivo: id de proveedor, "passkey", "sso" o "password". */
|
|
82
|
-
lastUsed?: string | null;
|
|
83
|
-
onSubmit?: (values: AuthFormValues) => AuthResult | Promise<AuthResult>;
|
|
84
|
-
/** email-code: verifica el código (se llama al completarse). */
|
|
85
|
-
onVerifyCode?: (code: string, values: {
|
|
86
|
-
identifier: string;
|
|
87
|
-
}) => AuthResult | Promise<AuthResult>;
|
|
88
|
-
/** Reenviar enlace o código. */
|
|
89
|
-
onResend?: (values: {
|
|
90
|
-
identifier: string;
|
|
91
|
-
}) => void | Promise<void>;
|
|
92
|
-
/** Segundos hasta poder reenviar. */
|
|
93
|
-
resendAfter?: number;
|
|
94
|
-
codeLength?: number;
|
|
95
|
-
/** Error controlado por la app. */
|
|
96
|
-
error?: AuthMessage;
|
|
97
|
-
fieldErrors?: Partial<Record<AuthField, AuthMessage>>;
|
|
98
|
-
/** Enlaces: URL o función del router. */
|
|
99
|
-
links?: {
|
|
100
|
-
signIn?: AuthLink;
|
|
101
|
-
email?: AuthLink;
|
|
102
|
-
signUp?: AuthLink;
|
|
103
|
-
requestAccess?: AuthLink;
|
|
104
|
-
forgotPassword?: AuthLink;
|
|
105
|
-
terms?: AuthLink;
|
|
106
|
-
privacy?: AuthLink;
|
|
107
|
-
};
|
|
108
|
-
submitLabel?: React.ReactNode;
|
|
109
|
-
/** Sustituye el pie de enlaces. */
|
|
110
|
-
footer?: React.ReactNode;
|
|
111
|
-
}): React.JSX.Element;
|
|
112
|
-
|
|
113
|
-
export { AuthForm, type AuthFormPreset, type AuthFormValues, type AuthOrganization, type AuthResult, type AuthRoute };
|
package/dist/ui/auth-layout.d.ts
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AuthBackdropVariant } from './auth-backdrop.js';
|
|
3
|
-
|
|
4
|
-
type AuthLayoutPreset = "centered" | "split" | "cover" | "banner" | "minimal";
|
|
5
|
-
type AuthSurface = "solid" | "glass" | "elevated" | "plain";
|
|
6
|
-
type AuthShape = "rounded" | "soft" | "sharp";
|
|
7
|
-
type AuthMotion = "full" | "entrance" | "off";
|
|
8
|
-
/** Movimiento de la pantalla de acceso (para que el contenido anime igual que la maqueta). */
|
|
9
|
-
declare function useAuthMotion(): AuthMotion;
|
|
10
|
-
/** Cómo se tiñe una imagen o vídeo de fondo con la marca: none = tal cual · brand = tono del
|
|
11
|
-
* primario (conserva luces y sombras) · duotone = blanco y negro en dos tintas de la paleta. */
|
|
12
|
-
type AuthMediaTint = "none" | "brand" | "duotone";
|
|
13
|
-
declare function AuthLayout({ preset, surface, shape, backdrop, backdropMedia, backdropGlass, asideBackdrop, interactive, motion, side, logo, aside, media, mediaTint, toolbar, footer, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
14
|
-
preset?: AuthLayoutPreset;
|
|
15
|
-
/** Superficie de la tarjeta. */
|
|
16
|
-
surface?: AuthSurface;
|
|
17
|
-
/** Forma de la tarjeta. */
|
|
18
|
-
shape?: AuthShape;
|
|
19
|
-
/** Fondo animado del lienzo. */
|
|
20
|
-
backdrop?: AuthBackdropVariant;
|
|
21
|
-
/** backdrop="image": la foto o el vídeo del lienzo (si falta, usa `media`). Se tiñe con `mediaTint`. */
|
|
22
|
-
backdropMedia?: React.ReactNode;
|
|
23
|
-
/** Cristal esmerilado sobre el fondo del lienzo («mesh + glass», «image + glass»). */
|
|
24
|
-
backdropGlass?: boolean;
|
|
25
|
-
/** Fondo animado del panel de marca (split, banner). */
|
|
26
|
-
asideBackdrop?: AuthBackdropVariant;
|
|
27
|
-
/** Foco que sigue al puntero en el fondo. */
|
|
28
|
-
interactive?: boolean;
|
|
29
|
-
/** full = fondo animado y entrada · entrance = solo la entrada · off = quieto. */
|
|
30
|
-
motion?: AuthMotion;
|
|
31
|
-
/** split: lado del panel de marca · cover: lado de la tarjeta. */
|
|
32
|
-
side?: "start" | "end";
|
|
33
|
-
/** Logo de la app (imagen o SVG; su alto lo fija --ds-auth-logo-h). */
|
|
34
|
-
logo?: React.ReactNode;
|
|
35
|
-
/** Panel de marca (split, banner): normalmente <AuthAside>. */
|
|
36
|
-
aside?: React.ReactNode;
|
|
37
|
-
/** cover: imagen o vídeo de fondo (la app lo pone; se recorta a pantalla completa). */
|
|
38
|
-
media?: React.ReactNode;
|
|
39
|
-
/** cover: tinte de marca sobre `media` (la foto se adapta al color de la marca). */
|
|
40
|
-
mediaTint?: AuthMediaTint;
|
|
41
|
-
/** Esquina superior: idioma y tema, siempre visibles. */
|
|
42
|
-
toolbar?: React.ReactNode;
|
|
43
|
-
/** Pie: enlaces legales, versión, soporte. */
|
|
44
|
-
footer?: React.ReactNode;
|
|
45
|
-
}): React.JSX.Element;
|
|
46
|
-
declare function AuthAside({ logo, align, backdrop, media, mediaTint, className, children, ...props }: React.ComponentProps<"aside"> & {
|
|
47
|
-
/** Logo arriba del panel (en split, la maqueta lo quita del formulario en ancho). */
|
|
48
|
-
logo?: React.ReactNode;
|
|
49
|
-
/** between = logo arriba y texto abajo (por defecto) · center = todo agrupado y centrado en vertical (portal corporativo). */
|
|
50
|
-
align?: "between" | "center";
|
|
51
|
-
/** Fondo animado del panel (por defecto, el del preset). */
|
|
52
|
-
backdrop?: AuthBackdropVariant;
|
|
53
|
-
/** Imagen o vídeo del panel (sustituye al degradado; el texto se lee sobre un velo de la marca). */
|
|
54
|
-
media?: React.ReactNode;
|
|
55
|
-
/** Tinte de marca sobre `media` (por defecto brand: la foto toma el color de la marca). */
|
|
56
|
-
mediaTint?: AuthMediaTint;
|
|
57
|
-
}): React.JSX.Element;
|
|
58
|
-
declare function AuthAsideEyebrow({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
59
|
-
declare function AuthAsideTitle({ className, ...props }: React.ComponentProps<"h2">): React.JSX.Element;
|
|
60
|
-
declare function AuthAsideText({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
61
|
-
declare function AuthAsidePoints({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
62
|
-
declare function AuthAsidePoint({ icon, className, children, ...props }: React.ComponentProps<"li"> & {
|
|
63
|
-
icon?: React.ReactNode;
|
|
64
|
-
}): React.JSX.Element;
|
|
65
|
-
declare function AuthAsideQuote({ author, role, avatar, className, children, ...props }: React.ComponentProps<"figure"> & {
|
|
66
|
-
author?: React.ReactNode;
|
|
67
|
-
role?: React.ReactNode;
|
|
68
|
-
avatar?: React.ReactNode;
|
|
69
|
-
}): React.JSX.Element;
|
|
70
|
-
declare function AuthAsideFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
71
|
-
|
|
72
|
-
export { AuthAside, AuthAsideEyebrow, AuthAsideFooter, AuthAsidePoint, AuthAsidePoints, AuthAsideQuote, AuthAsideText, AuthAsideTitle, AuthLayout, type AuthLayoutPreset, type AuthMediaTint, type AuthMotion, type AuthShape, type AuthSurface, useAuthMotion };
|
package/dist/ui/auth-parts.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AuthLink, AuthErrorCode, AuthProviderOption } from '../lib/auth.js';
|
|
3
|
-
import { Button } from './button.js';
|
|
4
|
-
import '../lib/i18n.js';
|
|
5
|
-
import 'class-variance-authority/types';
|
|
6
|
-
import '@base-ui/react/use-render';
|
|
7
|
-
import 'class-variance-authority';
|
|
8
|
-
|
|
9
|
-
/** Bloque que entra en cascada según el `motion` de AuthLayout (índice = orden). */
|
|
10
|
-
declare function AuthStagger({ index, className, style, ...props }: React.ComponentProps<"div"> & {
|
|
11
|
-
index?: number;
|
|
12
|
-
}): React.JSX.Element;
|
|
13
|
-
declare function AuthHeader({ icon, title, description, align, className, ...props }: Omit<React.ComponentProps<"div">, "title"> & {
|
|
14
|
-
icon?: React.ReactNode;
|
|
15
|
-
title: React.ReactNode;
|
|
16
|
-
description?: React.ReactNode;
|
|
17
|
-
align?: "start" | "center";
|
|
18
|
-
}): React.JSX.Element;
|
|
19
|
-
declare function AuthDivider({ children, className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
20
|
-
declare function AuthProviders({ providers, onProvider, pending, lastUsed, layout, className, ...props }: Omit<React.ComponentProps<"div">, "onSelect"> & {
|
|
21
|
-
providers: AuthProviderOption[];
|
|
22
|
-
onProvider?: (id: string) => void;
|
|
23
|
-
/** Proveedor en curso (muestra el spinner y bloquea los demás). */
|
|
24
|
-
pending?: string | null;
|
|
25
|
-
/** Último método usado en este dispositivo (lo guarda la app): lleva una etiqueta. */
|
|
26
|
-
lastUsed?: string | null;
|
|
27
|
-
/** stack = uno por fila con texto · grid = dos columnas · icons = solo iconos. Por defecto: stack hasta 2, grid desde 3. */
|
|
28
|
-
layout?: "stack" | "grid" | "icons";
|
|
29
|
-
}): React.JSX.Element;
|
|
30
|
-
declare function AuthPasskeyButton({ pending, lastUsed, variant, children, ...props }: React.ComponentProps<typeof Button> & {
|
|
31
|
-
pending?: boolean;
|
|
32
|
-
lastUsed?: boolean;
|
|
33
|
-
}): React.JSX.Element;
|
|
34
|
-
/** Error de acceso: un código (texto del catálogo) o un nodo de la app. Se anuncia (role="alert"). */
|
|
35
|
-
declare function AuthError({ error, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
36
|
-
error?: AuthErrorCode | React.ReactNode;
|
|
37
|
-
}): React.JSX.Element | null;
|
|
38
|
-
/** Enlace de acceso: URL → <a>; función → botón con aspecto de enlace (router de la app). */
|
|
39
|
-
declare function AuthAnchor({ to, className, children, ...props }: Omit<React.ComponentProps<"a">, "href" | "onClick"> & {
|
|
40
|
-
to: AuthLink;
|
|
41
|
-
}): React.JSX.Element;
|
|
42
|
-
|
|
43
|
-
export { AuthAnchor, AuthDivider, AuthError, AuthHeader, AuthPasskeyButton, AuthProviders, AuthStagger };
|
package/dist/ui/auth-status.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AuthLink } from '../lib/auth.js';
|
|
3
|
-
import '../lib/i18n.js';
|
|
4
|
-
|
|
5
|
-
type AuthStatusPreset = "signed-out" | "session-expired" | "check-email" | "verify-email" | "email-verified" | "password-changed" | "account-locked" | "link-expired" | "access-denied";
|
|
6
|
-
declare function AuthStatus({ preset, title, description, icon, email, action, actionLabel, secondaryAction, secondaryLabel, onResend, resendAfter, align, children, className, ...props }: Omit<React.ComponentProps<"div">, "title"> & {
|
|
7
|
-
preset?: AuthStatusPreset;
|
|
8
|
-
title?: React.ReactNode;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
/** check-email, verify-email: a qué correo se envió. */
|
|
12
|
-
email?: string;
|
|
13
|
-
/** Acción principal (URL o función del router). */
|
|
14
|
-
action?: AuthLink;
|
|
15
|
-
actionLabel?: React.ReactNode;
|
|
16
|
-
secondaryAction?: AuthLink;
|
|
17
|
-
secondaryLabel?: React.ReactNode;
|
|
18
|
-
onResend?: () => void | Promise<void>;
|
|
19
|
-
resendAfter?: number;
|
|
20
|
-
align?: "start" | "center";
|
|
21
|
-
}): React.JSX.Element;
|
|
22
|
-
|
|
23
|
-
export { AuthStatus, type AuthStatusPreset };
|
package/dist/ui/avatar.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
3
|
-
import { DsDataTone } from './legend.js';
|
|
4
|
-
|
|
5
|
-
declare function Avatar({ className, size, ...props }: Avatar$1.Root.Props & {
|
|
6
|
-
size?: "default" | "sm" | "lg";
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
declare function AvatarImage({ className, ...props }: Avatar$1.Image.Props): React.JSX.Element;
|
|
9
|
-
declare function AvatarFallback({ className, tone, style, ...props }: Avatar$1.Fallback.Props & {
|
|
10
|
-
tone?: DsDataTone;
|
|
11
|
-
}): React.JSX.Element;
|
|
12
|
-
declare function AvatarBadge({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
13
|
-
declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
14
|
-
declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
package/dist/ui/ayuda.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
/** Texto de ayuda. Una o dos frases: si necesita más, el sitio es la propia pantalla, no esto. */
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
/** Para lectores de pantalla: qué término se está explicando (p. ej. «Qué es una banda»). */
|
|
7
|
-
etiqueta: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Icono de ayuda contextual para un termino que no es obvio para quien no vive en este
|
|
11
|
-
* dominio a diario (banda, ambito, canal de origen, herencia de severidad).
|
|
12
|
-
*
|
|
13
|
-
* POPOVER y no `Tooltip`: un tooltip solo se abre con hover/foco de precision, lo que lo
|
|
14
|
-
* deja inutilizable en tactil y dificil de alcanzar con teclado. Un boton que ABRE al
|
|
15
|
-
* pulsar (clic o Intro) funciona igual en raton, tactil y teclado.
|
|
16
|
-
*
|
|
17
|
-
* No sustituye a un texto de ayuda en la propia pantalla: es para el termino suelto que
|
|
18
|
-
* complicaria la frase si se explicara en linea cada vez que aparece.
|
|
19
|
-
*/
|
|
20
|
-
declare function Ayuda({ children, etiqueta }: Props): React$1.JSX.Element;
|
|
21
|
-
|
|
22
|
-
export { Ayuda };
|
package/dist/ui/badge.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
|
|
6
|
-
declare const badgeVariants: (props?: ({
|
|
7
|
-
size?: "default" | "sm" | null | undefined;
|
|
8
|
-
variant?: "neutral" | "info" | "success" | "warning" | "danger" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare function Badge({ className, variant, size, dot, render, children, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
11
|
-
/** Punto de estado a la izquierda, con el color del texto de la variante. */
|
|
12
|
-
dot?: boolean;
|
|
13
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
14
|
-
|
|
15
|
-
export { Badge, badgeVariants };
|
package/dist/ui/banner.d.ts
DELETED
|
@@ -1,14 +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 bannerVariants: (props?: ({
|
|
6
|
-
variant?: "info" | "warning" | "success" | "danger" | "default" | "brand" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
declare function Banner({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bannerVariants>): React.JSX.Element;
|
|
9
|
-
declare function BannerContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
10
|
-
declare function BannerTitle({ className, ...props }: React.ComponentProps<"strong">): React.JSX.Element;
|
|
11
|
-
declare function BannerDescription({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
12
|
-
declare function BannerActions({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { Banner, BannerActions, BannerContent, BannerDescription, BannerTitle, bannerVariants };
|
package/dist/ui/bottom-nav.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
3
|
-
|
|
4
|
-
declare function BottomNav({ className, position, ...props }: React.ComponentProps<"nav"> & {
|
|
5
|
-
position?: "fixed" | "static";
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
declare function BottomNavItem({ className, active, render, ...props }: useRender.ComponentProps<"a"> & {
|
|
8
|
-
active?: boolean;
|
|
9
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
10
|
-
declare function BottomNavIcon({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
11
|
-
declare function BottomNavLabel({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
12
|
-
/** Contador o punto sobre el icono (avisos sin leer). Sin hijos, solo el punto. */
|
|
13
|
-
declare function BottomNavBadge({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
14
|
-
|
|
15
|
-
export { BottomNav, BottomNavBadge, BottomNavIcon, BottomNavItem, BottomNavLabel };
|
package/dist/ui/breadcrumb.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
3
|
-
|
|
4
|
-
declare function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
5
|
-
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): React.JSX.Element;
|
|
6
|
-
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
7
|
-
declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
8
|
-
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
9
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
10
|
-
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
package/dist/ui/bubble.d.ts
DELETED
|
@@ -1,19 +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
|
-
|
|
6
|
-
declare function BubbleGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
7
|
-
declare const bubbleVariants: (props?: ({
|
|
8
|
-
variant?: "outline" | "default" | "ghost" | "secondary" | "destructive" | "muted" | "tinted" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare function Bubble({ variant, align, className, ...props }: React.ComponentProps<"div"> & VariantProps<typeof bubbleVariants> & {
|
|
11
|
-
align?: "start" | "end";
|
|
12
|
-
}): React.JSX.Element;
|
|
13
|
-
declare function BubbleContent({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
14
|
-
declare function BubbleReactions({ side, align, className, ...props }: React.ComponentProps<"div"> & {
|
|
15
|
-
align?: "start" | "end";
|
|
16
|
-
side?: "top" | "bottom";
|
|
17
|
-
}): React.JSX.Element;
|
|
18
|
-
|
|
19
|
-
export { Bubble, BubbleContent, BubbleGroup, BubbleReactions };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { Separator } from './separator.js';
|
|
6
|
-
import '@base-ui/react/separator';
|
|
7
|
-
|
|
8
|
-
declare const buttonGroupVariants: (props?: ({
|
|
9
|
-
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
10
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
-
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): React$1.JSX.Element;
|
|
12
|
-
declare function ButtonGroupText({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
13
|
-
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): React$1.JSX.Element;
|
|
14
|
-
|
|
15
|
-
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
package/dist/ui/button.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
|
|
6
|
-
declare const buttonVariants: (props?: ({
|
|
7
|
-
variant?: "outline" | "default" | "ghost" | "secondary" | "link" | "destructive" | "cta" | null | undefined;
|
|
8
|
-
size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare function Button({ className, variant, size, render, nativeButton: _nativeButton, ...props }: useRender.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
11
|
-
nativeButton?: boolean;
|
|
12
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
13
|
-
|
|
14
|
-
export { Button, buttonVariants };
|
package/dist/ui/calendar.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DayPicker, DayButton, Locale } from 'react-day-picker';
|
|
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 Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
9
|
-
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React.ComponentProps<typeof DayButton> & {
|
|
12
|
-
locale?: Partial<Locale>;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
|
|
15
|
-
export { Calendar, CalendarDayButton };
|
package/dist/ui/card-stack.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function CardStack({ index, className, style, children, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
4
|
-
/** Posición de la tarjeta de delante (se envuelve: pasado el final vuelve a la primera). */
|
|
5
|
-
index: number;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { CardStack };
|
package/dist/ui/card.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AuthBackdropVariant } from './auth-backdrop.js';
|
|
3
|
-
|
|
4
|
-
declare function Card({ className, size, hoverable, spotlight, glow, backdrop, backdropMedia, backdropGlass, animated, children, onPointerMove, ...props }: React.ComponentProps<"div"> & {
|
|
5
|
-
size?: "default" | "sm";
|
|
6
|
-
/** Al pasar el ratón la tarjeta se eleva y marca el borde (--ds-card-hover-lift / -border). */
|
|
7
|
-
hoverable?: boolean;
|
|
8
|
-
/** Un foco de luz sigue al puntero por dentro de la tarjeta (solo con ratón; quieto con movimiento reducido). */
|
|
9
|
-
spotlight?: boolean;
|
|
10
|
-
/** Resplandor de marca alrededor de la tarjeta al señalarla (--ds-card-glow). */
|
|
11
|
-
glow?: boolean;
|
|
12
|
-
/** Fondo de AuthBackdrop detrás del contenido (mesh, aurora, image, dots…). Con texto largo, prefiere `dots` o `grid`. */
|
|
13
|
-
backdrop?: AuthBackdropVariant;
|
|
14
|
-
/** backdrop="image": la foto o el vídeo (un <img>/<video> con alt=""). */
|
|
15
|
-
backdropMedia?: React.ReactNode;
|
|
16
|
-
/** Cristal esmerilado encima del fondo. */
|
|
17
|
-
backdropGlass?: boolean;
|
|
18
|
-
/** false = fondo quieto. */
|
|
19
|
-
animated?: boolean;
|
|
20
|
-
}): React.JSX.Element;
|
|
21
|
-
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
22
|
-
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
23
|
-
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
24
|
-
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
25
|
-
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
26
|
-
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
27
|
-
|
|
28
|
-
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
package/dist/ui/carousel.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
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
|
-
type CarouselApi = UseEmblaCarouselType[1];
|
|
9
|
-
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
10
|
-
type CarouselOptions = UseCarouselParameters[0];
|
|
11
|
-
type CarouselPlugin = UseCarouselParameters[1];
|
|
12
|
-
type CarouselProps = {
|
|
13
|
-
opts?: CarouselOptions;
|
|
14
|
-
plugins?: CarouselPlugin;
|
|
15
|
-
orientation?: "horizontal" | "vertical";
|
|
16
|
-
setApi?: (api: CarouselApi) => void;
|
|
17
|
-
};
|
|
18
|
-
type CarouselContextProps = {
|
|
19
|
-
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
20
|
-
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
21
|
-
scrollPrev: () => void;
|
|
22
|
-
scrollNext: () => void;
|
|
23
|
-
canScrollPrev: boolean;
|
|
24
|
-
canScrollNext: boolean;
|
|
25
|
-
} & CarouselProps;
|
|
26
|
-
declare function useCarousel(): CarouselContextProps;
|
|
27
|
-
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): React.JSX.Element;
|
|
28
|
-
declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
29
|
-
declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
30
|
-
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
|
|
31
|
-
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
|
|
32
|
-
|
|
33
|
-
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type ChainStepStatus = "running" | "done" | "error" | "pending";
|
|
4
|
-
interface ChainStep {
|
|
5
|
-
id: string;
|
|
6
|
-
title: React.ReactNode;
|
|
7
|
-
description?: React.ReactNode;
|
|
8
|
-
/** Resultados breves (dominios, ficheros, etiquetas) como badges. */
|
|
9
|
-
results?: string[];
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
status?: ChainStepStatus;
|
|
12
|
-
}
|
|
13
|
-
declare function ChainOfThought({ steps, summary, defaultOpen, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
14
|
-
steps: ChainStep[];
|
|
15
|
-
summary?: React.ReactNode;
|
|
16
|
-
defaultOpen?: boolean;
|
|
17
|
-
}): React.JSX.Element;
|
|
18
|
-
|
|
19
|
-
export { ChainOfThought, type ChainStep, type ChainStepStatus };
|
package/dist/ui/chart-card.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { EChartProps, EChartHandle } from './echart.js';
|
|
3
|
-
import { EChartsCoreOption } from 'echarts/core';
|
|
4
|
-
|
|
5
|
-
type ChartCardPreset = "glance" | "standard" | "focus" | "dense";
|
|
6
|
-
declare const ChartCard: React.ForwardRefExoticComponent<{
|
|
7
|
-
option: EChartsCoreOption;
|
|
8
|
-
preset?: ChartCardPreset;
|
|
9
|
-
title?: React.ReactNode;
|
|
10
|
-
description?: React.ReactNode;
|
|
11
|
-
/** Acciones de la cabecera (selector de periodo, menú…). */
|
|
12
|
-
action?: React.ReactNode;
|
|
13
|
-
/** Pie: nota de la fuente, leyenda propia, enlace «Ver detalle». */
|
|
14
|
-
footer?: React.ReactNode;
|
|
15
|
-
loading?: boolean;
|
|
16
|
-
error?: unknown;
|
|
17
|
-
onRetry?: () => void;
|
|
18
|
-
/** Sin datos: muestra el texto de «sin datos» en lugar del gráfico. */
|
|
19
|
-
empty?: boolean;
|
|
20
|
-
height?: EChartProps["height"];
|
|
21
|
-
renderer?: EChartProps["renderer"];
|
|
22
|
-
exportable?: boolean;
|
|
23
|
-
fileName?: string;
|
|
24
|
-
onEvents?: EChartProps["onEvents"];
|
|
25
|
-
className?: string;
|
|
26
|
-
} & React.RefAttributes<EChartHandle>>;
|
|
27
|
-
|
|
28
|
-
export { ChartCard, type ChartCardPreset };
|
package/dist/ui/chart.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import * as RechartsPrimitive from 'recharts';
|
|
3
|
-
import { TooltipValueType } from 'recharts';
|
|
4
|
-
|
|
5
|
-
declare const THEMES: {
|
|
6
|
-
readonly light: "";
|
|
7
|
-
readonly dark: ".dark";
|
|
8
|
-
};
|
|
9
|
-
type TooltipNameType = number | string;
|
|
10
|
-
type ChartConfig = Record<string, {
|
|
11
|
-
label?: React.ReactNode;
|
|
12
|
-
icon?: React.ComponentType;
|
|
13
|
-
} & ({
|
|
14
|
-
color?: string;
|
|
15
|
-
theme?: never;
|
|
16
|
-
} | {
|
|
17
|
-
color?: never;
|
|
18
|
-
theme: Record<keyof typeof THEMES, string>;
|
|
19
|
-
})>;
|
|
20
|
-
declare function ChartContainer({ id, className, children, config, initialDimension, ...props }: React.ComponentProps<"div"> & {
|
|
21
|
-
config: ChartConfig;
|
|
22
|
-
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
23
|
-
initialDimension?: {
|
|
24
|
-
width: number;
|
|
25
|
-
height: number;
|
|
26
|
-
};
|
|
27
|
-
}): React.JSX.Element;
|
|
28
|
-
declare const ChartStyle: ({ id, config }: {
|
|
29
|
-
id: string;
|
|
30
|
-
config: ChartConfig;
|
|
31
|
-
}) => React.JSX.Element | null;
|
|
32
|
-
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
33
|
-
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<"div"> & {
|
|
34
|
-
hideLabel?: boolean;
|
|
35
|
-
hideIndicator?: boolean;
|
|
36
|
-
indicator?: "line" | "dot" | "dashed";
|
|
37
|
-
nameKey?: string;
|
|
38
|
-
labelKey?: string;
|
|
39
|
-
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, "accessibilityLayer">): React.JSX.Element | null;
|
|
40
|
-
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
41
|
-
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & {
|
|
42
|
-
hideIcon?: boolean;
|
|
43
|
-
nameKey?: string;
|
|
44
|
-
} & RechartsPrimitive.DefaultLegendContentProps): React.JSX.Element | null;
|
|
45
|
-
|
|
46
|
-
export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
|