Sha256: 6e75762f2f087249595758acf7c8fee598719e651e619c9d399352f0eea9afcc

Contents?: true

Size: 1.39 KB

Versions: 24

Compression:

Stored size: 1.39 KB

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = isNativeCssFunction;
var nativeCssFunctions = new Set(["annotation", "attr", "blur", "brightness", "calc", "character-variant", "circle", "contrast", "cross-fade", "cubic-bezier", "drop-shadow", "element", "ellipse", "fit-content", "format", "frames", "grayscale", "hsl", "hsla", "hue-rotate", "image", "image-set", "inset", "invert", "leader", "linear-gradient", "local", "matrix", "matrix3d", "minmax", "opacity", "ornaments", "perspective", "polygon", "radial-gradient", "rect", "repeat", "repeating-linear-gradient", "repeating-radial-gradient", "rgb", "rgba", "rotate", "rotate3d", "rotateX", "rotatex", "rotateY", "rotatey", "rotateZ", "rotatez", "saturate", "scale", "scale3d", "scaleX", "scalex", "scaleY", "scaley", "scaleZ", "scalez", "sepia", "skew", "skewX", "skewY", "steps", "styleset", "stylistic", "swash", "symbols", "target-counter", "target-counters", "target-text", "translate", "translate3d", "translateX", "translatex", "translateY", "translatey", "translateZ", "translatez", "url", "var"]);
/**
 * Check if a function name is a native CSS function name.
 *
 * @param {string} functionName The name to check.
 * @returns {boolean} Whether or not the given function name is a native CSS function name.
 */

function isNativeCssFunction(functionName) {
  return nativeCssFunctions.has(functionName);
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
trusty-cms-6.3.1 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.7 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.6 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.5 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.4 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.3 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.2 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.1 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.3.5 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-5.0.0 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.3.4 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.3.3 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.3.2 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.3.1 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.3 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.2.3 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.2.2 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.2.1 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.2 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js
trusty-cms-4.1.9 node_modules/stylelint-scss/dist/utils/isNativeCssFunction.js