Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/styles/cssUtils.d.ts 865 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  import { CSSProperties } from "./createMixins.js";
  export function isUnitless(value: string): boolean;
  export function getUnit(input: string): string;
  export function toUnitless(value: string): number;
  export function convertLength(baseFontSize: string): (length: string, toUnit: string) => string;
  export interface AlignPropertyParams {
    size: number;
    grid: number;
  }
  export function alignProperty(params: AlignPropertyParams): number;
  export interface FontGridParams {
    lineHeight: number;
    pixels: number;
    htmlFontSize: number;
  }
  export function fontGrid(params: FontGridParams): number;
  export interface ResponsivePropertyParams {
    cssProperty: string;
    min: number;
    max: number;
    unit?: string;
    breakpoints?: number[];
    transform?: (value: number) => number;
  }
  export function responsiveProperty(params: ResponsivePropertyParams): CSSProperties;