@overdoser/react-toolkit 0.0.6 → 0.0.7

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 (47) hide show
  1. package/AGENTS.md +15 -0
  2. package/components/Button/Button.d.ts +13 -0
  3. package/components/Chart/AreaChart.d.ts +85 -0
  4. package/components/Chart/Axis.d.ts +30 -0
  5. package/components/Chart/BarChart.d.ts +111 -0
  6. package/components/Chart/ChartContainer.d.ts +33 -0
  7. package/components/Chart/ChartLegend.d.ts +9 -0
  8. package/components/Chart/ChartTooltip.d.ts +32 -0
  9. package/components/Chart/LineChart.d.ts +112 -0
  10. package/components/Chart/PieChart.d.ts +100 -0
  11. package/components/Chart/RadarChart.d.ts +86 -0
  12. package/components/Chart/Sparkline.d.ts +31 -0
  13. package/components/Chart/TradingChart.d.ts +89 -0
  14. package/components/Chart/index.d.ts +18 -0
  15. package/components/Chart/scales.d.ts +21 -0
  16. package/components/Chart/trading/indicators.d.ts +28 -0
  17. package/components/Chart/trading/period.d.ts +19 -0
  18. package/components/Chart/trading/types.d.ts +122 -0
  19. package/components/Chart/types.d.ts +60 -0
  20. package/components/Chart/useChartDimensions.d.ts +12 -0
  21. package/index.css +1 -1
  22. package/index.d.ts +2 -0
  23. package/index.js +3369 -1077
  24. package/llms.txt +361 -0
  25. package/manifest.json +305 -2
  26. package/package.json +1 -1
  27. package/recipes/dashboard-charts.tsx +123 -0
  28. package/recipes/interactive-area-chart.tsx +226 -0
  29. package/recipes/interactive-bar-chart.tsx +211 -0
  30. package/recipes/interactive-line-chart.tsx +221 -0
  31. package/recipes/interactive-pie-chart.tsx +191 -0
  32. package/recipes/trading-chart.tsx +188 -0
  33. package/components/Button/Button.stories.d.ts +0 -17
  34. package/components/Dropdown/Dropdown.stories.d.ts +0 -8
  35. package/components/Form/Form.stories.d.ts +0 -11
  36. package/components/Link/Link.stories.d.ts +0 -9
  37. package/components/List/List.stories.d.ts +0 -9
  38. package/components/Modal/Modal.stories.d.ts +0 -9
  39. package/components/Popover/Popover.stories.d.ts +0 -9
  40. package/components/Table/Table.stories.d.ts +0 -20
  41. package/components/Typography/Typography.stories.d.ts +0 -15
  42. package/components/inputs/Checkbox/Checkbox.stories.d.ts +0 -9
  43. package/components/inputs/Input/Input.stories.d.ts +0 -13
  44. package/components/inputs/Radio/Radio.stories.d.ts +0 -7
  45. package/components/inputs/Select/Select.stories.d.ts +0 -18
  46. package/components/inputs/Textarea/Textarea.stories.d.ts +0 -10
  47. package/test-setup.d.ts +0 -0
package/index.d.ts CHANGED
@@ -41,6 +41,8 @@ export { Radio, RadioGroup } from './components/inputs/Radio';
41
41
  export type { RadioProps, RadioClasses, RadioGroupProps } from './components/inputs/Radio';
42
42
  export { Textarea } from './components/inputs/Textarea';
43
43
  export type { TextareaProps } from './components/inputs/Textarea';
44
+ export { LineChart, AreaChart, BarChart, PieChart, RadarChart, TradingChart, Sparkline, sma, ema, bollinger, rsi, volumeSeries, periodToSeconds, suggestResolutionForPeriod, suggestPeriodForResolution, formatCrosshairTime, } from './components/Chart';
45
+ export type { LineChartProps, LineLabelArgs, LineDotArgs, LinePointClickArgs, AreaChartProps, BarChartProps, BarClickArgs, BarLabelArgs, PieChartProps, PieLabelArgs, PieSliceClickArgs, RadarChartProps, RadarAxisLabelArgs, TradingChartProps, Bar, Resolution, Period, Timezone, Datafeed, GetBarsArgs, SubscribeBarsArgs, SubscriptionHandle, SeriesType, IndicatorConfig, CrosshairInfo, VisibleRange, SparklineProps, ChartConfig, SeriesConfig, ChartClasses, ChartMargin, } from './components/Chart';
44
46
  export { useClickOutside } from './hooks/useClickOutside';
45
47
  export { useFocusTrap } from './hooks/useFocusTrap';
46
48
  export { useKeyboard } from './hooks/useKeyboard';