@mlw-packages/react-components 1.8.7 → 1.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1299,6 +1299,12 @@ body {
1299
1299
  .min-w-\[1\.5rem\] {
1300
1300
  min-width: 1.5rem;
1301
1301
  }
1302
+ .min-w-\[10rem\] {
1303
+ min-width: 10rem;
1304
+ }
1305
+ .min-w-\[140px\] {
1306
+ min-width: 140px;
1307
+ }
1302
1308
  .min-w-\[150px\] {
1303
1309
  min-width: 150px;
1304
1310
  }
@@ -1982,6 +1988,9 @@ body {
1982
1988
  .border-l {
1983
1989
  border-left-width: 1px;
1984
1990
  }
1991
+ .border-l-2 {
1992
+ border-left-width: 2px;
1993
+ }
1985
1994
  .border-l-4 {
1986
1995
  border-left-width: 4px;
1987
1996
  }
@@ -2007,6 +2016,10 @@ body {
2007
2016
  --tw-border-opacity: 1;
2008
2017
  border-color: rgb(251 191 36 / var(--tw-border-opacity, 1));
2009
2018
  }
2019
+ .border-black {
2020
+ --tw-border-opacity: 1;
2021
+ border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
2022
+ }
2010
2023
  .border-black\/40 {
2011
2024
  border-color: rgb(0 0 0 / 0.4);
2012
2025
  }
@@ -2181,6 +2194,9 @@ body {
2181
2194
  .bg-accent\/5 {
2182
2195
  background-color: hsl(var(--accent) / 0.05);
2183
2196
  }
2197
+ .bg-accent\/80 {
2198
+ background-color: hsl(var(--accent) / 0.8);
2199
+ }
2184
2200
  .bg-amber-100 {
2185
2201
  --tw-bg-opacity: 1;
2186
2202
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
@@ -2296,6 +2312,9 @@ body {
2296
2312
  --tw-bg-opacity: 1;
2297
2313
  background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1));
2298
2314
  }
2315
+ .bg-emerald-500\/15 {
2316
+ background-color: rgb(16 185 129 / 0.15);
2317
+ }
2299
2318
  .bg-emerald-600 {
2300
2319
  --tw-bg-opacity: 1;
2301
2320
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
@@ -2475,6 +2494,9 @@ body {
2475
2494
  --tw-bg-opacity: 1;
2476
2495
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
2477
2496
  }
2497
+ .bg-red-500\/15 {
2498
+ background-color: rgb(239 68 68 / 0.15);
2499
+ }
2478
2500
  .bg-red-600 {
2479
2501
  --tw-bg-opacity: 1;
2480
2502
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
@@ -2711,9 +2733,6 @@ body {
2711
2733
  .p-2 {
2712
2734
  padding: 0.5rem;
2713
2735
  }
2714
- .p-2\.5 {
2715
- padding: 0.625rem;
2716
- }
2717
2736
  .p-3 {
2718
2737
  padding: 0.75rem;
2719
2738
  }
@@ -2740,6 +2759,10 @@ body {
2740
2759
  padding-left: 0.25rem;
2741
2760
  padding-right: 0.25rem;
2742
2761
  }
2762
+ .px-1\.5 {
2763
+ padding-left: 0.375rem;
2764
+ padding-right: 0.375rem;
2765
+ }
2743
2766
  .px-2 {
2744
2767
  padding-left: 0.5rem;
2745
2768
  padding-right: 0.5rem;
@@ -2748,9 +2771,9 @@ body {
2748
2771
  padding-left: 0.625rem;
2749
2772
  padding-right: 0.625rem;
2750
2773
  }
2751
- .px-20 {
2752
- padding-left: 5rem;
2753
- padding-right: 5rem;
2774
+ .px-24 {
2775
+ padding-left: 6rem;
2776
+ padding-right: 6rem;
2754
2777
  }
2755
2778
  .px-3 {
2756
2779
  padding-left: 0.75rem;
@@ -2776,6 +2799,14 @@ body {
2776
2799
  padding-left: 24rem;
2777
2800
  padding-right: 24rem;
2778
2801
  }
2802
+ .px-\[0\.45em\] {
2803
+ padding-left: 0.45em;
2804
+ padding-right: 0.45em;
2805
+ }
2806
+ .px-\[0\.4em\] {
2807
+ padding-left: 0.4em;
2808
+ padding-right: 0.4em;
2809
+ }
2779
2810
  .px-\[0\.5em\] {
2780
2811
  padding-left: 0.5em;
2781
2812
  padding-right: 0.5em;
@@ -2859,6 +2890,12 @@ body {
2859
2890
  .pl-1 {
2860
2891
  padding-left: 0.25rem;
2861
2892
  }
2893
+ .pl-1\.5 {
2894
+ padding-left: 0.375rem;
2895
+ }
2896
+ .pl-24 {
2897
+ padding-left: 6rem;
2898
+ }
2862
2899
  .pl-4 {
2863
2900
  padding-left: 1rem;
2864
2901
  }
@@ -2966,9 +3003,6 @@ body {
2966
3003
  .text-\[1\.4rem\] {
2967
3004
  font-size: 1.4rem;
2968
3005
  }
2969
- .text-\[1\.6rem\] {
2970
- font-size: 1.6rem;
2971
- }
2972
3006
  .text-\[10px\] {
2973
3007
  font-size: 10px;
2974
3008
  }
@@ -3059,9 +3093,6 @@ body {
3059
3093
  .leading-tight {
3060
3094
  line-height: 1.25;
3061
3095
  }
3062
- .tracking-\[0\] {
3063
- letter-spacing: 0;
3064
- }
3065
3096
  .tracking-tight {
3066
3097
  letter-spacing: -0.025em;
3067
3098
  }
@@ -4009,6 +4040,51 @@ body {
4009
4040
  .placeholder\:text-muted-foreground\/60::placeholder {
4010
4041
  color: hsl(var(--muted-foreground) / 0.6);
4011
4042
  }
4043
+ .before\:absolute::before {
4044
+ content: var(--tw-content);
4045
+ position: absolute;
4046
+ }
4047
+ .before\:inset-0::before {
4048
+ content: var(--tw-content);
4049
+ inset: 0px;
4050
+ }
4051
+ .before\:-translate-x-full::before {
4052
+ content: var(--tw-content);
4053
+ --tw-translate-x: -100%;
4054
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
4055
+ }
4056
+ @keyframes shimmer {
4057
+ 100% {
4058
+ content: var(--tw-content);
4059
+ transform: translateX(100%);
4060
+ }
4061
+ }
4062
+ .before\:animate-shimmer::before {
4063
+ content: var(--tw-content);
4064
+ animation: shimmer 2s infinite;
4065
+ }
4066
+ .before\:bg-gradient-to-r::before {
4067
+ content: var(--tw-content);
4068
+ background-image: linear-gradient(to right, var(--tw-gradient-stops));
4069
+ }
4070
+ .before\:from-transparent::before {
4071
+ content: var(--tw-content);
4072
+ --tw-gradient-from: transparent var(--tw-gradient-from-position);
4073
+ --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
4074
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
4075
+ }
4076
+ .before\:via-white::before {
4077
+ content: var(--tw-content);
4078
+ --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
4079
+ --tw-gradient-stops:
4080
+ var(--tw-gradient-from),
4081
+ #fff var(--tw-gradient-via-position),
4082
+ var(--tw-gradient-to);
4083
+ }
4084
+ .before\:to-transparent::before {
4085
+ content: var(--tw-content);
4086
+ --tw-gradient-to: transparent var(--tw-gradient-to-position);
4087
+ }
4012
4088
  .after\:absolute::after {
4013
4089
  content: var(--tw-content);
4014
4090
  position: absolute;
@@ -4182,9 +4258,6 @@ body {
4182
4258
  .hover\:bg-accent:hover {
4183
4259
  background-color: hsl(var(--accent));
4184
4260
  }
4185
- .hover\:bg-accent\/10:hover {
4186
- background-color: hsl(var(--accent) / 0.1);
4187
- }
4188
4261
  .hover\:bg-accent\/15:hover {
4189
4262
  background-color: hsl(var(--accent) / 0.15);
4190
4263
  }
@@ -4564,9 +4637,6 @@ body {
4564
4637
  .focus-visible\:ring-accent\/30:focus-visible {
4565
4638
  --tw-ring-color: hsl(var(--accent) / 0.3);
4566
4639
  }
4567
- .focus-visible\:ring-accent\/50:focus-visible {
4568
- --tw-ring-color: hsl(var(--accent) / 0.5);
4569
- }
4570
4640
  .focus-visible\:ring-destructive\/20:focus-visible {
4571
4641
  --tw-ring-color: hsl(var(--destructive) / 0.2);
4572
4642
  }
@@ -5608,6 +5678,9 @@ body {
5608
5678
  .dark\:bg-emerald-400\/25:is(.dark *) {
5609
5679
  background-color: rgb(52 211 153 / 0.25);
5610
5680
  }
5681
+ .dark\:bg-emerald-500\/10:is(.dark *) {
5682
+ background-color: rgb(16 185 129 / 0.1);
5683
+ }
5611
5684
  .dark\:bg-emerald-950\/30:is(.dark *) {
5612
5685
  background-color: rgb(2 44 34 / 0.3);
5613
5686
  }
@@ -5645,6 +5718,9 @@ body {
5645
5718
  .dark\:bg-primary:is(.dark *) {
5646
5719
  background-color: hsl(var(--primary));
5647
5720
  }
5721
+ .dark\:bg-red-500\/10:is(.dark *) {
5722
+ background-color: rgb(239 68 68 / 0.1);
5723
+ }
5648
5724
  .dark\:bg-rose-400\/25:is(.dark *) {
5649
5725
  background-color: rgb(251 113 133 / 0.25);
5650
5726
  }
@@ -5828,6 +5904,14 @@ body {
5828
5904
  --tw-ring-opacity: 1;
5829
5905
  --tw-ring-color: rgb(38 38 38 / var(--tw-ring-opacity, 1));
5830
5906
  }
5907
+ .dark\:before\:via-gray-800:is(.dark *)::before {
5908
+ content: var(--tw-content);
5909
+ --tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);
5910
+ --tw-gradient-stops:
5911
+ var(--tw-gradient-from),
5912
+ #1f2937 var(--tw-gradient-via-position),
5913
+ var(--tw-gradient-to);
5914
+ }
5831
5915
  .dark\:hover\:bg-accent\/50:hover:is(.dark *) {
5832
5916
  background-color: hsl(var(--accent) / 0.5);
5833
5917
  }
package/dist/index.d.mts CHANGED
@@ -63,8 +63,10 @@ declare const useTheme: () => ThemeProviderState;
63
63
 
64
64
  type ModeToggleBaseProps = {
65
65
  themes?: Theme[];
66
+ className?: string;
67
+ variant?: "default" | "outline" | "link" | "destructive" | "secondary" | "ghost";
66
68
  };
67
- declare function ModeToggleBase({ themes, }: ModeToggleBaseProps): react_jsx_runtime.JSX.Element;
69
+ declare function ModeToggleBase({ themes, className, variant, }: ModeToggleBaseProps): react_jsx_runtime.JSX.Element;
68
70
 
69
71
  declare const AvatarBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
70
72
  declare const AvatarImageBase: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
@@ -546,7 +548,6 @@ declare const DropDownMenuContentBase: React$1.ForwardRefExoticComponent<Omit<Dr
546
548
  } & React$1.RefAttributes<HTMLDivElement>>;
547
549
  declare const DropDownMenuItemBase: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
548
550
  inset?: boolean;
549
- leftIcon?: React$1.ReactNode;
550
551
  rightIcon?: React$1.ReactNode;
551
552
  } & React$1.RefAttributes<HTMLDivElement>>;
552
553
  declare const DropDownMenuCheckboxItemBase: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -1640,8 +1641,10 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
1640
1641
 
1641
1642
  declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
1642
1643
 
1644
+ type Primitive = string | number | boolean | null | undefined;
1643
1645
  interface ChartData$4 {
1644
- [key: string]: string | number | boolean | null | undefined;
1646
+ [key: string]: Primitive;
1647
+ name?: string;
1645
1648
  }
1646
1649
  interface XAxisConfig$2 {
1647
1650
  dataKey: string;
@@ -1649,13 +1652,54 @@ interface XAxisConfig$2 {
1649
1652
  valueFormatter?: (value: string | number) => string;
1650
1653
  autoLabel?: boolean;
1651
1654
  }
1652
- interface BiaxialConfig {
1653
- key: string[];
1655
+ type ValueFormatter = (value: string | number) => string | number;
1656
+ type FinalValueFormatter = (value: number | string | null | undefined) => string;
1657
+ type SeriesProp$1 = {
1658
+ bar?: string[];
1659
+ line?: string[];
1660
+ area?: string[];
1661
+ };
1662
+ type SeriesEntry = {
1663
+ type: "bar" | "line" | "area";
1664
+ key: string;
1665
+ };
1666
+ type SeriesCounts = {
1667
+ bar: number;
1668
+ line: number;
1669
+ area: number;
1670
+ };
1671
+ type YAxisSide = "left" | "right";
1672
+ type YAxisMap = Record<string, YAxisSide>;
1673
+ interface MapperConfigEntry {
1654
1674
  label?: string;
1655
- percentage?: boolean;
1656
- decimals?: number;
1657
- stroke?: string | Record<string, string>;
1675
+ valueFormatter?: ValueFormatter;
1676
+ color?: string;
1677
+ type?: "number" | "string" | "auto";
1678
+ visible?: boolean;
1679
+ }
1680
+ type MapperConfig = Record<string, MapperConfigEntry>;
1681
+ interface YAxisOptions {
1682
+ label?: string;
1683
+ stroke?: string;
1684
+ width?: number;
1685
+ percent?: boolean;
1686
+ percentDecimals?: number;
1687
+ }
1688
+ type YAxes = Partial<{
1689
+ left: YAxisOptions;
1690
+ right: YAxisOptions;
1691
+ }>;
1692
+ interface TooltipItem$2 {
1693
+ id: string;
1694
+ data: ChartData$4;
1695
+ position: {
1696
+ top: number;
1697
+ left: number;
1698
+ };
1658
1699
  }
1700
+ type TooltipAdaptedRow = Record<string, string | number> & {
1701
+ name: string;
1702
+ };
1659
1703
  interface TimeSeriesConfig {
1660
1704
  start?: number;
1661
1705
  end?: number;
@@ -1666,14 +1710,61 @@ interface TimeSeriesConfig {
1666
1710
  miniChartOpacity?: number;
1667
1711
  chartHeight?: number;
1668
1712
  }
1669
- type SeriesProp$1 = {
1713
+ interface ChartHooksArgs {
1714
+ width?: number | string;
1715
+ measuredWidth?: number | null;
1716
+ points?: number;
1717
+ seriesCounts?: SeriesCounts;
1718
+ niceMax?: number;
1719
+ yAxes?: YAxes;
1720
+ yAxisLabel?: string;
1721
+ chartMargin?: Partial<{
1722
+ top: number;
1723
+ right: number;
1724
+ left: number;
1725
+ bottom: number;
1726
+ }>;
1727
+ showLabels?: boolean;
1728
+ timeSeries?: boolean | TimeSeriesConfig;
1729
+ timeSeriesLegend?: string;
1730
+ customLegend?: boolean;
1731
+ }
1732
+ interface LegendItem {
1733
+ label: string;
1734
+ value: string | number;
1735
+ color?: string;
1736
+ trend?: {
1737
+ value?: number;
1738
+ label?: string;
1739
+ positive?: boolean;
1740
+ neutral?: boolean;
1741
+ };
1742
+ }
1743
+
1744
+ interface ChartData$3 {
1745
+ [key: string]: string | number | boolean | null | undefined;
1746
+ }
1747
+ interface XAxisConfig$1 {
1748
+ dataKey: string;
1749
+ label?: string;
1750
+ valueFormatter?: (value: string | number) => string;
1751
+ autoLabel?: boolean;
1752
+ }
1753
+ interface BiaxialConfig {
1754
+ key: string[];
1755
+ label?: string;
1756
+ percentage?: boolean;
1757
+ decimals?: number;
1758
+ stroke?: string | Record<string, string>;
1759
+ }
1760
+ type SeriesProp = {
1670
1761
  bar?: string[];
1671
1762
  line?: string[];
1672
1763
  area?: string[];
1673
1764
  };
1674
1765
  interface ChartProps {
1675
- data: ChartData$4[];
1676
- series?: SeriesProp$1;
1766
+ data: ChartData$3[];
1767
+ series?: SeriesProp;
1677
1768
  className?: string;
1678
1769
  chartMargin?: Partial<{
1679
1770
  top: number;
@@ -1691,13 +1782,18 @@ interface ChartProps {
1691
1782
  title?: string;
1692
1783
  titlePosition?: "left" | "center" | "right";
1693
1784
  showLabels?: boolean;
1785
+ labelsVisibility?: {
1786
+ bar?: boolean;
1787
+ line?: boolean;
1788
+ area?: boolean;
1789
+ };
1694
1790
  labelMap?: Record<string, string>;
1695
1791
  valueFormatter?: valueFormatter;
1696
1792
  categoryFormatter?: (value: string | number) => string;
1697
1793
  periodLabel?: string;
1698
1794
  xAxisLabel?: string;
1699
1795
  yAxisLabel?: string;
1700
- xAxis?: XAxisConfig$2 | string;
1796
+ xAxis?: XAxisConfig$1 | string;
1701
1797
  biaxial?: BiaxialConfig | string | string[];
1702
1798
  enableHighlights?: boolean;
1703
1799
  enableShowOnly?: boolean;
@@ -1709,13 +1805,15 @@ interface ChartProps {
1709
1805
  legendUppercase?: boolean;
1710
1806
  isLoading?: boolean;
1711
1807
  timeSeries?: boolean | TimeSeriesConfig;
1808
+ timeSeriesLegend?: string;
1809
+ customLegend?: boolean;
1712
1810
  }
1713
1811
  declare const Chart: React__default.FC<ChartProps>;
1714
1812
 
1715
1813
  interface BarChartData {
1716
1814
  [key: string]: string | number | boolean | null | undefined;
1717
1815
  }
1718
- interface XAxisConfig$1 {
1816
+ interface XAxisConfig {
1719
1817
  dataKey: string;
1720
1818
  label?: string;
1721
1819
  valueFormatter?: (value: string | number) => string;
@@ -1748,7 +1846,7 @@ interface BarChartProps {
1748
1846
  titlePosition?: "left" | "center" | "right";
1749
1847
  showLabels?: boolean;
1750
1848
  labelMap?: Record<string, string>;
1751
- xAxis?: XAxisConfig$1 | string;
1849
+ xAxis?: XAxisConfig | string;
1752
1850
  mapper?: DataMapper | string[];
1753
1851
  yAxis?: DataMapper | string[];
1754
1852
  autoDetect?: boolean;
@@ -1940,11 +2038,12 @@ interface Props {
1940
2038
  }
1941
2039
  declare const TooltipSimple: React__default.FC<Props>;
1942
2040
 
1943
- interface ChartData$3 {
2041
+ interface ChartData$2 {
1944
2042
  [key: string]: string | number | boolean | null | undefined;
1945
2043
  }
1946
2044
  interface BrushProps {
1947
- data: ChartData$3[];
2045
+ data: ChartData$2[];
2046
+ legend?: string;
1948
2047
  startIndex: number;
1949
2048
  endIndex: number;
1950
2049
  onMouseDown: (e: React__default.MouseEvent, type: "start" | "end" | "middle") => void;
@@ -1967,6 +2066,11 @@ interface BrushProps {
1967
2066
  }
1968
2067
  declare const Brush: React__default.FC<BrushProps>;
1969
2068
 
2069
+ interface ChartTotalLegendProps {
2070
+ items: LegendItem[];
2071
+ }
2072
+ declare const ChartTotalLegend: React__default.FC<ChartTotalLegendProps>;
2073
+
1970
2074
  interface UseChartHighlightsReturn {
1971
2075
  highlightedSeries: Set<string>;
1972
2076
  showOnlyHighlighted: boolean;
@@ -1983,20 +2087,20 @@ declare const useChartDimensions: () => {
1983
2087
  measuredWidth: number | null;
1984
2088
  };
1985
2089
 
1986
- interface ChartData$2 {
2090
+ interface ChartData$1 {
1987
2091
  [key: string]: string | number | boolean | null | undefined;
1988
2092
  }
1989
- interface TooltipItem$2 {
2093
+ interface TooltipItem$1 {
1990
2094
  id: string;
1991
- data: ChartData$2;
2095
+ data: ChartData$1;
1992
2096
  position: {
1993
2097
  top: number;
1994
2098
  left: number;
1995
2099
  };
1996
2100
  }
1997
2101
  declare const useChartTooltips: (maxTooltips?: number) => {
1998
- activeTooltips: TooltipItem$2[];
1999
- toggleTooltip: (tooltipId: string, data: ChartData$2, basePosition: {
2102
+ activeTooltips: TooltipItem$1[];
2103
+ toggleTooltip: (tooltipId: string, data: ChartData$1, basePosition: {
2000
2104
  top: number;
2001
2105
  left: number;
2002
2106
  }) => void;
@@ -2006,15 +2110,15 @@ declare const useChartTooltips: (maxTooltips?: number) => {
2006
2110
  }) => void;
2007
2111
  closeTooltip: (id: string) => void;
2008
2112
  closeAllTooltips: () => void;
2009
- setActiveTooltips: React$1.Dispatch<React$1.SetStateAction<TooltipItem$2[]>>;
2113
+ setActiveTooltips: React$1.Dispatch<React$1.SetStateAction<TooltipItem$1[]>>;
2010
2114
  };
2011
2115
 
2012
- interface ChartData$1 {
2116
+ interface ChartData {
2013
2117
  [key: string]: string | number | boolean | null | undefined;
2014
2118
  }
2015
- interface TooltipItem$1 {
2119
+ interface TooltipItem {
2016
2120
  id: string;
2017
- data: ChartData$1;
2121
+ data: ChartData;
2018
2122
  position: {
2019
2123
  top: number;
2020
2124
  left: number;
@@ -2023,15 +2127,15 @@ interface TooltipItem$1 {
2023
2127
  interface UseChartClickProps {
2024
2128
  enableDraggableTooltips: boolean;
2025
2129
  xAxisDataKey: string;
2026
- toggleTooltip: (tooltipId: string, data: ChartData$1, basePosition: {
2130
+ toggleTooltip: (tooltipId: string, data: ChartData, basePosition: {
2027
2131
  top: number;
2028
2132
  left: number;
2029
2133
  }) => void;
2030
- setActiveTooltips: React.Dispatch<React.SetStateAction<TooltipItem$1[]>>;
2134
+ setActiveTooltips: React.Dispatch<React.SetStateAction<TooltipItem[]>>;
2031
2135
  }
2032
2136
  declare const useChartClick: ({ enableDraggableTooltips, xAxisDataKey, toggleTooltip, setActiveTooltips, }: UseChartClickProps) => {
2033
2137
  handleChartClick: (e?: unknown) => void;
2034
- handleBarClick: (data: ChartData$1, index: number, event: React.MouseEvent) => void;
2138
+ handleBarClick: (data: ChartData, index: number, event: React.MouseEvent) => void;
2035
2139
  handleSeriesClick: (...args: unknown[]) => void;
2036
2140
  };
2037
2141
 
@@ -2060,84 +2164,6 @@ interface NoDataProps {
2060
2164
  }
2061
2165
  declare const NoData: React__default.FC<NoDataProps>;
2062
2166
 
2063
- type Primitive = string | number | boolean | null | undefined;
2064
- interface ChartData {
2065
- [key: string]: Primitive;
2066
- name?: string;
2067
- }
2068
- interface XAxisConfig {
2069
- dataKey: string;
2070
- label?: string;
2071
- valueFormatter?: (value: string | number) => string;
2072
- autoLabel?: boolean;
2073
- }
2074
- type ValueFormatter = (value: string | number) => string | number;
2075
- type FinalValueFormatter = (value: number | string | null | undefined) => string;
2076
- type SeriesProp = {
2077
- bar?: string[];
2078
- line?: string[];
2079
- area?: string[];
2080
- };
2081
- type SeriesEntry = {
2082
- type: "bar" | "line" | "area";
2083
- key: string;
2084
- };
2085
- type SeriesCounts = {
2086
- bar: number;
2087
- line: number;
2088
- area: number;
2089
- };
2090
- type YAxisSide = "left" | "right";
2091
- type YAxisMap = Record<string, YAxisSide>;
2092
- interface MapperConfigEntry {
2093
- label?: string;
2094
- valueFormatter?: ValueFormatter;
2095
- color?: string;
2096
- type?: "number" | "string" | "auto";
2097
- visible?: boolean;
2098
- }
2099
- type MapperConfig = Record<string, MapperConfigEntry>;
2100
- interface YAxisOptions {
2101
- label?: string;
2102
- stroke?: string;
2103
- width?: number;
2104
- percent?: boolean;
2105
- percentDecimals?: number;
2106
- }
2107
- type YAxes = Partial<{
2108
- left: YAxisOptions;
2109
- right: YAxisOptions;
2110
- }>;
2111
- interface TooltipItem {
2112
- id: string;
2113
- data: ChartData;
2114
- position: {
2115
- top: number;
2116
- left: number;
2117
- };
2118
- }
2119
- type TooltipAdaptedRow = Record<string, string | number> & {
2120
- name: string;
2121
- };
2122
- interface ChartHooksArgs {
2123
- width?: number | string;
2124
- measuredWidth?: number | null;
2125
- points?: number;
2126
- seriesCounts?: SeriesCounts;
2127
- niceMax?: number;
2128
- yAxes?: YAxes;
2129
- yAxisLabel?: string;
2130
- chartMargin?: Partial<{
2131
- top: number;
2132
- right: number;
2133
- left: number;
2134
- bottom: number;
2135
- }>;
2136
- showLabels?: boolean;
2137
- showLegend?: boolean;
2138
- xAxisLabel?: string;
2139
- }
2140
-
2141
2167
  interface LeaderboardItem<T extends string> {
2142
2168
  name: string;
2143
2169
  value: number | string | T;
@@ -2150,9 +2176,8 @@ interface LeaderboardProps<T extends string> {
2150
2176
  isLoading?: boolean;
2151
2177
  legend?: string[];
2152
2178
  best?: boolean;
2153
- worst?: boolean;
2154
2179
  }
2155
- declare function Leaderboard<T extends string>({ items, order: initialOrder, title, className, isLoading, legend, best, worst, }: LeaderboardProps<T>): react_jsx_runtime.JSX.Element;
2180
+ declare function Leaderboard<T extends string>({ items, order: initialOrder, title, className, isLoading, legend, best, }: LeaderboardProps<T>): react_jsx_runtime.JSX.Element;
2156
2181
 
2157
2182
  declare function useIsMobile(): boolean;
2158
2183
 
@@ -2173,4 +2198,4 @@ declare const useDrag: (options?: UseDragOptions) => {
2173
2198
  isDragging: boolean;
2174
2199
  };
2175
2200
 
2176
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData, type ChartHooksArgs, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, type LeaderboardItem, type LeaderboardProps, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
2201
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, BarChart, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, type ChartData$4 as ChartData, type ChartHooksArgs, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, CustomLineChart as LineChart, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type NewSelectProps, NoData, NotificationButton, type Padding, type Period, PeriodsDropdown, CustomPieChart as PieChart, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesCounts, type SeriesEntry, type SeriesProp$1 as SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig$2 as XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };