@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) • 726 B
JavaScript
;
// Border Inline End Style property parser
// Handles parsing of CSS border-inline-end-style property
// https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end-style
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-style property string
*/
function parse(value) {
return (0, shared_logical_border_1.parseLogicalBorderStyleProperty)(value);
}
/**
* Convert BorderInlineEndStyleValue back to CSS string
*/
function toCSSValue(parsed) {
return (0, shared_logical_border_1.logicalBorderStyleToCSSValue)(parsed);
}