Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
40 lines
1.6 KiB
Text
40 lines
1.6 KiB
Text
import { CSSProperties } from 'react';
|
|
import { Coordinate, CartesianViewBox, AllowInDimension } from '../types';
|
|
export type Dimension2D = 'x' | 'y';
|
|
export declare function getTooltipCSSClassName({ coordinate, translateX, translateY, }: {
|
|
translateX: number | undefined;
|
|
translateY: number | undefined;
|
|
coordinate: Partial<Coordinate> | undefined;
|
|
}): string;
|
|
export declare function getTooltipTranslateXY({ allowEscapeViewBox, coordinate, key, offsetTopLeft, position, reverseDirection, tooltipDimension, viewBox, viewBoxDimension, }: {
|
|
allowEscapeViewBox: AllowInDimension;
|
|
coordinate: Partial<Coordinate>;
|
|
key: Dimension2D;
|
|
offsetTopLeft: number;
|
|
position: Partial<Coordinate>;
|
|
reverseDirection: AllowInDimension;
|
|
tooltipDimension: number;
|
|
viewBox: CartesianViewBox;
|
|
viewBoxDimension: number;
|
|
}): number;
|
|
export declare function getTransformStyle({ translateX, translateY, useTranslate3d, }: {
|
|
useTranslate3d: boolean;
|
|
translateX: number;
|
|
translateY: number;
|
|
}): CSSProperties;
|
|
export declare function getTooltipTranslate({ allowEscapeViewBox, coordinate, offsetTopLeft, position, reverseDirection, tooltipBox, useTranslate3d, viewBox, }: {
|
|
allowEscapeViewBox: AllowInDimension;
|
|
coordinate: Partial<Coordinate> | undefined;
|
|
offsetTopLeft: number;
|
|
position: Partial<Coordinate>;
|
|
reverseDirection: AllowInDimension;
|
|
tooltipBox: {
|
|
width: number;
|
|
height: number;
|
|
};
|
|
useTranslate3d: boolean;
|
|
viewBox: CartesianViewBox;
|
|
}): {
|
|
cssProperties: CSSProperties;
|
|
cssClasses: string;
|
|
};
|