| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- // 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;
|