@serenity-ui/styles
Advanced tools
Comparing version 0.1.23 to 0.1.24
import { Tuple } from "@serenity-ui/utils"; | ||
import { Length, Size, UnitType } from "../../types/values"; | ||
import { Size, UnitType } from "../../types/values"; | ||
import { JSX } from "solid-js/jsx-runtime"; | ||
@@ -23,9 +23,8 @@ /** | ||
/** | ||
* Resolve the input as a length value | ||
* resolves the size input dynamically or as constant and returns a string. | ||
* | ||
* @param varName The variable name to use for Size values | ||
* @param length The size value | ||
* @param unit The unit type | ||
* @param size Size | number | ||
* @return string | ||
*/ | ||
export declare function resolveLength(varName: string, length: Length | undefined, unit?: UnitType): string | undefined; | ||
export declare function resolveSize(varName: string, size: Size | number, unit: UnitType): string; | ||
/** | ||
@@ -32,0 +31,0 @@ * Returns a modifier variable with a name and value |
@@ -0,2 +1,6 @@ | ||
import { Color } from "../types/theme"; | ||
import { Length } from "../types/values"; | ||
export declare function rem(value: number): string; | ||
export declare function parseLength(value: Length): string; | ||
export declare function parseColor(value: Color): string | undefined; | ||
//# sourceMappingURL=values.d.ts.map |
{ | ||
"name": "@serenity-ui/styles", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./dist/serenity-styles.umd.cjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
71674
56
1272