UNPKG

@isotope/prototope

Version:

Isotope-based JavaScript library for speedy UI prototyping

52 lines (51 loc) 1.71 kB
import { Util } from "../../declarations"; /** * Prototope padding util. * * @param value - Config value. * @returns - Prototope util. */ declare const p: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; /** * Prototope padding-top & padding-bottom util. * * @param value - Config value. * @returns - Prototope util. */ declare const py: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; /** * Prototope padding-right & padding-left util. * * @param value - Config value. * @returns - Prototope util. */ declare const px: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; /** * Prototope padding-bottom util. * * @param value - Config value. * @returns - Prototope util. */ declare const pb: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; /** * Prototope padding-top util. * * @param value - Config value. * @returns - Prototope util. */ declare const pt: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; /** * Prototope padding-right util. * * @param value - Config value. * @returns - Prototope util. */ declare const pr: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; /** * Prototope padding-left util. * * @param value - Config value. * @returns - Prototope util. */ declare const pl: (value: 0 | 2 | 1 | 4 | 8 | 3 | 5 | 6 | 10 | 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | "px") => Util; export { p, py, px, pb, pt, pr, pl };