@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) • 554 B
JavaScript
;
// Column-gap property parser
// https://developer.mozilla.org/en-US/docs/Web/CSS/column-gap
Object.defineProperty(exports, "__esModule", { value: true });
exports.parse = parse;
exports.toCSSValue = toCSSValue;
const shared_gap_1 = require('./shared-gap.cjs');
/**
* Parse a CSS column-gap property string
*/
function parse(value) {
return (0, shared_gap_1.parseGapProperty)(value);
}
/**
* Convert a parsed column-gap value back to CSS string
*/
function toCSSValue(parsed) {
return (0, shared_gap_1.gapToCSSValue)(parsed);
}