@mlw-packages/react-components 1.9.6 → 1.9.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.
- package/dist/index.css +4 -3
- package/dist/index.d.mts +152 -141
- package/dist/index.d.ts +152 -141
- package/dist/index.js +345 -309
- package/dist/index.mjs +339 -310
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2792,9 +2792,6 @@ body {
|
|
|
2792
2792
|
.fill-current {
|
|
2793
2793
|
fill: currentColor;
|
|
2794
2794
|
}
|
|
2795
|
-
.fill-muted-foreground {
|
|
2796
|
-
fill: hsl(var(--muted-foreground));
|
|
2797
|
-
}
|
|
2798
2795
|
.fill-popover {
|
|
2799
2796
|
fill: hsl(var(--popover));
|
|
2800
2797
|
}
|
|
@@ -5785,6 +5782,10 @@ body {
|
|
|
5785
5782
|
--tw-border-opacity: 1;
|
|
5786
5783
|
border-color: rgb(38 38 38 / var(--tw-border-opacity, 1));
|
|
5787
5784
|
}
|
|
5785
|
+
.dark\:border-red-500:is(.dark *) {
|
|
5786
|
+
--tw-border-opacity: 1;
|
|
5787
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity, 1));
|
|
5788
|
+
}
|
|
5788
5789
|
.dark\:border-rose-900:is(.dark *) {
|
|
5789
5790
|
--tw-border-opacity: 1;
|
|
5790
5791
|
border-color: rgb(136 19 55 / var(--tw-border-opacity, 1));
|
package/dist/index.d.mts
CHANGED
|
@@ -1574,106 +1574,6 @@ interface SelectPropsWithGroupItems<T extends string> extends DefaultSelectProps
|
|
|
1574
1574
|
type NewSelectProps<T extends string> = SelectPropsWithItems<T> | SelectPropsWithGroupItems<T>;
|
|
1575
1575
|
declare function Select<T extends string>({ items, groupItems, placeholder, onChange, error, testIds, disabled, selected, label, labelClassname, className, pagination, hideClear, empty, }: NewSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
1576
1576
|
|
|
1577
|
-
type Primitive = string | number | boolean | null | undefined;
|
|
1578
|
-
interface ChartData$4 {
|
|
1579
|
-
[key: string]: Primitive;
|
|
1580
|
-
name?: string;
|
|
1581
|
-
}
|
|
1582
|
-
interface XAxisConfig$1 {
|
|
1583
|
-
dataKey: string;
|
|
1584
|
-
label?: string;
|
|
1585
|
-
valueFormatter?: (value: string | number) => string;
|
|
1586
|
-
autoLabel?: boolean;
|
|
1587
|
-
}
|
|
1588
|
-
type ValueFormatter = (value: string | number) => string | number;
|
|
1589
|
-
type FinalValueFormatter = (value: number | string | null | undefined) => string;
|
|
1590
|
-
type SeriesProp$1 = {
|
|
1591
|
-
bar?: string[];
|
|
1592
|
-
line?: string[];
|
|
1593
|
-
area?: string[];
|
|
1594
|
-
};
|
|
1595
|
-
type SeriesEntry = {
|
|
1596
|
-
type: "bar" | "line" | "area";
|
|
1597
|
-
key: string;
|
|
1598
|
-
};
|
|
1599
|
-
type SeriesCounts = {
|
|
1600
|
-
bar: number;
|
|
1601
|
-
line: number;
|
|
1602
|
-
area: number;
|
|
1603
|
-
};
|
|
1604
|
-
type YAxisSide = "left" | "right";
|
|
1605
|
-
type YAxisMap = Record<string, YAxisSide>;
|
|
1606
|
-
interface MapperConfigEntry {
|
|
1607
|
-
label?: string;
|
|
1608
|
-
valueFormatter?: ValueFormatter;
|
|
1609
|
-
color?: string;
|
|
1610
|
-
type?: "number" | "string" | "auto";
|
|
1611
|
-
visible?: boolean;
|
|
1612
|
-
}
|
|
1613
|
-
type MapperConfig = Record<string, MapperConfigEntry>;
|
|
1614
|
-
interface YAxisOptions {
|
|
1615
|
-
label?: string;
|
|
1616
|
-
stroke?: string;
|
|
1617
|
-
width?: number;
|
|
1618
|
-
percent?: boolean;
|
|
1619
|
-
percentDecimals?: number;
|
|
1620
|
-
}
|
|
1621
|
-
type YAxes = Partial<{
|
|
1622
|
-
left: YAxisOptions;
|
|
1623
|
-
right: YAxisOptions;
|
|
1624
|
-
}>;
|
|
1625
|
-
interface TooltipItem$2 {
|
|
1626
|
-
id: string;
|
|
1627
|
-
data: ChartData$4;
|
|
1628
|
-
position: {
|
|
1629
|
-
top: number;
|
|
1630
|
-
left: number;
|
|
1631
|
-
};
|
|
1632
|
-
}
|
|
1633
|
-
type TooltipAdaptedRow = Record<string, string | number> & {
|
|
1634
|
-
name: string;
|
|
1635
|
-
};
|
|
1636
|
-
interface TimeSeriesConfig {
|
|
1637
|
-
start?: number;
|
|
1638
|
-
end?: number;
|
|
1639
|
-
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1640
|
-
height?: number;
|
|
1641
|
-
brushColor?: string;
|
|
1642
|
-
brushStroke?: string;
|
|
1643
|
-
miniChartOpacity?: number;
|
|
1644
|
-
chartHeight?: number;
|
|
1645
|
-
}
|
|
1646
|
-
interface ChartHooksArgs {
|
|
1647
|
-
width?: number | string;
|
|
1648
|
-
measuredWidth?: number | null;
|
|
1649
|
-
points?: number;
|
|
1650
|
-
seriesCounts?: SeriesCounts;
|
|
1651
|
-
niceMax?: number;
|
|
1652
|
-
yAxes?: YAxes;
|
|
1653
|
-
yAxisLabel?: string;
|
|
1654
|
-
chartMargin?: Partial<{
|
|
1655
|
-
top: number;
|
|
1656
|
-
right: number;
|
|
1657
|
-
left: number;
|
|
1658
|
-
bottom: number;
|
|
1659
|
-
}>;
|
|
1660
|
-
showLabels?: boolean;
|
|
1661
|
-
timeSeries?: boolean | TimeSeriesConfig;
|
|
1662
|
-
timeSeriesLegend?: string;
|
|
1663
|
-
customLegend?: boolean;
|
|
1664
|
-
}
|
|
1665
|
-
interface LegendItem {
|
|
1666
|
-
label: string;
|
|
1667
|
-
value: string | number;
|
|
1668
|
-
color?: string;
|
|
1669
|
-
trend?: {
|
|
1670
|
-
value?: number;
|
|
1671
|
-
label?: string;
|
|
1672
|
-
positive?: boolean;
|
|
1673
|
-
neutral?: boolean;
|
|
1674
|
-
};
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
1577
|
declare const formatFieldName: (fieldName: string) => string;
|
|
1678
1578
|
declare const detectDataFields: (data: Record<string, unknown>[], xAxisKey: string) => string[];
|
|
1679
1579
|
declare const detectXAxis: (data: Record<string, unknown>[]) => string;
|
|
@@ -1729,15 +1629,11 @@ declare const renderPillLabel: (color: string, variant: Variant, valueFormatter?
|
|
|
1729
1629
|
|
|
1730
1630
|
declare const renderInsideBarLabel: (color: string, valueFormatter?: valueFormatter) => (props: LabelRendererProps) => react_jsx_runtime.JSX.Element;
|
|
1731
1631
|
|
|
1632
|
+
declare function formatLinePercentage(value: number | string | undefined): string;
|
|
1633
|
+
|
|
1732
1634
|
interface ChartData$3 {
|
|
1733
1635
|
[key: string]: string | number | boolean | null | undefined;
|
|
1734
1636
|
}
|
|
1735
|
-
interface XAxisConfig {
|
|
1736
|
-
dataKey: string;
|
|
1737
|
-
label?: string;
|
|
1738
|
-
valueFormatter?: (value: string | number) => string;
|
|
1739
|
-
autoLabel?: boolean;
|
|
1740
|
-
}
|
|
1741
1637
|
interface BiaxialConfig {
|
|
1742
1638
|
key: string[];
|
|
1743
1639
|
label?: string;
|
|
@@ -1820,32 +1716,61 @@ type Margins = Partial<{
|
|
|
1820
1716
|
left: number;
|
|
1821
1717
|
bottom: number;
|
|
1822
1718
|
}>;
|
|
1719
|
+
interface XAxisConfig {
|
|
1720
|
+
dataKey: string;
|
|
1721
|
+
label?: string;
|
|
1722
|
+
valueFormatter?: (value: string | number) => string;
|
|
1723
|
+
autoLabel?: boolean;
|
|
1724
|
+
}
|
|
1725
|
+
interface XAxisConfig {
|
|
1726
|
+
dataKey: string;
|
|
1727
|
+
label?: string;
|
|
1728
|
+
valueFormatter?: (value: string | number) => string;
|
|
1729
|
+
autoLabel?: boolean;
|
|
1730
|
+
}
|
|
1731
|
+
type ValueFormatter = (value: string | number) => string | number;
|
|
1732
|
+
interface MapperConfigEntry {
|
|
1733
|
+
label?: string;
|
|
1734
|
+
valueFormatter?: ValueFormatter;
|
|
1735
|
+
color?: string;
|
|
1736
|
+
type?: "number" | "string" | "auto";
|
|
1737
|
+
visible?: boolean;
|
|
1738
|
+
}
|
|
1739
|
+
type MapperConfig = Record<string, MapperConfigEntry>;
|
|
1740
|
+
interface TooltipItem$2 {
|
|
1741
|
+
id: string;
|
|
1742
|
+
data: ChartData$3;
|
|
1743
|
+
position: {
|
|
1744
|
+
top: number;
|
|
1745
|
+
left: number;
|
|
1746
|
+
};
|
|
1747
|
+
}
|
|
1748
|
+
interface TimeSeriesConfig {
|
|
1749
|
+
start?: number;
|
|
1750
|
+
end?: number;
|
|
1751
|
+
onRangeChange?: (startIndex: number, endIndex: number) => void;
|
|
1752
|
+
height?: number;
|
|
1753
|
+
brushColor?: string;
|
|
1754
|
+
brushStroke?: string;
|
|
1755
|
+
miniChartOpacity?: number;
|
|
1756
|
+
chartHeight?: number;
|
|
1757
|
+
}
|
|
1758
|
+
interface LegendItem {
|
|
1759
|
+
label: string;
|
|
1760
|
+
value: string | number;
|
|
1761
|
+
color?: string;
|
|
1762
|
+
trend?: {
|
|
1763
|
+
value?: number;
|
|
1764
|
+
label?: string;
|
|
1765
|
+
positive?: boolean;
|
|
1766
|
+
neutral?: boolean;
|
|
1767
|
+
};
|
|
1768
|
+
}
|
|
1823
1769
|
|
|
1824
1770
|
declare const Chart: React__default.FC<ChartProps>;
|
|
1825
1771
|
|
|
1826
1772
|
declare const HorizontalChart: React__default.FC<ChartProps>;
|
|
1827
1773
|
|
|
1828
|
-
interface PieChartData {
|
|
1829
|
-
name: string;
|
|
1830
|
-
value: number;
|
|
1831
|
-
[key: string]: string | number;
|
|
1832
|
-
}
|
|
1833
|
-
interface CustomPieChartProps {
|
|
1834
|
-
data?: PieChartData[];
|
|
1835
|
-
className?: string;
|
|
1836
|
-
height?: number;
|
|
1837
|
-
width?: number | string;
|
|
1838
|
-
colors?: string[];
|
|
1839
|
-
showTooltip?: boolean;
|
|
1840
|
-
showLegend?: boolean;
|
|
1841
|
-
showLabels?: boolean;
|
|
1842
|
-
innerRadius?: number;
|
|
1843
|
-
outerRadius?: number;
|
|
1844
|
-
centerX?: string | number;
|
|
1845
|
-
centerY?: string | number;
|
|
1846
|
-
}
|
|
1847
|
-
declare const CustomPieChart: React__default.FC<CustomPieChartProps>;
|
|
1848
|
-
|
|
1849
1774
|
interface TimeSeriesData {
|
|
1850
1775
|
[key: string]: string | number | boolean | null | undefined;
|
|
1851
1776
|
}
|
|
@@ -1866,25 +1791,23 @@ interface TimeSeriesProps extends Omit<React__default.ComponentProps<typeof Char
|
|
|
1866
1791
|
}
|
|
1867
1792
|
declare const TimeSeries: React__default.FC<TimeSeriesProps>;
|
|
1868
1793
|
|
|
1869
|
-
interface Props$
|
|
1870
|
-
processedData:
|
|
1871
|
-
name: string;
|
|
1872
|
-
}>;
|
|
1794
|
+
interface Props$6 {
|
|
1795
|
+
processedData: ChartData$3[];
|
|
1873
1796
|
onOpenPeriod: (periodName: string) => void;
|
|
1874
1797
|
rightOffset?: number;
|
|
1875
1798
|
topOffset?: number;
|
|
1876
1799
|
activePeriod?: string;
|
|
1877
1800
|
activePeriods?: string[];
|
|
1878
1801
|
}
|
|
1879
|
-
declare function PeriodsDropdown({ processedData, onOpenPeriod, rightOffset, topOffset, activePeriod, activePeriods, }: Props$
|
|
1802
|
+
declare function PeriodsDropdown({ processedData, onOpenPeriod, rightOffset, topOffset, activePeriod, activePeriods, }: Props$6): react_jsx_runtime.JSX.Element;
|
|
1880
1803
|
|
|
1881
|
-
interface Props$
|
|
1804
|
+
interface Props$5 {
|
|
1882
1805
|
showOnlyHighlighted: boolean;
|
|
1883
1806
|
setShowOnlyHighlighted: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
1884
1807
|
highlightedSeriesSize: number;
|
|
1885
1808
|
clearHighlights: () => void;
|
|
1886
1809
|
}
|
|
1887
|
-
declare const ShowOnly: React__default.FC<Props$
|
|
1810
|
+
declare const ShowOnly: React__default.FC<Props$5>;
|
|
1888
1811
|
|
|
1889
1812
|
interface MapperEntry {
|
|
1890
1813
|
label?: string;
|
|
@@ -1893,7 +1816,7 @@ interface MapperEntry {
|
|
|
1893
1816
|
type?: string;
|
|
1894
1817
|
visible?: boolean;
|
|
1895
1818
|
}
|
|
1896
|
-
interface Props$
|
|
1819
|
+
interface Props$4 {
|
|
1897
1820
|
allKeys: string[];
|
|
1898
1821
|
mapperConfig: Record<string, MapperEntry>;
|
|
1899
1822
|
finalColors: Record<string, string>;
|
|
@@ -1901,7 +1824,7 @@ interface Props$2 {
|
|
|
1901
1824
|
toggleHighlight: (key: string) => void;
|
|
1902
1825
|
containerWidth?: number;
|
|
1903
1826
|
}
|
|
1904
|
-
declare const Highlights: React__default.FC<Props$
|
|
1827
|
+
declare const Highlights: React__default.FC<Props$4>;
|
|
1905
1828
|
|
|
1906
1829
|
interface CloseAllButtonProps {
|
|
1907
1830
|
count: number;
|
|
@@ -1951,7 +1874,7 @@ type TooltipPayloadItem$1 = {
|
|
|
1951
1874
|
name: string;
|
|
1952
1875
|
color?: string;
|
|
1953
1876
|
};
|
|
1954
|
-
interface Props$
|
|
1877
|
+
interface Props$3 {
|
|
1955
1878
|
active?: boolean;
|
|
1956
1879
|
payload?: TooltipPayloadItem$1[];
|
|
1957
1880
|
label?: string;
|
|
@@ -1963,7 +1886,7 @@ interface Props$1 {
|
|
|
1963
1886
|
yAxisMap?: Record<string, "left" | "right">;
|
|
1964
1887
|
isBiaxial?: boolean;
|
|
1965
1888
|
}
|
|
1966
|
-
declare const RechartTooltipWithTotal: React__default.FC<Props$
|
|
1889
|
+
declare const RechartTooltipWithTotal: React__default.FC<Props$3>;
|
|
1967
1890
|
|
|
1968
1891
|
type TooltipPayloadItem = {
|
|
1969
1892
|
dataKey: string;
|
|
@@ -1971,7 +1894,7 @@ type TooltipPayloadItem = {
|
|
|
1971
1894
|
name: string;
|
|
1972
1895
|
color?: string;
|
|
1973
1896
|
};
|
|
1974
|
-
interface Props {
|
|
1897
|
+
interface Props$2 {
|
|
1975
1898
|
active?: boolean;
|
|
1976
1899
|
payload?: TooltipPayloadItem[];
|
|
1977
1900
|
label?: string;
|
|
@@ -1982,7 +1905,7 @@ interface Props {
|
|
|
1982
1905
|
yAxisMap?: Record<string, "left" | "right">;
|
|
1983
1906
|
isBiaxial?: boolean;
|
|
1984
1907
|
}
|
|
1985
|
-
declare const TooltipSimple: React__default.FC<Props>;
|
|
1908
|
+
declare const TooltipSimple: React__default.FC<Props$2>;
|
|
1986
1909
|
|
|
1987
1910
|
interface IntegrationProperties {
|
|
1988
1911
|
tipo?: string;
|
|
@@ -2073,6 +1996,44 @@ interface HorizontalLegendProps {
|
|
|
2073
1996
|
}
|
|
2074
1997
|
declare const HorizontalLegend: React__default.FC<HorizontalLegendProps>;
|
|
2075
1998
|
|
|
1999
|
+
type Props$1 = {
|
|
2000
|
+
allKeys: string[];
|
|
2001
|
+
mapperConfig: MapperConfig;
|
|
2002
|
+
finalColors: Record<string, string>;
|
|
2003
|
+
highlightedSeries: Set<string>;
|
|
2004
|
+
toggleHighlight: (k: string) => void;
|
|
2005
|
+
showOnlyHighlighted: boolean;
|
|
2006
|
+
setShowOnlyHighlighted: React__default.Dispatch<React__default.SetStateAction<boolean>>;
|
|
2007
|
+
highlightedSeriesSize: number;
|
|
2008
|
+
clearHighlights: () => void;
|
|
2009
|
+
enableHighlights?: boolean;
|
|
2010
|
+
enableShowOnly?: boolean;
|
|
2011
|
+
enablePeriodsDropdown?: boolean;
|
|
2012
|
+
enableDraggableTooltips?: boolean;
|
|
2013
|
+
processedData?: ChartData$3[];
|
|
2014
|
+
onOpenPeriod?: (p: string) => void;
|
|
2015
|
+
rightOffset?: number;
|
|
2016
|
+
activePeriods?: string[];
|
|
2017
|
+
containerClass?: string;
|
|
2018
|
+
containerWidth?: number;
|
|
2019
|
+
};
|
|
2020
|
+
declare function ChartControls({ allKeys, mapperConfig, finalColors, highlightedSeries, toggleHighlight, showOnlyHighlighted, setShowOnlyHighlighted, highlightedSeriesSize, clearHighlights, enableHighlights, enableShowOnly, enablePeriodsDropdown, enableDraggableTooltips, processedData, onOpenPeriod, rightOffset, activePeriods, containerClass, containerWidth, }: Props$1): react_jsx_runtime.JSX.Element;
|
|
2021
|
+
|
|
2022
|
+
type Props = {
|
|
2023
|
+
title?: React__default.ReactNode;
|
|
2024
|
+
titlePosition?: string;
|
|
2025
|
+
HORIZONTAL_PADDING_CLASS?: string;
|
|
2026
|
+
customLegend?: boolean;
|
|
2027
|
+
data: ChartData$3[];
|
|
2028
|
+
allKeys: string[];
|
|
2029
|
+
processedData: ChartData$3[];
|
|
2030
|
+
finalColors: Record<string, string>;
|
|
2031
|
+
mapperConfig: MapperConfig;
|
|
2032
|
+
finalValueFormatter?: ValueFormatterType;
|
|
2033
|
+
formatBR?: boolean;
|
|
2034
|
+
};
|
|
2035
|
+
declare function ChartHeader({ title, titlePosition, HORIZONTAL_PADDING_CLASS, customLegend, data, allKeys, processedData, finalColors, mapperConfig, finalValueFormatter, formatBR, }: Props): react_jsx_runtime.JSX.Element;
|
|
2036
|
+
|
|
2076
2037
|
interface UseChartHighlightsReturn {
|
|
2077
2038
|
highlightedSeries: Set<string>;
|
|
2078
2039
|
showOnlyHighlighted: boolean;
|
|
@@ -2167,6 +2128,56 @@ interface ChartMinMaxResult {
|
|
|
2167
2128
|
}
|
|
2168
2129
|
declare const useChartMinMax: ({ processedData, orderBy, xAxisDataKey, categoryFormatter, }: UseChartMinMaxProps) => ChartMinMaxResult;
|
|
2169
2130
|
|
|
2131
|
+
type Params$2 = {
|
|
2132
|
+
data: ChartData$3[];
|
|
2133
|
+
xAxisKey: string;
|
|
2134
|
+
timeSeriesConfig?: boolean | TimeSeriesConfig;
|
|
2135
|
+
startIndex: number;
|
|
2136
|
+
endIndex: number;
|
|
2137
|
+
};
|
|
2138
|
+
declare function useProcessedData({ data, xAxisKey, timeSeriesConfig, startIndex, endIndex, }: Params$2): {
|
|
2139
|
+
name: string;
|
|
2140
|
+
}[];
|
|
2141
|
+
|
|
2142
|
+
declare function useBiaxial(biaxial?: BiaxialConfig | string | string[], yAxisLabel?: string): BiaxialConfig | null;
|
|
2143
|
+
|
|
2144
|
+
type Params$1 = {
|
|
2145
|
+
chartMargin?: {
|
|
2146
|
+
left?: number;
|
|
2147
|
+
right?: number;
|
|
2148
|
+
};
|
|
2149
|
+
yAxisLabel?: string | number;
|
|
2150
|
+
AXIS_LABEL_MARGIN: number;
|
|
2151
|
+
yTickFormatter: (v: number | string) => string;
|
|
2152
|
+
minLeftDataValue: number;
|
|
2153
|
+
niceMaxLeft: number;
|
|
2154
|
+
rightKeysLength: number;
|
|
2155
|
+
measuredWidth?: number | null;
|
|
2156
|
+
width: number | string;
|
|
2157
|
+
computedWidth: number;
|
|
2158
|
+
};
|
|
2159
|
+
declare function useChartLayout({ chartMargin, yAxisLabel, AXIS_LABEL_MARGIN, yTickFormatter, minLeftDataValue, niceMaxLeft, rightKeysLength, measuredWidth, width, computedWidth, }: Params$1): {
|
|
2160
|
+
finalChartRightMargin: number;
|
|
2161
|
+
finalChartLeftMargin: number;
|
|
2162
|
+
yAxisTickWidth: number;
|
|
2163
|
+
effectiveChartWidth: number;
|
|
2164
|
+
chartInnerWidth: number;
|
|
2165
|
+
leftYAxisLabelDx: number;
|
|
2166
|
+
rightYAxisLabelDx: number;
|
|
2167
|
+
};
|
|
2168
|
+
|
|
2169
|
+
declare function useSeriesOpacity(highlightedSeries: Set<string>): (key: string) => 1 | 0.25;
|
|
2170
|
+
|
|
2171
|
+
type Params = {
|
|
2172
|
+
enableDraggableTooltips: boolean;
|
|
2173
|
+
processedData: ChartData$3[];
|
|
2174
|
+
activeTooltips: TooltipItem$2[];
|
|
2175
|
+
setActiveTooltips: React.Dispatch<React.SetStateAction<TooltipItem$2[]>>;
|
|
2176
|
+
maxTooltips: number;
|
|
2177
|
+
effectiveChartWidth: number;
|
|
2178
|
+
};
|
|
2179
|
+
declare function useOpenTooltipForPeriod({ enableDraggableTooltips, processedData, activeTooltips, setActiveTooltips, maxTooltips, effectiveChartWidth, }: Params): (periodName: string) => void;
|
|
2180
|
+
|
|
2170
2181
|
interface NoDataProps {
|
|
2171
2182
|
paddingLeft?: number;
|
|
2172
2183
|
height?: number | string;
|
|
@@ -2227,4 +2238,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2227
2238
|
isDragging: boolean;
|
|
2228
2239
|
};
|
|
2229
2240
|
|
|
2230
|
-
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, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, 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,
|
|
2241
|
+
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, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, 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, ChartControls, ChartHeader, 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, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, type LeaderboardItem, type LeaderboardProps, LikeButton, LoadingBase, LockButton, 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, NumericInput, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, 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, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, 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, SystemTooltip, 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, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, 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, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|