Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
27 lines
998 B
Plaintext
27 lines
998 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.borderLeftStyle = exports.borderBottomStyle = exports.borderRightStyle = exports.borderTopStyle = void 0;
|
|
var borderStyleForSide = function (side) { return ({
|
|
name: "border-" + side + "-style",
|
|
initialValue: 'solid',
|
|
prefix: false,
|
|
type: 2 /* IDENT_VALUE */,
|
|
parse: function (_context, style) {
|
|
switch (style) {
|
|
case 'none':
|
|
return 0 /* NONE */;
|
|
case 'dashed':
|
|
return 2 /* DASHED */;
|
|
case 'dotted':
|
|
return 3 /* DOTTED */;
|
|
case 'double':
|
|
return 4 /* DOUBLE */;
|
|
}
|
|
return 1 /* SOLID */;
|
|
}
|
|
}); };
|
|
exports.borderTopStyle = borderStyleForSide('top');
|
|
exports.borderRightStyle = borderStyleForSide('right');
|
|
exports.borderBottomStyle = borderStyleForSide('bottom');
|
|
exports.borderLeftStyle = borderStyleForSide('left');
|
|
//# sourceMappingURL=border-style.js.map |