blob: 6d1854ae41f224d97b4805f2a49d9ebcd810b012 [file] [log] [blame]
// NOTICE: This file is generated by Rollup. To modify it,
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
'use strict';
/** @type {ReadonlySet<string>} */
const camelCaseFunctions = new Set([
'translateX',
'translateY',
'translateZ',
'scaleX',
'scaleY',
'scaleZ',
'rotateX',
'rotateY',
'rotateZ',
'skewX',
'skewY',
]);
/** @type {ReadonlySet<string>} */
const colorFunctions = new Set([
'color',
'color-mix',
'hsl',
'hsla',
'hwb',
'lab',
'lch',
'oklab',
'oklch',
'rgb',
'rgba',
]);
/** @type {ReadonlySet<string>} */
const singleArgumentMathFunctions = new Set([
'abs',
'acos',
'asin',
'atan',
'calc',
'cos',
'exp',
'sign',
'sin',
'sqrt',
'tan',
]);
/** @type {ReadonlySet<string>} */
const mathFunctions = new Set([
...singleArgumentMathFunctions,
'atan2',
'calc-size',
'clamp',
'hypot',
'log',
'max',
'min',
'mod',
'pow',
'rem',
'round',
]);
exports.camelCaseFunctions = camelCaseFunctions;
exports.colorFunctions = colorFunctions;
exports.mathFunctions = mathFunctions;