UNPKG

@wix/css-property-parser

Version:

A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance

20 lines (19 loc) 542 B
"use strict"; // Row-gap property parser // https://developer.mozilla.org/en-US/docs/Web/CSS/row-gap Object.defineProperty(exports, "__esModule", { value: true }); exports.parse = parse; exports.toCSSValue = toCSSValue; const shared_gap_1 = require('./shared-gap.cjs'); /** * Parse a CSS row-gap property string */ function parse(value) { return (0, shared_gap_1.parseGapProperty)(value); } /** * Convert a parsed row-gap value back to CSS string */ function toCSSValue(parsed) { return (0, shared_gap_1.gapToCSSValue)(parsed); }