UNPKG

@wix/css-property-parser

Version:

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

24 lines (23 loc) 718 B
"use strict"; // Grid-gap property parser (LEGACY ALIAS) // This property has been deprecated in favor of gap // https://developer.mozilla.org/en-US/docs/Web/CSS/gap // https://www.w3.org/TR/css-align-3/#gap-legacy Object.defineProperty(exports, "__esModule", { value: true }); exports.parse = parse; exports.toCSSValue = toCSSValue; const gap_1 = require('./gap.cjs'); /** * Parse a CSS grid-gap property string (legacy alias for gap) * @deprecated Use gap instead */ function parse(value) { return (0, gap_1.parse)(value); } /** * Convert a parsed grid-gap back to CSS string (legacy alias for gap) * @deprecated Use gap instead */ function toCSSValue(parsed) { return (0, gap_1.toCSSValue)(parsed); }