@selectwin/kit 0.1.24 → 0.1.26

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.
@@ -38,8 +38,9 @@ type SelectGlobeOwnProps = {
38
38
  legend?: boolean;
39
39
  /** Draw the real continents (Natural Earth land). */
40
40
  map?: boolean;
41
- /** Notified after each scroll-zoom step with the new scale (clamped 0.8–1.8). Lets the
42
- * host derive granularity from zoom, maps-style (e.g. country state → city). */
41
+ /** Notified after each scroll-zoom event with the new scale (clamped 0.8–1.8). The step is
42
+ * proportional to the wheel delta, so trackpads glide instead of jumping. Lets the host
43
+ * derive granularity from zoom, maps-style (e.g. country → state → city). */
43
44
  onZoomChange?: (scale: number) => void;
44
45
  };
45
46
  export type SelectGlobeProps = SelectGlobeOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectGlobeOwnProps>;
@@ -24,6 +24,10 @@ type SelectHeatmapOwnProps = {
24
24
  * young cohort with only M0) doesn't smear one cell across the whole card. Wide grids
25
25
  * (day×hour) are unaffected — their cells never reach the cap. Default 96. */
26
26
  maxCellSize?: number;
27
+ /** Cell height in px. Default 30 (dense grids like day×hour). Cohort-style grids that
28
+ * print money/percent INSIDE the cell read better at 40+ — from 40 up the value font
29
+ * scales up automatically. */
30
+ cellHeight?: number;
27
31
  };
28
32
  export type SelectHeatmapProps = SelectHeatmapOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectHeatmapOwnProps>;
29
33
  export declare const SelectHeatmap: import('react').ForwardRefExoticComponent<SelectHeatmapOwnProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, keyof SelectHeatmapOwnProps> & import('react').RefAttributes<HTMLDivElement>>;