@wix/css-property-parser
Version:
A comprehensive TypeScript library for parsing and serializing CSS property values with full MDN specification compliance
17 lines (16 loc) • 585 B
JavaScript
// Border Inline End Width property parser
// Handles parsing of CSS border-inline-end-width property
// https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end-width
import { parseLogicalBorderWidthProperty, logicalBorderWidthToCSSValue } from './shared-logical-border.js';
/**
* Parse a CSS border-inline-end-width property string
*/
export function parse(value) {
return parseLogicalBorderWidthProperty(value);
}
/**
* Convert BorderInlineEndWidthValue back to CSS string
*/
export function toCSSValue(parsed) {
return logicalBorderWidthToCSSValue(parsed);
}