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
package/dist/ui/sheet.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Dialog } from '@base-ui/react/dialog';
|
|
3
|
-
|
|
4
|
-
declare function Sheet({ ...props }: Dialog.Root.Props): React.JSX.Element;
|
|
5
|
-
declare function SheetTrigger({ ...props }: Dialog.Trigger.Props): React.JSX.Element;
|
|
6
|
-
declare function SheetClose({ ...props }: Dialog.Close.Props): React.JSX.Element;
|
|
7
|
-
declare function SheetContent({ className, children, side, showCloseButton, ...props }: Dialog.Popup.Props & {
|
|
8
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
9
|
-
showCloseButton?: boolean;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
12
|
-
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
13
|
-
declare function SheetTitle({ className, ...props }: Dialog.Title.Props): React.JSX.Element;
|
|
14
|
-
declare function SheetDescription({ className, ...props }: Dialog.Description.Props): React.JSX.Element;
|
|
15
|
-
|
|
16
|
-
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
package/dist/ui/shield.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DsDataTone } from './legend.js';
|
|
3
|
-
|
|
4
|
-
type ShieldSize = "sm" | "md";
|
|
5
|
-
declare function Shield({ value, size, label, decorative, className, children, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
6
|
-
/** Protección de 0 a 1 (se recorta a ese rango). Sin valor, el escudo vacío. */
|
|
7
|
-
value?: number | null;
|
|
8
|
-
size?: ShieldSize;
|
|
9
|
-
/** Texto accesible. Por defecto, «Nivel de protección: N %». */
|
|
10
|
-
label?: string;
|
|
11
|
-
/** Solo decoración: se oculta a los lectores de pantalla. */
|
|
12
|
-
decorative?: boolean;
|
|
13
|
-
/** Insignia en lugar del porcentaje (estrella, icono…). */
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
}): React.JSX.Element;
|
|
16
|
-
type ShieldRadarTone = Extract<DsDataTone, "success" | "warning" | "danger" | "info" | "neutral" | "primary">;
|
|
17
|
-
declare function ShieldRadar({ tone, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
18
|
-
tone?: ShieldRadarTone;
|
|
19
|
-
}): React.JSX.Element;
|
|
20
|
-
|
|
21
|
-
export { Shield, ShieldRadar, type ShieldRadarTone, type ShieldSize };
|
package/dist/ui/show-more.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function ShowMore({ lines, defaultExpanded, onExpandedChange, moreLabel, lessLabel, className, children, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
4
|
-
lines?: number;
|
|
5
|
-
defaultExpanded?: boolean;
|
|
6
|
-
onExpandedChange?: (expanded: boolean) => void;
|
|
7
|
-
moreLabel?: React.ReactNode;
|
|
8
|
-
lessLabel?: React.ReactNode;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { ShowMore };
|
package/dist/ui/sidebar.d.ts
DELETED
|
@@ -1,90 +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
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
5
|
-
import { Button } from './button.js';
|
|
6
|
-
import { Input } from './input.js';
|
|
7
|
-
import { Separator } from './separator.js';
|
|
8
|
-
import { TooltipContent } from './tooltip.js';
|
|
9
|
-
import { DsDensity } from '../lib/presets.js';
|
|
10
|
-
import '@base-ui/react/separator';
|
|
11
|
-
import '@base-ui/react/tooltip';
|
|
12
|
-
|
|
13
|
-
type SidebarPreset = "app" | "workspace" | "admin" | "focus";
|
|
14
|
-
type SidebarVariant = "sidebar" | "floating" | "inset";
|
|
15
|
-
type SidebarCollapsible = "offcanvas" | "icon" | "none";
|
|
16
|
-
type SidebarTone = "default" | "brand" | "contrast";
|
|
17
|
-
type SidebarIndicator = "fill" | "bar";
|
|
18
|
-
type SidebarContextProps = {
|
|
19
|
-
state: "expanded" | "collapsed";
|
|
20
|
-
open: boolean;
|
|
21
|
-
setOpen: (open: boolean) => void;
|
|
22
|
-
openMobile: boolean;
|
|
23
|
-
setOpenMobile: (open: boolean) => void;
|
|
24
|
-
isMobile: boolean;
|
|
25
|
-
toggleSidebar: () => void;
|
|
26
|
-
};
|
|
27
|
-
declare function useSidebar(): SidebarContextProps;
|
|
28
|
-
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
29
|
-
defaultOpen?: boolean;
|
|
30
|
-
open?: boolean;
|
|
31
|
-
onOpenChange?: (open: boolean) => void;
|
|
32
|
-
}): React.JSX.Element;
|
|
33
|
-
declare function Sidebar({ side, preset, variant: variantProp, collapsible: collapsibleProp, density: densityProp, tone, indicator, className, children, dir, ...props }: React.ComponentProps<"div"> & {
|
|
34
|
-
side?: "left" | "right";
|
|
35
|
-
/** Intención: fija variant, collapsible y density por defecto (las props explícitas mandan). */
|
|
36
|
-
preset?: SidebarPreset;
|
|
37
|
-
variant?: SidebarVariant;
|
|
38
|
-
collapsible?: SidebarCollapsible;
|
|
39
|
-
/** Altura de las filas: compact (backoffice), default o comfortable. */
|
|
40
|
-
density?: DsDensity;
|
|
41
|
-
/** Color del lateral: el del tema, el de la marca o invertido. */
|
|
42
|
-
tone?: SidebarTone;
|
|
43
|
-
/** Cómo se marca el destino activo: fondo o fondo y barra al inicio. */
|
|
44
|
-
indicator?: SidebarIndicator;
|
|
45
|
-
}): React.JSX.Element;
|
|
46
|
-
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
|
|
47
|
-
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): React.JSX.Element;
|
|
48
|
-
type SidebarSurface = "floating" | "flat" | "glass";
|
|
49
|
-
/**
|
|
50
|
-
* Lienzo del contenido junto al lateral. Con `variant="inset"` flota con margen, radio y sombra.
|
|
51
|
-
* `surface`: floating (por defecto) · flat (sin sombra, con filete) · glass (translúcido con desenfoque).
|
|
52
|
-
* @note `glass` solo luce si hay algo detrás (fondo de la app o imagen); en el resto, `floating` o `flat`.
|
|
53
|
-
*/
|
|
54
|
-
declare function SidebarInset({ className, surface, ...props }: React.ComponentProps<"main"> & {
|
|
55
|
-
surface?: SidebarSurface;
|
|
56
|
-
}): React.JSX.Element;
|
|
57
|
-
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): React.JSX.Element;
|
|
58
|
-
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
59
|
-
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
60
|
-
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
61
|
-
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
62
|
-
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
63
|
-
declare function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
64
|
-
declare function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
65
|
-
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
66
|
-
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
67
|
-
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
68
|
-
declare const sidebarMenuButtonVariants: (props?: ({
|
|
69
|
-
variant?: "outline" | "default" | null | undefined;
|
|
70
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
71
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
72
|
-
declare function SidebarMenuButton({ isActive, variant, size, tooltip, className, render, ...props }: useRender.ComponentProps<"button"> & {
|
|
73
|
-
isActive?: boolean;
|
|
74
|
-
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
75
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>): React.JSX.Element;
|
|
76
|
-
declare function SidebarMenuAction({ className, showOnHover, render, ...props }: useRender.ComponentProps<"button"> & {
|
|
77
|
-
showOnHover?: boolean;
|
|
78
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
79
|
-
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
80
|
-
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
81
|
-
showIcon?: boolean;
|
|
82
|
-
}): React.JSX.Element;
|
|
83
|
-
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
84
|
-
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
85
|
-
declare function SidebarMenuSubButton({ size, isActive, className, render, ...props }: useRender.ComponentProps<"a"> & {
|
|
86
|
-
size?: "sm" | "md";
|
|
87
|
-
isActive?: boolean;
|
|
88
|
-
}): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
89
|
-
|
|
90
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, type SidebarIndicator, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, type SidebarPreset, SidebarProvider, SidebarRail, SidebarSeparator, type SidebarSurface, type SidebarTone, SidebarTrigger, useSidebar };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function SignOutDialog({ trigger, open, onOpenChange, onSignOut, allDevices, title, description, }: {
|
|
4
|
-
/** Elemento que abre el diálogo (un botón o un elemento de menú). */
|
|
5
|
-
trigger?: React.ReactElement;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
onOpenChange?: (open: boolean) => void;
|
|
8
|
-
onSignOut: (options: {
|
|
9
|
-
everywhere: boolean;
|
|
10
|
-
}) => void | Promise<void>;
|
|
11
|
-
/** Casilla «en todos los dispositivos». */
|
|
12
|
-
allDevices?: boolean;
|
|
13
|
-
title?: React.ReactNode;
|
|
14
|
-
description?: React.ReactNode;
|
|
15
|
-
}): React.JSX.Element;
|
|
16
|
-
|
|
17
|
-
export { SignOutDialog };
|
package/dist/ui/skeleton.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React$1 from 'react';
|
|
2
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
-
import { VariantProps } from 'class-variance-authority';
|
|
4
|
-
|
|
5
|
-
declare const skeletonVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "shimmer" | null | undefined;
|
|
7
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
-
declare function Skeleton({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof skeletonVariants>): React$1.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { Skeleton, skeletonVariants };
|
package/dist/ui/slider.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
3
|
-
|
|
4
|
-
type SliderBase = Omit<Slider$1.Root.Props, "value" | "defaultValue" | "onValueChange" | "onValueCommitted">;
|
|
5
|
-
type SliderEventDetails = Slider$1.Root.ChangeEventDetails;
|
|
6
|
-
/** Un tirador: `value` es un número y `onValueChange` recibe un número. */
|
|
7
|
-
type SliderSingleProps = SliderBase & {
|
|
8
|
-
value?: number;
|
|
9
|
-
defaultValue?: number;
|
|
10
|
-
onValueChange?: (value: number, details: SliderEventDetails) => void;
|
|
11
|
-
onValueCommitted?: (value: number, details: Slider$1.Root.CommitEventDetails) => void;
|
|
12
|
-
};
|
|
13
|
-
/** Rango o varios tiradores: `value` es una lista y `onValueChange` recibe una lista. */
|
|
14
|
-
type SliderRangeProps = SliderBase & {
|
|
15
|
-
value?: readonly number[];
|
|
16
|
-
defaultValue?: readonly number[];
|
|
17
|
-
onValueChange?: (value: number[], details: SliderEventDetails) => void;
|
|
18
|
-
onValueCommitted?: (value: number[], details: Slider$1.Root.CommitEventDetails) => void;
|
|
19
|
-
};
|
|
20
|
-
type SliderProps = SliderSingleProps | SliderRangeProps;
|
|
21
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: SliderProps): React.JSX.Element;
|
|
22
|
-
|
|
23
|
-
export { Slider, type SliderProps };
|
package/dist/ui/sonner.d.ts
DELETED
package/dist/ui/sparkline.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
|
-
|
|
4
|
-
type SparklineSeries = 1 | 2 | 3 | 4 | 5;
|
|
5
|
-
type SparklineTone = "info" | "success" | "warning" | "danger" | "neutral";
|
|
6
|
-
declare const sparklineVariants: (props?: ({
|
|
7
|
-
color?: "info" | "warning" | "success" | "danger" | "neutral" | "current" | "series-1" | "series-2" | "series-3" | "series-4" | "series-5" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
type SparklineProps = Omit<React.ComponentProps<"svg">, "children" | "color"> & {
|
|
10
|
-
/** Serie de valores; `null` = sin dato (hueco), nunca cero. */
|
|
11
|
-
data: ReadonlyArray<number | null | undefined>;
|
|
12
|
-
/** Color de serie del tema (--chart-1..5). */
|
|
13
|
-
series?: SparklineSeries;
|
|
14
|
-
/** Color de un estado. Si no hay `series` ni `tone`, usa el color del texto. */
|
|
15
|
-
tone?: SparklineTone;
|
|
16
|
-
/** Rellena el área bajo la línea con el mismo color, atenuado. */
|
|
17
|
-
area?: boolean;
|
|
18
|
-
/** Límites del eje vertical (por defecto, mínimo y máximo de los datos). */
|
|
19
|
-
min?: number;
|
|
20
|
-
max?: number;
|
|
21
|
-
/** Descripción accesible. Sin ella la línea es decorativa (aria-hidden). */
|
|
22
|
-
label?: string;
|
|
23
|
-
};
|
|
24
|
-
declare function Sparkline({ data, series, tone, area, min, max, label, className, ...props }: SparklineProps): React.JSX.Element;
|
|
25
|
-
|
|
26
|
-
export { Sparkline, type SparklineProps, type SparklineSeries, type SparklineTone, sparklineVariants };
|
package/dist/ui/spinner.d.ts
DELETED
package/dist/ui/stat-group.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type StatGroupPreset = "overview" | "compact" | "comparison" | "strip";
|
|
4
|
-
declare function StatGroup({ preset, className, ...props }: React.ComponentProps<"div"> & {
|
|
5
|
-
preset?: StatGroupPreset;
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { StatGroup, type StatGroupPreset };
|
package/dist/ui/stat.d.ts
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { IconTile } from './icon-tile.js';
|
|
4
|
-
import { Panel } from './panel.js';
|
|
5
|
-
import 'class-variance-authority';
|
|
6
|
-
import '@base-ui/react/use-render';
|
|
7
|
-
|
|
8
|
-
type StatVariant = "card" | "plain" | "inline";
|
|
9
|
-
type StatSize = "sm" | "md" | "lg";
|
|
10
|
-
type StatTone = "neutral" | "good" | "warn" | "bad";
|
|
11
|
-
declare const statVariants: (props?: ({
|
|
12
|
-
variant?: "inline" | "card" | "plain" | null | undefined;
|
|
13
|
-
tone?: "neutral" | "good" | "warn" | "bad" | null | undefined;
|
|
14
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
15
|
-
type StatProps = Omit<React.ComponentProps<"div">, "ref"> & {
|
|
16
|
-
variant?: StatVariant;
|
|
17
|
-
/** Tamaño fijo de la cifra; sin él, se adapta al ancho del contenedor. */
|
|
18
|
-
size?: StatSize;
|
|
19
|
-
tone?: StatTone;
|
|
20
|
-
/**
|
|
21
|
-
* KPI PULSABLE (solo en tarjeta): render={<button type="button" />} para que, p. ej., filtre la lista
|
|
22
|
-
* de debajo. Lleva hover, foco y, con `pressed`, el estado activo (aria-pressed + anillo, no solo color).
|
|
23
|
-
*/
|
|
24
|
-
render?: React.ComponentProps<typeof Panel>["render"];
|
|
25
|
-
/** Activo (filtro aplicado): aria-pressed y anillo del primario. Úsalo con render={<button />}. */
|
|
26
|
-
pressed?: boolean;
|
|
27
|
-
};
|
|
28
|
-
declare function Stat({ className, variant, size, tone, render, pressed, children, ...props }: StatProps): React.JSX.Element;
|
|
29
|
-
declare function StatLabel({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
30
|
-
type StatValueProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
31
|
-
/** Número (se formatea con Intl en el idioma activo), texto ya formateado o null = sin dato. */
|
|
32
|
-
value: number | string | null | undefined;
|
|
33
|
-
/** Unidad o sufijo pegado a la cifra («min», «%», «llamadas»). */
|
|
34
|
-
unit?: React.ReactNode;
|
|
35
|
-
/** Texto antes de la cifra (p. ej. «≈»). */
|
|
36
|
-
prefix?: React.ReactNode;
|
|
37
|
-
/** Opciones de Intl.NumberFormat (moneda, compacto, porcentaje sobre 1…). */
|
|
38
|
-
format?: Intl.NumberFormatOptions;
|
|
39
|
-
/** Decimales fijos (atajo de minimum/maximumFractionDigits). */
|
|
40
|
-
fractionDigits?: number;
|
|
41
|
-
/** Motivo de que no haya dato; se muestra en un tooltip y se lee con «Sin dato». */
|
|
42
|
-
reason?: React.ReactNode;
|
|
43
|
-
/** Cargando: esqueleto en lugar de la cifra. */
|
|
44
|
-
loading?: boolean;
|
|
45
|
-
/** Signo que sustituye a la cifra cuando no hay dato. */
|
|
46
|
-
placeholder?: React.ReactNode;
|
|
47
|
-
/** La cifra cuenta desde 0 (o desde el valor anterior) con el ritmo del tema. Solo números. */
|
|
48
|
-
animate?: boolean;
|
|
49
|
-
};
|
|
50
|
-
declare function StatValue({ value, unit, prefix, format, fractionDigits, reason, loading, placeholder, animate, className, ...props }: StatValueProps): React.JSX.Element;
|
|
51
|
-
type StatDeltaPolarity = "higher-is-better" | "lower-is-better" | "neutral";
|
|
52
|
-
type StatDeltaProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
53
|
-
/** Variación en PUNTOS PORCENTUALES (4.2 = +4,2 %). null = sin dato (nunca 0). */
|
|
54
|
-
value: number | null | undefined;
|
|
55
|
-
/** Qué dirección es buena: decide el tono (éxito, peligro o neutro). */
|
|
56
|
-
polarity?: StatDeltaPolarity;
|
|
57
|
-
fractionDigits?: number;
|
|
58
|
-
/** Texto propio en lugar de la cifra formateada (p. ej. «+12 llamadas»). */
|
|
59
|
-
children?: React.ReactNode;
|
|
60
|
-
};
|
|
61
|
-
declare function StatDelta({ value, polarity, fractionDigits, className, children, ...props }: StatDeltaProps): React.JSX.Element;
|
|
62
|
-
declare function StatDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
63
|
-
/** Hueco para una Sparkline u otro gráfico mínimo bajo la cifra. */
|
|
64
|
-
declare function StatChart({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
65
|
-
/** Fila superior: la etiqueta a un lado y un StatIcon, un menú o un enlace al otro. */
|
|
66
|
-
declare function StatHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
67
|
-
/** Icono del KPI en una baldosa; toma el color del tono del Stat salvo que se indique otro. Decorativo. */
|
|
68
|
-
declare function StatIcon({ tone, className, ...props }: Omit<React.ComponentProps<typeof IconTile>, "tone" | "size"> & {
|
|
69
|
-
tone?: React.ComponentProps<typeof IconTile>["tone"];
|
|
70
|
-
}): React.JSX.Element;
|
|
71
|
-
type StatProgressProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
72
|
-
/** Valor actual (misma unidad que `target`). */
|
|
73
|
-
value: number | null | undefined;
|
|
74
|
-
/** Objetivo o máximo. */
|
|
75
|
-
target: number;
|
|
76
|
-
/** Texto propio en lugar de «N % del objetivo». */
|
|
77
|
-
children?: React.ReactNode;
|
|
78
|
-
};
|
|
79
|
-
/** Avance hacia un objetivo: barra con el color del tono y el porcentaje en texto (no solo color). */
|
|
80
|
-
declare function StatProgress({ value, target, className, children, ...props }: StatProgressProps): React.JSX.Element;
|
|
81
|
-
type StatSwatchProps = React.ComponentProps<"span"> & {
|
|
82
|
-
/** Color de serie del tema (--chart-1..5). */
|
|
83
|
-
series?: 1 | 2 | 3 | 4 | 5;
|
|
84
|
-
/** O el color de un estado. */
|
|
85
|
-
tone?: "info" | "success" | "warning" | "danger" | "neutral";
|
|
86
|
-
};
|
|
87
|
-
/** Muestra de color que liga el KPI con su serie en un gráfico. Decorativa. */
|
|
88
|
-
declare function StatSwatch({ series, tone, className, ...props }: StatSwatchProps): React.JSX.Element;
|
|
89
|
-
|
|
90
|
-
export { Stat, StatChart, StatDelta, type StatDeltaPolarity, type StatDeltaProps, StatDescription, StatHeader, StatIcon, StatLabel, StatProgress, type StatProgressProps, type StatProps, type StatSize, StatSwatch, type StatSwatchProps, type StatTone, StatValue, type StatValueProps, type StatVariant, statVariants };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
type StatusLevel = "critical" | "warning" | "ok" | "info" | "neutral" | "none";
|
|
5
|
-
type StatusBadgeVariant = "soft" | "dot" | "outline";
|
|
6
|
-
declare const statusDotVariants: (props?: ({
|
|
7
|
-
level?: "info" | "warning" | "none" | "neutral" | "critical" | "ok" | null | undefined;
|
|
8
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
-
type StatusDotProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
10
|
-
level?: StatusLevel;
|
|
11
|
-
pulse?: boolean;
|
|
12
|
-
/** Tamaño del punto suelto (sin él, el del punto en línea: --ds-status-dot). */
|
|
13
|
-
size?: "sm" | "md" | "lg";
|
|
14
|
-
/** Texto accesible. Sin él el punto es decorativo: acompáñalo de texto visible. */
|
|
15
|
-
label?: string;
|
|
16
|
-
};
|
|
17
|
-
declare function StatusDot({ level, pulse, size, label, className, ...props }: StatusDotProps): React.JSX.Element;
|
|
18
|
-
declare const statusBadgeVariants: (props?: ({
|
|
19
|
-
variant?: "outline" | "dot" | "soft" | null | undefined;
|
|
20
|
-
level?: "info" | "warning" | "none" | "neutral" | "critical" | "ok" | null | undefined;
|
|
21
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
22
|
-
type StatusBadgeProps = Omit<React.ComponentProps<"span">, "children"> & {
|
|
23
|
-
level?: StatusLevel;
|
|
24
|
-
variant?: StatusBadgeVariant;
|
|
25
|
-
/** Latido del punto (para lo que está pasando ahora). Respeta el movimiento reducido. */
|
|
26
|
-
pulse?: boolean;
|
|
27
|
-
/** Texto del estado. Obligatorio salvo en `level="none"` (por defecto, «Sin dato»). */
|
|
28
|
-
children?: React.ReactNode;
|
|
29
|
-
/** Explicación en un popover al pulsar: usa StatusExplanation (qué significa / por qué / qué hacer). */
|
|
30
|
-
explanation?: React.ReactNode;
|
|
31
|
-
};
|
|
32
|
-
declare function StatusBadge({ level, variant, pulse, explanation, className, children, ...props }: StatusBadgeProps): React.JSX.Element;
|
|
33
|
-
/** Cuerpo estructurado de la explicación: pares término / detalle. */
|
|
34
|
-
declare function StatusExplanation({ className, ...props }: React.ComponentProps<"dl">): React.JSX.Element;
|
|
35
|
-
/** Encabezado de un bloque («Qué significa», «Por qué», «Qué hacer»): el texto lo pone la app. */
|
|
36
|
-
declare function StatusExplanationTerm({ className, ...props }: React.ComponentProps<"dt">): React.JSX.Element;
|
|
37
|
-
declare function StatusExplanationDetail({ className, ...props }: React.ComponentProps<"dd">): React.JSX.Element;
|
|
38
|
-
|
|
39
|
-
export { StatusBadge, type StatusBadgeProps, type StatusBadgeVariant, StatusDot, type StatusDotProps, StatusExplanation, StatusExplanationDetail, StatusExplanationTerm, type StatusLevel, statusBadgeVariants, statusDotVariants };
|
package/dist/ui/status-hero.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type StatusHeroTone = "success" | "warning" | "danger" | "info" | "neutral";
|
|
4
|
-
declare function StatusHero({ tone, label, badge, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
5
|
-
tone?: StatusHeroTone;
|
|
6
|
-
/** Texto accesible (qué y en qué estado). */
|
|
7
|
-
label?: string;
|
|
8
|
-
/** Insignia a medida (icono). `null` la quita. */
|
|
9
|
-
badge?: React.ReactNode;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { StatusHero, type StatusHeroTone };
|
package/dist/ui/step-dots.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function StepDots({ count, current, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
4
|
-
/** Número de pasos. */
|
|
5
|
-
count: number;
|
|
6
|
-
/** Paso actual, empezando en 1. */
|
|
7
|
-
current: number;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { StepDots };
|
package/dist/ui/step-flow.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type StepFlowPreset = "quick" | "activation" | "long";
|
|
4
|
-
type StepFlowPresentation = "dialog" | "page";
|
|
5
|
-
type StepFlowProgress = "compact" | "horizontal" | "vertical";
|
|
6
|
-
type StepFlowStep = {
|
|
7
|
-
id: string;
|
|
8
|
-
title: React.ReactNode;
|
|
9
|
-
description?: React.ReactNode;
|
|
10
|
-
/** Se puede omitir: aparece «Omitir» y la etiqueta «Opcional». */
|
|
11
|
-
optional?: boolean;
|
|
12
|
-
/** Bloquea «Siguiente» mientras el paso no esté listo. */
|
|
13
|
-
invalid?: boolean;
|
|
14
|
-
/** Marca el paso con error (tras un intento fallido). */
|
|
15
|
-
error?: boolean;
|
|
16
|
-
content: React.ReactNode;
|
|
17
|
-
};
|
|
18
|
-
type StepFlowProps = {
|
|
19
|
-
steps: StepFlowStep[];
|
|
20
|
-
preset?: StepFlowPreset;
|
|
21
|
-
presentation?: StepFlowPresentation;
|
|
22
|
-
progress?: StepFlowProgress;
|
|
23
|
-
title: React.ReactNode;
|
|
24
|
-
description?: React.ReactNode;
|
|
25
|
-
/** Vista previa o ayuda: columna al final en contenedor ancho; se oculta en estrecho. */
|
|
26
|
-
aside?: React.ReactNode;
|
|
27
|
-
/** Resumen final: añade un último paso con este contenido. */
|
|
28
|
-
review?: React.ReactNode;
|
|
29
|
-
/** Si existe, sustituye al asistente (paso hecho): éxito, error o siguiente acción. */
|
|
30
|
-
result?: React.ReactNode;
|
|
31
|
-
/** Paso actual (id) controlado. */
|
|
32
|
-
value?: string;
|
|
33
|
-
defaultValue?: string;
|
|
34
|
-
onValueChange?: (id: string) => void;
|
|
35
|
-
/** Se llama al terminar el último paso; si devuelve una promesa, bloquea los botones hasta resolverla. */
|
|
36
|
-
onComplete?: () => void | Promise<void>;
|
|
37
|
-
/** Se llama al cancelar o cerrar (tras confirmar si `dirty`). */
|
|
38
|
-
onCancel?: () => void;
|
|
39
|
-
/** Hay cambios sin guardar: pide confirmación antes de cerrar. */
|
|
40
|
-
dirty?: boolean;
|
|
41
|
-
/** Solo `dialog`. */
|
|
42
|
-
open?: boolean;
|
|
43
|
-
onOpenChange?: (open: boolean) => void;
|
|
44
|
-
className?: string;
|
|
45
|
-
};
|
|
46
|
-
declare function StepFlow({ steps, preset, presentation, progress, title, description, aside, review, result, value, defaultValue, onValueChange, onComplete, onCancel, dirty, open, onOpenChange, className, }: StepFlowProps): React.JSX.Element;
|
|
47
|
-
|
|
48
|
-
export { StepFlow, type StepFlowPresentation, type StepFlowPreset, type StepFlowProgress, type StepFlowProps, type StepFlowStep };
|
package/dist/ui/step-ring.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function StepRing({ total, completed, current, className, style, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
4
|
-
/** Número de sectores (pasos). */
|
|
5
|
-
total?: number;
|
|
6
|
-
/** Pasos completados. */
|
|
7
|
-
completed: number;
|
|
8
|
-
/** El paso siguiente a los completados está en curso. */
|
|
9
|
-
current?: boolean;
|
|
10
|
-
}): React.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { StepRing };
|
package/dist/ui/stepper.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type StepperOrientation = "horizontal" | "vertical";
|
|
4
|
-
type StepStatus = "complete" | "current" | "upcoming" | "error";
|
|
5
|
-
declare function Stepper({ className, orientation, ...props }: React.ComponentProps<"ol"> & {
|
|
6
|
-
orientation?: StepperOrientation;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
declare function StepperItem({ className, status, step, ...props }: React.ComponentProps<"li"> & {
|
|
9
|
-
/** Estado del paso: completo, actual, pendiente o con error. */
|
|
10
|
-
status?: StepStatus;
|
|
11
|
-
/** Número del paso (desde 1): se pinta en el indicador y se anuncia. */
|
|
12
|
-
step?: number;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
declare function StepperIndicator({ className, children, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
15
|
-
declare function StepperContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
16
|
-
declare function StepperTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
17
|
-
declare function StepperDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
18
|
-
declare function StepperSeparator({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
19
|
-
|
|
20
|
-
export { type StepStatus, Stepper, StepperContent, StepperDescription, StepperIndicator, StepperItem, type StepperOrientation, StepperSeparator, StepperTitle };
|
package/dist/ui/suggestions.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function Suggestions({ items, onSelect, className, ...props }: Omit<React.ComponentProps<"div">, "children" | "onSelect"> & {
|
|
4
|
-
items: string[];
|
|
5
|
-
onSelect?: (item: string) => void;
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { Suggestions };
|
package/dist/ui/switch.d.ts
DELETED
package/dist/ui/table.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare function Table({ className, ...props }: React.ComponentProps<"table">): React.JSX.Element;
|
|
4
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): React.JSX.Element;
|
|
5
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): React.JSX.Element;
|
|
6
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): React.JSX.Element;
|
|
7
|
-
declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): React.JSX.Element;
|
|
8
|
-
declare function TableHead({ className, ...props }: React.ComponentProps<"th">): React.JSX.Element;
|
|
9
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<"td">): React.JSX.Element;
|
|
10
|
-
declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): React.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/ui/tabs.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 { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
|
|
6
|
-
declare function Tabs({ className, orientation, ...props }: Tabs$1.Root.Props): React.JSX.Element;
|
|
7
|
-
declare const tabsListVariants: (props?: ({
|
|
8
|
-
variant?: "default" | "line" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10
|
-
declare function TabsList({ className, variant, ...props }: Tabs$1.List.Props & VariantProps<typeof tabsListVariants>): React.JSX.Element;
|
|
11
|
-
declare function TabsTrigger({ className, ...props }: Tabs$1.Tab.Props): React.JSX.Element;
|
|
12
|
-
declare function TabsContent({ className, ...props }: Tabs$1.Panel.Props): React.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants };
|
package/dist/ui/task-loader.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type TaskLoaderState = "running" | "done";
|
|
4
|
-
declare function TaskLoader({ icon, value, state, label, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
5
|
-
/** Ilustración (decorativa). */
|
|
6
|
-
icon: React.ReactNode;
|
|
7
|
-
/** Avance 0–100. Sin valor, indeterminado. */
|
|
8
|
-
value?: number;
|
|
9
|
-
state?: TaskLoaderState;
|
|
10
|
-
/** Texto del estado para lectores de pantalla. */
|
|
11
|
-
label?: string;
|
|
12
|
-
}): React.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { TaskLoader, type TaskLoaderState };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type TaskState = "idle" | "running" | "done" | "error";
|
|
4
|
-
declare function TaskProgress({ label, value, current, total, state, error, counter, className, ...props }: Omit<React.ComponentProps<"div">, "children"> & {
|
|
5
|
-
label?: React.ReactNode;
|
|
6
|
-
/** Porcentaje 0–100 (o usa current/total). */
|
|
7
|
-
value?: number;
|
|
8
|
-
/** Paso actual y total: dan el porcentaje y el contador «3 de 5». */
|
|
9
|
-
current?: number;
|
|
10
|
-
total?: number;
|
|
11
|
-
state?: TaskState;
|
|
12
|
-
/** Motivo del fallo (estado error). */
|
|
13
|
-
error?: React.ReactNode;
|
|
14
|
-
/** Contador a medida (por defecto «n de N» o el porcentaje). */
|
|
15
|
-
counter?: React.ReactNode;
|
|
16
|
-
}): React.JSX.Element;
|
|
17
|
-
|
|
18
|
-
export { TaskProgress, type TaskState };
|
package/dist/ui/textarea.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Mismo lenguaje visual que `Input` —borde, fondo, foco, estados aria-invalid—
|
|
5
|
-
* pero con `rounded-md` en vez de `rounded-control shadow-control`: la pildora de `Input` funciona
|
|
6
|
-
* porque su altura fija la acerca a un circulo; en una caja multilinea, mas alta,
|
|
7
|
-
* el mismo radio se ve desproporcionado en las esquinas superiores.
|
|
8
|
-
*/
|
|
9
|
-
declare function Textarea({ className, ...props }: React.ComponentProps<"textarea">): React.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { Textarea };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { HeaderControlTone } from '../lib/header-control.js';
|
|
3
|
-
|
|
4
|
-
type ThemeMode = "light" | "dark" | "system";
|
|
5
|
-
type ThemeTogglePreset = "icon" | "cycle" | "segmented";
|
|
6
|
-
declare function ThemeToggle({ value, onValueChange, preset, tone, className, }: {
|
|
7
|
-
value?: ThemeMode;
|
|
8
|
-
onValueChange?: (value: ThemeMode) => void;
|
|
9
|
-
preset?: ThemeTogglePreset;
|
|
10
|
-
tone?: HeaderControlTone;
|
|
11
|
-
className?: string;
|
|
12
|
-
}): React.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { type ThemeMode, ThemeToggle, type ThemeTogglePreset };
|
package/dist/ui/timeline.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type TimelineTone = "neutral" | "primary" | "info" | "success" | "warning" | "danger";
|
|
4
|
-
declare function Timeline({ className, ...props }: React.ComponentProps<"ol">): React.JSX.Element;
|
|
5
|
-
declare function TimelineItem({ className, tone, ...props }: React.ComponentProps<"li"> & {
|
|
6
|
-
tone?: TimelineTone;
|
|
7
|
-
}): React.JSX.Element;
|
|
8
|
-
/**
|
|
9
|
-
* Indicador de la entrada: sin hijos, un punto del tono; con un icono, una baldosa
|
|
10
|
-
* pequeña. Dibuja también la línea hasta la entrada siguiente (no en la última).
|
|
11
|
-
*/
|
|
12
|
-
declare function TimelineIndicator({ className, children, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
13
|
-
declare function TimelineContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
14
|
-
declare function TimelineTitle({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
15
|
-
type TimelineTimeProps = Omit<React.ComponentProps<"time">, "dateTime"> & {
|
|
16
|
-
/** Momento de la entrada (Date, ISO o milisegundos). */
|
|
17
|
-
dateTime: Date | string | number;
|
|
18
|
-
/** Muestra «hace 5 minutos» (Intl.RelativeTimeFormat); la fecha completa queda en el título. */
|
|
19
|
-
relative?: boolean;
|
|
20
|
-
/** Referencia para el formato relativo (por defecto, ahora). Fíjala en SSR para no desajustar la hidratación. */
|
|
21
|
-
now?: Date;
|
|
22
|
-
/** Formato absoluto (Intl.DateTimeFormat). */
|
|
23
|
-
format?: Intl.DateTimeFormatOptions;
|
|
24
|
-
};
|
|
25
|
-
declare function TimelineTime({ className, dateTime, relative, now, format, children, ...props }: TimelineTimeProps): React.JSX.Element;
|
|
26
|
-
declare function TimelineDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
27
|
-
declare function TimelineActions({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
28
|
-
|
|
29
|
-
export { Timeline, TimelineActions, TimelineContent, TimelineDescription, TimelineIndicator, TimelineItem, TimelineTime, type TimelineTimeProps, TimelineTitle, type TimelineTone };
|