@anyemp/ui-kit 1.3.2 → 1.4.1

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.d.ts CHANGED
@@ -91,6 +91,30 @@ export declare interface AccordionTriggerProps {
91
91
  style?: default_2.CSSProperties;
92
92
  }
93
93
 
94
+ export declare const ActivityHeatmap: default_2.FC<ActivityHeatmapProps>;
95
+
96
+ export declare type ActivityHeatmapColor = 'primary' | 'secondary' | 'success' | 'tertiary' | 'warning' | 'error' | 'info' | 'neutral';
97
+
98
+ export declare interface ActivityHeatmapDataPoint {
99
+ date: string;
100
+ value: number;
101
+ meta?: unknown;
102
+ }
103
+
104
+ export declare interface ActivityHeatmapProps {
105
+ data?: ActivityHeatmapDataPoint[];
106
+ /** Last day shown. Defaults to today. */
107
+ endDate?: string;
108
+ /** Number of week columns. Default 52 ≈ 1 year (like GitHub). */
109
+ weeks?: number;
110
+ /** Color theme. Default 'success'. */
111
+ color?: ActivityHeatmapColor;
112
+ /** If provided, buckets values relative to this max instead of the data max. */
113
+ maxValue?: number;
114
+ formatTooltip?: (isoDate: string, value: number, meta: unknown) => string;
115
+ isLoading?: boolean;
116
+ }
117
+
94
118
  export declare const Autocomplete: default_2.FC<AutocompleteProps>;
95
119
 
96
120
  declare type AutocompleteChipProps = Pick<ChipProps, 'variant' | 'color' | 'size' | 'leadingIcon' | 'sx'>;