@jacshuo/onyx 2.0.0 → 2.1.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.
Files changed (166) hide show
  1. package/dist/Chart/BarChart.cjs +1 -1
  2. package/dist/Chart/BarChart.js +1 -1
  3. package/dist/Chart/LineChart.cjs +1 -1
  4. package/dist/Chart/LineChart.js +1 -1
  5. package/dist/Chart/PieChart.cjs +1 -1
  6. package/dist/Chart/PieChart.js +1 -1
  7. package/dist/Chart/ScatterChart.cjs +1 -1
  8. package/dist/Chart/ScatterChart.js +1 -1
  9. package/dist/Chart/index.cjs +1 -1
  10. package/dist/Chart/index.js +1 -1
  11. package/dist/DataDisplay/CodeBlock.cjs +2 -2
  12. package/dist/DataDisplay/CodeBlock.js +2 -2
  13. package/dist/DataDisplay/List.cjs +1 -1
  14. package/dist/DataDisplay/List.js +1 -1
  15. package/dist/DataDisplay/MetricCard.cjs +1 -0
  16. package/dist/DataDisplay/MetricCard.d.cts +3 -0
  17. package/dist/DataDisplay/MetricCard.d.ts +3 -0
  18. package/dist/DataDisplay/MetricCard.js +1 -0
  19. package/dist/DataDisplay/Stat.cjs +1 -0
  20. package/dist/DataDisplay/Stat.d.cts +3 -0
  21. package/dist/DataDisplay/Stat.d.ts +3 -0
  22. package/dist/DataDisplay/Stat.js +1 -0
  23. package/dist/DataDisplay/Table.cjs +1 -1
  24. package/dist/DataDisplay/Table.js +1 -1
  25. package/dist/DataDisplay/Tree.cjs +1 -1
  26. package/dist/DataDisplay/Tree.js +1 -1
  27. package/dist/DataDisplay/index.cjs +2 -2
  28. package/dist/DataDisplay/index.d.cts +6 -0
  29. package/dist/DataDisplay/index.d.ts +6 -0
  30. package/dist/DataDisplay/index.js +2 -2
  31. package/dist/Extras/CommandPalette.cjs +1 -0
  32. package/dist/Extras/CommandPalette.css +1 -0
  33. package/dist/Extras/CommandPalette.d.cts +4 -0
  34. package/dist/Extras/CommandPalette.d.ts +4 -0
  35. package/dist/Extras/CommandPalette.js +1 -0
  36. package/dist/Extras/FileExplorer.cjs +2 -2
  37. package/dist/Extras/FileExplorer.js +2 -2
  38. package/dist/Extras/Timeline.cjs +1 -0
  39. package/dist/Extras/Timeline.css +1 -0
  40. package/dist/Extras/Timeline.d.cts +6 -0
  41. package/dist/Extras/Timeline.d.ts +6 -0
  42. package/dist/Extras/Timeline.js +1 -0
  43. package/dist/Extras/index.cjs +4 -4
  44. package/dist/Extras/index.css +1 -1
  45. package/dist/Extras/index.d.cts +9 -0
  46. package/dist/Extras/index.d.ts +9 -0
  47. package/dist/Extras/index.js +4 -4
  48. package/dist/Feedback/Alert.cjs +1 -1
  49. package/dist/Feedback/Alert.js +1 -1
  50. package/dist/Feedback/ProgressBar.cjs +1 -1
  51. package/dist/Feedback/ProgressBar.js +1 -1
  52. package/dist/Feedback/Skeleton.cjs +1 -0
  53. package/dist/Feedback/Skeleton.d.cts +2 -0
  54. package/dist/Feedback/Skeleton.d.ts +2 -0
  55. package/dist/Feedback/Skeleton.js +1 -0
  56. package/dist/Feedback/Spin.cjs +2 -2
  57. package/dist/Feedback/Spin.js +2 -2
  58. package/dist/Feedback/Toast.cjs +1 -0
  59. package/dist/Feedback/Toast.d.cts +11 -0
  60. package/dist/Feedback/Toast.d.ts +11 -0
  61. package/dist/Feedback/Toast.js +1 -0
  62. package/dist/Feedback/index.cjs +2 -2
  63. package/dist/Feedback/index.d.cts +11 -0
  64. package/dist/Feedback/index.d.ts +11 -0
  65. package/dist/Feedback/index.js +2 -2
  66. package/dist/Forms/Select.cjs +1 -0
  67. package/dist/Forms/Select.css +1 -0
  68. package/dist/Forms/Select.d.cts +3 -0
  69. package/dist/Forms/Select.d.ts +3 -0
  70. package/dist/Forms/Select.js +1 -0
  71. package/dist/Navigation/Breadcrumb.cjs +1 -0
  72. package/dist/Navigation/Breadcrumb.d.cts +3 -0
  73. package/dist/Navigation/Breadcrumb.d.ts +3 -0
  74. package/dist/Navigation/Breadcrumb.js +1 -0
  75. package/dist/Navigation/Header.cjs +1 -1
  76. package/dist/Navigation/Header.js +1 -1
  77. package/dist/Navigation/Pagination.cjs +1 -0
  78. package/dist/Navigation/Pagination.d.cts +2 -0
  79. package/dist/Navigation/Pagination.d.ts +2 -0
  80. package/dist/Navigation/Pagination.js +1 -0
  81. package/dist/Navigation/RibbonBar.cjs +1 -0
  82. package/dist/Navigation/RibbonBar.d.cts +6 -0
  83. package/dist/Navigation/RibbonBar.d.ts +6 -0
  84. package/dist/Navigation/RibbonBar.js +1 -0
  85. package/dist/Navigation/index.cjs +2 -2
  86. package/dist/Navigation/index.d.cts +8 -0
  87. package/dist/Navigation/index.d.ts +8 -0
  88. package/dist/Navigation/index.js +2 -2
  89. package/dist/Overlay/ContextMenu.cjs +1 -0
  90. package/dist/Overlay/ContextMenu.d.cts +3 -0
  91. package/dist/Overlay/ContextMenu.d.ts +3 -0
  92. package/dist/Overlay/ContextMenu.js +1 -0
  93. package/dist/Overlay/Drawer.cjs +1 -0
  94. package/dist/Overlay/Drawer.css +1 -0
  95. package/dist/Overlay/Drawer.d.cts +10 -0
  96. package/dist/Overlay/Drawer.d.ts +10 -0
  97. package/dist/Overlay/Drawer.js +1 -0
  98. package/dist/Overlay/index.cjs +1 -1
  99. package/dist/Overlay/index.css +1 -0
  100. package/dist/Overlay/index.d.cts +8 -0
  101. package/dist/Overlay/index.d.ts +8 -0
  102. package/dist/Overlay/index.js +1 -1
  103. package/dist/Primitives/Avatar.cjs +1 -0
  104. package/dist/Primitives/Avatar.d.cts +4 -0
  105. package/dist/Primitives/Avatar.d.ts +4 -0
  106. package/dist/Primitives/Avatar.js +1 -0
  107. package/dist/Primitives/Badge.cjs +1 -1
  108. package/dist/Primitives/Badge.js +1 -1
  109. package/dist/Primitives/Button.cjs +1 -1
  110. package/dist/Primitives/Button.js +1 -1
  111. package/dist/Primitives/Checkbox.cjs +1 -1
  112. package/dist/Primitives/Checkbox.js +1 -1
  113. package/dist/Primitives/Dropdown.cjs +1 -1
  114. package/dist/Primitives/Dropdown.js +1 -1
  115. package/dist/Primitives/DropdownButton.cjs +1 -1
  116. package/dist/Primitives/DropdownButton.js +1 -1
  117. package/dist/Primitives/Indicator.cjs +1 -1
  118. package/dist/Primitives/Indicator.js +1 -1
  119. package/dist/Primitives/Input.cjs +1 -1
  120. package/dist/Primitives/Input.js +1 -1
  121. package/dist/Primitives/Label.cjs +1 -1
  122. package/dist/Primitives/Label.js +1 -1
  123. package/dist/Primitives/Radio.cjs +1 -1
  124. package/dist/Primitives/Radio.js +1 -1
  125. package/dist/Primitives/Slider.cjs +1 -0
  126. package/dist/Primitives/Slider.css +1 -0
  127. package/dist/Primitives/Slider.d.cts +4 -0
  128. package/dist/Primitives/Slider.d.ts +4 -0
  129. package/dist/Primitives/Slider.js +1 -0
  130. package/dist/Primitives/Switch.cjs +1 -1
  131. package/dist/Primitives/Switch.js +1 -1
  132. package/dist/Primitives/Tag.cjs +1 -0
  133. package/dist/Primitives/Tag.d.cts +2 -0
  134. package/dist/Primitives/Tag.d.ts +2 -0
  135. package/dist/Primitives/Tag.js +1 -0
  136. package/dist/Primitives/index.cjs +1 -1
  137. package/dist/Primitives/index.css +1 -0
  138. package/dist/Primitives/index.d.cts +6 -0
  139. package/dist/Primitives/index.d.ts +6 -0
  140. package/dist/Primitives/index.js +1 -1
  141. package/dist/_tsup-dts-rollup.d.cts +967 -2
  142. package/dist/_tsup-dts-rollup.d.ts +967 -2
  143. package/dist/index.cjs +5 -5
  144. package/dist/index.css +1 -1
  145. package/dist/index.d.cts +69 -0
  146. package/dist/index.d.ts +69 -0
  147. package/dist/index.js +5 -5
  148. package/dist/styles/DataDisplay/MetricCard.css +1 -0
  149. package/dist/styles/DataDisplay/Stat.css +1 -0
  150. package/dist/styles/Extras/CommandPalette.css +65 -0
  151. package/dist/styles/Extras/Timeline.css +52 -0
  152. package/dist/styles/Feedback/Skeleton.css +37 -0
  153. package/dist/styles/Feedback/Toast.css +77 -0
  154. package/dist/styles/Forms/Select.css +36 -0
  155. package/dist/styles/Navigation/RibbonBar.css +1 -0
  156. package/dist/styles/Overlay/ContextMenu.css +1 -0
  157. package/dist/styles/Overlay/Drawer.css +52 -0
  158. package/dist/styles/Primitives/Slider.css +4 -0
  159. package/dist/styles/Primitives/Tag.css +1 -0
  160. package/dist/styles/base.css +1012 -0
  161. package/dist/styles.css +1223 -0
  162. package/dist/theme.cjs +1 -1
  163. package/dist/theme.d.cts +7 -0
  164. package/dist/theme.d.ts +7 -0
  165. package/dist/theme.js +1 -1
  166. package/package.json +1 -1
@@ -1,7 +1,9 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
2
  import { ClassValue } from 'clsx';
3
+ import { Dispatch } from 'react';
3
4
  import { JSX } from 'react/jsx-runtime';
4
5
  import { default as React_2 } from 'react';
6
+ import { SetStateAction } from 'react';
5
7
  import { VariantProps } from 'class-variance-authority';
6
8
 
7
9
  declare function Accordion({ type, defaultValue, value, onValueChange, intent, size, className, children, ...props }: AccordionProps): JSX.Element;
@@ -120,6 +122,52 @@ export { alertVariants }
120
122
  export { alertVariants as alertVariants_alias_1 }
121
123
  export { alertVariants as alertVariants_alias_2 }
122
124
 
125
+ declare function Avatar({ src, alt, initials, size, shape, status, className, ...props }: AvatarProps): JSX.Element;
126
+ export { Avatar }
127
+ export { Avatar as Avatar_alias_1 }
128
+ export { Avatar as Avatar_alias_2 }
129
+ export { Avatar as Avatar_alias_3 }
130
+
131
+ declare function AvatarGroup({ children, max, overlap, className }: AvatarGroupProps): JSX.Element;
132
+ export { AvatarGroup }
133
+ export { AvatarGroup as AvatarGroup_alias_1 }
134
+ export { AvatarGroup as AvatarGroup_alias_2 }
135
+ export { AvatarGroup as AvatarGroup_alias_3 }
136
+
137
+ declare type AvatarGroupProps = {
138
+ children: React_2.ReactNode;
139
+ /** How many avatars to show before collapsing to "+N". @default 4 */
140
+ max?: number;
141
+ /** Gap direction: avatars overlap on the left side. @default "left" */
142
+ overlap?: "left" | "right";
143
+ className?: string;
144
+ };
145
+ export { AvatarGroupProps }
146
+ export { AvatarGroupProps as AvatarGroupProps_alias_1 }
147
+ export { AvatarGroupProps as AvatarGroupProps_alias_2 }
148
+
149
+ declare type AvatarProps = React_2.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof avatarVariants> & {
150
+ /** Image URL. Falls back to initials (or icon placeholder) if not provided or fails to load. */
151
+ src?: string;
152
+ /** Alt text for the image. Doubles as the source for auto-generated initials. */
153
+ alt?: string;
154
+ /** Override the auto-derived initials (max 2 chars). */
155
+ initials?: string;
156
+ /** Show a coloured status ring around the avatar. */
157
+ status?: "online" | "offline" | "busy" | "away";
158
+ };
159
+ export { AvatarProps }
160
+ export { AvatarProps as AvatarProps_alias_1 }
161
+ export { AvatarProps as AvatarProps_alias_2 }
162
+
163
+ declare const avatarVariants: (props?: ({
164
+ size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
165
+ shape?: "circular" | "rounded" | "square" | null | undefined;
166
+ } & ClassProp) | undefined) => string;
167
+ export { avatarVariants }
168
+ export { avatarVariants as avatarVariants_alias_1 }
169
+ export { avatarVariants as avatarVariants_alias_2 }
170
+
123
171
  declare interface AxisConfig {
124
172
  label?: string;
125
173
  min?: number;
@@ -201,6 +249,39 @@ export { BaseChartProps }
201
249
  export { BaseChartProps as BaseChartProps_alias_1 }
202
250
  export { BaseChartProps as BaseChartProps_alias_2 }
203
251
 
252
+ declare function Breadcrumb({ items, separator, homeIcon, LinkComponent, className, }: BreadcrumbProps): JSX.Element;
253
+ export { Breadcrumb }
254
+ export { Breadcrumb as Breadcrumb_alias_1 }
255
+ export { Breadcrumb as Breadcrumb_alias_2 }
256
+ export { Breadcrumb as Breadcrumb_alias_3 }
257
+
258
+ declare type BreadcrumbItem = {
259
+ label: string;
260
+ href?: string;
261
+ /** Render a custom icon before the label. */
262
+ icon?: React_2.ReactNode;
263
+ };
264
+ export { BreadcrumbItem }
265
+ export { BreadcrumbItem as BreadcrumbItem_alias_1 }
266
+ export { BreadcrumbItem as BreadcrumbItem_alias_2 }
267
+
268
+ declare type BreadcrumbProps = {
269
+ items: BreadcrumbItem[];
270
+ /** Custom separator element. Defaults to ChevronRight icon. */
271
+ separator?: React_2.ReactNode;
272
+ /**
273
+ * Optional icon (or `true` to use the default Home icon) shown as the first item.
274
+ * @default false
275
+ */
276
+ homeIcon?: React_2.ReactNode | boolean;
277
+ /** Component to render anchor elements. Defaults to standard `<a>`. */
278
+ LinkComponent?: React_2.ComponentType<React_2.AnchorHTMLAttributes<HTMLAnchorElement>>;
279
+ className?: string;
280
+ };
281
+ export { BreadcrumbProps }
282
+ export { BreadcrumbProps as BreadcrumbProps_alias_1 }
283
+ export { BreadcrumbProps as BreadcrumbProps_alias_2 }
284
+
204
285
  /** Builds an area fill SVG path that closes down to the given baseline y. */
205
286
  export declare function buildAreaPath(data: ChartDataPoint[], xScale: (v: number | string) => number, yScale: (v: number) => number, smooth: boolean, baseline: number): string;
206
287
 
@@ -553,6 +634,72 @@ export { ColumnDef }
553
634
  export { ColumnDef as ColumnDef_alias_1 }
554
635
  export { ColumnDef as ColumnDef_alias_2 }
555
636
 
637
+ declare type CommandGroup = {
638
+ label: string;
639
+ items: CommandItem[];
640
+ };
641
+ export { CommandGroup }
642
+ export { CommandGroup as CommandGroup_alias_1 }
643
+ export { CommandGroup as CommandGroup_alias_2 }
644
+ export { CommandGroup as CommandGroup_alias_3 }
645
+
646
+ declare type CommandItem = {
647
+ /** Unique ID for this command */
648
+ id: string;
649
+ /** Primary display label */
650
+ label: string;
651
+ /** Optional sub-label / description shown below the label */
652
+ description?: string;
653
+ /** Optional icon element */
654
+ icon?: React_2.ReactNode;
655
+ /** Keyboard shortcut badge displayed on the right, e.g. ["⌘", "K"] */
656
+ shortcut?: string[];
657
+ /** Group heading this item belongs to (ungrouped if omitted) */
658
+ group?: string;
659
+ /** Extra search terms that don't appear in the UI */
660
+ keywords?: string[];
661
+ /** Disabled items appear dimmed and are not selectable */
662
+ disabled?: boolean;
663
+ /** Called when the user selects this command */
664
+ onSelect: () => void;
665
+ };
666
+ export { CommandItem }
667
+ export { CommandItem as CommandItem_alias_1 }
668
+ export { CommandItem as CommandItem_alias_2 }
669
+ export { CommandItem as CommandItem_alias_3 }
670
+
671
+ declare function CommandPalette({ open, onOpenChange, commands, placeholder, hotkey, maxItems, className, }: CommandPaletteProps): React_2.ReactPortal | null;
672
+ export { CommandPalette }
673
+ export { CommandPalette as CommandPalette_alias_1 }
674
+ export { CommandPalette as CommandPalette_alias_2 }
675
+ export { CommandPalette as CommandPalette_alias_3 }
676
+
677
+ declare type CommandPaletteProps = {
678
+ /** Controlled open state */
679
+ open: boolean;
680
+ onOpenChange: (open: boolean) => void;
681
+ /** Full list of available commands */
682
+ commands: CommandItem[];
683
+ /** Placeholder text inside the search input */
684
+ placeholder?: string;
685
+ /**
686
+ * Register a global Ctrl/Cmd+K hotkey to toggle the palette.
687
+ * @default true
688
+ */
689
+ hotkey?: boolean;
690
+ /**
691
+ * Maximum number of result rows visible before the list scrolls.
692
+ * @default 8
693
+ */
694
+ maxItems?: number;
695
+ /** Extra class applied to the dialog panel */
696
+ className?: string;
697
+ };
698
+ export { CommandPaletteProps }
699
+ export { CommandPaletteProps as CommandPaletteProps_alias_1 }
700
+ export { CommandPaletteProps as CommandPaletteProps_alias_2 }
701
+ export { CommandPaletteProps as CommandPaletteProps_alias_3 }
702
+
556
703
  /** Computes [min, max] domain for grouped bar charts (always min=0 for bars). */
557
704
  export declare function computeBarYDomain(series: ChartSeries[], visibleIds: Set<string>, grouped: boolean, axisConfig?: AxisConfig): [number, number];
558
705
 
@@ -613,6 +760,55 @@ export { configureAlertTopOffset }
613
760
  export { configureAlertTopOffset as configureAlertTopOffset_alias_1 }
614
761
  export { configureAlertTopOffset as configureAlertTopOffset_alias_2 }
615
762
 
763
+ declare function ContextMenu({ items, children, disabled, onOpenChange, className, }: ContextMenuProps): JSX.Element;
764
+ export { ContextMenu }
765
+ export { ContextMenu as ContextMenu_alias_1 }
766
+ export { ContextMenu as ContextMenu_alias_2 }
767
+ export { ContextMenu as ContextMenu_alias_3 }
768
+
769
+ declare interface ContextMenuItem {
770
+ /** Unique key */
771
+ key: string;
772
+ /** Display label */
773
+ label: React_2.ReactNode;
774
+ /** Icon element */
775
+ icon?: React_2.ReactNode;
776
+ /** Disables item */
777
+ disabled?: boolean;
778
+ /** Marks as separator — renders a divider instead of item */
779
+ separator?: boolean;
780
+ /** Keyboard shortcut displayed on the right */
781
+ shortcut?: string;
782
+ /** Destructive — renders in danger color */
783
+ danger?: boolean;
784
+ /** Sub-menu items */
785
+ children?: ContextMenuItem[];
786
+ /** Click handler */
787
+ onClick?: (e: React_2.MouseEvent) => void;
788
+ }
789
+ export { ContextMenuItem }
790
+ export { ContextMenuItem as ContextMenuItem_alias_1 }
791
+ export { ContextMenuItem as ContextMenuItem_alias_2 }
792
+ export { ContextMenuItem as ContextMenuItem_alias_3 }
793
+ export { ContextMenuItem as ContextMenuItem_alias_4 }
794
+
795
+ declare interface ContextMenuProps {
796
+ /** Menu structure */
797
+ items: ContextMenuItem[];
798
+ /** The trigger element(s) that activate the context menu */
799
+ children: React_2.ReactNode;
800
+ /** Whether the context menu is disabled */
801
+ disabled?: boolean;
802
+ /** Called when menu opens or closes */
803
+ onOpenChange?: (open: boolean) => void;
804
+ className?: string;
805
+ }
806
+ export { ContextMenuProps }
807
+ export { ContextMenuProps as ContextMenuProps_alias_1 }
808
+ export { ContextMenuProps as ContextMenuProps_alias_2 }
809
+ export { ContextMenuProps as ContextMenuProps_alias_3 }
810
+ export { ContextMenuProps as ContextMenuProps_alias_4 }
811
+
616
812
  /** Creates a categorical band scale (returns center-of-band x). */
617
813
  export declare function createCategoryScale(categories: string[], range: [number, number]): (cat: string) => number;
618
814
 
@@ -631,6 +827,8 @@ declare const DataDisplay: {
631
827
  Tree: typeof Tree;
632
828
  Chat: typeof Chat;
633
829
  CodeBlock: typeof CodeBlock;
830
+ Stat: typeof Stat;
831
+ MetricCard: typeof MetricCard;
634
832
  };
635
833
  export { DataDisplay }
636
834
  export { DataDisplay as DataDisplay_alias_1 }
@@ -685,6 +883,7 @@ export declare const default_alias: {
685
883
  Dropdown: Dropdown;
686
884
  DropdownButton: DropdownButton;
687
885
  Badge: Badge;
886
+ Tag: Tag;
688
887
  Indicator: Indicator;
689
888
  Label: Label;
690
889
  Input: Input;
@@ -693,6 +892,10 @@ export declare const default_alias: {
693
892
  Checkbox: Checkbox;
694
893
  Radio: Radio;
695
894
  RadioGroup: RadioGroup;
895
+ Avatar: Avatar;
896
+ AvatarGroup: AvatarGroup;
897
+ Slider: Slider;
898
+ SliderRange: SliderRange;
696
899
  };
697
900
  Layout: {
698
901
  Card: Card;
@@ -705,11 +908,16 @@ export declare const default_alias: {
705
908
  Tree: Tree;
706
909
  Chat: Chat;
707
910
  CodeBlock: CodeBlock;
911
+ Stat: Stat;
912
+ MetricCard: MetricCard;
708
913
  };
709
914
  Navigation: {
710
915
  SideNav: SideNav;
711
916
  Header: Header;
712
917
  NavLink: NavLink;
918
+ Breadcrumb: Breadcrumb;
919
+ Pagination: Pagination;
920
+ RibbonBar: RibbonBar;
713
921
  };
714
922
  Disclosure: {
715
923
  Accordion: Accordion;
@@ -718,11 +926,16 @@ export declare const default_alias: {
718
926
  Overlay: {
719
927
  Dialog: Dialog;
720
928
  Tooltip: Tooltip;
929
+ Drawer: Drawer;
930
+ ContextMenu: ContextMenu;
721
931
  };
722
932
  Feedback: {
723
933
  Alert: Alert;
724
934
  ProgressBar: ProgressBar;
725
935
  Spin: Spin;
936
+ Skeleton: Skeleton;
937
+ ToastProvider: ToastProvider;
938
+ useToast: useToast;
726
939
  };
727
940
  Extras: {
728
941
  FilmReel: FilmReel;
@@ -731,6 +944,8 @@ export declare const default_alias: {
731
944
  FileExplorer: FileExplorer;
732
945
  Masonry: Masonry;
733
946
  TypewriterText: TypewriterText;
947
+ CommandPalette: CommandPalette;
948
+ Timeline: Timeline;
734
949
  };
735
950
  Forms: {
736
951
  Form: Form;
@@ -743,8 +958,48 @@ export declare const default_alias: {
743
958
  };
744
959
  };
745
960
 
961
+ export declare function default_alias_100(): JSX.Element;
962
+
963
+ export declare function default_alias_101(): JSX.Element;
964
+
965
+ export declare function default_alias_102(): JSX.Element;
966
+
967
+ export declare function default_alias_103(): JSX.Element;
968
+
969
+ export declare function default_alias_104(): JSX.Element;
970
+
971
+ export declare function default_alias_105(): JSX.Element;
972
+
973
+ export declare function default_alias_106(): JSX.Element;
974
+
975
+ export declare function default_alias_107(): JSX.Element;
976
+
977
+ export declare function default_alias_108(): JSX.Element;
978
+
979
+ export declare function default_alias_109(): JSX.Element;
980
+
746
981
  export declare function default_alias_11(): JSX.Element;
747
982
 
983
+ export declare function default_alias_110(): JSX.Element;
984
+
985
+ export declare function default_alias_111(): JSX.Element;
986
+
987
+ export declare function default_alias_112(): JSX.Element;
988
+
989
+ export declare function default_alias_113(): JSX.Element;
990
+
991
+ export declare function default_alias_114(): JSX.Element;
992
+
993
+ export declare function default_alias_115(): JSX.Element;
994
+
995
+ export declare function default_alias_116(): JSX.Element;
996
+
997
+ export declare function default_alias_117(): JSX.Element;
998
+
999
+ export declare function default_alias_118(): JSX.Element;
1000
+
1001
+ export declare function default_alias_119(): JSX.Element;
1002
+
748
1003
  export declare function default_alias_12(): JSX.Element;
749
1004
 
750
1005
  export declare function default_alias_13(): JSX.Element;
@@ -903,6 +1158,24 @@ export declare function default_alias_89(): JSX.Element;
903
1158
 
904
1159
  export declare function default_alias_90(): JSX.Element;
905
1160
 
1161
+ export declare function default_alias_91(): JSX.Element;
1162
+
1163
+ export declare function default_alias_92(): JSX.Element;
1164
+
1165
+ export declare function default_alias_93(): JSX.Element;
1166
+
1167
+ export declare function default_alias_94(): JSX.Element;
1168
+
1169
+ export declare function default_alias_95(): JSX.Element;
1170
+
1171
+ export declare function default_alias_96(): JSX.Element;
1172
+
1173
+ export declare function default_alias_97(): JSX.Element;
1174
+
1175
+ export declare function default_alias_98(): JSX.Element;
1176
+
1177
+ export declare function default_alias_99(): JSX.Element;
1178
+
906
1179
  /** Builds an SVG arc path string from startAngle to endAngle (degrees). */
907
1180
  export declare function describeArc(cx: number, cy: number, r: number, startAngle: number, endAngle: number): string;
908
1181
 
@@ -974,6 +1247,86 @@ export { Disclosure }
974
1247
  export { Disclosure as Disclosure_alias_1 }
975
1248
  export { Disclosure as default_alias_3 }
976
1249
 
1250
+ declare function Drawer({ open, onOpenChange, side, size, backdrop, closeOnBackdropClick, children, className, }: DrawerProps): React_2.ReactPortal | null;
1251
+ export { Drawer }
1252
+ export { Drawer as Drawer_alias_1 }
1253
+ export { Drawer as Drawer_alias_2 }
1254
+ export { Drawer as Drawer_alias_3 }
1255
+
1256
+ declare function DrawerBody({ children, className }: DrawerBodyProps): JSX.Element;
1257
+ export { DrawerBody }
1258
+ export { DrawerBody as DrawerBody_alias_1 }
1259
+ export { DrawerBody as DrawerBody_alias_2 }
1260
+ export { DrawerBody as DrawerBody_alias_3 }
1261
+
1262
+ declare type DrawerBodyProps = {
1263
+ children: React_2.ReactNode;
1264
+ className?: string;
1265
+ };
1266
+ export { DrawerBodyProps }
1267
+ export { DrawerBodyProps as DrawerBodyProps_alias_1 }
1268
+ export { DrawerBodyProps as DrawerBodyProps_alias_2 }
1269
+
1270
+ declare function DrawerClose({ onClose, className }: {
1271
+ onClose: () => void;
1272
+ className?: string;
1273
+ }): JSX.Element;
1274
+ export { DrawerClose }
1275
+ export { DrawerClose as DrawerClose_alias_1 }
1276
+ export { DrawerClose as DrawerClose_alias_2 }
1277
+ export { DrawerClose as DrawerClose_alias_3 }
1278
+
1279
+ declare function DrawerFooter({ children, className }: DrawerFooterProps): JSX.Element;
1280
+ export { DrawerFooter }
1281
+ export { DrawerFooter as DrawerFooter_alias_1 }
1282
+ export { DrawerFooter as DrawerFooter_alias_2 }
1283
+ export { DrawerFooter as DrawerFooter_alias_3 }
1284
+
1285
+ declare type DrawerFooterProps = {
1286
+ children: React_2.ReactNode;
1287
+ className?: string;
1288
+ };
1289
+ export { DrawerFooterProps }
1290
+ export { DrawerFooterProps as DrawerFooterProps_alias_1 }
1291
+ export { DrawerFooterProps as DrawerFooterProps_alias_2 }
1292
+
1293
+ declare function DrawerHeader({ children, className }: DrawerHeaderProps): JSX.Element;
1294
+ export { DrawerHeader }
1295
+ export { DrawerHeader as DrawerHeader_alias_1 }
1296
+ export { DrawerHeader as DrawerHeader_alias_2 }
1297
+ export { DrawerHeader as DrawerHeader_alias_3 }
1298
+
1299
+ declare type DrawerHeaderProps = {
1300
+ children: React_2.ReactNode;
1301
+ className?: string;
1302
+ };
1303
+ export { DrawerHeaderProps }
1304
+ export { DrawerHeaderProps as DrawerHeaderProps_alias_1 }
1305
+ export { DrawerHeaderProps as DrawerHeaderProps_alias_2 }
1306
+
1307
+ declare type DrawerProps = {
1308
+ open: boolean;
1309
+ onOpenChange: (open: boolean) => void;
1310
+ /** Side from which the drawer slides in. @default "right" */
1311
+ side?: DrawerSide;
1312
+ /** Width (left/right) or height (top/bottom) of the drawer panel. */
1313
+ size?: string;
1314
+ /** Show a backdrop overlay. @default true */
1315
+ backdrop?: boolean;
1316
+ /** Close on backdrop click. @default true */
1317
+ closeOnBackdropClick?: boolean;
1318
+ children: React_2.ReactNode;
1319
+ className?: string;
1320
+ };
1321
+ export { DrawerProps }
1322
+ export { DrawerProps as DrawerProps_alias_1 }
1323
+ export { DrawerProps as DrawerProps_alias_2 }
1324
+
1325
+ declare type DrawerSide = "left" | "right" | "top" | "bottom";
1326
+ export { DrawerSide }
1327
+ export { DrawerSide as DrawerSide_alias_1 }
1328
+ export { DrawerSide as DrawerSide_alias_2 }
1329
+
977
1330
  declare function Dropdown(props: DropdownProps): JSX.Element;
978
1331
  export { Dropdown }
979
1332
  export { Dropdown as Dropdown_alias_1 }
@@ -999,6 +1352,27 @@ declare interface DropdownBaseProps {
999
1352
  size?: "sm" | "md" | "lg";
1000
1353
  /** Enable domino flip-in/flip-out animation for menu items. @default true */
1001
1354
  animated?: boolean;
1355
+ /** HTML name attribute — renders hidden input(s) for native form submission. */
1356
+ name?: string;
1357
+ /** Validation intent. "danger" shows a red error border. @default "default" */
1358
+ intent?: "default" | "danger";
1359
+ /** Show a ✕ button to clear the current selection. @default false */
1360
+ clearable?: boolean;
1361
+ /**
1362
+ * HTML id forwarded to the trigger element.
1363
+ * Injected automatically by FormItem for label + aria wiring.
1364
+ */
1365
+ id?: string;
1366
+ /**
1367
+ * Forwarded to the trigger element for aria-describedby wiring.
1368
+ * Set automatically by FormItem to link hint/validation messages.
1369
+ */
1370
+ "aria-describedby"?: string;
1371
+ /**
1372
+ * Marks the trigger as invalid — applies the error border style.
1373
+ * Injected automatically by FormItem when a validation error is present.
1374
+ */
1375
+ "aria-invalid"?: boolean;
1002
1376
  }
1003
1377
 
1004
1378
  declare function DropdownButton({ label, items, intent, size, align, className, disabled, editable, onAddItem, multiple, selected, onSelectionChange, animated, chevron, ...props }: DropdownButtonProps): JSX.Element;
@@ -1060,8 +1434,13 @@ declare interface DropdownMultipleProps extends DropdownBaseProps {
1060
1434
  value?: never;
1061
1435
  /** Not used in multi mode. */
1062
1436
  defaultValue?: never;
1063
- /** Not used in multi mode. */
1064
- onChange?: never;
1437
+ /**
1438
+ * Form-integration callback (multi mode). Called with the new selected
1439
+ * string array on every toggle and on clear. Used by FormItem's onChange
1440
+ * wrapping to trigger per-field validation — do not use for primary
1441
+ * selection handling; prefer `onSelectionChange` for that.
1442
+ */
1443
+ onChange?: (value: string[]) => void;
1065
1444
  }
1066
1445
  export { DropdownMultipleProps }
1067
1446
  export { DropdownMultipleProps as DropdownMultipleProps_alias_1 }
@@ -1115,6 +1494,8 @@ declare const Extras: {
1115
1494
  FileExplorer: typeof FileExplorer;
1116
1495
  Masonry: typeof Masonry;
1117
1496
  TypewriterText: typeof TypewriterText;
1497
+ CommandPalette: typeof CommandPalette;
1498
+ Timeline: typeof Timeline;
1118
1499
  };
1119
1500
  export { Extras }
1120
1501
  export { Extras as Extras_alias_1 }
@@ -1124,6 +1505,9 @@ declare const Feedback: {
1124
1505
  Alert: typeof Alert;
1125
1506
  ProgressBar: typeof ProgressBar;
1126
1507
  Spin: typeof Spin;
1508
+ Skeleton: typeof Skeleton;
1509
+ ToastProvider: typeof ToastProvider;
1510
+ useToast: typeof useToast;
1127
1511
  };
1128
1512
  export { Feedback }
1129
1513
  export { Feedback as Feedback_alias_1 }
@@ -1830,6 +2214,52 @@ export { MasonryProps }
1830
2214
  export { MasonryProps as MasonryProps_alias_1 }
1831
2215
  export { MasonryProps as MasonryProps_alias_2 }
1832
2216
 
2217
+ declare function MetricCard({ title, value, decimals, prefix, suffix, icon, trend, trendValue, description, animateDuration, formatter, from, intent, size, className, }: MetricCardProps): JSX.Element;
2218
+ export { MetricCard }
2219
+ export { MetricCard as MetricCard_alias_1 }
2220
+ export { MetricCard as MetricCard_alias_2 }
2221
+ export { MetricCard as MetricCard_alias_3 }
2222
+
2223
+ declare interface MetricCardProps extends VariantProps<typeof metricCardVariants> {
2224
+ title: string;
2225
+ /** Numeric value to animate to */
2226
+ value: number;
2227
+ /** Number of decimal places */
2228
+ decimals?: number;
2229
+ prefix?: React_2.ReactNode;
2230
+ suffix?: React_2.ReactNode;
2231
+ icon?: React_2.ReactNode;
2232
+ trend?: MetricCardTrend;
2233
+ trendValue?: string;
2234
+ /** Secondary info line */
2235
+ description?: string;
2236
+ /** Duration of counter animation in ms */
2237
+ animateDuration?: number;
2238
+ /** Custom formatter for displayed value */
2239
+ formatter?: (v: number) => string;
2240
+ /** Starting value for animation */
2241
+ from?: number;
2242
+ className?: string;
2243
+ }
2244
+ export { MetricCardProps }
2245
+ export { MetricCardProps as MetricCardProps_alias_1 }
2246
+ export { MetricCardProps as MetricCardProps_alias_2 }
2247
+ export { MetricCardProps as MetricCardProps_alias_3 }
2248
+
2249
+ declare type MetricCardTrend = "up" | "down" | "neutral";
2250
+ export { MetricCardTrend }
2251
+ export { MetricCardTrend as MetricCardTrend_alias_1 }
2252
+ export { MetricCardTrend as MetricCardTrend_alias_2 }
2253
+ export { MetricCardTrend as MetricCardTrend_alias_3 }
2254
+
2255
+ declare const metricCardVariants: (props?: ({
2256
+ intent?: "primary" | "danger" | "warning" | "success" | null | undefined;
2257
+ size?: "sm" | "md" | "lg" | null | undefined;
2258
+ } & ClassProp) | undefined) => string;
2259
+ export { metricCardVariants }
2260
+ export { metricCardVariants as metricCardVariants_alias_1 }
2261
+ export { metricCardVariants as metricCardVariants_alias_2 }
2262
+
1833
2263
  declare function MiniPlayer({ playlist, initialTrack, position, entrance: entranceProp, theme, docked: dockedProp, visible: visibleProp, onVisibleChange, onTrackChange, onLike, autoPlay, shuffle: shuffleProp, loop: loopProp, accent, className, }: MiniPlayerProps): JSX.Element;
1834
2264
  export { MiniPlayer }
1835
2265
  export { MiniPlayer as MiniPlayer_alias_1 }
@@ -1904,6 +2334,9 @@ declare const Navigation: {
1904
2334
  SideNav: typeof SideNav;
1905
2335
  Header: typeof Header;
1906
2336
  NavLink: typeof NavLink;
2337
+ Breadcrumb: typeof Breadcrumb;
2338
+ Pagination: typeof Pagination;
2339
+ RibbonBar: typeof RibbonBar;
1907
2340
  };
1908
2341
  export { Navigation }
1909
2342
  export { Navigation as Navigation_alias_1 }
@@ -1932,6 +2365,8 @@ export { navLinkVariants as navLinkVariants_alias_2 }
1932
2365
  declare const Overlay: {
1933
2366
  Dialog: typeof Dialog;
1934
2367
  Tooltip: typeof Tooltip;
2368
+ Drawer: typeof Drawer;
2369
+ ContextMenu: typeof ContextMenu;
1935
2370
  };
1936
2371
  export { Overlay }
1937
2372
  export { Overlay as Overlay_alias_1 }
@@ -1941,6 +2376,35 @@ export declare function PageTitle({ children }: {
1941
2376
  children: React_2.ReactNode;
1942
2377
  }): JSX.Element;
1943
2378
 
2379
+ declare function Pagination({ totalPages, currentPage, onPageChange, siblingCount, showFirstLast, showPageCount, size, className, }: PaginationProps): JSX.Element | null;
2380
+ export { Pagination }
2381
+ export { Pagination as Pagination_alias_1 }
2382
+ export { Pagination as Pagination_alias_2 }
2383
+ export { Pagination as Pagination_alias_3 }
2384
+
2385
+ declare type PaginationProps = {
2386
+ /** Total number of pages. */
2387
+ totalPages: number;
2388
+ /** Current active page (1-based). */
2389
+ currentPage: number;
2390
+ /** Called when the user requests a page change. */
2391
+ onPageChange: (page: number) => void;
2392
+ /**
2393
+ * Number of page buttons shown around the current page.
2394
+ * @default 2
2395
+ */
2396
+ siblingCount?: number;
2397
+ /** Show First / Last jump buttons. @default true */
2398
+ showFirstLast?: boolean;
2399
+ /** Show the total page count label. @default false */
2400
+ showPageCount?: boolean;
2401
+ size?: "sm" | "md" | "lg";
2402
+ className?: string;
2403
+ };
2404
+ export { PaginationProps }
2405
+ export { PaginationProps as PaginationProps_alias_1 }
2406
+ export { PaginationProps as PaginationProps_alias_2 }
2407
+
1944
2408
  declare function Panel({ intent, size, className, ...props }: PanelProps): JSX.Element;
1945
2409
  export { Panel }
1946
2410
  export { Panel as Panel_alias_1 }
@@ -2019,6 +2483,7 @@ declare const Primitives: {
2019
2483
  Dropdown: typeof Dropdown;
2020
2484
  DropdownButton: typeof DropdownButton;
2021
2485
  Badge: typeof Badge;
2486
+ Tag: typeof Tag;
2022
2487
  Indicator: typeof Indicator;
2023
2488
  Label: typeof Label;
2024
2489
  Input: typeof Input;
@@ -2027,6 +2492,10 @@ declare const Primitives: {
2027
2492
  Checkbox: typeof Checkbox;
2028
2493
  Radio: typeof Radio;
2029
2494
  RadioGroup: typeof RadioGroup;
2495
+ Avatar: typeof Avatar;
2496
+ AvatarGroup: typeof AvatarGroup;
2497
+ Slider: typeof Slider;
2498
+ SliderRange: typeof SliderRange;
2030
2499
  };
2031
2500
  export { Primitives }
2032
2501
  export { Primitives as Primitives_alias_1 }
@@ -2132,6 +2601,91 @@ export { radioVariants as radioVariants_alias_2 }
2132
2601
 
2133
2602
  declare function removeAlert(id: string): void;
2134
2603
 
2604
+ declare function RibbonBar({ tabs, defaultTab, activeTab: controlledTab, onTabChange, mode: controlledMode, onModeChange, sticky, className, }: RibbonBarProps): JSX.Element;
2605
+ export { RibbonBar }
2606
+ export { RibbonBar as RibbonBar_alias_1 }
2607
+ export { RibbonBar as RibbonBar_alias_2 }
2608
+ export { RibbonBar as RibbonBar_alias_3 }
2609
+
2610
+ declare interface RibbonBarProps {
2611
+ /** Tabs that define the ribbon structure */
2612
+ tabs: RibbonTab[];
2613
+ /** Initially active tab key */
2614
+ defaultTab?: string;
2615
+ /** Controlled active tab */
2616
+ activeTab?: string;
2617
+ /** Called when tab changes */
2618
+ onTabChange?: (key: string) => void;
2619
+ /** Display mode */
2620
+ mode?: RibbonMode;
2621
+ /** Called when mode changes */
2622
+ onModeChange?: (mode: RibbonMode) => void;
2623
+ /** Whether ribbon is sticky to top of its container */
2624
+ sticky?: boolean;
2625
+ /** Extra class name */
2626
+ className?: string;
2627
+ }
2628
+ export { RibbonBarProps }
2629
+ export { RibbonBarProps as RibbonBarProps_alias_1 }
2630
+ export { RibbonBarProps as RibbonBarProps_alias_2 }
2631
+ export { RibbonBarProps as RibbonBarProps_alias_3 }
2632
+ export { RibbonBarProps as RibbonBarProps_alias_4 }
2633
+
2634
+ declare interface RibbonGroup {
2635
+ key: string;
2636
+ label: string;
2637
+ items: RibbonItem[];
2638
+ /** Disables all items in this group */
2639
+ disabled?: boolean;
2640
+ }
2641
+ export { RibbonGroup }
2642
+ export { RibbonGroup as RibbonGroup_alias_1 }
2643
+ export { RibbonGroup as RibbonGroup_alias_2 }
2644
+ export { RibbonGroup as RibbonGroup_alias_3 }
2645
+ export { RibbonGroup as RibbonGroup_alias_4 }
2646
+
2647
+ declare interface RibbonItem {
2648
+ key: string;
2649
+ label: string;
2650
+ icon?: React_2.ReactNode;
2651
+ onClick?: () => void;
2652
+ disabled?: boolean;
2653
+ /** Displays item as a separator */
2654
+ separator?: boolean;
2655
+ /** Marks item as active/pressed */
2656
+ active?: boolean;
2657
+ /** Tooltip shown on hover */
2658
+ title?: string;
2659
+ }
2660
+ export { RibbonItem }
2661
+ export { RibbonItem as RibbonItem_alias_1 }
2662
+ export { RibbonItem as RibbonItem_alias_2 }
2663
+ export { RibbonItem as RibbonItem_alias_3 }
2664
+ export { RibbonItem as RibbonItem_alias_4 }
2665
+
2666
+ declare type RibbonMode = "full" | "compact" | "icons";
2667
+ export { RibbonMode }
2668
+ export { RibbonMode as RibbonMode_alias_1 }
2669
+ export { RibbonMode as RibbonMode_alias_2 }
2670
+ export { RibbonMode as RibbonMode_alias_3 }
2671
+ export { RibbonMode as RibbonMode_alias_4 }
2672
+
2673
+ declare interface RibbonTab {
2674
+ key: string;
2675
+ label: string;
2676
+ icon?: React_2.ReactNode;
2677
+ groups: RibbonGroup[];
2678
+ /** Whether tab is hidden */
2679
+ hidden?: boolean;
2680
+ /** Disables the tab button and all groups/items inside it */
2681
+ disabled?: boolean;
2682
+ }
2683
+ export { RibbonTab }
2684
+ export { RibbonTab as RibbonTab_alias_1 }
2685
+ export { RibbonTab as RibbonTab_alias_2 }
2686
+ export { RibbonTab as RibbonTab_alias_3 }
2687
+ export { RibbonTab as RibbonTab_alias_4 }
2688
+
2135
2689
  declare function ScatterChart({ series, xAxis, yAxis, dotRadius, dotOpacity, clusters, jitter, jitterAmount, linkedLines, title, height, className, legend, legendPosition, animateOnMount, emptyText, }: ScatterChartProps): JSX.Element;
2136
2690
  export { ScatterChart }
2137
2691
  export { ScatterChart as ScatterChart_alias_1 }
@@ -2166,11 +2720,44 @@ export declare function Section({ title, children }: {
2166
2720
  children: React_2.ReactNode;
2167
2721
  }): JSX.Element;
2168
2722
 
2723
+ declare function Select({ options, value: valueProp, defaultValue, onChange, placeholder, disabled, clearable, intent, size, className, id: idProp, "aria-label": ariaLabel, }: SelectProps): JSX.Element;
2724
+ export { Select }
2725
+ export { Select as Select_alias_1 }
2726
+
2169
2727
  declare type SelectionMode_2 = "none" | "single" | "multiple";
2170
2728
  export { SelectionMode_2 as SelectionMode }
2171
2729
  export { SelectionMode_2 as SelectionMode_alias_1 }
2172
2730
  export { SelectionMode_2 as SelectionMode_alias_2 }
2173
2731
 
2732
+ declare type SelectOption = {
2733
+ value: string;
2734
+ label: string;
2735
+ disabled?: boolean;
2736
+ };
2737
+ export { SelectOption }
2738
+ export { SelectOption as SelectOption_alias_1 }
2739
+
2740
+ declare type SelectProps = VariantProps<typeof selectVariants> & {
2741
+ options: SelectOption[];
2742
+ value?: string;
2743
+ defaultValue?: string;
2744
+ onChange?: (value: string) => void;
2745
+ placeholder?: string;
2746
+ disabled?: boolean;
2747
+ clearable?: boolean;
2748
+ /** Accessible label. Prefer using `<label>` + `id`. */
2749
+ "aria-label"?: string;
2750
+ id?: string;
2751
+ className?: string;
2752
+ };
2753
+ export { SelectProps }
2754
+ export { SelectProps as SelectProps_alias_1 }
2755
+
2756
+ export declare const selectVariants: (props?: ({
2757
+ intent?: "danger" | "default" | null | undefined;
2758
+ size?: "sm" | "md" | "lg" | null | undefined;
2759
+ } & ClassProp) | undefined) => string;
2760
+
2174
2761
  declare function SideNav({ items, title, basePath, onItemClick, LinkComponent, collapsible, collapseMode: controlledMode, defaultCollapseMode, onCollapseModeChange, showLines, expandedKeys: controlledExpandedKeys, defaultExpandedKeys, onExpandedKeysChange, className, responsive, mobileBreakpoint, mobileTopOffset, ...props }: SideNavProps): JSX.Element;
2175
2762
  export { SideNav }
2176
2763
  export { SideNav as SideNav_alias_1 }
@@ -2267,6 +2854,44 @@ export { SideNavProps }
2267
2854
  export { SideNavProps as SideNavProps_alias_1 }
2268
2855
  export { SideNavProps as SideNavProps_alias_2 }
2269
2856
 
2857
+ /**
2858
+ * Skeleton — loading placeholder that mimics the shape of incoming content.
2859
+ *
2860
+ * @example
2861
+ * <Skeleton variant="text" lines={3} />
2862
+ * <Skeleton variant="circular" width={48} height={48} />
2863
+ * <Skeleton variant="rectangular" width="100%" height={160} animation="wave" />
2864
+ */
2865
+ declare function Skeleton({ variant, animation, width, height, lines, className, style, ...props }: SkeletonProps): JSX.Element;
2866
+ export { Skeleton }
2867
+ export { Skeleton as Skeleton_alias_1 }
2868
+ export { Skeleton as Skeleton_alias_2 }
2869
+ export { Skeleton as Skeleton_alias_3 }
2870
+
2871
+ declare type SkeletonProps = Omit<React_2.HTMLAttributes<HTMLSpanElement>, "children"> & VariantProps<typeof skeletonVariants> & {
2872
+ /** CSS width — e.g. "100%", 200, "12rem". Overrides default when supplied. */
2873
+ width?: string | number;
2874
+ /** CSS height — e.g. 16, "2rem". Overrides default when supplied. */
2875
+ height?: string | number;
2876
+ /**
2877
+ * Renders N stacked text-line skeletons.
2878
+ * Only meaningful when variant="text" (default).
2879
+ * The last line is narrowed to 60% to mimic natural paragraph endings.
2880
+ */
2881
+ lines?: number;
2882
+ };
2883
+ export { SkeletonProps }
2884
+ export { SkeletonProps as SkeletonProps_alias_1 }
2885
+ export { SkeletonProps as SkeletonProps_alias_2 }
2886
+
2887
+ declare const skeletonVariants: (props?: ({
2888
+ variant?: "circular" | "rounded" | "text" | "rectangular" | null | undefined;
2889
+ animation?: "none" | "pulse" | "wave" | null | undefined;
2890
+ } & ClassProp) | undefined) => string;
2891
+ export { skeletonVariants }
2892
+ export { skeletonVariants as skeletonVariants_alias_1 }
2893
+ export { skeletonVariants as skeletonVariants_alias_2 }
2894
+
2270
2895
  export declare interface SliceSpec {
2271
2896
  id: string;
2272
2897
  label: string;
@@ -2283,6 +2908,58 @@ export declare interface SliceSpec {
2283
2908
  cy: number;
2284
2909
  }
2285
2910
 
2911
+ declare function Slider({ mode, value: valueProp, defaultValue, onChange, min, max, step, intent, size, disabled, showValue, formatValue, label, className, ...props }: SliderProps): JSX.Element;
2912
+ export { Slider }
2913
+ export { Slider as Slider_alias_1 }
2914
+ export { Slider as Slider_alias_2 }
2915
+ export { Slider as Slider_alias_3 }
2916
+
2917
+ declare type SliderBaseProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & VariantProps<typeof sliderVariants> & {
2918
+ min?: number;
2919
+ max?: number;
2920
+ step?: number;
2921
+ disabled?: boolean;
2922
+ /** Display the current value above the thumb. */
2923
+ showValue?: boolean;
2924
+ /** Format the displayed value. */
2925
+ formatValue?: (value: number) => string;
2926
+ label?: string;
2927
+ };
2928
+
2929
+ declare type SliderProps = SliderBaseProps & {
2930
+ mode?: "single";
2931
+ value?: number;
2932
+ defaultValue?: number;
2933
+ onChange?: (value: number) => void;
2934
+ };
2935
+ export { SliderProps }
2936
+ export { SliderProps as SliderProps_alias_1 }
2937
+ export { SliderProps as SliderProps_alias_2 }
2938
+
2939
+ declare function SliderRange({ value: valueProp, defaultValue, onChange, min, max, step, intent, size, disabled, showValue, formatValue, label, className, ...props }: SliderRangeProps): JSX.Element;
2940
+ export { SliderRange }
2941
+ export { SliderRange as SliderRange_alias_1 }
2942
+ export { SliderRange as SliderRange_alias_2 }
2943
+ export { SliderRange as SliderRange_alias_3 }
2944
+
2945
+ declare type SliderRangeProps = SliderBaseProps & {
2946
+ mode: "range";
2947
+ value?: [number, number];
2948
+ defaultValue?: [number, number];
2949
+ onChange?: (value: [number, number]) => void;
2950
+ };
2951
+ export { SliderRangeProps }
2952
+ export { SliderRangeProps as SliderRangeProps_alias_1 }
2953
+ export { SliderRangeProps as SliderRangeProps_alias_2 }
2954
+
2955
+ declare const sliderVariants: (props?: ({
2956
+ intent?: "primary" | "secondary" | "danger" | "warning" | "success" | null | undefined;
2957
+ size?: "sm" | "md" | "lg" | null | undefined;
2958
+ } & ClassProp) | undefined) => string;
2959
+ export { sliderVariants }
2960
+ export { sliderVariants as sliderVariants_alias_1 }
2961
+ export { sliderVariants as sliderVariants_alias_2 }
2962
+
2286
2963
  declare function SortableTable<T, K extends string = string>({ columns, data, sort: controlledSort, onSortChange, defaultSort, rowKey, rowActions, intent, density, className, empty, }: SortableTableProps<T, K>): JSX.Element;
2287
2964
  export { SortableTable }
2288
2965
  export { SortableTable as SortableTable_alias_1 }
@@ -2345,6 +3022,50 @@ export { spinVariants }
2345
3022
  export { spinVariants as spinVariants_alias_1 }
2346
3023
  export { spinVariants as spinVariants_alias_2 }
2347
3024
 
3025
+ declare function Stat({ title, value, prefix, suffix, icon, trend, trendValue, description, intent, size, className, }: StatProps): JSX.Element;
3026
+ export { Stat }
3027
+ export { Stat as Stat_alias_1 }
3028
+ export { Stat as Stat_alias_2 }
3029
+ export { Stat as Stat_alias_3 }
3030
+
3031
+ declare interface StatProps extends VariantProps<typeof statVariants> {
3032
+ /** Main metric label */
3033
+ title: string;
3034
+ /** Primary value to display */
3035
+ value: React_2.ReactNode;
3036
+ /** Prefix string/element before value */
3037
+ prefix?: React_2.ReactNode;
3038
+ /** Suffix string/element after value */
3039
+ suffix?: React_2.ReactNode;
3040
+ /** Icon element displayed in the card */
3041
+ icon?: React_2.ReactNode;
3042
+ /** Trend direction */
3043
+ trend?: StatTrend;
3044
+ /** Trend percentage or label */
3045
+ trendValue?: string;
3046
+ /** Description below the value */
3047
+ description?: string;
3048
+ className?: string;
3049
+ }
3050
+ export { StatProps }
3051
+ export { StatProps as StatProps_alias_1 }
3052
+ export { StatProps as StatProps_alias_2 }
3053
+ export { StatProps as StatProps_alias_3 }
3054
+
3055
+ declare type StatTrend = "up" | "down" | "neutral";
3056
+ export { StatTrend }
3057
+ export { StatTrend as StatTrend_alias_1 }
3058
+ export { StatTrend as StatTrend_alias_2 }
3059
+ export { StatTrend as StatTrend_alias_3 }
3060
+
3061
+ declare const statVariants: (props?: ({
3062
+ intent?: "primary" | "danger" | "warning" | "success" | null | undefined;
3063
+ size?: "sm" | "md" | "lg" | null | undefined;
3064
+ } & ClassProp) | undefined) => string;
3065
+ export { statVariants }
3066
+ export { statVariants as statVariants_alias_1 }
3067
+ export { statVariants as statVariants_alias_2 }
3068
+
2348
3069
  declare function Switch({ checked: controlledChecked, defaultChecked, onCheckedChange, checkedContent, uncheckedContent, intent, size, label, id: propId, className, disabled, ...props }: SwitchProps): JSX.Element;
2349
3070
  export { Switch }
2350
3071
  export { Switch as Switch_alias_1 }
@@ -2496,6 +3217,38 @@ export { tabTriggerVariants }
2496
3217
  export { tabTriggerVariants as tabTriggerVariants_alias_1 }
2497
3218
  export { tabTriggerVariants as tabTriggerVariants_alias_2 }
2498
3219
 
3220
+ declare function Tag({ intent, size, variant, icon, removable, onRemove, disabled, dot, className, children, ...props }: TagProps): JSX.Element;
3221
+ export { Tag }
3222
+ export { Tag as Tag_alias_1 }
3223
+ export { Tag as Tag_alias_2 }
3224
+ export { Tag as Tag_alias_3 }
3225
+
3226
+ declare type TagProps = React_2.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof tagVariants> & {
3227
+ /** Icon or element displayed before label */
3228
+ icon?: React_2.ReactNode;
3229
+ /** Show remove button */
3230
+ removable?: boolean;
3231
+ /** Called when remove button is clicked */
3232
+ onRemove?: () => void;
3233
+ /** Disables interaction */
3234
+ disabled?: boolean;
3235
+ /** Dot indicator to left of label */
3236
+ dot?: boolean;
3237
+ };
3238
+ export { TagProps }
3239
+ export { TagProps as TagProps_alias_1 }
3240
+ export { TagProps as TagProps_alias_2 }
3241
+ export { TagProps as TagProps_alias_3 }
3242
+
3243
+ declare const tagVariants: (props?: ({
3244
+ intent?: "primary" | "secondary" | "danger" | "warning" | "success" | "info" | null | undefined;
3245
+ size?: "sm" | "md" | "lg" | null | undefined;
3246
+ variant?: "outline" | "solid" | "soft" | null | undefined;
3247
+ } & ClassProp) | undefined) => string;
3248
+ export { tagVariants }
3249
+ export { tagVariants as tagVariants_alias_1 }
3250
+ export { tagVariants as tagVariants_alias_2 }
3251
+
2499
3252
  declare function TextBox({ state, size, showWordCount, maxWords, className, value: controlledValue, defaultValue, onChange, disabled, ...props }: TextBoxProps): JSX.Element;
2500
3253
  export { TextBox }
2501
3254
  export { TextBox as TextBox_alias_1 }
@@ -2516,6 +3269,187 @@ export { TextBoxProps }
2516
3269
  export { TextBoxProps as TextBoxProps_alias_1 }
2517
3270
  export { TextBoxProps as TextBoxProps_alias_2 }
2518
3271
 
3272
+ declare function Timeline({ items, orientation, activeIndex, animated, lineStyle, className, }: TimelineProps): JSX.Element;
3273
+ export { Timeline }
3274
+ export { Timeline as Timeline_alias_1 }
3275
+ export { Timeline as Timeline_alias_2 }
3276
+ export { Timeline as Timeline_alias_3 }
3277
+
3278
+ declare interface TimelineAction {
3279
+ /** Button/link label */
3280
+ label: string;
3281
+ /** Leading icon */
3282
+ icon?: React_2.ReactNode;
3283
+ /** Click handler (renders a <button>) */
3284
+ onClick?: () => void;
3285
+ /** Destination URL — renders an <a> that opens in a new tab */
3286
+ href?: string;
3287
+ /** "primary" → solid right-aligned CTA; default → ghost left-aligned */
3288
+ variant?: "default" | "primary";
3289
+ }
3290
+ export { TimelineAction }
3291
+ export { TimelineAction as TimelineAction_alias_1 }
3292
+ export { TimelineAction as TimelineAction_alias_2 }
3293
+ export { TimelineAction as TimelineAction_alias_3 }
3294
+
3295
+ declare interface TimelineItem {
3296
+ /** Unique key */
3297
+ id?: string | number;
3298
+ /** Card title */
3299
+ title: string;
3300
+ /** Card description text or element */
3301
+ description?: React_2.ReactNode;
3302
+ /** Timestamp / label */
3303
+ date?: string;
3304
+ /** Custom icon inside the dot */
3305
+ icon?: React_2.ReactNode;
3306
+ /** Image URL — full-width header banner (top) or sidebar column (left) */
3307
+ image?: string;
3308
+ /** Where to display `image`: "top" = banner header (default) | "left" = sidebar beside content */
3309
+ imagePosition?: "top" | "left";
3310
+ /** Array of image URLs — mosaic gallery rendered below the description */
3311
+ images?: string[];
3312
+ /** Inline SVG string or React SVG element */
3313
+ svg?: React_2.ReactNode;
3314
+ /** Item status */
3315
+ status?: TimelineStatus;
3316
+ /** Action buttons shown in the card footer */
3317
+ actions?: TimelineAction[];
3318
+ /** Extra class for this item */
3319
+ className?: string;
3320
+ }
3321
+ export { TimelineItem }
3322
+ export { TimelineItem as TimelineItem_alias_1 }
3323
+ export { TimelineItem as TimelineItem_alias_2 }
3324
+ export { TimelineItem as TimelineItem_alias_3 }
3325
+ export { TimelineItem as TimelineItem_alias_4 }
3326
+
3327
+ declare type TimelineOrientation = "vertical" | "horizontal";
3328
+ export { TimelineOrientation }
3329
+ export { TimelineOrientation as TimelineOrientation_alias_1 }
3330
+ export { TimelineOrientation as TimelineOrientation_alias_2 }
3331
+ export { TimelineOrientation as TimelineOrientation_alias_3 }
3332
+ export { TimelineOrientation as TimelineOrientation_alias_4 }
3333
+
3334
+ declare interface TimelineProps {
3335
+ items: TimelineItem[];
3336
+ orientation?: TimelineOrientation;
3337
+ /** Index of the active item — will be scrolled into center view */
3338
+ activeIndex?: number;
3339
+ /** Animate items as they enter the viewport */
3340
+ animated?: boolean;
3341
+ /** Connector line style */
3342
+ lineStyle?: "solid" | "dashed";
3343
+ className?: string;
3344
+ }
3345
+ export { TimelineProps }
3346
+ export { TimelineProps as TimelineProps_alias_1 }
3347
+ export { TimelineProps as TimelineProps_alias_2 }
3348
+ export { TimelineProps as TimelineProps_alias_3 }
3349
+
3350
+ declare type TimelineStatus = "pending" | "active" | "complete" | "error";
3351
+ export { TimelineStatus }
3352
+ export { TimelineStatus as TimelineStatus_alias_1 }
3353
+ export { TimelineStatus as TimelineStatus_alias_2 }
3354
+ export { TimelineStatus as TimelineStatus_alias_3 }
3355
+ export { TimelineStatus as TimelineStatus_alias_4 }
3356
+
3357
+ declare interface ToastAction {
3358
+ label: string;
3359
+ onClick: () => void;
3360
+ }
3361
+ export { ToastAction }
3362
+ export { ToastAction as ToastAction_alias_1 }
3363
+ export { ToastAction as ToastAction_alias_2 }
3364
+ export { ToastAction as ToastAction_alias_3 }
3365
+
3366
+ declare const ToastContext: React_2.Context<ToastContextValue | null>;
3367
+ export { ToastContext }
3368
+ export { ToastContext as ToastContext_alias_1 }
3369
+ export { ToastContext as ToastContext_alias_2 }
3370
+ export { ToastContext as ToastContext_alias_3 }
3371
+
3372
+ declare interface ToastContextValue {
3373
+ /** Show a toast and return its generated id. */
3374
+ toast: (options: ToastOptions) => string;
3375
+ /** Dismiss a specific toast by id. */
3376
+ dismiss: (id: string) => void;
3377
+ /** Dismiss all currently visible toasts. */
3378
+ dismissAll: () => void;
3379
+ }
3380
+ export { ToastContextValue }
3381
+ export { ToastContextValue as ToastContextValue_alias_1 }
3382
+ export { ToastContextValue as ToastContextValue_alias_2 }
3383
+ export { ToastContextValue as ToastContextValue_alias_3 }
3384
+
3385
+ /** @internal Extended item type that tracks exit-animation state */
3386
+ declare interface ToastItem extends ToastProps {
3387
+ _exiting: boolean;
3388
+ }
3389
+ export { ToastItem }
3390
+ export { ToastItem as ToastItem_alias_1 }
3391
+
3392
+ declare type ToastOptions = Omit<ToastProps, "id">;
3393
+ export { ToastOptions }
3394
+ export { ToastOptions as ToastOptions_alias_1 }
3395
+ export { ToastOptions as ToastOptions_alias_2 }
3396
+ export { ToastOptions as ToastOptions_alias_3 }
3397
+
3398
+ declare type ToastPosition = "top-right" | "top-left" | "top-center" | "bottom-right" | "bottom-left" | "bottom-center";
3399
+ export { ToastPosition }
3400
+ export { ToastPosition as ToastPosition_alias_1 }
3401
+ export { ToastPosition as ToastPosition_alias_2 }
3402
+ export { ToastPosition as ToastPosition_alias_3 }
3403
+
3404
+ declare interface ToastProps {
3405
+ id: string;
3406
+ title?: string;
3407
+ description?: string;
3408
+ variant?: ToastVariant;
3409
+ /** Duration in milliseconds. Default: 4000. Pass 0 to persist indefinitely. */
3410
+ duration?: number;
3411
+ /** Show dismiss (×) button. Default: true. */
3412
+ dismissible?: boolean;
3413
+ action?: ToastAction;
3414
+ position?: ToastPosition;
3415
+ onDismiss?: (id: string) => void;
3416
+ }
3417
+ export { ToastProps }
3418
+ export { ToastProps as ToastProps_alias_1 }
3419
+ export { ToastProps as ToastProps_alias_2 }
3420
+ export { ToastProps as ToastProps_alias_3 }
3421
+
3422
+ declare function ToastProvider({ children, defaultPosition, defaultDuration, }: ToastProviderProps): JSX.Element;
3423
+ export { ToastProvider }
3424
+ export { ToastProvider as ToastProvider_alias_1 }
3425
+ export { ToastProvider as ToastProvider_alias_2 }
3426
+ export { ToastProvider as ToastProvider_alias_3 }
3427
+
3428
+ declare interface ToastProviderProps {
3429
+ children: React_2.ReactNode;
3430
+ /** Default position for toasts. Each toast call can override this. */
3431
+ defaultPosition?: ToastPosition;
3432
+ /** Default auto-dismiss duration in ms. Each toast call can override. */
3433
+ defaultDuration?: number;
3434
+ }
3435
+ export { ToastProviderProps }
3436
+ export { ToastProviderProps as ToastProviderProps_alias_1 }
3437
+ export { ToastProviderProps as ToastProviderProps_alias_2 }
3438
+ export { ToastProviderProps as ToastProviderProps_alias_3 }
3439
+
3440
+ declare type ToastVariant = "default" | "success" | "danger" | "warning" | "info";
3441
+ export { ToastVariant }
3442
+ export { ToastVariant as ToastVariant_alias_1 }
3443
+ export { ToastVariant as ToastVariant_alias_2 }
3444
+ export { ToastVariant as ToastVariant_alias_3 }
3445
+
3446
+ declare const toastVariants: (props?: ({
3447
+ variant?: "danger" | "warning" | "success" | "info" | "default" | null | undefined;
3448
+ } & ClassProp) | undefined) => string;
3449
+ export { toastVariants }
3450
+ export { toastVariants as toastVariants_alias_1 }
3451
+ export { toastVariants as toastVariants_alias_2 }
3452
+
2519
3453
  declare function Tooltip({ content, position, intent, delay, maxWidth, children, className, }: TooltipProps): JSX.Element;
2520
3454
  export { Tooltip }
2521
3455
  export { Tooltip as Tooltip_alias_1 }
@@ -2667,6 +3601,16 @@ export declare function useChartLegend(initialIds: string[]): {
2667
3601
  showAll: () => void;
2668
3602
  };
2669
3603
 
3604
+ export declare function useCommandPalette(commands: CommandItem[], open: boolean, onOpenChange: (v: boolean) => void, hotkey: boolean): {
3605
+ query: string;
3606
+ setQuery: Dispatch<SetStateAction<string>>;
3607
+ groups: CommandGroup[];
3608
+ filtered: CommandItem[];
3609
+ activeIndex: number;
3610
+ setActiveIndex: Dispatch<SetStateAction<number>>;
3611
+ handleKeyDown: (e: React.KeyboardEvent) => void;
3612
+ };
3613
+
2670
3614
  /**
2671
3615
  * Returns a `setSpin(target, tip?)` function.
2672
3616
  * Each call returns a **close** function to dismiss that specific overlay.
@@ -2676,6 +3620,27 @@ export { useSpin }
2676
3620
  export { useSpin as useSpin_alias_1 }
2677
3621
  export { useSpin as useSpin_alias_2 }
2678
3622
 
3623
+ /**
3624
+ * useToast — hook for triggering toasts from anywhere inside a <ToastProvider>.
3625
+ * Throws if called outside of a ToastProvider.
3626
+ */
3627
+ declare function useToast(): ToastContextValue;
3628
+ export { useToast }
3629
+ export { useToast as useToast_alias_1 }
3630
+ export { useToast as useToast_alias_2 }
3631
+ export { useToast as useToast_alias_3 }
3632
+
3633
+ /**
3634
+ * useToastManager — internal hook that owns all toast state and timers.
3635
+ * Used exclusively by ToastProvider.
3636
+ */
3637
+ export declare function useToastManager(defaultPosition: ToastPosition, defaultDuration: number): {
3638
+ items: ToastItem[];
3639
+ toast: (options: ToastOptions) => string;
3640
+ dismiss: (id: string) => void;
3641
+ dismissAll: () => void;
3642
+ };
3643
+
2679
3644
  /** Callback type for FormItem's `onValidate` prop. */
2680
3645
  declare type ValidateCallback = (value: unknown) => ValidationResult;
2681
3646
  export { ValidateCallback }