UNPKG

1.1 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var formatting_1 = require("./utils/formatting");
4/**
5 * Returns the number with a suffix of %
6 */
7exports.percent = formatting_1.formatUnit('%');
8/**
9 * Returns the number with a suffix of deg
10 */
11exports.deg = formatting_1.formatUnit('deg');
12/**
13 * Returns the number with a suffix of em
14 */
15exports.em = formatting_1.formatUnit('em');
16/**
17 * Returns the number with a suffix of ex
18 */
19exports.ex = formatting_1.formatUnit('ex');
20/**
21 * Returns the number with a suffix of px
22 */
23exports.px = formatting_1.formatUnit('px');
24/**
25 * Returns the number with a suffix of rad
26 */
27exports.rad = formatting_1.formatUnit('rad');
28/**
29 * Returns the number with a suffix of rem
30 */
31exports.rem = formatting_1.formatUnit('rem');
32/**
33 * Returns the number with a suffix of vh
34 */
35exports.viewHeight = formatting_1.formatUnit('vh');
36/**
37 * Returns the number with a suffix of vw
38 */
39exports.viewWidth = formatting_1.formatUnit('vw');
40/**
41 * Returns the number with a suffix of turn
42 */
43exports.turn = formatting_1.formatUnit('turn');