@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
15 lines • 846 B
TypeScript
import { ResizableSizeValue } from './resizable_constants';
export declare function isValidSizing(value: string): boolean;
export interface ParseSizeOptions {
clampToContainer?: boolean;
}
export declare function parseSizeToPixels(value: ResizableSizeValue, containerSize: number, options?: ParseSizeOptions): number;
export declare function validateContainerSize(containerSize: number): number;
export declare function isPercentageValue(value: ResizableSizeValue): boolean;
export declare function isCSSValue(value: ResizableSizeValue): boolean;
export declare function pixelsToPercentage(pixels: number, containerSize: number): number;
export declare function hasPercentageMinSize(panel: {
userMinSize?: ResizableSizeValue;
}): boolean;
export declare function invalidateTokenCache(): void;
//# sourceMappingURL=resizable_utils.d.ts.map