Files
klz-cables.com/.pnpm-store/v10/files/dd/581bf606a124a6f52e1468c7b7016b92d0f93e89f863bb76f3cdaad40a9f421dd4f4d9afe2970b11e26cec054c425ef6032963600ae5cf59f91f79b8d87af3
Marc Mintel 5397309103
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
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
985 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.backgroundSize = exports.BACKGROUND_SIZE = void 0;
var parser_1 = require("../syntax/parser");
var length_percentage_1 = require("../types/length-percentage");
var BACKGROUND_SIZE;
(function (BACKGROUND_SIZE) {
BACKGROUND_SIZE["AUTO"] = "auto";
BACKGROUND_SIZE["CONTAIN"] = "contain";
BACKGROUND_SIZE["COVER"] = "cover";
})(BACKGROUND_SIZE = exports.BACKGROUND_SIZE || (exports.BACKGROUND_SIZE = {}));
exports.backgroundSize = {
name: 'background-size',
initialValue: '0',
prefix: false,
type: 1 /* LIST */,
parse: function (_context, tokens) {
return parser_1.parseFunctionArgs(tokens).map(function (values) { return values.filter(isBackgroundSizeInfoToken); });
}
};
var isBackgroundSizeInfoToken = function (value) {
return parser_1.isIdentToken(value) || length_percentage_1.isLengthPercentage(value);
};
//# sourceMappingURL=background-size.js.map