@mbao01/common 0.8.0 → 0.9.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 (276) hide show
  1. package/dist/types/components/ActivityFeed/ActivityFeed.d.ts +6 -0
  2. package/dist/types/components/ActivityFeed/constants.d.ts +6 -0
  3. package/dist/types/components/ActivityFeed/index.d.ts +2 -0
  4. package/dist/types/components/ActivityFeed/types.d.ts +21 -0
  5. package/dist/types/components/Amount/Amount.d.ts +6 -0
  6. package/dist/types/components/Amount/index.d.ts +2 -0
  7. package/dist/types/components/Amount/types.d.ts +19 -0
  8. package/dist/types/components/AnimatedCounter/AnimatedCounter.d.ts +6 -0
  9. package/dist/types/components/AnimatedCounter/index.d.ts +2 -0
  10. package/dist/types/components/AnimatedCounter/types.d.ts +13 -0
  11. package/dist/types/components/AnimatedGroup/AnimatedGroup.d.ts +6 -0
  12. package/dist/types/components/AnimatedGroup/index.d.ts +2 -0
  13. package/dist/types/components/AnimatedGroup/types.d.ts +22 -0
  14. package/dist/types/components/AnimatedList/AnimatedList.d.ts +6 -0
  15. package/dist/types/components/AnimatedList/index.d.ts +2 -0
  16. package/dist/types/components/AnimatedList/types.d.ts +13 -0
  17. package/dist/types/components/BorderBeam/BorderBeam.d.ts +6 -0
  18. package/dist/types/components/BorderBeam/index.d.ts +2 -0
  19. package/dist/types/components/BorderBeam/types.d.ts +13 -0
  20. package/dist/types/components/Box/Box.d.ts +4 -0
  21. package/dist/types/components/Box/constants.d.ts +4 -0
  22. package/dist/types/components/CalendarHeatmap/CalendarHeatmap.d.ts +6 -0
  23. package/dist/types/components/CalendarHeatmap/index.d.ts +2 -0
  24. package/dist/types/components/CalendarHeatmap/types.d.ts +25 -0
  25. package/dist/types/components/Chart/components/ChartLegend.d.ts +1 -2
  26. package/dist/types/components/Chart/stories/args/index.d.ts +1 -1
  27. package/dist/types/components/Chart/stories/examples/AreaChart.d.ts +6 -0
  28. package/dist/types/components/Chart/stories/examples/BarChart.d.ts +11 -0
  29. package/dist/types/components/Chart/stories/examples/LineChart.d.ts +10 -0
  30. package/dist/types/components/Chart/stories/examples/PieChart.d.ts +5 -0
  31. package/dist/types/components/Chart/stories/examples/RadialChart.d.ts +5 -0
  32. package/dist/types/components/Chart/types.d.ts +1 -1
  33. package/dist/types/components/CircularProgress/CircularProgress.d.ts +6 -0
  34. package/dist/types/components/CircularProgress/constants.d.ts +5 -0
  35. package/dist/types/components/CircularProgress/index.d.ts +2 -0
  36. package/dist/types/components/CircularProgress/types.d.ts +17 -0
  37. package/dist/types/components/ComparisonBar/ComparisonBar.d.ts +6 -0
  38. package/dist/types/components/ComparisonBar/constants.d.ts +4 -0
  39. package/dist/types/components/ComparisonBar/index.d.ts +2 -0
  40. package/dist/types/components/ComparisonBar/types.d.ts +21 -0
  41. package/dist/types/components/Confetti/Confetti.d.ts +6 -0
  42. package/dist/types/components/Confetti/index.d.ts +2 -0
  43. package/dist/types/components/Confetti/types.d.ts +19 -0
  44. package/dist/types/components/CountdownTimer/CountdownTimer.d.ts +6 -0
  45. package/dist/types/components/CountdownTimer/index.d.ts +2 -0
  46. package/dist/types/components/CountdownTimer/types.d.ts +13 -0
  47. package/dist/types/components/DataList/DataList.d.ts +6 -0
  48. package/dist/types/components/DataList/constants.d.ts +12 -0
  49. package/dist/types/components/DataList/index.d.ts +2 -0
  50. package/dist/types/components/DataList/types.d.ts +15 -0
  51. package/dist/types/components/DatePicker/DateRangePresetPicker.d.ts +2 -0
  52. package/dist/types/components/DatePicker/index.d.ts +1 -0
  53. package/dist/types/components/DatePicker/types.d.ts +19 -0
  54. package/dist/types/components/Description/Description.d.ts +2 -1
  55. package/dist/types/components/Description/DescriptionGroup.d.ts +6 -0
  56. package/dist/types/components/Description/constants.d.ts +23 -0
  57. package/dist/types/components/Description/index.d.ts +2 -0
  58. package/dist/types/components/Description/types.d.ts +28 -3
  59. package/dist/types/components/Form/DatetimeInput/DatetimeInput.d.ts +1 -1
  60. package/dist/types/components/GlowCard/GlowCard.d.ts +6 -0
  61. package/dist/types/components/GlowCard/index.d.ts +2 -0
  62. package/dist/types/components/GlowCard/types.d.ts +8 -0
  63. package/dist/types/components/GradientText/GradientText.d.ts +6 -0
  64. package/dist/types/components/GradientText/index.d.ts +2 -0
  65. package/dist/types/components/GradientText/types.d.ts +14 -0
  66. package/dist/types/components/Greeting/Greeting.d.ts +6 -0
  67. package/dist/types/components/Greeting/index.d.ts +2 -0
  68. package/dist/types/components/Greeting/types.d.ts +9 -0
  69. package/dist/types/components/KPICard/KPICard.d.ts +6 -0
  70. package/dist/types/components/KPICard/index.d.ts +2 -0
  71. package/dist/types/components/KPICard/types.d.ts +21 -0
  72. package/dist/types/components/Marquee/Marquee.d.ts +6 -0
  73. package/dist/types/components/Marquee/index.d.ts +2 -0
  74. package/dist/types/components/Marquee/types.d.ts +12 -0
  75. package/dist/types/components/Meteors/Meteors.d.ts +6 -0
  76. package/dist/types/components/Meteors/index.d.ts +2 -0
  77. package/dist/types/components/Meteors/types.d.ts +5 -0
  78. package/dist/types/components/MiniAreaChart/MiniAreaChart.d.ts +6 -0
  79. package/dist/types/components/MiniAreaChart/index.d.ts +2 -0
  80. package/dist/types/components/MiniAreaChart/types.d.ts +10 -0
  81. package/dist/types/components/MiniBarChart/MiniBarChart.d.ts +6 -0
  82. package/dist/types/components/MiniBarChart/index.d.ts +2 -0
  83. package/dist/types/components/MiniBarChart/types.d.ts +15 -0
  84. package/dist/types/components/MiniDonutChart/MiniDonutChart.d.ts +6 -0
  85. package/dist/types/components/MiniDonutChart/index.d.ts +2 -0
  86. package/dist/types/components/MiniDonutChart/types.d.ts +15 -0
  87. package/dist/types/components/MiniStackedBar/MiniStackedBar.d.ts +6 -0
  88. package/dist/types/components/MiniStackedBar/index.d.ts +2 -0
  89. package/dist/types/components/MiniStackedBar/types.d.ts +13 -0
  90. package/dist/types/components/NumberTicker/NumberTicker.d.ts +6 -0
  91. package/dist/types/components/NumberTicker/index.d.ts +2 -0
  92. package/dist/types/components/NumberTicker/types.d.ts +11 -0
  93. package/dist/types/components/Pulse/Pulse.d.ts +6 -0
  94. package/dist/types/components/Pulse/constants.d.ts +10 -0
  95. package/dist/types/components/Pulse/index.d.ts +2 -0
  96. package/dist/types/components/Pulse/types.d.ts +11 -0
  97. package/dist/types/components/Resizable/Resizable.d.ts +1 -1
  98. package/dist/types/components/ShinyButton/ShinyButton.d.ts +6 -0
  99. package/dist/types/components/ShinyButton/index.d.ts +2 -0
  100. package/dist/types/components/ShinyButton/types.d.ts +4 -0
  101. package/dist/types/components/Sparkline/Sparkline.d.ts +6 -0
  102. package/dist/types/components/Sparkline/index.d.ts +2 -0
  103. package/dist/types/components/Sparkline/types.d.ts +17 -0
  104. package/dist/types/components/SpotlightCard/SpotlightCard.d.ts +6 -0
  105. package/dist/types/components/SpotlightCard/index.d.ts +2 -0
  106. package/dist/types/components/SpotlightCard/types.d.ts +7 -0
  107. package/dist/types/components/StatCard/StatCard.d.ts +6 -0
  108. package/dist/types/components/StatCard/index.d.ts +2 -0
  109. package/dist/types/components/StatCard/types.d.ts +15 -0
  110. package/dist/types/components/TextShimmer/TextShimmer.d.ts +6 -0
  111. package/dist/types/components/TextShimmer/index.d.ts +2 -0
  112. package/dist/types/components/TextShimmer/types.d.ts +7 -0
  113. package/dist/types/components/TrendBadge/TrendBadge.d.ts +6 -0
  114. package/dist/types/components/TrendBadge/constants.d.ts +7 -0
  115. package/dist/types/components/TrendBadge/index.d.ts +2 -0
  116. package/dist/types/components/TrendBadge/types.d.ts +15 -0
  117. package/dist/types/components/WidgetShell/WidgetShell.d.ts +6 -0
  118. package/dist/types/components/WidgetShell/index.d.ts +2 -0
  119. package/dist/types/components/WidgetShell/types.d.ts +20 -0
  120. package/dist/types/index.d.ts +33 -0
  121. package/package.json +58 -58
  122. package/src/components/Accordion/constants.ts +1 -1
  123. package/src/components/ActivityFeed/ActivityFeed.tsx +51 -0
  124. package/src/components/ActivityFeed/constants.ts +19 -0
  125. package/src/components/ActivityFeed/index.ts +2 -0
  126. package/src/components/ActivityFeed/types.ts +23 -0
  127. package/src/components/Alert/constants.ts +1 -1
  128. package/src/components/AlertDialog/constants.ts +1 -1
  129. package/src/components/Amount/Amount.tsx +50 -0
  130. package/src/components/Amount/index.ts +2 -0
  131. package/src/components/Amount/types.ts +20 -0
  132. package/src/components/AnimatedCounter/AnimatedCounter.tsx +68 -0
  133. package/src/components/AnimatedCounter/index.ts +2 -0
  134. package/src/components/AnimatedCounter/types.ts +14 -0
  135. package/src/components/AnimatedGroup/AnimatedGroup.tsx +97 -0
  136. package/src/components/AnimatedGroup/index.ts +2 -0
  137. package/src/components/AnimatedGroup/types.ts +21 -0
  138. package/src/components/AnimatedList/AnimatedList.tsx +42 -0
  139. package/src/components/AnimatedList/index.ts +2 -0
  140. package/src/components/AnimatedList/types.ts +15 -0
  141. package/src/components/Badge/constants.ts +1 -1
  142. package/src/components/Banner/constants.ts +1 -1
  143. package/src/components/BorderBeam/BorderBeam.tsx +41 -0
  144. package/src/components/BorderBeam/index.ts +2 -0
  145. package/src/components/BorderBeam/types.ts +14 -0
  146. package/src/components/Box/Box.tsx +8 -2
  147. package/src/components/Box/constants.ts +35 -0
  148. package/src/components/Button/constants.ts +66 -63
  149. package/src/components/CalendarHeatmap/CalendarHeatmap.tsx +141 -0
  150. package/src/components/CalendarHeatmap/index.ts +2 -0
  151. package/src/components/CalendarHeatmap/types.ts +27 -0
  152. package/src/components/Card/constants.ts +24 -21
  153. package/src/components/Carousel/constants.ts +2 -2
  154. package/src/components/Chart/components/ChartTooltip.tsx +1 -1
  155. package/src/components/Chart/stories/args/index.ts +2 -1
  156. package/src/components/Chart/stories/examples/AreaChart.tsx +55 -0
  157. package/src/components/Chart/stories/examples/BarChart.tsx +104 -6
  158. package/src/components/Chart/stories/examples/LineChart.tsx +111 -0
  159. package/src/components/Chart/stories/examples/PieChart.tsx +55 -0
  160. package/src/components/Chart/stories/examples/RadialChart.tsx +65 -0
  161. package/src/components/Chart/types.ts +1 -1
  162. package/src/components/CircularProgress/CircularProgress.tsx +46 -0
  163. package/src/components/CircularProgress/constants.ts +32 -0
  164. package/src/components/CircularProgress/index.ts +2 -0
  165. package/src/components/CircularProgress/types.ts +18 -0
  166. package/src/components/Command/constants.ts +1 -1
  167. package/src/components/ComparisonBar/ComparisonBar.tsx +65 -0
  168. package/src/components/ComparisonBar/constants.ts +23 -0
  169. package/src/components/ComparisonBar/index.ts +2 -0
  170. package/src/components/ComparisonBar/types.ts +23 -0
  171. package/src/components/Confetti/Confetti.tsx +82 -0
  172. package/src/components/Confetti/index.ts +2 -0
  173. package/src/components/Confetti/types.ts +20 -0
  174. package/src/components/CountdownTimer/CountdownTimer.tsx +91 -0
  175. package/src/components/CountdownTimer/index.ts +2 -0
  176. package/src/components/CountdownTimer/types.ts +14 -0
  177. package/src/components/DataList/DataList.tsx +32 -0
  178. package/src/components/DataList/constants.ts +47 -0
  179. package/src/components/DataList/index.ts +2 -0
  180. package/src/components/DataList/types.ts +17 -0
  181. package/src/components/DatePicker/DateRangePresetPicker.tsx +122 -0
  182. package/src/components/DatePicker/index.ts +1 -0
  183. package/src/components/DatePicker/types.ts +22 -0
  184. package/src/components/Description/Description.tsx +67 -5
  185. package/src/components/Description/DescriptionGroup.tsx +39 -0
  186. package/src/components/Description/constants.ts +128 -0
  187. package/src/components/Description/index.ts +10 -0
  188. package/src/components/Description/types.ts +31 -3
  189. package/src/components/Dialog/constants.ts +2 -2
  190. package/src/components/Dock/constants.ts +2 -2
  191. package/src/components/Drawer/constants.ts +2 -2
  192. package/src/components/Form/Checkbox/constants.ts +1 -1
  193. package/src/components/Form/DatetimeInput/constants.ts +1 -1
  194. package/src/components/Form/Input/constants.ts +1 -1
  195. package/src/components/Form/MultiSelect/constants.ts +1 -1
  196. package/src/components/Form/NativeSelect/constants.ts +1 -1
  197. package/src/components/Form/Radio/constants.ts +1 -1
  198. package/src/components/Form/Select/constants.ts +1 -1
  199. package/src/components/Form/Slider/constants.ts +1 -1
  200. package/src/components/Form/Switch/constants.ts +1 -1
  201. package/src/components/Form/Textarea/constants.ts +1 -1
  202. package/src/components/GlowCard/GlowCard.tsx +46 -0
  203. package/src/components/GlowCard/index.ts +2 -0
  204. package/src/components/GlowCard/types.ts +9 -0
  205. package/src/components/GradientText/GradientText.tsx +36 -0
  206. package/src/components/GradientText/index.ts +2 -0
  207. package/src/components/GradientText/types.ts +15 -0
  208. package/src/components/Greeting/Greeting.tsx +46 -0
  209. package/src/components/Greeting/index.ts +2 -0
  210. package/src/components/Greeting/types.ts +10 -0
  211. package/src/components/KPICard/KPICard.tsx +85 -0
  212. package/src/components/KPICard/index.ts +2 -0
  213. package/src/components/KPICard/types.ts +22 -0
  214. package/src/components/Marquee/Marquee.tsx +45 -0
  215. package/src/components/Marquee/index.ts +2 -0
  216. package/src/components/Marquee/types.ts +13 -0
  217. package/src/components/Menu/Menubar/constants.ts +2 -2
  218. package/src/components/Menu/NavigationMenu/constants.ts +2 -2
  219. package/src/components/Meteors/Meteors.tsx +38 -0
  220. package/src/components/Meteors/index.ts +2 -0
  221. package/src/components/Meteors/types.ts +6 -0
  222. package/src/components/MiniAreaChart/MiniAreaChart.tsx +68 -0
  223. package/src/components/MiniAreaChart/index.ts +2 -0
  224. package/src/components/MiniAreaChart/types.ts +11 -0
  225. package/src/components/MiniBarChart/MiniBarChart.tsx +49 -0
  226. package/src/components/MiniBarChart/index.ts +2 -0
  227. package/src/components/MiniBarChart/types.ts +16 -0
  228. package/src/components/MiniDonutChart/MiniDonutChart.tsx +87 -0
  229. package/src/components/MiniDonutChart/index.ts +2 -0
  230. package/src/components/MiniDonutChart/types.ts +17 -0
  231. package/src/components/MiniStackedBar/MiniStackedBar.tsx +61 -0
  232. package/src/components/MiniStackedBar/index.ts +2 -0
  233. package/src/components/MiniStackedBar/types.ts +15 -0
  234. package/src/components/NumberTicker/NumberTicker.tsx +58 -0
  235. package/src/components/NumberTicker/index.ts +2 -0
  236. package/src/components/NumberTicker/types.ts +12 -0
  237. package/src/components/Pagination/constants.ts +2 -2
  238. package/src/components/Progress/constants.ts +1 -1
  239. package/src/components/Pulse/Pulse.tsx +26 -0
  240. package/src/components/Pulse/constants.ts +55 -0
  241. package/src/components/Pulse/index.ts +2 -0
  242. package/src/components/Pulse/types.ts +12 -0
  243. package/src/components/Resizable/constants.ts +1 -1
  244. package/src/components/Sheet/constants.ts +1 -1
  245. package/src/components/ShinyButton/ShinyButton.tsx +57 -0
  246. package/src/components/ShinyButton/index.ts +2 -0
  247. package/src/components/ShinyButton/types.ts +8 -0
  248. package/src/components/Skeleton/constants.ts +1 -1
  249. package/src/components/Sonner/constants.ts +1 -1
  250. package/src/components/Sparkline/Sparkline.tsx +108 -0
  251. package/src/components/Sparkline/index.ts +2 -0
  252. package/src/components/Sparkline/types.ts +18 -0
  253. package/src/components/SpotlightCard/SpotlightCard.tsx +56 -0
  254. package/src/components/SpotlightCard/index.ts +2 -0
  255. package/src/components/SpotlightCard/types.ts +8 -0
  256. package/src/components/Stat/constants.ts +1 -1
  257. package/src/components/StatCard/StatCard.tsx +59 -0
  258. package/src/components/StatCard/index.ts +2 -0
  259. package/src/components/StatCard/types.ts +16 -0
  260. package/src/components/Tabs/constants.ts +1 -1
  261. package/src/components/TextShimmer/TextShimmer.tsx +34 -0
  262. package/src/components/TextShimmer/index.ts +2 -0
  263. package/src/components/TextShimmer/types.ts +8 -0
  264. package/src/components/Timeline/constants.ts +1 -1
  265. package/src/components/Toggle/constants.ts +1 -1
  266. package/src/components/Tooltip/constants.ts +1 -1
  267. package/src/components/TrendBadge/TrendBadge.tsx +40 -0
  268. package/src/components/TrendBadge/constants.ts +38 -0
  269. package/src/components/TrendBadge/index.ts +2 -0
  270. package/src/components/TrendBadge/types.ts +16 -0
  271. package/src/components/WidgetShell/WidgetShell.tsx +101 -0
  272. package/src/components/WidgetShell/index.ts +2 -0
  273. package/src/components/WidgetShell/types.ts +22 -0
  274. package/src/index.ts +35 -0
  275. package/src/stylesheets/tailwind.css +210 -0
  276. package/src/utilities/getSubpaths/getSubpaths.ts +1 -2
@@ -1,3 +1,28 @@
1
- export type DescriptionProps = React.HTMLAttributes<HTMLDListElement>;
2
- export type DescriptionTermProps = React.HTMLAttributes<HTMLElement>;
3
- export type DescriptionDetailProps = React.HTMLAttributes<HTMLElement>;
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type DescriptionSize = "sm" | "md" | "lg";
3
+ export type DescriptionLayout = "vertical" | "horizontal" | "inline";
4
+ export type DescriptionVariant = "default" | "card" | "subtle";
5
+ export type DescriptionProps = HTMLAttributes<HTMLDListElement> & {
6
+ /** Visual variant */
7
+ variant?: DescriptionVariant;
8
+ /** Layout direction */
9
+ layout?: DescriptionLayout;
10
+ /** Size preset */
11
+ size?: DescriptionSize;
12
+ /** Show dividers between items */
13
+ dividers?: boolean;
14
+ /** Alternate row shading */
15
+ striped?: boolean;
16
+ };
17
+ export type DescriptionTermProps = HTMLAttributes<HTMLElement>;
18
+ export type DescriptionDetailProps = HTMLAttributes<HTMLElement>;
19
+ export type DescriptionGroupProps = HTMLAttributes<HTMLDivElement> & {
20
+ /** Direction to stack descriptions */
21
+ direction?: "row" | "column";
22
+ /** Show dividers between descriptions */
23
+ dividers?: boolean;
24
+ /** Optional heading for the group */
25
+ title?: ReactNode;
26
+ /** Optional subheading */
27
+ description?: ReactNode;
28
+ };
@@ -27,6 +27,7 @@ export declare const DatetimeInput: import('react').ForwardRefExoticComponent<{
27
27
  footer?: import('react').ReactNode;
28
28
  animate?: boolean | undefined;
29
29
  month?: Date | undefined;
30
+ locale?: Partial<import('react-day-picker').DayPickerLocale> | undefined;
30
31
  classNames?: (Partial<import('react-day-picker').ClassNames> & Partial<import('react-day-picker').DeprecatedUI<string>>) | undefined;
31
32
  showOutsideDays?: boolean | undefined;
32
33
  required?: boolean | undefined | undefined;
@@ -63,7 +64,6 @@ export declare const DatetimeInput: import('react').ForwardRefExoticComponent<{
63
64
  modifiers?: Record<string, import('react-day-picker').Matcher | import('react-day-picker').Matcher[] | undefined> | undefined;
64
65
  labels?: Partial<import('react-day-picker').Labels> | undefined;
65
66
  formatters?: Partial<import('react-day-picker').Formatters> | undefined;
66
- locale?: Partial<import('react-day-picker').DayPickerLocale> | undefined;
67
67
  numerals?: import('react-day-picker').Numerals | undefined;
68
68
  weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined | undefined;
69
69
  firstWeekContainsDate?: 1 | 4 | undefined;
@@ -0,0 +1,6 @@
1
+ import { GlowCardProps } from './types';
2
+ declare const GlowCard: {
3
+ ({ children, className, gradientFrom, gradientVia, gradientTo, ...props }: GlowCardProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { GlowCard };
@@ -0,0 +1,2 @@
1
+ export { GlowCard } from './GlowCard';
2
+ export type { GlowCardProps } from './types';
@@ -0,0 +1,8 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type GlowCardProps = HTMLAttributes<HTMLDivElement> & {
3
+ children: ReactNode;
4
+ /** Gradient colors for the glow border */
5
+ gradientFrom?: string;
6
+ gradientVia?: string;
7
+ gradientTo?: string;
8
+ };
@@ -0,0 +1,6 @@
1
+ import { GradientTextProps } from './types';
2
+ declare const GradientText: {
3
+ ({ children, className, from, via, to, angle, animated, ...props }: GradientTextProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { GradientText };
@@ -0,0 +1,2 @@
1
+ export { GradientText } from './GradientText';
2
+ export type { GradientTextProps } from './types';
@@ -0,0 +1,14 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type GradientTextProps = HTMLAttributes<HTMLSpanElement> & {
3
+ children: ReactNode;
4
+ /** Gradient start color */
5
+ from?: string;
6
+ /** Gradient middle color */
7
+ via?: string;
8
+ /** Gradient end color */
9
+ to?: string;
10
+ /** Gradient direction in degrees */
11
+ angle?: number;
12
+ /** Whether to animate the gradient */
13
+ animated?: boolean;
14
+ };
@@ -0,0 +1,6 @@
1
+ import { GreetingProps } from './types';
2
+ declare const Greeting: {
3
+ ({ name, className, subtitle, greeting: customGreeting, ...props }: GreetingProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { Greeting };
@@ -0,0 +1,2 @@
1
+ export { Greeting } from './Greeting';
2
+ export type { GreetingProps } from './types';
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type GreetingProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
3
+ /** User's name */
4
+ name: string;
5
+ /** Optional subtitle/context line */
6
+ subtitle?: string;
7
+ /** Custom greeting override (bypasses time-based greeting) */
8
+ greeting?: string;
9
+ };
@@ -0,0 +1,6 @@
1
+ import { KPICardProps } from './types';
2
+ declare const KPICard: {
3
+ ({ title, value, change, description, sparklineData, sparklineColor, sparklineFilled, icon, loading, className, ...props }: KPICardProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { KPICard };
@@ -0,0 +1,2 @@
1
+ export { KPICard } from './KPICard';
2
+ export type { KPICardProps } from './types';
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type KPICardProps = HTMLAttributes<HTMLDivElement> & {
3
+ /** Card title/label */
4
+ title: string;
5
+ /** Primary value to display */
6
+ value: ReactNode;
7
+ /** Trend change percentage */
8
+ change?: number;
9
+ /** Description text below value */
10
+ description?: string;
11
+ /** Sparkline data points */
12
+ sparklineData?: number[];
13
+ /** Sparkline color */
14
+ sparklineColor?: string;
15
+ /** Whether sparkline is filled */
16
+ sparklineFilled?: boolean;
17
+ /** Icon to show in the card */
18
+ icon?: ReactNode;
19
+ /** Loading state */
20
+ loading?: boolean;
21
+ };
@@ -0,0 +1,6 @@
1
+ import { MarqueeProps } from './types';
2
+ declare const Marquee: {
3
+ ({ children, className, speed, direction, pauseOnHover, gap, ...props }: MarqueeProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { Marquee };
@@ -0,0 +1,2 @@
1
+ export { Marquee } from './Marquee';
2
+ export type { MarqueeProps } from './types';
@@ -0,0 +1,12 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type MarqueeProps = HTMLAttributes<HTMLDivElement> & {
3
+ children: ReactNode;
4
+ /** Speed in pixels per second */
5
+ speed?: number;
6
+ /** Direction of scroll */
7
+ direction?: "left" | "right";
8
+ /** Pause on hover */
9
+ pauseOnHover?: boolean;
10
+ /** Gap between repeated items */
11
+ gap?: number;
12
+ };
@@ -0,0 +1,6 @@
1
+ import { MeteorsProps } from './types';
2
+ declare const Meteors: {
3
+ ({ className, count, ...props }: MeteorsProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { Meteors };
@@ -0,0 +1,2 @@
1
+ export { Meteors } from './Meteors';
2
+ export type { MeteorsProps } from './types';
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type MeteorsProps = HTMLAttributes<HTMLDivElement> & {
3
+ /** Number of meteors to render */
4
+ count?: number;
5
+ };
@@ -0,0 +1,6 @@
1
+ import { MiniAreaChartProps } from './types';
2
+ declare const MiniAreaChart: {
3
+ ({ data, className, width, height, color, gradientOpacity, strokeWidth, ...props }: MiniAreaChartProps): import("react/jsx-runtime").JSX.Element | null;
4
+ displayName: string;
5
+ };
6
+ export { MiniAreaChart };
@@ -0,0 +1,2 @@
1
+ export { MiniAreaChart } from './MiniAreaChart';
2
+ export type { MiniAreaChartProps } from './types';
@@ -0,0 +1,10 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type MiniAreaChartProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
3
+ data: number[];
4
+ width?: number;
5
+ height?: number;
6
+ color?: string;
7
+ /** Gradient opacity at the bottom */
8
+ gradientOpacity?: number;
9
+ strokeWidth?: number;
10
+ };
@@ -0,0 +1,6 @@
1
+ import { MiniBarChartProps } from './types';
2
+ declare const MiniBarChart: {
3
+ ({ data, className, width, height, color, highlightLast, gap, ...props }: MiniBarChartProps): import("react/jsx-runtime").JSX.Element | null;
4
+ displayName: string;
5
+ };
6
+ export { MiniBarChart };
@@ -0,0 +1,2 @@
1
+ export { MiniBarChart } from './MiniBarChart';
2
+ export type { MiniBarChartProps } from './types';
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type MiniBarChartProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
3
+ /** Array of numeric values */
4
+ data: number[];
5
+ /** Width in pixels */
6
+ width?: number;
7
+ /** Height in pixels */
8
+ height?: number;
9
+ /** Bar color */
10
+ color?: string;
11
+ /** Whether to highlight the last bar */
12
+ highlightLast?: boolean;
13
+ /** Gap between bars in pixels */
14
+ gap?: number;
15
+ };
@@ -0,0 +1,6 @@
1
+ import { MiniDonutChartProps } from './types';
2
+ declare const MiniDonutChart: {
3
+ ({ segments, className, size, thickness, label, ...props }: MiniDonutChartProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { MiniDonutChart };
@@ -0,0 +1,2 @@
1
+ export { MiniDonutChart } from './MiniDonutChart';
2
+ export type { MiniDonutChartProps, DonutSegment } from './types';
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type DonutSegment = {
3
+ value: number;
4
+ color?: string;
5
+ label?: string;
6
+ };
7
+ export type MiniDonutChartProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
8
+ segments: DonutSegment[];
9
+ /** Size in pixels */
10
+ size?: number;
11
+ /** Ring thickness as percentage of radius (0-1) */
12
+ thickness?: number;
13
+ /** Center label */
14
+ label?: ReactNode;
15
+ };
@@ -0,0 +1,6 @@
1
+ import { MiniStackedBarProps } from './types';
2
+ declare const MiniStackedBar: {
3
+ ({ segments, className, height, showLabels, ...props }: MiniStackedBarProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { MiniStackedBar };
@@ -0,0 +1,2 @@
1
+ export { MiniStackedBar } from './MiniStackedBar';
2
+ export type { MiniStackedBarProps, StackedSegment } from './types';
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type StackedSegment = {
3
+ value: number;
4
+ color?: string;
5
+ label?: string;
6
+ };
7
+ export type MiniStackedBarProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
8
+ segments: StackedSegment[];
9
+ /** Height in pixels */
10
+ height?: number;
11
+ /** Whether to show percentage labels below */
12
+ showLabels?: boolean;
13
+ };
@@ -0,0 +1,6 @@
1
+ import { NumberTickerProps } from './types';
2
+ declare const NumberTicker: {
3
+ ({ value, className, duration, decimalPlaces, delay, ...props }: NumberTickerProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { NumberTicker };
@@ -0,0 +1,2 @@
1
+ export { NumberTicker } from './NumberTicker';
2
+ export type { NumberTickerProps } from './types';
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type NumberTickerProps = Omit<HTMLAttributes<HTMLSpanElement>, "children"> & {
3
+ /** The target number to count to */
4
+ value: number;
5
+ /** Duration of the animation in seconds */
6
+ duration?: number;
7
+ /** Decimal places to show */
8
+ decimalPlaces?: number;
9
+ /** Delay before animation starts in seconds */
10
+ delay?: number;
11
+ };
@@ -0,0 +1,6 @@
1
+ import { PulseProps } from './types';
2
+ declare const Pulse: {
3
+ ({ variant, size, animated, label, className, ...props }: PulseProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { Pulse };
@@ -0,0 +1,10 @@
1
+ export declare const getPulseClasses: (props?: ({
2
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ export declare const getPulseDotClasses: (props?: ({
5
+ variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
6
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ export declare const getPulseRingClasses: (props?: ({
9
+ variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Pulse } from './Pulse';
2
+ export type { PulseProps } from './types';
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type PulseProps = HTMLAttributes<HTMLSpanElement> & {
3
+ /** Color variant */
4
+ variant?: "success" | "error" | "warning" | "info" | "primary" | "secondary" | "accent" | "neutral";
5
+ /** Size variant */
6
+ size?: "xs" | "sm" | "md" | "lg";
7
+ /** Whether to animate */
8
+ animated?: boolean;
9
+ /** Optional label text */
10
+ label?: string;
11
+ };
@@ -2,7 +2,7 @@ import { ResizableHandleProps, ResizableProps } from './types';
2
2
  import * as ResizablePrimitive from "react-resizable-panels";
3
3
  declare const Resizable: {
4
4
  ({ className, ...props }: ResizableProps): import("react/jsx-runtime").JSX.Element;
5
- Panel: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLElement | HTMLAnchorElement | HTMLSpanElement | HTMLButtonElement | HTMLUListElement | HTMLLIElement | HTMLOListElement | HTMLObjectElement | HTMLLinkElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLMapElement | HTMLDialogElement | HTMLFormElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLTimeElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
5
+ Panel: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLElement | HTMLAnchorElement | HTMLSpanElement | HTMLButtonElement | HTMLFormElement | HTMLUListElement | HTMLLIElement | HTMLOListElement | HTMLObjectElement | HTMLLinkElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLMapElement | HTMLDialogElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLTimeElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
6
6
  className?: string;
7
7
  collapsedSize?: number | undefined;
8
8
  collapsible?: boolean | undefined;
@@ -0,0 +1,6 @@
1
+ import { ShinyButtonProps } from './types';
2
+ declare const ShinyButton: {
3
+ ({ children, className, ...props }: ShinyButtonProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { ShinyButton };
@@ -0,0 +1,2 @@
1
+ export { ShinyButton } from './ShinyButton';
2
+ export type { ShinyButtonProps } from './types';
@@ -0,0 +1,4 @@
1
+ import { ButtonHTMLAttributes, ReactNode } from 'react';
2
+ export type ShinyButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart"> & {
3
+ children: ReactNode;
4
+ };
@@ -0,0 +1,6 @@
1
+ import { SparklineProps } from './types';
2
+ declare const Sparkline: {
3
+ ({ data, className, width, height, color, filled, strokeWidth, animated, ...props }: SparklineProps): import("react/jsx-runtime").JSX.Element | null;
4
+ displayName: string;
5
+ };
6
+ export { Sparkline };
@@ -0,0 +1,2 @@
1
+ export { Sparkline } from './Sparkline';
2
+ export type { SparklineProps } from './types';
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type SparklineProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
3
+ /** Array of numeric data points */
4
+ data: number[];
5
+ /** Width of the sparkline in pixels */
6
+ width?: number;
7
+ /** Height of the sparkline in pixels */
8
+ height?: number;
9
+ /** Stroke color (CSS color value) */
10
+ color?: string;
11
+ /** Whether to show a filled area under the line */
12
+ filled?: boolean;
13
+ /** Stroke width in pixels */
14
+ strokeWidth?: number;
15
+ /** Whether to animate the line drawing */
16
+ animated?: boolean;
17
+ };
@@ -0,0 +1,6 @@
1
+ import { SpotlightCardProps } from './types';
2
+ declare const SpotlightCard: {
3
+ ({ children, className, spotlightColor, spotlightSize, ...props }: SpotlightCardProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { SpotlightCard };
@@ -0,0 +1,2 @@
1
+ export { SpotlightCard } from './SpotlightCard';
2
+ export type { SpotlightCardProps } from './types';
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type SpotlightCardProps = HTMLAttributes<HTMLDivElement> & {
3
+ /** Spotlight gradient color */
4
+ spotlightColor?: string;
5
+ /** Size of the spotlight in pixels */
6
+ spotlightSize?: number;
7
+ };
@@ -0,0 +1,6 @@
1
+ import { StatCardProps } from './types';
2
+ declare const StatCard: {
3
+ ({ icon, title, value, description, trend, trendLabel, className, ...props }: StatCardProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { StatCard };
@@ -0,0 +1,2 @@
1
+ export { StatCard } from './StatCard';
2
+ export type { StatCardProps } from './types';
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type StatCardProps = Omit<HTMLAttributes<HTMLDivElement>, "title"> & {
3
+ /** Icon element rendered in the lifted badge */
4
+ icon?: ReactNode;
5
+ /** Stat label / title */
6
+ title: ReactNode;
7
+ /** Main stat value */
8
+ value: ReactNode;
9
+ /** Description text below the value */
10
+ description?: ReactNode;
11
+ /** Trend value (e.g. "+9.8%") — colored green if positive, red if negative */
12
+ trend?: string;
13
+ /** Description shown next to the trend */
14
+ trendLabel?: string;
15
+ };
@@ -0,0 +1,6 @@
1
+ import { TextShimmerProps } from './types';
2
+ declare const TextShimmer: {
3
+ ({ children, className, duration, spread, ...props }: TextShimmerProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { TextShimmer };
@@ -0,0 +1,2 @@
1
+ export { TextShimmer } from './TextShimmer';
2
+ export type { TextShimmerProps } from './types';
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type TextShimmerProps = HTMLAttributes<HTMLParagraphElement> & {
3
+ /** Duration of the shimmer animation in seconds */
4
+ duration?: number;
5
+ /** Spread of the shimmer gradient (0-1) */
6
+ spread?: number;
7
+ };
@@ -0,0 +1,6 @@
1
+ import { TrendBadgeProps } from './types';
2
+ declare const TrendBadge: {
3
+ ({ value, className, decimalPlaces, showPercent, showIcon, size, trend: trendOverride, ...props }: TrendBadgeProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { TrendBadge };
@@ -0,0 +1,7 @@
1
+ export declare const getTrendBadgeClasses: (props?: ({
2
+ trend?: "neutral" | "up" | "down" | null | undefined;
3
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export declare const getTrendIconClasses: (props?: ({
6
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { TrendBadge } from './TrendBadge';
2
+ export type { TrendBadgeProps } from './types';
@@ -0,0 +1,15 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export type TrendBadgeProps = Omit<HTMLAttributes<HTMLSpanElement>, "children"> & {
3
+ /** The change value (positive = up, negative = down, zero = neutral) */
4
+ value: number;
5
+ /** Number of decimal places to display */
6
+ decimalPlaces?: number;
7
+ /** Whether to show the percentage sign */
8
+ showPercent?: boolean;
9
+ /** Whether to show the trend arrow icon */
10
+ showIcon?: boolean;
11
+ /** Size variant */
12
+ size?: "xs" | "sm" | "md" | "lg";
13
+ /** Override automatic trend direction */
14
+ trend?: "up" | "down" | "neutral";
15
+ };
@@ -0,0 +1,6 @@
1
+ import { WidgetShellProps } from './types';
2
+ declare const WidgetShell: {
3
+ ({ state, title, description, children, className, errorContent, emptyContent, skeletonLines, onRetry, ...props }: WidgetShellProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export { WidgetShell };
@@ -0,0 +1,2 @@
1
+ export { WidgetShell } from './WidgetShell';
2
+ export type { WidgetShellProps, WidgetShellState } from './types';
@@ -0,0 +1,20 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export type WidgetShellState = "loading" | "error" | "empty" | "ready";
3
+ export type WidgetShellProps = HTMLAttributes<HTMLDivElement> & {
4
+ /** Current state of the widget */
5
+ state?: WidgetShellState;
6
+ /** Widget title */
7
+ title?: ReactNode;
8
+ /** Widget description */
9
+ description?: ReactNode;
10
+ /** Content to show when state is "ready" */
11
+ children: ReactNode;
12
+ /** Custom content for error state */
13
+ errorContent?: ReactNode;
14
+ /** Custom content for empty state */
15
+ emptyContent?: ReactNode;
16
+ /** Number of skeleton lines to show in loading state */
17
+ skeletonLines?: number;
18
+ /** Callback when retry is clicked in error state */
19
+ onRetry?: () => void;
20
+ };