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
23 lines
652 B
Plaintext
23 lines
652 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.position = void 0;
|
|
exports.position = {
|
|
name: 'position',
|
|
initialValue: 'static',
|
|
prefix: false,
|
|
type: 2 /* IDENT_VALUE */,
|
|
parse: function (_context, position) {
|
|
switch (position) {
|
|
case 'relative':
|
|
return 1 /* RELATIVE */;
|
|
case 'absolute':
|
|
return 2 /* ABSOLUTE */;
|
|
case 'fixed':
|
|
return 3 /* FIXED */;
|
|
case 'sticky':
|
|
return 4 /* STICKY */;
|
|
}
|
|
return 0 /* STATIC */;
|
|
}
|
|
};
|
|
//# sourceMappingURL=position.js.map |