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
846 B
Plaintext
27 lines
846 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.wordBreak = exports.WORD_BREAK = void 0;
|
|
var WORD_BREAK;
|
|
(function (WORD_BREAK) {
|
|
WORD_BREAK["NORMAL"] = "normal";
|
|
WORD_BREAK["BREAK_ALL"] = "break-all";
|
|
WORD_BREAK["KEEP_ALL"] = "keep-all";
|
|
})(WORD_BREAK = exports.WORD_BREAK || (exports.WORD_BREAK = {}));
|
|
exports.wordBreak = {
|
|
name: 'word-break',
|
|
initialValue: 'normal',
|
|
prefix: false,
|
|
type: 2 /* IDENT_VALUE */,
|
|
parse: function (_context, wordBreak) {
|
|
switch (wordBreak) {
|
|
case 'break-all':
|
|
return WORD_BREAK.BREAK_ALL;
|
|
case 'keep-all':
|
|
return WORD_BREAK.KEEP_ALL;
|
|
case 'normal':
|
|
default:
|
|
return WORD_BREAK.NORMAL;
|
|
}
|
|
}
|
|
};
|
|
//# sourceMappingURL=word-break.js.map |