@selectwin/kit 0.1.21 → 0.1.23

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.
@@ -20,6 +20,10 @@ type SelectHeatmapOwnProps = {
20
20
  max?: number;
21
21
  /** Minimum cell width in px. Default 40. */
22
22
  cellSize?: number;
23
+ /** Maximum cell width in px. Caps the `1fr` stretch so a grid with FEW columns (e.g. a
24
+ * young cohort with only M0) doesn't smear one cell across the whole card. Wide grids
25
+ * (day×hour) are unaffected — their cells never reach the cap. Default 96. */
26
+ maxCellSize?: number;
23
27
  };
24
28
  export type SelectHeatmapProps = SelectHeatmapOwnProps & Omit<ComponentPropsWithoutRef<'div'>, keyof SelectHeatmapOwnProps>;
25
29
  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>>;