postcss-unit-unit
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -5,24 +5,24 @@ // 任意样式单位转换工具 | ||
interface Px2RpxOptions { | ||
unitToConvert: string; | ||
viewportWidth: number; | ||
unitPrecision: number; | ||
viewportUnit: string; | ||
fontViewportUnit: string; | ||
fullViewportWidth: number; | ||
selectorBlackList: any[]; | ||
propList: string[]; | ||
minPixelValue: number; | ||
mediaQuery: boolean; | ||
replace: boolean; | ||
landscape: boolean; | ||
landscapeUnit: string; | ||
landscapeWidth: number; | ||
exclude: any; | ||
include: any; | ||
unitToConvert?: string; | ||
viewportWidth?: number; | ||
unitPrecision?: number; | ||
viewportUnit?: string; | ||
fontViewportUnit?: string; | ||
fullViewportWidth?: number; | ||
selectorBlackList?: any[]; | ||
propList?: string[]; | ||
minPixelValue?: number; | ||
mediaQuery?: boolean; | ||
replace?: boolean; | ||
landscape?: boolean; | ||
landscapeUnit?: string; | ||
landscapeWidth?: number; | ||
exclude?: any; | ||
include?: any; | ||
} | ||
// 定义 px2rpx 函数 | ||
declare function px2rpx(options: Px2RpxOptions): any; | ||
declare function px2rpx(options?: Px2RpxOptions): any; | ||
// 导出函数 | ||
export = px2rpx; |
@@ -5,3 +5,3 @@ { | ||
"description": "A CSS post-processor that converts px to viewport units (vw, vh, rpx, rem, vmin, vmax, ...).", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "author": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14205