@usevyre/react 1.2.1 → 1.4.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/dist/index.d.ts CHANGED
@@ -49,6 +49,19 @@
49
49
  * - DateRangePicker — Start/end date range picker with dual-month view and preset shortcuts; built on Calendar
50
50
  * - Kanban — Controlled board with drag-and-drop cards between columns; native HTML5 DnD, zero deps
51
51
  * - Conversation — Controlled chat/inbox thread: grouped bubbles, avatars, day separators, status, optional composer
52
+ * - Stack — Flex layout primitive (use instead of <div style="display:flex">); token-locked gap/align/justify
53
+ * - Grid — CSS grid primitive: columns (1-12 or auto-fit), rows, flow, token-locked gap (+ GridItem for colSpan/rowSpan placement)
54
+ * - Box — Spacing-only container (padding/margin tokens) + controlled style escape hatch
55
+ * - Form — Controlled, data-driven form: built-in validation rules, errors auto-map to Field (+ FormField)
56
+ * - NumberInput — Controlled numeric input with −/+ stepper; emits number|null; clamp/keyboard; drops into FormField
57
+ * - ToggleGroup — Segmented control: single/multiple select, options[] or ToggleItem children; emits value (+ ToggleItem)
58
+ * - Stepper — Multi-step flow indicator + controller (wizard/checkout); controlled 0-based index (+ StepperNav, Step, StepPanel)
59
+ * - EmptyState — Placeholder for empty lists/tables/search: icon + title + description + CTA; variant default/search/error
60
+ * - Stat — Dashboard KPI: label + large value + delta with explicit trend (up/down/neutral) (+ StatGroup)
61
+ * - Timeline — Vertical activity feed for audit logs/history: items[] or TimelineItem children; status dot + connector (+ TimelineItem)
62
+ * - Tree — Hierarchical view (file explorer/nested nav): nested data[], controlled expanded/selected, recursive, keyboard
63
+ * - OTPInput — Segmented one-time-code input (2FA/verification): controlled string, paste-aware, auto-advance, onComplete
64
+ * - Carousel — Accessible content slider: controlled index, snap scroll, dots, arrows, keyboard, loop/autoPlay (+ CarouselSlide)
52
65
  *
53
66
  * CSS must be imported separately:
54
67
  * import "@usevyre/tokens/css"; ← design tokens (required)
@@ -97,6 +110,28 @@ export { Conversation } from "./components/Conversation/Conversation";
97
110
  export type { CalendarProps, CalendarSingleProps, CalendarRangeProps, CalendarMultipleProps, CalendarBaseProps, DatePickerProps, CalendarMode, } from "./components/Calendar/Calendar";
98
111
  export { Text, Heading, Lead, Code, Blockquote } from "./components/Typography/Typography";
99
112
  export type { TextProps, HeadingProps, LeadProps, CodeProps, BlockquoteProps, } from "./components/Typography/Typography";
113
+ export { Stack, Grid, GridItem, Box } from "./components/Layout/Layout";
114
+ export type { StackProps, GridProps, GridItemProps, BoxProps, SpaceToken, StackDirection, StackWrap, StackAlign, StackJustify, StackAlignContent, StackAlignSelf, StackBasis, GridAlign, GridFlow, GridColumns, } from "./components/Layout/Layout";
115
+ export { Form, FormField } from "./components/Form/Form";
116
+ export type { FormProps, FormFieldProps, FormRules } from "./components/Form/Form";
117
+ export { NumberInput } from "./components/NumberInput/NumberInput";
118
+ export type { NumberInputProps } from "./components/NumberInput/NumberInput";
119
+ export { ToggleGroup, ToggleItem } from "./components/ToggleGroup/ToggleGroup";
120
+ export type { ToggleGroupProps, ToggleItemProps, ToggleOption } from "./components/ToggleGroup/ToggleGroup";
121
+ export { Stepper, StepperNav, Step, StepPanel } from "./components/Stepper/Stepper";
122
+ export type { StepperProps, StepperNavProps, StepProps, StepPanelProps } from "./components/Stepper/Stepper";
123
+ export { EmptyState } from "./components/EmptyState/EmptyState";
124
+ export type { EmptyStateProps, EmptyStateVariant } from "./components/EmptyState/EmptyState";
125
+ export { Stat, StatGroup } from "./components/Stat/Stat";
126
+ export type { StatProps, StatGroupProps, StatTrend } from "./components/Stat/Stat";
127
+ export { Timeline, TimelineItem } from "./components/Timeline/Timeline";
128
+ export type { TimelineProps, TimelineItemProps, TimelineItemData, TimelineStatus } from "./components/Timeline/Timeline";
129
+ export { Tree } from "./components/Tree/Tree";
130
+ export type { TreeProps, TreeNode } from "./components/Tree/Tree";
131
+ export { OTPInput } from "./components/OTPInput/OTPInput";
132
+ export type { OTPInputProps } from "./components/OTPInput/OTPInput";
133
+ export { Carousel, CarouselSlide } from "./components/Carousel/Carousel";
134
+ export type { CarouselProps, CarouselSlideProps } from "./components/Carousel/Carousel";
100
135
  export { AppLayout, AppShell, AppBar, PageContent, SidebarTrigger, Sidebar, SidebarHeader, SidebarContent, SidebarSection, SidebarItem, SidebarFooter, useAppLayout, } from "./components/Sidebar/Sidebar";
101
136
  export type { AppLayoutProps, AppShellProps, AppBarProps, PageContentProps, SidebarTriggerProps, SidebarProps, SidebarHeaderProps, SidebarContentProps, SidebarSectionProps, SidebarItemProps, SidebarFooterProps, } from "./components/Sidebar/Sidebar";
102
137
  export type { ButtonProps } from "./components/Button/Button";