UNPKG

@wix/css-property-parser

Version:

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

21 lines (20 loc) 698 B
"use strict"; // Border Inline End property parser // Handles parsing of CSS border-inline-end shorthand property // https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end Object.defineProperty(exports, "__esModule", { value: true }); exports.parse = parse; exports.toCSSValue = toCSSValue; const shared_logical_border_1 = require('./shared-logical-border.cjs'); /** * Parse a CSS border-inline-end property string */ function parse(value) { return (0, shared_logical_border_1.parseLogicalBorderProperty)(value); } /** * Convert BorderIndividualValue back to CSS string */ function toCSSValue(parsed) { return (0, shared_logical_border_1.logicalBorderToCSSValue)(parsed); }