New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cryptic-css/core

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptic-css/core - npm Package Compare versions

Comparing version 5.0.0-alpha.0 to 5.0.0-alpha.1

11

CHANGELOG_X.md

@@ -15,1 +15,12 @@ - new Map structure => performance

- faster and improved TypeScript types completely based on `csstype` supporting CCSS shorthands and CCSS shorthand values
- `ccssd` got removed => switch to function wrapper
babel-plugin:
- new config structure
- individually use features
- default hashing: MurMur2
- ccss format
- complete rewrite
- strict mode
- extracting dynamic values

0

CHANGELOG.md

@@ -0,0 +0,0 @@ # Change Log

6

dist/ccss.d.ts
import { CCSSTransformedFn } from './types';
export declare const createCCSS: ({ outputTransformer, options, props }?: {
outputTransformer?: import("./types").CCSSOutputTransformer | undefined;
options?: Partial<import("transformed").Options> | undefined;
props?: import("transformed").Props | undefined;
outputTransformer?: import("transformed").CCSSOutputTransformer | undefined;
options?: any;
props?: any;
}) => CCSSTransformedFn;
export declare const ccss: CCSSTransformedFn;

@@ -11,4 +11,6 @@ import transformed from 'transformed';

} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return transformed().setOutputTransformer(outputTransformer).setOptions(options).setProps(props);
const fn = transformed().setOutputTransformer(outputTransformer).setOptions(options).setProps(props);
globalThis.__ccss = fn;
return fn;
};
export const ccss = createCCSS();
import { CCSSTransformedFn } from './types';
export declare const createCCSS: ({ outputTransformer, options, props }?: {
outputTransformer?: import("./types").CCSSOutputTransformer | undefined;
options?: Partial<import("transformed").Options> | undefined;
props?: import("transformed").Props | undefined;
outputTransformer?: import("transformed").CCSSOutputTransformer | undefined;
options?: any;
props?: any;
}) => CCSSTransformedFn;
export declare const ccss: CCSSTransformedFn;

@@ -24,3 +24,5 @@ "use strict";

} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
return (0, _transformed.default)().setOutputTransformer(outputTransformer).setOptions(options).setProps(props);
var fn = (0, _transformed.default)().setOutputTransformer(outputTransformer).setOptions(options).setProps(props);
globalThis.__ccss = fn;
return fn;
};

@@ -27,0 +29,0 @@

@@ -0,1 +1,2 @@

import '@ungap/global-this';
export * from 'transformed';

@@ -2,0 +3,0 @@ export * from './ccss';

@@ -14,2 +14,4 @@ "use strict";

require("@ungap/global-this");
var _transformed = require("transformed");

@@ -20,3 +22,2 @@

if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _transformed[key]) return;
Object.defineProperty(exports, key, {

@@ -35,3 +36,2 @@ enumerable: true,

if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _ccss[key]) return;
Object.defineProperty(exports, key, {

@@ -50,3 +50,2 @@ enumerable: true,

if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _parsers[key]) return;
Object.defineProperty(exports, key, {

@@ -65,3 +64,2 @@ enumerable: true,

if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _outputTransformers[key]) return;
Object.defineProperty(exports, key, {

@@ -80,3 +78,2 @@ enumerable: true,

if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _types[key]) return;
Object.defineProperty(exports, key, {

@@ -83,0 +80,0 @@ enumerable: true,

@@ -1,3 +0,2 @@

import { Options } from 'transformed';
declare const defaultOptions: () => Partial<Options>;
declare const defaultOptions: () => any;
export default defaultOptions;

@@ -1,3 +0,3 @@

import { CCSSOutputTransformer } from './types';
import { CCSSOutputTransformer } from '@/types';
export declare const objectOutputTransformer: CCSSOutputTransformer;
export declare const stringOutputTransformer: CCSSOutputTransformer;

@@ -1,2 +0,2 @@

import { CCSSParser } from './types';
import { CCSSParser } from '@/types';
export declare const parseSingle: CCSSParser;

@@ -3,0 +3,0 @@ export declare const parseArray: CCSSParser;

@@ -1,3 +0,2 @@

import { Props } from 'transformed';
declare const defaultProps: () => Props;
declare const defaultProps: () => any;
export default defaultProps;

@@ -56,7 +56,13 @@ "use strict";

[false]: 'none'
});
}); // Minify and optimize
var toCSSRuleHandler = [_parsers.toCSSRule];
var fromArrayToCSSRuleHandler = [_parsers.parseArray, _parsers.toCSSRule];
var pseudoHandler = [_parsers.parsePseudo];
var nil = null;
var defaultProps = () => [// SVG presentational attributes
[['ab', 'alignment-baseline'], null, [_parsers.toCSSRule]], [['bls', 'baseline-shift'], null, [_parsers.toCSSRule]], [['cpr', 'clip-rule'], null, [_parsers.toCSSRule]], [['cif', 'color-interpolation-filters'], null, [_parsers.toCSSRule]], [['ci', 'color-interpolation'], null, [_parsers.toCSSRule]], [['cpf', 'color-profile'], null, [_parsers.toCSSRule]], [['crd', 'color-rendering'], null, [_parsers.toCSSRule]], [['db', 'dominant-baseline'], null, [_parsers.toCSSRule]], [['eb', 'enable-background'], null, [_parsers.toCSSRule]], [['fo', 'fill-opacity'], null, [_parsers.toCSSRule]], [['fr', 'fill-rule'], null, [_parsers.toCSSRule]], [['fi', 'fill'], null, [_parsers.toCSSRule]], [['fdc', 'flood-color'], null, [_parsers.toCSSRule]], [['fdo', 'flood-opacity'], null, [_parsers.toCSSRule]], [['fsa', 'font-size-adjust'], null, [_parsers.toCSSRule]], [['goh', 'glyph-orientation-horizontal'], null, [_parsers.toCSSRule]], [['ir', 'image-rendering'], null, [_parsers.toCSSRule]], [['k', 'kerning'], null, [_parsers.toCSSRule]], [['lc', 'lighting-color'], null, [_parsers.toCSSRule]], [['me', 'marker-end'], null, [_parsers.toCSSRule]], [['mm', 'marker-mid'], null, [_parsers.toCSSRule]], [['ms', 'marker-start'], null, [_parsers.toCSSRule]], [['msk', 'mask'], null, [_parsers.toCSSRule]], [['sr', 'shape-rendering'], null, [_parsers.toCSSRule]], [['sc', 'stop-color'], null, [_parsers.toCSSRule]], [['sda', 'stroke-dasharray'], null, [_parsers.toCSSRule]], [['sdo', 'stroke-dashoffset'], null, [_parsers.toCSSRule]], [['slc', 'stroke-linecap'], null, [_parsers.toCSSRule]], [['slj', 'stroke-linejoin'], null, [_parsers.toCSSRule]], [['sml', 'stroke-miterlimit'], null, [_parsers.toCSSRule]], [['sop', 'stroke-opacity'], null, [_parsers.toCSSRule]], [['swt', 'stroke-width'], null, [_parsers.toCSSRule]], [['st', 'stroke'], null, [_parsers.toCSSRule]], [['txa', 'text-anchor'], null, [_parsers.toCSSRule]], [['txr', 'text-rendering'], null, [_parsers.toCSSRule]], [['ub', 'unicode-bidi'], null, [_parsers.toCSSRule]], [['wm', 'writing-mode'], null, [_parsers.toCSSRule]], // Animation + 3D
[['a', 'animation'], null, [_parsers.toCSSRule]], [['ad', 'animation-delay'], null, [_parsers.toCSSRule]], [['aDir', 'animation-direction'], {
[['ab', 'alignment-baseline'], nil, toCSSRuleHandler], [['bls', 'baseline-shift'], nil, toCSSRuleHandler], [['cpr', 'clip-rule'], nil, toCSSRuleHandler], [['cif', 'color-interpolation-filters'], nil, toCSSRuleHandler], [['ci', 'color-interpolation'], nil, toCSSRuleHandler], [['cpf', 'color-profile'], nil, toCSSRuleHandler], [['crd', 'color-rendering'], nil, toCSSRuleHandler], [['db', 'dominant-baseline'], nil, toCSSRuleHandler], [['eb', 'enable-background'], nil, toCSSRuleHandler], [['fo', 'fill-opacity'], nil, toCSSRuleHandler], [['fr', 'fill-rule'], nil, toCSSRuleHandler], [['fi', 'fill'], nil, toCSSRuleHandler], [['fdc', 'flood-color'], nil, toCSSRuleHandler], [['fdo', 'flood-opacity'], nil, toCSSRuleHandler], [['fsa', 'font-size-adjust'], nil, toCSSRuleHandler], [['goh', 'glyph-orientation-horizontal'], nil, toCSSRuleHandler], [['ir', 'image-rendering'], nil, toCSSRuleHandler], [['k', 'kerning'], nil, toCSSRuleHandler], [['lc', 'lighting-color'], nil, toCSSRuleHandler], [['me', 'marker-end'], nil, toCSSRuleHandler], [['mm', 'marker-mid'], nil, toCSSRuleHandler], [['ms', 'marker-start'], nil, toCSSRuleHandler], [['msk', 'mask'], nil, toCSSRuleHandler], [['sr', 'shape-rendering'], nil, toCSSRuleHandler], [['sc', 'stop-color'], nil, toCSSRuleHandler], [['sda', 'stroke-dasharray'], nil, toCSSRuleHandler], [['sdo', 'stroke-dashoffset'], nil, toCSSRuleHandler], [['slc', 'stroke-linecap'], nil, toCSSRuleHandler], [['slj', 'stroke-linejoin'], nil, toCSSRuleHandler], [['sml', 'stroke-miterlimit'], nil, toCSSRuleHandler], [['sop', 'stroke-opacity'], nil, toCSSRuleHandler], [['swt', 'stroke-width'], nil, toCSSRuleHandler], [['st', 'stroke'], nil, toCSSRuleHandler], [['txa', 'text-anchor'], nil, toCSSRuleHandler], [['txr', 'text-rendering'], nil, toCSSRuleHandler], [['ub', 'unicode-bidi'], nil, toCSSRuleHandler], [['wm', 'writing-mode'], nil, toCSSRuleHandler], // Animation + 3D
[['a', 'animation'], nil, toCSSRuleHandler], [['ad', 'animation-delay'], nil, toCSSRuleHandler], [['aDir', 'animation-direction'], {
n: 'normal',

@@ -66,14 +72,14 @@ r: 'reverse',

ar: 'alternate-reverse'
}], [['aD', 'animation-duration'], null, [_parsers.toCSSRule]], [['afm', 'animation-fill-mode'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}], [['aD', 'animation-duration'], nil, toCSSRuleHandler], [['afm', 'animation-fill-mode'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
fwd: 'forwards',
bwd: 'backwards',
b: 'both'
})], [['aic', 'animation-iteration-count'], null, [_parsers.toCSSRule]], [['an', 'animation-name'], null, [_parsers.toCSSRule]], [['aps', 'animation-play-state'], {
})], [['aic', 'animation-iteration-count'], nil, toCSSRuleHandler], [['an', 'animation-name'], nil, toCSSRuleHandler], [['aps', 'animation-play-state'], {
p: 'paused',
r: 'running'
}], [['ats', 'animation-timing-function'], null, [_parsers.toCSSRule]], [['bv', 'backface-visibility'], {
}], [['ats', 'animation-timing-function'], nil, toCSSRuleHandler], [['bv', 'backface-visibility'], {
v: 'visible',
h: 'hidden'
}], [['per', 'perspective'], null, [_parsers.toCSSRule]], [['pero', 'perspective-origin'], null, [_parsers.toCSSRule]], [['tf', 'transform'], null, [_parsers.toCSSRule]], [['tfo', 'transform-origin'], getTfoBgpPos(), [_parsers.toCSSRule]], [['tfs', 'transform-style'], null, [_parsers.toCSSRule]], [['tr', 'transition'], null, [_parsers.toCSSRule]], [['trD', 'transition-delay'], null, [_parsers.toCSSRule]], [['trd', 'transition-duration'], null, [_parsers.toCSSRule]], [['trp', 'transition-property'], null, [_parsers.toCSSRule]], [['trt', 'transition-timing-function'], null, [_parsers.toCSSRule]], // Flex
[['f', 'flex'], null, [_parsers.toCSSRule]], [['fd', 'flex-direction'], {
}], [['per', 'perspective'], nil, toCSSRuleHandler], [['pero', 'perspective-origin'], nil, toCSSRuleHandler], [['tf', 'transform'], nil, toCSSRuleHandler], [['tfo', 'transform-origin'], getTfoBgpPos(), toCSSRuleHandler], [['tfs', 'transform-style'], nil, toCSSRuleHandler], [['tr', 'transition'], nil, toCSSRuleHandler], [['trD', 'transition-delay'], nil, toCSSRuleHandler], [['trd', 'transition-duration'], nil, toCSSRuleHandler], [['trp', 'transition-property'], nil, toCSSRuleHandler], [['trt', 'transition-timing-function'], nil, toCSSRuleHandler], // Flex
[['f', 'flex'], nil, toCSSRuleHandler], [['fd', 'flex-direction'], {
r: 'row',

@@ -83,6 +89,6 @@ rr: 'row-reverse',

cr: 'column-reverse'
}, [_parsers.toCSSRule]], [['fw', 'flex-wrap'], {
}, toCSSRuleHandler], [['fw', 'flex-wrap'], {
w: 'wrap'
}, [_parsers.toCSSRule]], [['fb', 'flex-basis'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['ff', 'flex-flow'], null, [_parsers.toCSSRule]], [['fg', 'flex-grow'], null, [_parsers.toCSSRule]], [['fs', 'flex-shrink'], null, [_parsers.toCSSRule]], [['ai', 'align-items'], getAligns(), [_parsers.toCSSRule]], [['ac', 'align-content'], getAligns(), [_parsers.toCSSRule]], [['ji', 'justify-items'], getAligns(), [_parsers.toCSSRule]], [['jc', 'justify-content'], getAligns(), [_parsers.toCSSRule]], [['aS', 'align-self'], null, [_parsers.toCSSRule]], [['jS', 'justify-self'], null, [_parsers.toCSSRule]], // Font + text related
[['ft', 'font'], null, [_parsers.toCSSRule]], [['ftf', 'font-family'], null, [_parsers.toCSSRule]], [['ftk', 'font-kerning'], null, [_parsers.toCSSRule]], [['fts', 'font-size'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['ftStr', 'font-stretch'], {
}, toCSSRuleHandler], [['fb', 'flex-basis'], nil, fromArrayToCSSRuleHandler], [['ff', 'flex-flow'], nil, toCSSRuleHandler], [['fg', 'flex-grow'], nil, toCSSRuleHandler], [['fs', 'flex-shrink'], nil, toCSSRuleHandler], [['ai', 'align-items'], getAligns(), toCSSRuleHandler], [['ac', 'align-content'], getAligns(), toCSSRuleHandler], [['ji', 'justify-items'], getAligns(), toCSSRuleHandler], [['jc', 'justify-content'], getAligns(), toCSSRuleHandler], [['aS', 'align-self'], nil, toCSSRuleHandler], [['jS', 'justify-self'], nil, toCSSRuleHandler], // Font + text related
[['ft', 'font'], nil, toCSSRuleHandler], [['ftf', 'font-family'], nil, toCSSRuleHandler], [['ftk', 'font-kerning'], nil, toCSSRuleHandler], [['fts', 'font-size'], nil, fromArrayToCSSRuleHandler], [['ftStr', 'font-stretch'], {
uc: 'ultra-condensed',

@@ -97,10 +103,10 @@ ec: 'extra-condensed',

ue: 'ultra-expanded'
}, [_parsers.toCSSRule]], [['ftSty', 'font-style'], {
}, toCSSRuleHandler], [['ftSty', 'font-style'], {
n: 'normal',
i: 'italic',
o: 'oblique'
}, [_parsers.toCSSRule]], [['ftv', 'font-variant'], {
}, toCSSRuleHandler], [['ftv', 'font-variant'], {
n: 'normal',
sc: 'small-caps'
}, [_parsers.toCSSRule]], [['ftw', 'font-weight'], {
}, toCSSRuleHandler], [['ftw', 'font-weight'], {
n: 'normal',

@@ -110,14 +116,14 @@ b: 'bold',

l: 'lighter'
}, [_parsers.toCSSRule]], [['ls', 'letter-spacing'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['lh', 'line-height'], null, [_parsers.toCSSRule]], [['ta', 'text-align'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}, toCSSRuleHandler], [['ls', 'letter-spacing'], nil, fromArrayToCSSRuleHandler], [['lh', 'line-height'], nil, toCSSRuleHandler], [['ta', 'text-align'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
u: 'underline',
o: 'overline',
t: 'line-through'
}), [_parsers.toCSSRule]], [['td', 'text-decoration'], null, [_parsers.toCSSRule]], [['ti', 'text-indent'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['to', 'text-overflow'], {
}), toCSSRuleHandler], [['td', 'text-decoration'], nil, toCSSRuleHandler], [['ti', 'text-indent'], nil, fromArrayToCSSRuleHandler], [['to', 'text-overflow'], {
c: 'clip',
e: 'ellipsis'
}, [_parsers.toCSSRule]], [['ts', 'text-shadow'], null, [_parsers.toCSSRule]], [['tt', 'text-transform'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}, toCSSRuleHandler], [['ts', 'text-shadow'], nil, toCSSRuleHandler], [['tt', 'text-transform'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
c: 'capitalize',
u: 'uppercase',
l: 'lowercase'
}), [_parsers.toCSSRule]], [['va', 'vertical-align'], {
}), toCSSRuleHandler], [['va', 'vertical-align'], {
b: 'baseline',

@@ -131,3 +137,3 @@ sub: 'sub',

tb: 'text-bottom'
}, [_parsers.toCSSRule]], [['ws', 'white-space'], {
}, toCSSRuleHandler], [['ws', 'white-space'], {
n: 'normal',

@@ -138,3 +144,3 @@ nw: 'nowrap',

pw: 'pre-wrap'
}, [_parsers.toCSSRule]], [['wb', 'word-break'], {
}, toCSSRuleHandler], [['wb', 'word-break'], {
n: 'normal',

@@ -144,9 +150,9 @@ ba: 'break-all',

bw: 'break-word'
}, [_parsers.toCSSRule]], [['wS', 'word-spacing'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['ww', 'word-wrap'], {
}, toCSSRuleHandler], [['wS', 'word-spacing'], nil, fromArrayToCSSRuleHandler], [['ww', 'word-wrap'], {
n: 'normal',
b: 'break-word'
}, [_parsers.toCSSRule]], // List
[['l', 'list-style'], _objectSpread({}, getFalseNone()), [_parsers.toCSSRule]], [['li', 'list-style-image'], null, [_parsers.toCSSRule]], [['lp', 'list-style-position'], null, [_parsers.toCSSRule]], [['lt', 'list-style-type'], null, [_parsers.toCSSRule]], // Margin
[['m', 'margin'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['mT', 'margin-top'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['mR', 'margin-right'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['mB', 'margin-bottom'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['mL', 'margin-left'], null, [_parsers.parseArray, _parsers.toCSSRule]], // Padding
[['p', 'pad', 'padding'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['pT', 'padding-top'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['pR', 'padding-right'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['pB', 'padding-bottom'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['pL', 'padding-left'], null, [_parsers.parseArray, _parsers.toCSSRule]], // Background
}, toCSSRuleHandler], // List
[['l', 'list-style'], _objectSpread({}, getFalseNone()), toCSSRuleHandler], [['li', 'list-style-image'], nil, toCSSRuleHandler], [['lp', 'list-style-position'], nil, toCSSRuleHandler], [['lt', 'list-style-type'], nil, toCSSRuleHandler], // Margin
[['m', 'margin'], nil, fromArrayToCSSRuleHandler], [['mT', 'margin-top'], nil, fromArrayToCSSRuleHandler], [['mR', 'margin-right'], nil, fromArrayToCSSRuleHandler], [['mB', 'margin-bottom'], nil, fromArrayToCSSRuleHandler], [['mL', 'margin-left'], nil, fromArrayToCSSRuleHandler], // Padding
[['p', 'pad', 'padding'], nil, fromArrayToCSSRuleHandler], [['pT', 'padding-top'], nil, fromArrayToCSSRuleHandler], [['pR', 'padding-right'], nil, fromArrayToCSSRuleHandler], [['pB', 'padding-bottom'], nil, fromArrayToCSSRuleHandler], [['pL', 'padding-left'], nil, fromArrayToCSSRuleHandler], // Background
[['bg', 'background'], {

@@ -157,9 +163,9 @@ t: 'transparent',

[false]: 'none'
}, [_parsers.parseArray, _parsers.toCSSRule]], [['bgi', 'background-image'], null, [_parsers.toCSSRule]], [['bgc', 'background-color'], {
}, fromArrayToCSSRuleHandler], [['bgi', 'background-image'], nil, toCSSRuleHandler], [['bgc', 'background-color'], {
t: 'transparent'
}, [_parsers.toCSSRule]], [['bgs', 'background-size'], {
}, toCSSRuleHandler], [['bgs', 'background-size'], {
a: 'auto',
cr: 'cover',
cn: 'contain'
}, [_parsers.parseArray, _parsers.toCSSRule]], [['bgr', 'background-repeat'], {
}, fromArrayToCSSRuleHandler], [['bgr', 'background-repeat'], {
// @ts-ignore

@@ -174,7 +180,7 @@ [true]: 'repeat',

r: 'round'
}, [_parsers.toCSSRule]], [['bgp', 'background-position'], getTfoBgpPos(), [_parsers.parseArray, _parsers.toCSSRule]], [['bga', 'background-attachment'], {
}, toCSSRuleHandler], [['bgp', 'background-position'], getTfoBgpPos(), fromArrayToCSSRuleHandler], [['bga', 'background-attachment'], {
s: 'scroll',
f: 'fixed',
l: 'local'
}, [_parsers.toCSSRule]], [['bgbm', 'background-blend-mode'], {
}, toCSSRuleHandler], [['bgbm', 'background-blend-mode'], {
n: 'normal',

@@ -190,11 +196,11 @@ m: 'multiply',

lu: 'luminosity'
}, [_parsers.toCSSRule]], [['bgC', 'background-clip'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bgo', 'background-origin'], {
}, toCSSRuleHandler], [['bgC', 'background-clip'], nil, fromArrayToCSSRuleHandler], [['bgo', 'background-origin'], {
b: 'border-box',
p: 'padding-box',
c: 'content-box'
}, [_parsers.toCSSRule]], [['bf', 'backdrop-filter'], null, [_parsers.parseArray, _parsers.toCSSRule]], // Dimension
[['w', 'width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['h', 'height'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['minW', 'min-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['minH', 'min-height'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['maxW', 'max-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['maxH', 'max-height'], null, [_parsers.parseArray, _parsers.toCSSRule]], // Grid
[['g', 'grid'], null, [_parsers.toCSSRule]], [['ga', 'grid-area'], null, [_parsers.toCSSRule]], [['gac', 'grid-auto-columns'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gaf', 'grid-auto-flow'], null, [_parsers.toCSSRule]], [['gar', 'grid-auto-rows'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gc', 'grid-column'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gce', 'grid-column-end'], null, [_parsers.toCSSRule]], [['gcg', 'grid-column-gap'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gcs', 'grid-column-start'], null, [_parsers.toCSSRule]], [['gg', 'grid-gap'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gr', 'grid-row'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gre', 'grid-row-end'], null, [_parsers.toCSSRule]], [['grg', 'grid-row-gap'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['grs', 'grid-row-start'], null, [_parsers.toCSSRule]], [['gt', 'grid-template'], null, [_parsers.toCSSRule]], [['gta', 'grid-template-areas'], null, [_parsers.toCSSRule]], [['gtc', 'grid-template-columns'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['gtr', 'grid-template-rows'], null, [_parsers.parseArray, _parsers.toCSSRule]], // Border
[['b', 'border'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bB', 'border-bottom'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bBc', 'border-bottom-color'], null, [_parsers.toCSSRule]], [['bBlr', 'border-bottom-left-radius'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bBrr', 'border-bottom-right-radius'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bBs', 'border-bottom-style'], null, [_parsers.toCSSRule]], [['bBw', 'border-bottom-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bC', 'border-collapse'], null, [_parsers.toCSSRule]], [['bc', 'border-color'], null, [_parsers.toCSSRule]], [['bi', 'border-image'], null, [_parsers.toCSSRule]], [['bio', 'border-image-outset'], null, [_parsers.toCSSRule]], [['bir', 'border-image-repeat'], null, [_parsers.toCSSRule]], [['bis', 'border-image-slice'], null, [_parsers.toCSSRule]], [['biSrc', 'border-image-source'], null, [_parsers.toCSSRule]], [['biw', 'border-image-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bL', 'border-left'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bLc', 'border-left-color'], null, [_parsers.toCSSRule]], [['bLs', 'border-left-style'], null, [_parsers.toCSSRule]], [['bLw', 'border-left-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['br', 'border-radius'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bR', 'border-right'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bRc', 'border-right-color'], null, [_parsers.toCSSRule]], [['bRs', 'border-right-style'], null, [_parsers.toCSSRule]], [['bRw', 'border-right-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bs', 'border-spacing'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bS', 'border-style'], null, [_parsers.toCSSRule]], [['bT', 'border-top'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bTc', 'border-top-color'], null, [_parsers.toCSSRule]], [['bTlr', 'border-top-left-radius'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bTrr', 'border-top-right-radius'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bTs', 'border-top-style'], null, [_parsers.toCSSRule]], [['bTw', 'border-top-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['bw', 'border-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], // Clip
[['clp', 'clip'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['clpp', 'clip-path'], null, [_parsers.toCSSRule]], // General
}, toCSSRuleHandler], [['bf', 'backdrop-filter'], nil, fromArrayToCSSRuleHandler], // Dimension
[['w', 'width'], nil, fromArrayToCSSRuleHandler], [['h', 'height'], nil, fromArrayToCSSRuleHandler], [['minW', 'min-width'], nil, fromArrayToCSSRuleHandler], [['minH', 'min-height'], nil, fromArrayToCSSRuleHandler], [['maxW', 'max-width'], nil, fromArrayToCSSRuleHandler], [['maxH', 'max-height'], nil, fromArrayToCSSRuleHandler], // Grid
[['g', 'grid'], nil, toCSSRuleHandler], [['ga', 'grid-area'], nil, toCSSRuleHandler], [['gac', 'grid-auto-columns'], nil, fromArrayToCSSRuleHandler], [['gaf', 'grid-auto-flow'], nil, toCSSRuleHandler], [['gar', 'grid-auto-rows'], nil, fromArrayToCSSRuleHandler], [['gc', 'grid-column'], nil, fromArrayToCSSRuleHandler], [['gce', 'grid-column-end'], nil, toCSSRuleHandler], [['gcg', 'grid-column-gap'], nil, fromArrayToCSSRuleHandler], [['gcs', 'grid-column-start'], nil, toCSSRuleHandler], [['gg', 'grid-gap'], nil, fromArrayToCSSRuleHandler], [['gr', 'grid-row'], nil, fromArrayToCSSRuleHandler], [['gre', 'grid-row-end'], nil, toCSSRuleHandler], [['grg', 'grid-row-gap'], nil, fromArrayToCSSRuleHandler], [['grs', 'grid-row-start'], nil, toCSSRuleHandler], [['gt', 'grid-template'], nil, toCSSRuleHandler], [['gta', 'grid-template-areas'], nil, toCSSRuleHandler], [['gtc', 'grid-template-columns'], nil, fromArrayToCSSRuleHandler], [['gtr', 'grid-template-rows'], nil, fromArrayToCSSRuleHandler], // Border
[['b', 'border'], nil, fromArrayToCSSRuleHandler], [['bB', 'border-bottom'], nil, fromArrayToCSSRuleHandler], [['bBc', 'border-bottom-color'], nil, toCSSRuleHandler], [['bBlr', 'border-bottom-left-radius'], nil, fromArrayToCSSRuleHandler], [['bBrr', 'border-bottom-right-radius'], nil, fromArrayToCSSRuleHandler], [['bBs', 'border-bottom-style'], nil, toCSSRuleHandler], [['bBw', 'border-bottom-width'], nil, fromArrayToCSSRuleHandler], [['bC', 'border-collapse'], nil, toCSSRuleHandler], [['bc', 'border-color'], nil, toCSSRuleHandler], [['bi', 'border-image'], nil, toCSSRuleHandler], [['bio', 'border-image-outset'], nil, toCSSRuleHandler], [['bir', 'border-image-repeat'], nil, toCSSRuleHandler], [['bis', 'border-image-slice'], nil, toCSSRuleHandler], [['biSrc', 'border-image-source'], nil, toCSSRuleHandler], [['biw', 'border-image-width'], nil, fromArrayToCSSRuleHandler], [['bL', 'border-left'], nil, fromArrayToCSSRuleHandler], [['bLc', 'border-left-color'], nil, toCSSRuleHandler], [['bLs', 'border-left-style'], nil, toCSSRuleHandler], [['bLw', 'border-left-width'], nil, fromArrayToCSSRuleHandler], [['br', 'border-radius'], nil, fromArrayToCSSRuleHandler], [['bR', 'border-right'], nil, fromArrayToCSSRuleHandler], [['bRc', 'border-right-color'], nil, toCSSRuleHandler], [['bRs', 'border-right-style'], nil, toCSSRuleHandler], [['bRw', 'border-right-width'], nil, fromArrayToCSSRuleHandler], [['bs', 'border-spacing'], nil, fromArrayToCSSRuleHandler], [['bS', 'border-style'], nil, toCSSRuleHandler], [['bT', 'border-top'], nil, fromArrayToCSSRuleHandler], [['bTc', 'border-top-color'], nil, toCSSRuleHandler], [['bTlr', 'border-top-left-radius'], nil, fromArrayToCSSRuleHandler], [['bTrr', 'border-top-right-radius'], nil, fromArrayToCSSRuleHandler], [['bTs', 'border-top-style'], nil, toCSSRuleHandler], [['bTw', 'border-top-width'], nil, fromArrayToCSSRuleHandler], [['bw', 'border-width'], nil, fromArrayToCSSRuleHandler], // Clip
[['clp', 'clip'], nil, fromArrayToCSSRuleHandler], [['clpp', 'clip-path'], nil, toCSSRuleHandler], // General
[['d', 'display'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {

@@ -209,3 +215,3 @@ i: 'inline',

t: 'table'
}), [_parsers.toCSSRule]], [['P', 'position'], {
}), toCSSRuleHandler], [['P', 'position'], {
a: 'absolute',

@@ -216,8 +222,8 @@ f: 'fixed',

sy: 'sticky'
}, [_parsers.toCSSRule]], [['T', 'top'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['R', 'right'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['B', 'bottom'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['L', 'left'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['zi', 'z-index'], null, [_parsers.toCSSRule]], [['c', 'color'], null, [_parsers.toCSSRule]], [['o', 'overflow'], getOverflows(), [_parsers.toCSSRule]], [['ox', 'overflow-x'], getOverflows(), [_parsers.toCSSRule]], [['oy', 'overflow-y'], getOverflows(), [_parsers.toCSSRule]], [['oa', 'overflow-anchor'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}, toCSSRuleHandler], [['T', 'top'], nil, fromArrayToCSSRuleHandler], [['R', 'right'], nil, fromArrayToCSSRuleHandler], [['B', 'bottom'], nil, fromArrayToCSSRuleHandler], [['L', 'left'], nil, fromArrayToCSSRuleHandler], [['zi', 'z-index'], nil, toCSSRuleHandler], [['c', 'color'], nil, toCSSRuleHandler], [['o', 'overflow'], getOverflows(), toCSSRuleHandler], [['ox', 'overflow-x'], getOverflows(), toCSSRuleHandler], [['oy', 'overflow-y'], getOverflows(), toCSSRuleHandler], [['oa', 'overflow-anchor'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
a: 'auto'
}), [_parsers.toCSSRule]], [['fl', 'float'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}), toCSSRuleHandler], [['fl', 'float'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
l: 'left',
r: 'right'
}), [_parsers.toCSSRule]], [['clr', 'clear'], {
}), toCSSRuleHandler], [['clr', 'clear'], {
l: 'left',

@@ -228,3 +234,3 @@ r: 'right',

b: 'both'
}, [_parsers.toCSSRule]], [['v', 'visibility'], {
}, toCSSRuleHandler], [['v', 'visibility'], {
// @ts-ignore

@@ -237,6 +243,6 @@ [true]: 'visible',

c: 'collapse'
}, [_parsers.toCSSRule]], // Columns
[['col', 'columns'], null, [_parsers.toCSSRule]], [['cc', 'column-count'], null, [_parsers.toCSSRule]], [['cf', 'column-fill'], null, [_parsers.toCSSRule]], [['cg', 'column-gap'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['cr', 'column-rule'], null, [_parsers.toCSSRule]], [['crc', 'column-rule-color'], null, [_parsers.toCSSRule]], [['crs', 'column-rule-style'], null, [_parsers.toCSSRule]], [['crw', 'column-rule-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['cs', 'column-span'], null, [_parsers.toCSSRule]], [['cw', 'column-width'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['pba', 'page-break-after'], null, [_parsers.toCSSRule]], [['pbb', 'page-break-before'], null, [_parsers.toCSSRule]], [['pbi', 'page-break-inside'], null, [_parsers.toCSSRule]], // Box
[['shd', 'box-shadow'], _objectSpread({}, getFalseNone()), [_parsers.parseArray, _parsers.toCSSRule]], [['siz', 'box-sizing'], null, [_parsers.toCSSRule]], // Misc
[['cn', 'contain'], null, [_parsers.toCSSRule]], [['dir', 'direction'], null, [_parsers.toCSSRule]], [['of', 'object-fit'], {
}, toCSSRuleHandler], // Columns
[['col', 'columns'], nil, toCSSRuleHandler], [['cc', 'column-count'], nil, toCSSRuleHandler], [['cf', 'column-fill'], nil, toCSSRuleHandler], [['cg', 'column-gap'], nil, fromArrayToCSSRuleHandler], [['cr', 'column-rule'], nil, toCSSRuleHandler], [['crc', 'column-rule-color'], nil, toCSSRuleHandler], [['crs', 'column-rule-style'], nil, toCSSRuleHandler], [['crw', 'column-rule-width'], nil, fromArrayToCSSRuleHandler], [['cs', 'column-span'], nil, toCSSRuleHandler], [['cw', 'column-width'], nil, fromArrayToCSSRuleHandler], [['pba', 'page-break-after'], nil, toCSSRuleHandler], [['pbb', 'page-break-before'], nil, toCSSRuleHandler], [['pbi', 'page-break-inside'], nil, toCSSRuleHandler], // Box
[['shd', 'box-shadow'], _objectSpread({}, getFalseNone()), fromArrayToCSSRuleHandler], [['siz', 'box-sizing'], nil, toCSSRuleHandler], // Misc
[['cn', 'contain'], nil, toCSSRuleHandler], [['dir', 'direction'], nil, toCSSRuleHandler], [['of', 'object-fit'], {
f: 'fill',

@@ -249,3 +255,3 @@ cn: 'contain',

n: 'none'
}, [_parsers.toCSSRule]], [['oP', 'object-position'], null, [_parsers.toCSSRule]], [['op', 'opacity'], {
}, toCSSRuleHandler], [['oP', 'object-position'], nil, toCSSRuleHandler], [['op', 'opacity'], {
// @ts-ignore

@@ -255,3 +261,3 @@ [true]: 1,

[false]: 0
}, [_parsers.toCSSRule]], [['or', 'order'], null, [_parsers.toCSSRule]], [['ol', 'outline'], null, [_parsers.toCSSRule]], [['mbm', 'mix-blend-mode'], {
}, toCSSRuleHandler], [['or', 'order'], nil, toCSSRuleHandler], [['ol', 'outline'], nil, toCSSRuleHandler], [['mbm', 'mix-blend-mode'], {
n: 'normal',

@@ -271,3 +277,3 @@ m: 'multiply',

l: 'luminosity'
}, [_parsers.toCSSRule]], [['ct', 'content'], null, [_parsers.toCSSRule]], [['cur', 'cursor'], {
}, toCSSRuleHandler], [['ct', 'content'], nil, toCSSRuleHandler], [['cur', 'cursor'], {
al: 'alias',

@@ -309,14 +315,14 @@ all: 'all-scroll',

zo: 'zoom-out'
}, [_parsers.toCSSRule]], [['pe', 'pointer-events'], _objectSpread({
}, toCSSRuleHandler], [['pe', 'pointer-events'], _objectSpread({
// @ts-ignore
[true]: 'auto',
a: 'auto'
}, getFalseNone()), [_parsers.toCSSRule]], [['fil', 'filter'], null, [_parsers.parseArray, _parsers.toCSSRule]], [['sb', 'scroll-behavior'], {
}, getFalseNone()), toCSSRuleHandler], [['fil', 'filter'], nil, fromArrayToCSSRuleHandler], [['sb', 'scroll-behavior'], {
a: 'auto',
s: 'smooth'
}, [_parsers.toCSSRule]], [['sw', 'scrollbar-width'], {
}, toCSSRuleHandler], [['sw', 'scrollbar-width'], {
n: 'none'
}, [_parsers.parseArray, _parsers.toCSSRule]], [['sh', 'scrollbar-height'], {
}, fromArrayToCSSRuleHandler], [['sh', 'scrollbar-height'], {
n: 'none'
}, [_parsers.parseArray, _parsers.toCSSRule]], [['us', 'user-select'], {
}, fromArrayToCSSRuleHandler], [['us', 'user-select'], {
a: 'auto',

@@ -326,14 +332,14 @@ n: 'none',

all: 'all'
}], [['cac', 'caret-color'], null, [_parsers.toCSSRule]], [['rs', 'resize'], null, [_parsers.toCSSRule]], [['raw'], null, [i => i]], [['child'], null, [_parsers.child]], // Webkit
}], [['cac', 'caret-color'], nil, toCSSRuleHandler], [['rs', 'resize'], nil, toCSSRuleHandler], [['raw'], nil, [i => i]], [['child'], nil, [_parsers.child]], // Webkit
[['wtc', 'webkit-touch-callout', '-webkit-touch-callout'], {
d: 'default',
n: 'none'
}, [_parsers.toCSSRule]], [['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling'], {
}, toCSSRuleHandler], [['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling'], {
a: 'auto',
t: 'touch'
}, [_parsers.toCSSRule]], [['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color'], null, [_parsers.toCSSRule]], [['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color'], null, [_parsers.toCSSRule]], [['wud', 'webkit-user-drag', '-webkit-user-drag'], {
}, toCSSRuleHandler], [['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color'], nil, toCSSRuleHandler], [['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color'], nil, toCSSRuleHandler], [['wud', 'webkit-user-drag', '-webkit-user-drag'], {
a: 'auto',
e: 'element',
n: 'none'
}, [_parsers.toCSSRule]], [['wbf', 'webkit-backdrop-filter', '-webkit-backdrop-filter'], {
}, toCSSRuleHandler], [['wbf', 'webkit-backdrop-filter', '-webkit-backdrop-filter'], {
n: 'none',

@@ -346,4 +352,4 @@ s: 'strict',

p: 'paint'
}, [_parsers.parseArray, _parsers.toCSSRule]], // Pseudo selectors
[[':a', ':active'], null, [_parsers.parsePseudo]], [['::a', '::after'], null, [_parsers.parsePseudo]], [['::a, ::b', '::after, ::before'], null, [_parsers.parsePseudo]], [[':al', ':any-link'], null, [_parsers.parsePseudo]], [['::b', '::before'], null, [_parsers.parsePseudo]], [[':b', ':blank'], null, [_parsers.parsePseudo]], [[':c', ':checked'], null, [_parsers.parsePseudo]], [[':cur', ':current'], null, [_parsers.parsePseudo]], [[':def', ':default'], null, [_parsers.parsePseudo]], [[':Def', ':defined'], null, [_parsers.parsePseudo]], [[':dir', ':dir'], null, [_parsers.parsePseudo]], [[':dis', ':disabled'], null, [_parsers.parsePseudo]], [[':dr', ':drop'], null, [_parsers.parsePseudo]], [[':em', ':empty'], null, [_parsers.parsePseudo]], [[':en', ':enabled'], null, [_parsers.parsePseudo]], [[':f', ':first'], null, [_parsers.parsePseudo]], [[':fc', ':first-child'], null, [_parsers.parsePseudo]], [[':fot', ':first-of-type'], null, [_parsers.parsePseudo]], [[':fs', ':fullscreen'], null, [_parsers.parsePseudo]], [[':fu', ':future'], null, [_parsers.parsePseudo]], [[':fo', ':focus'], null, [_parsers.parsePseudo]], [[':fov', ':focus-visible'], null, [_parsers.parsePseudo]], [[':fow', ':focus-within'], null, [_parsers.parsePseudo]], [[':has', ':has'], null, [_parsers.parsePseudo]], [[':ho', ':host'], null, [_parsers.parsePseudo]], [[':hoc', ':host-context'], null, [_parsers.parsePseudo]], [[':h', ':hover'], null, [_parsers.parsePseudo]], [[':i', ':indeterminate'], null, [_parsers.parsePseudo]], [[':ir', ':in-range'], null, [_parsers.parsePseudo]], [[':in', ':invalid'], null, [_parsers.parsePseudo]], [[':is', ':is'], null, [_parsers.parsePseudo]], [[':l', ':lang'], null, [_parsers.parsePseudo]], [[':lc', ':last-child'], null, [_parsers.parsePseudo]], [[':lot', ':last-of-type'], null, [_parsers.parsePseudo]], [[':L', ':left'], null, [_parsers.parsePseudo]], [[':lk', ':link'], null, [_parsers.parsePseudo]], [[':llk', ':local-link'], null, [_parsers.parsePseudo]], [[':n', ':not'], null, [_parsers.parsePseudo]], [[':nc', ':nth-child'], null, [_parsers.parsePseudo]], [[':nC', ':nth-col'], null, [_parsers.parsePseudo]], [[':nlc', ':nth-last-child'], null, [_parsers.parsePseudo]], [[':nlC', ':nth-last-col'], null, [_parsers.parsePseudo]], [[':nlot', ':nth-last-of-type'], null, [_parsers.parsePseudo]], [[':not', ':nth-of-type'], null, [_parsers.parsePseudo]], [[':oc', ':only-child'], null, [_parsers.parsePseudo]], [[':oof', ':only-of-type'], null, [_parsers.parsePseudo]], [[':o', ':optional'], null, [_parsers.parsePseudo]], [[':our', ':out-of-range'], null, [_parsers.parsePseudo]], [[':p', ':past'], null, [_parsers.parsePseudo]], [[':ps', ':placeholder-shown'], null, [_parsers.parsePseudo]], [[':ro', ':read-only'], null, [_parsers.parsePseudo]], [[':rw', ':read-write'], null, [_parsers.parsePseudo]], [[':req', ':required'], null, [_parsers.parsePseudo]], [[':R', ':right'], null, [_parsers.parsePseudo]], [[':r', ':root'], null, [_parsers.parsePseudo]], [[':s', ':scope'], null, [_parsers.parsePseudo]], [[':t', ':target'], null, [_parsers.parsePseudo]], [[':tw', ':target-within'], null, [_parsers.parsePseudo]], [[':ui', ':user-invalid'], null, [_parsers.parsePseudo]], [[':v', ':valid'], null, [_parsers.parsePseudo]], [[':vis', ':visited'], null, [_parsers.parsePseudo]], [[':w', ':where'], null, [_parsers.parsePseudo]]];
}, fromArrayToCSSRuleHandler], // Pseudo selectors
[[':a', ':active'], nil, pseudoHandler], [['::a', '::after'], nil, pseudoHandler], [['::a, ::b', '::after, ::before'], nil, pseudoHandler], [[':al', ':any-link'], nil, pseudoHandler], [['::b', '::before'], nil, pseudoHandler], [[':b', ':blank'], nil, pseudoHandler], [[':c', ':checked'], nil, pseudoHandler], [[':cur', ':current'], nil, pseudoHandler], [[':def', ':default'], nil, pseudoHandler], [[':Def', ':defined'], nil, pseudoHandler], [[':dir', ':dir'], nil, pseudoHandler], [[':dis', ':disabled'], nil, pseudoHandler], [[':dr', ':drop'], nil, pseudoHandler], [[':em', ':empty'], nil, pseudoHandler], [[':en', ':enabled'], nil, pseudoHandler], [[':f', ':first'], nil, pseudoHandler], [[':fc', ':first-child'], nil, pseudoHandler], [[':fot', ':first-of-type'], nil, pseudoHandler], [[':fs', ':fullscreen'], nil, pseudoHandler], [[':fu', ':future'], nil, pseudoHandler], [[':fo', ':focus'], nil, pseudoHandler], [[':fov', ':focus-visible'], nil, pseudoHandler], [[':fow', ':focus-within'], nil, pseudoHandler], [[':has', ':has'], nil, pseudoHandler], [[':ho', ':host'], nil, pseudoHandler], [[':hoc', ':host-context'], nil, pseudoHandler], [[':h', ':hover'], nil, pseudoHandler], [[':i', ':indeterminate'], nil, pseudoHandler], [[':ir', ':in-range'], nil, pseudoHandler], [[':in', ':invalid'], nil, pseudoHandler], [[':is', ':is'], nil, pseudoHandler], [[':l', ':lang'], nil, pseudoHandler], [[':lc', ':last-child'], nil, pseudoHandler], [[':lot', ':last-of-type'], nil, pseudoHandler], [[':L', ':left'], nil, pseudoHandler], [[':lk', ':link'], nil, pseudoHandler], [[':llk', ':local-link'], nil, pseudoHandler], [[':n', ':not'], nil, pseudoHandler], [[':nc', ':nth-child'], nil, pseudoHandler], [[':nC', ':nth-col'], nil, pseudoHandler], [[':nlc', ':nth-last-child'], nil, pseudoHandler], [[':nlC', ':nth-last-col'], nil, pseudoHandler], [[':nlot', ':nth-last-of-type'], nil, pseudoHandler], [[':not', ':nth-of-type'], nil, pseudoHandler], [[':oc', ':only-child'], nil, pseudoHandler], [[':oof', ':only-of-type'], nil, pseudoHandler], [[':o', ':optional'], nil, pseudoHandler], [[':our', ':out-of-range'], nil, pseudoHandler], [[':p', ':past'], nil, pseudoHandler], [[':ps', ':placeholder-shown'], nil, pseudoHandler], [[':ro', ':read-only'], nil, pseudoHandler], [[':rw', ':read-write'], nil, pseudoHandler], [[':req', ':required'], nil, pseudoHandler], [[':R', ':right'], nil, pseudoHandler], [[':r', ':root'], nil, pseudoHandler], [[':s', ':scope'], nil, pseudoHandler], [[':t', ':target'], nil, pseudoHandler], [[':tw', ':target-within'], nil, pseudoHandler], [[':ui', ':user-invalid'], nil, pseudoHandler], [[':v', ':valid'], nil, pseudoHandler], [[':vis', ':visited'], nil, pseudoHandler], [[':w', ':where'], nil, pseudoHandler]];

@@ -350,0 +356,0 @@ var _default = defaultProps;

@@ -0,1 +1,2 @@

import '@ungap/global-this';
export * from 'transformed';

@@ -2,0 +3,0 @@ export * from './ccss';

@@ -0,1 +1,2 @@

import '@ungap/global-this';
export * from 'transformed';

@@ -2,0 +3,0 @@ export * from "./ccss";

@@ -1,3 +0,2 @@

import { Options } from 'transformed';
declare const defaultOptions: () => Partial<Options>;
declare const defaultOptions: () => any;
export default defaultOptions;

@@ -1,3 +0,3 @@

import { CCSSOutputTransformer } from './types';
import { CCSSOutputTransformer } from '@/types';
export declare const objectOutputTransformer: CCSSOutputTransformer;
export declare const stringOutputTransformer: CCSSOutputTransformer;

@@ -1,2 +0,2 @@

import { CCSSParser } from './types';
import { CCSSParser } from '@/types';
export declare const parseSingle: CCSSParser;

@@ -3,0 +3,0 @@ export declare const parseArray: CCSSParser;

@@ -1,3 +0,2 @@

import { Props } from 'transformed';
declare const defaultProps: () => Props;
declare const defaultProps: () => any;
export default defaultProps;

@@ -49,7 +49,13 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

[false]: 'none'
});
}); // Minify and optimize
const toCSSRuleHandler = [toCSSRule];
const fromArrayToCSSRuleHandler = [parseArray, toCSSRule];
const pseudoHandler = [parsePseudo];
const nil = null;
const defaultProps = () => [// SVG presentational attributes
[['ab', 'alignment-baseline'], null, [toCSSRule]], [['bls', 'baseline-shift'], null, [toCSSRule]], [['cpr', 'clip-rule'], null, [toCSSRule]], [['cif', 'color-interpolation-filters'], null, [toCSSRule]], [['ci', 'color-interpolation'], null, [toCSSRule]], [['cpf', 'color-profile'], null, [toCSSRule]], [['crd', 'color-rendering'], null, [toCSSRule]], [['db', 'dominant-baseline'], null, [toCSSRule]], [['eb', 'enable-background'], null, [toCSSRule]], [['fo', 'fill-opacity'], null, [toCSSRule]], [['fr', 'fill-rule'], null, [toCSSRule]], [['fi', 'fill'], null, [toCSSRule]], [['fdc', 'flood-color'], null, [toCSSRule]], [['fdo', 'flood-opacity'], null, [toCSSRule]], [['fsa', 'font-size-adjust'], null, [toCSSRule]], [['goh', 'glyph-orientation-horizontal'], null, [toCSSRule]], [['ir', 'image-rendering'], null, [toCSSRule]], [['k', 'kerning'], null, [toCSSRule]], [['lc', 'lighting-color'], null, [toCSSRule]], [['me', 'marker-end'], null, [toCSSRule]], [['mm', 'marker-mid'], null, [toCSSRule]], [['ms', 'marker-start'], null, [toCSSRule]], [['msk', 'mask'], null, [toCSSRule]], [['sr', 'shape-rendering'], null, [toCSSRule]], [['sc', 'stop-color'], null, [toCSSRule]], [['sda', 'stroke-dasharray'], null, [toCSSRule]], [['sdo', 'stroke-dashoffset'], null, [toCSSRule]], [['slc', 'stroke-linecap'], null, [toCSSRule]], [['slj', 'stroke-linejoin'], null, [toCSSRule]], [['sml', 'stroke-miterlimit'], null, [toCSSRule]], [['sop', 'stroke-opacity'], null, [toCSSRule]], [['swt', 'stroke-width'], null, [toCSSRule]], [['st', 'stroke'], null, [toCSSRule]], [['txa', 'text-anchor'], null, [toCSSRule]], [['txr', 'text-rendering'], null, [toCSSRule]], [['ub', 'unicode-bidi'], null, [toCSSRule]], [['wm', 'writing-mode'], null, [toCSSRule]], // Animation + 3D
[['a', 'animation'], null, [toCSSRule]], [['ad', 'animation-delay'], null, [toCSSRule]], [['aDir', 'animation-direction'], {
[['ab', 'alignment-baseline'], nil, toCSSRuleHandler], [['bls', 'baseline-shift'], nil, toCSSRuleHandler], [['cpr', 'clip-rule'], nil, toCSSRuleHandler], [['cif', 'color-interpolation-filters'], nil, toCSSRuleHandler], [['ci', 'color-interpolation'], nil, toCSSRuleHandler], [['cpf', 'color-profile'], nil, toCSSRuleHandler], [['crd', 'color-rendering'], nil, toCSSRuleHandler], [['db', 'dominant-baseline'], nil, toCSSRuleHandler], [['eb', 'enable-background'], nil, toCSSRuleHandler], [['fo', 'fill-opacity'], nil, toCSSRuleHandler], [['fr', 'fill-rule'], nil, toCSSRuleHandler], [['fi', 'fill'], nil, toCSSRuleHandler], [['fdc', 'flood-color'], nil, toCSSRuleHandler], [['fdo', 'flood-opacity'], nil, toCSSRuleHandler], [['fsa', 'font-size-adjust'], nil, toCSSRuleHandler], [['goh', 'glyph-orientation-horizontal'], nil, toCSSRuleHandler], [['ir', 'image-rendering'], nil, toCSSRuleHandler], [['k', 'kerning'], nil, toCSSRuleHandler], [['lc', 'lighting-color'], nil, toCSSRuleHandler], [['me', 'marker-end'], nil, toCSSRuleHandler], [['mm', 'marker-mid'], nil, toCSSRuleHandler], [['ms', 'marker-start'], nil, toCSSRuleHandler], [['msk', 'mask'], nil, toCSSRuleHandler], [['sr', 'shape-rendering'], nil, toCSSRuleHandler], [['sc', 'stop-color'], nil, toCSSRuleHandler], [['sda', 'stroke-dasharray'], nil, toCSSRuleHandler], [['sdo', 'stroke-dashoffset'], nil, toCSSRuleHandler], [['slc', 'stroke-linecap'], nil, toCSSRuleHandler], [['slj', 'stroke-linejoin'], nil, toCSSRuleHandler], [['sml', 'stroke-miterlimit'], nil, toCSSRuleHandler], [['sop', 'stroke-opacity'], nil, toCSSRuleHandler], [['swt', 'stroke-width'], nil, toCSSRuleHandler], [['st', 'stroke'], nil, toCSSRuleHandler], [['txa', 'text-anchor'], nil, toCSSRuleHandler], [['txr', 'text-rendering'], nil, toCSSRuleHandler], [['ub', 'unicode-bidi'], nil, toCSSRuleHandler], [['wm', 'writing-mode'], nil, toCSSRuleHandler], // Animation + 3D
[['a', 'animation'], nil, toCSSRuleHandler], [['ad', 'animation-delay'], nil, toCSSRuleHandler], [['aDir', 'animation-direction'], {
n: 'normal',

@@ -59,14 +65,14 @@ r: 'reverse',

ar: 'alternate-reverse'
}], [['aD', 'animation-duration'], null, [toCSSRule]], [['afm', 'animation-fill-mode'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}], [['aD', 'animation-duration'], nil, toCSSRuleHandler], [['afm', 'animation-fill-mode'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
fwd: 'forwards',
bwd: 'backwards',
b: 'both'
})], [['aic', 'animation-iteration-count'], null, [toCSSRule]], [['an', 'animation-name'], null, [toCSSRule]], [['aps', 'animation-play-state'], {
})], [['aic', 'animation-iteration-count'], nil, toCSSRuleHandler], [['an', 'animation-name'], nil, toCSSRuleHandler], [['aps', 'animation-play-state'], {
p: 'paused',
r: 'running'
}], [['ats', 'animation-timing-function'], null, [toCSSRule]], [['bv', 'backface-visibility'], {
}], [['ats', 'animation-timing-function'], nil, toCSSRuleHandler], [['bv', 'backface-visibility'], {
v: 'visible',
h: 'hidden'
}], [['per', 'perspective'], null, [toCSSRule]], [['pero', 'perspective-origin'], null, [toCSSRule]], [['tf', 'transform'], null, [toCSSRule]], [['tfo', 'transform-origin'], getTfoBgpPos(), [toCSSRule]], [['tfs', 'transform-style'], null, [toCSSRule]], [['tr', 'transition'], null, [toCSSRule]], [['trD', 'transition-delay'], null, [toCSSRule]], [['trd', 'transition-duration'], null, [toCSSRule]], [['trp', 'transition-property'], null, [toCSSRule]], [['trt', 'transition-timing-function'], null, [toCSSRule]], // Flex
[['f', 'flex'], null, [toCSSRule]], [['fd', 'flex-direction'], {
}], [['per', 'perspective'], nil, toCSSRuleHandler], [['pero', 'perspective-origin'], nil, toCSSRuleHandler], [['tf', 'transform'], nil, toCSSRuleHandler], [['tfo', 'transform-origin'], getTfoBgpPos(), toCSSRuleHandler], [['tfs', 'transform-style'], nil, toCSSRuleHandler], [['tr', 'transition'], nil, toCSSRuleHandler], [['trD', 'transition-delay'], nil, toCSSRuleHandler], [['trd', 'transition-duration'], nil, toCSSRuleHandler], [['trp', 'transition-property'], nil, toCSSRuleHandler], [['trt', 'transition-timing-function'], nil, toCSSRuleHandler], // Flex
[['f', 'flex'], nil, toCSSRuleHandler], [['fd', 'flex-direction'], {
r: 'row',

@@ -76,6 +82,6 @@ rr: 'row-reverse',

cr: 'column-reverse'
}, [toCSSRule]], [['fw', 'flex-wrap'], {
}, toCSSRuleHandler], [['fw', 'flex-wrap'], {
w: 'wrap'
}, [toCSSRule]], [['fb', 'flex-basis'], null, [parseArray, toCSSRule]], [['ff', 'flex-flow'], null, [toCSSRule]], [['fg', 'flex-grow'], null, [toCSSRule]], [['fs', 'flex-shrink'], null, [toCSSRule]], [['ai', 'align-items'], getAligns(), [toCSSRule]], [['ac', 'align-content'], getAligns(), [toCSSRule]], [['ji', 'justify-items'], getAligns(), [toCSSRule]], [['jc', 'justify-content'], getAligns(), [toCSSRule]], [['aS', 'align-self'], null, [toCSSRule]], [['jS', 'justify-self'], null, [toCSSRule]], // Font + text related
[['ft', 'font'], null, [toCSSRule]], [['ftf', 'font-family'], null, [toCSSRule]], [['ftk', 'font-kerning'], null, [toCSSRule]], [['fts', 'font-size'], null, [parseArray, toCSSRule]], [['ftStr', 'font-stretch'], {
}, toCSSRuleHandler], [['fb', 'flex-basis'], nil, fromArrayToCSSRuleHandler], [['ff', 'flex-flow'], nil, toCSSRuleHandler], [['fg', 'flex-grow'], nil, toCSSRuleHandler], [['fs', 'flex-shrink'], nil, toCSSRuleHandler], [['ai', 'align-items'], getAligns(), toCSSRuleHandler], [['ac', 'align-content'], getAligns(), toCSSRuleHandler], [['ji', 'justify-items'], getAligns(), toCSSRuleHandler], [['jc', 'justify-content'], getAligns(), toCSSRuleHandler], [['aS', 'align-self'], nil, toCSSRuleHandler], [['jS', 'justify-self'], nil, toCSSRuleHandler], // Font + text related
[['ft', 'font'], nil, toCSSRuleHandler], [['ftf', 'font-family'], nil, toCSSRuleHandler], [['ftk', 'font-kerning'], nil, toCSSRuleHandler], [['fts', 'font-size'], nil, fromArrayToCSSRuleHandler], [['ftStr', 'font-stretch'], {
uc: 'ultra-condensed',

@@ -90,10 +96,10 @@ ec: 'extra-condensed',

ue: 'ultra-expanded'
}, [toCSSRule]], [['ftSty', 'font-style'], {
}, toCSSRuleHandler], [['ftSty', 'font-style'], {
n: 'normal',
i: 'italic',
o: 'oblique'
}, [toCSSRule]], [['ftv', 'font-variant'], {
}, toCSSRuleHandler], [['ftv', 'font-variant'], {
n: 'normal',
sc: 'small-caps'
}, [toCSSRule]], [['ftw', 'font-weight'], {
}, toCSSRuleHandler], [['ftw', 'font-weight'], {
n: 'normal',

@@ -103,14 +109,14 @@ b: 'bold',

l: 'lighter'
}, [toCSSRule]], [['ls', 'letter-spacing'], null, [parseArray, toCSSRule]], [['lh', 'line-height'], null, [toCSSRule]], [['ta', 'text-align'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}, toCSSRuleHandler], [['ls', 'letter-spacing'], nil, fromArrayToCSSRuleHandler], [['lh', 'line-height'], nil, toCSSRuleHandler], [['ta', 'text-align'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
u: 'underline',
o: 'overline',
t: 'line-through'
}), [toCSSRule]], [['td', 'text-decoration'], null, [toCSSRule]], [['ti', 'text-indent'], null, [parseArray, toCSSRule]], [['to', 'text-overflow'], {
}), toCSSRuleHandler], [['td', 'text-decoration'], nil, toCSSRuleHandler], [['ti', 'text-indent'], nil, fromArrayToCSSRuleHandler], [['to', 'text-overflow'], {
c: 'clip',
e: 'ellipsis'
}, [toCSSRule]], [['ts', 'text-shadow'], null, [toCSSRule]], [['tt', 'text-transform'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}, toCSSRuleHandler], [['ts', 'text-shadow'], nil, toCSSRuleHandler], [['tt', 'text-transform'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
c: 'capitalize',
u: 'uppercase',
l: 'lowercase'
}), [toCSSRule]], [['va', 'vertical-align'], {
}), toCSSRuleHandler], [['va', 'vertical-align'], {
b: 'baseline',

@@ -124,3 +130,3 @@ sub: 'sub',

tb: 'text-bottom'
}, [toCSSRule]], [['ws', 'white-space'], {
}, toCSSRuleHandler], [['ws', 'white-space'], {
n: 'normal',

@@ -131,3 +137,3 @@ nw: 'nowrap',

pw: 'pre-wrap'
}, [toCSSRule]], [['wb', 'word-break'], {
}, toCSSRuleHandler], [['wb', 'word-break'], {
n: 'normal',

@@ -137,9 +143,9 @@ ba: 'break-all',

bw: 'break-word'
}, [toCSSRule]], [['wS', 'word-spacing'], null, [parseArray, toCSSRule]], [['ww', 'word-wrap'], {
}, toCSSRuleHandler], [['wS', 'word-spacing'], nil, fromArrayToCSSRuleHandler], [['ww', 'word-wrap'], {
n: 'normal',
b: 'break-word'
}, [toCSSRule]], // List
[['l', 'list-style'], _objectSpread({}, getFalseNone()), [toCSSRule]], [['li', 'list-style-image'], null, [toCSSRule]], [['lp', 'list-style-position'], null, [toCSSRule]], [['lt', 'list-style-type'], null, [toCSSRule]], // Margin
[['m', 'margin'], null, [parseArray, toCSSRule]], [['mT', 'margin-top'], null, [parseArray, toCSSRule]], [['mR', 'margin-right'], null, [parseArray, toCSSRule]], [['mB', 'margin-bottom'], null, [parseArray, toCSSRule]], [['mL', 'margin-left'], null, [parseArray, toCSSRule]], // Padding
[['p', 'pad', 'padding'], null, [parseArray, toCSSRule]], [['pT', 'padding-top'], null, [parseArray, toCSSRule]], [['pR', 'padding-right'], null, [parseArray, toCSSRule]], [['pB', 'padding-bottom'], null, [parseArray, toCSSRule]], [['pL', 'padding-left'], null, [parseArray, toCSSRule]], // Background
}, toCSSRuleHandler], // List
[['l', 'list-style'], _objectSpread({}, getFalseNone()), toCSSRuleHandler], [['li', 'list-style-image'], nil, toCSSRuleHandler], [['lp', 'list-style-position'], nil, toCSSRuleHandler], [['lt', 'list-style-type'], nil, toCSSRuleHandler], // Margin
[['m', 'margin'], nil, fromArrayToCSSRuleHandler], [['mT', 'margin-top'], nil, fromArrayToCSSRuleHandler], [['mR', 'margin-right'], nil, fromArrayToCSSRuleHandler], [['mB', 'margin-bottom'], nil, fromArrayToCSSRuleHandler], [['mL', 'margin-left'], nil, fromArrayToCSSRuleHandler], // Padding
[['p', 'pad', 'padding'], nil, fromArrayToCSSRuleHandler], [['pT', 'padding-top'], nil, fromArrayToCSSRuleHandler], [['pR', 'padding-right'], nil, fromArrayToCSSRuleHandler], [['pB', 'padding-bottom'], nil, fromArrayToCSSRuleHandler], [['pL', 'padding-left'], nil, fromArrayToCSSRuleHandler], // Background
[['bg', 'background'], {

@@ -150,9 +156,9 @@ t: 'transparent',

[false]: 'none'
}, [parseArray, toCSSRule]], [['bgi', 'background-image'], null, [toCSSRule]], [['bgc', 'background-color'], {
}, fromArrayToCSSRuleHandler], [['bgi', 'background-image'], nil, toCSSRuleHandler], [['bgc', 'background-color'], {
t: 'transparent'
}, [toCSSRule]], [['bgs', 'background-size'], {
}, toCSSRuleHandler], [['bgs', 'background-size'], {
a: 'auto',
cr: 'cover',
cn: 'contain'
}, [parseArray, toCSSRule]], [['bgr', 'background-repeat'], {
}, fromArrayToCSSRuleHandler], [['bgr', 'background-repeat'], {
// @ts-ignore

@@ -167,7 +173,7 @@ [true]: 'repeat',

r: 'round'
}, [toCSSRule]], [['bgp', 'background-position'], getTfoBgpPos(), [parseArray, toCSSRule]], [['bga', 'background-attachment'], {
}, toCSSRuleHandler], [['bgp', 'background-position'], getTfoBgpPos(), fromArrayToCSSRuleHandler], [['bga', 'background-attachment'], {
s: 'scroll',
f: 'fixed',
l: 'local'
}, [toCSSRule]], [['bgbm', 'background-blend-mode'], {
}, toCSSRuleHandler], [['bgbm', 'background-blend-mode'], {
n: 'normal',

@@ -183,11 +189,11 @@ m: 'multiply',

lu: 'luminosity'
}, [toCSSRule]], [['bgC', 'background-clip'], null, [parseArray, toCSSRule]], [['bgo', 'background-origin'], {
}, toCSSRuleHandler], [['bgC', 'background-clip'], nil, fromArrayToCSSRuleHandler], [['bgo', 'background-origin'], {
b: 'border-box',
p: 'padding-box',
c: 'content-box'
}, [toCSSRule]], [['bf', 'backdrop-filter'], null, [parseArray, toCSSRule]], // Dimension
[['w', 'width'], null, [parseArray, toCSSRule]], [['h', 'height'], null, [parseArray, toCSSRule]], [['minW', 'min-width'], null, [parseArray, toCSSRule]], [['minH', 'min-height'], null, [parseArray, toCSSRule]], [['maxW', 'max-width'], null, [parseArray, toCSSRule]], [['maxH', 'max-height'], null, [parseArray, toCSSRule]], // Grid
[['g', 'grid'], null, [toCSSRule]], [['ga', 'grid-area'], null, [toCSSRule]], [['gac', 'grid-auto-columns'], null, [parseArray, toCSSRule]], [['gaf', 'grid-auto-flow'], null, [toCSSRule]], [['gar', 'grid-auto-rows'], null, [parseArray, toCSSRule]], [['gc', 'grid-column'], null, [parseArray, toCSSRule]], [['gce', 'grid-column-end'], null, [toCSSRule]], [['gcg', 'grid-column-gap'], null, [parseArray, toCSSRule]], [['gcs', 'grid-column-start'], null, [toCSSRule]], [['gg', 'grid-gap'], null, [parseArray, toCSSRule]], [['gr', 'grid-row'], null, [parseArray, toCSSRule]], [['gre', 'grid-row-end'], null, [toCSSRule]], [['grg', 'grid-row-gap'], null, [parseArray, toCSSRule]], [['grs', 'grid-row-start'], null, [toCSSRule]], [['gt', 'grid-template'], null, [toCSSRule]], [['gta', 'grid-template-areas'], null, [toCSSRule]], [['gtc', 'grid-template-columns'], null, [parseArray, toCSSRule]], [['gtr', 'grid-template-rows'], null, [parseArray, toCSSRule]], // Border
[['b', 'border'], null, [parseArray, toCSSRule]], [['bB', 'border-bottom'], null, [parseArray, toCSSRule]], [['bBc', 'border-bottom-color'], null, [toCSSRule]], [['bBlr', 'border-bottom-left-radius'], null, [parseArray, toCSSRule]], [['bBrr', 'border-bottom-right-radius'], null, [parseArray, toCSSRule]], [['bBs', 'border-bottom-style'], null, [toCSSRule]], [['bBw', 'border-bottom-width'], null, [parseArray, toCSSRule]], [['bC', 'border-collapse'], null, [toCSSRule]], [['bc', 'border-color'], null, [toCSSRule]], [['bi', 'border-image'], null, [toCSSRule]], [['bio', 'border-image-outset'], null, [toCSSRule]], [['bir', 'border-image-repeat'], null, [toCSSRule]], [['bis', 'border-image-slice'], null, [toCSSRule]], [['biSrc', 'border-image-source'], null, [toCSSRule]], [['biw', 'border-image-width'], null, [parseArray, toCSSRule]], [['bL', 'border-left'], null, [parseArray, toCSSRule]], [['bLc', 'border-left-color'], null, [toCSSRule]], [['bLs', 'border-left-style'], null, [toCSSRule]], [['bLw', 'border-left-width'], null, [parseArray, toCSSRule]], [['br', 'border-radius'], null, [parseArray, toCSSRule]], [['bR', 'border-right'], null, [parseArray, toCSSRule]], [['bRc', 'border-right-color'], null, [toCSSRule]], [['bRs', 'border-right-style'], null, [toCSSRule]], [['bRw', 'border-right-width'], null, [parseArray, toCSSRule]], [['bs', 'border-spacing'], null, [parseArray, toCSSRule]], [['bS', 'border-style'], null, [toCSSRule]], [['bT', 'border-top'], null, [parseArray, toCSSRule]], [['bTc', 'border-top-color'], null, [toCSSRule]], [['bTlr', 'border-top-left-radius'], null, [parseArray, toCSSRule]], [['bTrr', 'border-top-right-radius'], null, [parseArray, toCSSRule]], [['bTs', 'border-top-style'], null, [toCSSRule]], [['bTw', 'border-top-width'], null, [parseArray, toCSSRule]], [['bw', 'border-width'], null, [parseArray, toCSSRule]], // Clip
[['clp', 'clip'], null, [parseArray, toCSSRule]], [['clpp', 'clip-path'], null, [toCSSRule]], // General
}, toCSSRuleHandler], [['bf', 'backdrop-filter'], nil, fromArrayToCSSRuleHandler], // Dimension
[['w', 'width'], nil, fromArrayToCSSRuleHandler], [['h', 'height'], nil, fromArrayToCSSRuleHandler], [['minW', 'min-width'], nil, fromArrayToCSSRuleHandler], [['minH', 'min-height'], nil, fromArrayToCSSRuleHandler], [['maxW', 'max-width'], nil, fromArrayToCSSRuleHandler], [['maxH', 'max-height'], nil, fromArrayToCSSRuleHandler], // Grid
[['g', 'grid'], nil, toCSSRuleHandler], [['ga', 'grid-area'], nil, toCSSRuleHandler], [['gac', 'grid-auto-columns'], nil, fromArrayToCSSRuleHandler], [['gaf', 'grid-auto-flow'], nil, toCSSRuleHandler], [['gar', 'grid-auto-rows'], nil, fromArrayToCSSRuleHandler], [['gc', 'grid-column'], nil, fromArrayToCSSRuleHandler], [['gce', 'grid-column-end'], nil, toCSSRuleHandler], [['gcg', 'grid-column-gap'], nil, fromArrayToCSSRuleHandler], [['gcs', 'grid-column-start'], nil, toCSSRuleHandler], [['gg', 'grid-gap'], nil, fromArrayToCSSRuleHandler], [['gr', 'grid-row'], nil, fromArrayToCSSRuleHandler], [['gre', 'grid-row-end'], nil, toCSSRuleHandler], [['grg', 'grid-row-gap'], nil, fromArrayToCSSRuleHandler], [['grs', 'grid-row-start'], nil, toCSSRuleHandler], [['gt', 'grid-template'], nil, toCSSRuleHandler], [['gta', 'grid-template-areas'], nil, toCSSRuleHandler], [['gtc', 'grid-template-columns'], nil, fromArrayToCSSRuleHandler], [['gtr', 'grid-template-rows'], nil, fromArrayToCSSRuleHandler], // Border
[['b', 'border'], nil, fromArrayToCSSRuleHandler], [['bB', 'border-bottom'], nil, fromArrayToCSSRuleHandler], [['bBc', 'border-bottom-color'], nil, toCSSRuleHandler], [['bBlr', 'border-bottom-left-radius'], nil, fromArrayToCSSRuleHandler], [['bBrr', 'border-bottom-right-radius'], nil, fromArrayToCSSRuleHandler], [['bBs', 'border-bottom-style'], nil, toCSSRuleHandler], [['bBw', 'border-bottom-width'], nil, fromArrayToCSSRuleHandler], [['bC', 'border-collapse'], nil, toCSSRuleHandler], [['bc', 'border-color'], nil, toCSSRuleHandler], [['bi', 'border-image'], nil, toCSSRuleHandler], [['bio', 'border-image-outset'], nil, toCSSRuleHandler], [['bir', 'border-image-repeat'], nil, toCSSRuleHandler], [['bis', 'border-image-slice'], nil, toCSSRuleHandler], [['biSrc', 'border-image-source'], nil, toCSSRuleHandler], [['biw', 'border-image-width'], nil, fromArrayToCSSRuleHandler], [['bL', 'border-left'], nil, fromArrayToCSSRuleHandler], [['bLc', 'border-left-color'], nil, toCSSRuleHandler], [['bLs', 'border-left-style'], nil, toCSSRuleHandler], [['bLw', 'border-left-width'], nil, fromArrayToCSSRuleHandler], [['br', 'border-radius'], nil, fromArrayToCSSRuleHandler], [['bR', 'border-right'], nil, fromArrayToCSSRuleHandler], [['bRc', 'border-right-color'], nil, toCSSRuleHandler], [['bRs', 'border-right-style'], nil, toCSSRuleHandler], [['bRw', 'border-right-width'], nil, fromArrayToCSSRuleHandler], [['bs', 'border-spacing'], nil, fromArrayToCSSRuleHandler], [['bS', 'border-style'], nil, toCSSRuleHandler], [['bT', 'border-top'], nil, fromArrayToCSSRuleHandler], [['bTc', 'border-top-color'], nil, toCSSRuleHandler], [['bTlr', 'border-top-left-radius'], nil, fromArrayToCSSRuleHandler], [['bTrr', 'border-top-right-radius'], nil, fromArrayToCSSRuleHandler], [['bTs', 'border-top-style'], nil, toCSSRuleHandler], [['bTw', 'border-top-width'], nil, fromArrayToCSSRuleHandler], [['bw', 'border-width'], nil, fromArrayToCSSRuleHandler], // Clip
[['clp', 'clip'], nil, fromArrayToCSSRuleHandler], [['clpp', 'clip-path'], nil, toCSSRuleHandler], // General
[['d', 'display'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {

@@ -202,3 +208,3 @@ i: 'inline',

t: 'table'
}), [toCSSRule]], [['P', 'position'], {
}), toCSSRuleHandler], [['P', 'position'], {
a: 'absolute',

@@ -209,8 +215,8 @@ f: 'fixed',

sy: 'sticky'
}, [toCSSRule]], [['T', 'top'], null, [parseArray, toCSSRule]], [['R', 'right'], null, [parseArray, toCSSRule]], [['B', 'bottom'], null, [parseArray, toCSSRule]], [['L', 'left'], null, [parseArray, toCSSRule]], [['zi', 'z-index'], null, [toCSSRule]], [['c', 'color'], null, [toCSSRule]], [['o', 'overflow'], getOverflows(), [toCSSRule]], [['ox', 'overflow-x'], getOverflows(), [toCSSRule]], [['oy', 'overflow-y'], getOverflows(), [toCSSRule]], [['oa', 'overflow-anchor'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}, toCSSRuleHandler], [['T', 'top'], nil, fromArrayToCSSRuleHandler], [['R', 'right'], nil, fromArrayToCSSRuleHandler], [['B', 'bottom'], nil, fromArrayToCSSRuleHandler], [['L', 'left'], nil, fromArrayToCSSRuleHandler], [['zi', 'z-index'], nil, toCSSRuleHandler], [['c', 'color'], nil, toCSSRuleHandler], [['o', 'overflow'], getOverflows(), toCSSRuleHandler], [['ox', 'overflow-x'], getOverflows(), toCSSRuleHandler], [['oy', 'overflow-y'], getOverflows(), toCSSRuleHandler], [['oa', 'overflow-anchor'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
a: 'auto'
}), [toCSSRule]], [['fl', 'float'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
}), toCSSRuleHandler], [['fl', 'float'], _objectSpread(_objectSpread({}, getFalseNone()), {}, {
l: 'left',
r: 'right'
}), [toCSSRule]], [['clr', 'clear'], {
}), toCSSRuleHandler], [['clr', 'clear'], {
l: 'left',

@@ -221,3 +227,3 @@ r: 'right',

b: 'both'
}, [toCSSRule]], [['v', 'visibility'], {
}, toCSSRuleHandler], [['v', 'visibility'], {
// @ts-ignore

@@ -230,6 +236,6 @@ [true]: 'visible',

c: 'collapse'
}, [toCSSRule]], // Columns
[['col', 'columns'], null, [toCSSRule]], [['cc', 'column-count'], null, [toCSSRule]], [['cf', 'column-fill'], null, [toCSSRule]], [['cg', 'column-gap'], null, [parseArray, toCSSRule]], [['cr', 'column-rule'], null, [toCSSRule]], [['crc', 'column-rule-color'], null, [toCSSRule]], [['crs', 'column-rule-style'], null, [toCSSRule]], [['crw', 'column-rule-width'], null, [parseArray, toCSSRule]], [['cs', 'column-span'], null, [toCSSRule]], [['cw', 'column-width'], null, [parseArray, toCSSRule]], [['pba', 'page-break-after'], null, [toCSSRule]], [['pbb', 'page-break-before'], null, [toCSSRule]], [['pbi', 'page-break-inside'], null, [toCSSRule]], // Box
[['shd', 'box-shadow'], _objectSpread({}, getFalseNone()), [parseArray, toCSSRule]], [['siz', 'box-sizing'], null, [toCSSRule]], // Misc
[['cn', 'contain'], null, [toCSSRule]], [['dir', 'direction'], null, [toCSSRule]], [['of', 'object-fit'], {
}, toCSSRuleHandler], // Columns
[['col', 'columns'], nil, toCSSRuleHandler], [['cc', 'column-count'], nil, toCSSRuleHandler], [['cf', 'column-fill'], nil, toCSSRuleHandler], [['cg', 'column-gap'], nil, fromArrayToCSSRuleHandler], [['cr', 'column-rule'], nil, toCSSRuleHandler], [['crc', 'column-rule-color'], nil, toCSSRuleHandler], [['crs', 'column-rule-style'], nil, toCSSRuleHandler], [['crw', 'column-rule-width'], nil, fromArrayToCSSRuleHandler], [['cs', 'column-span'], nil, toCSSRuleHandler], [['cw', 'column-width'], nil, fromArrayToCSSRuleHandler], [['pba', 'page-break-after'], nil, toCSSRuleHandler], [['pbb', 'page-break-before'], nil, toCSSRuleHandler], [['pbi', 'page-break-inside'], nil, toCSSRuleHandler], // Box
[['shd', 'box-shadow'], _objectSpread({}, getFalseNone()), fromArrayToCSSRuleHandler], [['siz', 'box-sizing'], nil, toCSSRuleHandler], // Misc
[['cn', 'contain'], nil, toCSSRuleHandler], [['dir', 'direction'], nil, toCSSRuleHandler], [['of', 'object-fit'], {
f: 'fill',

@@ -242,3 +248,3 @@ cn: 'contain',

n: 'none'
}, [toCSSRule]], [['oP', 'object-position'], null, [toCSSRule]], [['op', 'opacity'], {
}, toCSSRuleHandler], [['oP', 'object-position'], nil, toCSSRuleHandler], [['op', 'opacity'], {
// @ts-ignore

@@ -248,3 +254,3 @@ [true]: 1,

[false]: 0
}, [toCSSRule]], [['or', 'order'], null, [toCSSRule]], [['ol', 'outline'], null, [toCSSRule]], [['mbm', 'mix-blend-mode'], {
}, toCSSRuleHandler], [['or', 'order'], nil, toCSSRuleHandler], [['ol', 'outline'], nil, toCSSRuleHandler], [['mbm', 'mix-blend-mode'], {
n: 'normal',

@@ -264,3 +270,3 @@ m: 'multiply',

l: 'luminosity'
}, [toCSSRule]], [['ct', 'content'], null, [toCSSRule]], [['cur', 'cursor'], {
}, toCSSRuleHandler], [['ct', 'content'], nil, toCSSRuleHandler], [['cur', 'cursor'], {
al: 'alias',

@@ -302,14 +308,14 @@ all: 'all-scroll',

zo: 'zoom-out'
}, [toCSSRule]], [['pe', 'pointer-events'], _objectSpread({
}, toCSSRuleHandler], [['pe', 'pointer-events'], _objectSpread({
// @ts-ignore
[true]: 'auto',
a: 'auto'
}, getFalseNone()), [toCSSRule]], [['fil', 'filter'], null, [parseArray, toCSSRule]], [['sb', 'scroll-behavior'], {
}, getFalseNone()), toCSSRuleHandler], [['fil', 'filter'], nil, fromArrayToCSSRuleHandler], [['sb', 'scroll-behavior'], {
a: 'auto',
s: 'smooth'
}, [toCSSRule]], [['sw', 'scrollbar-width'], {
}, toCSSRuleHandler], [['sw', 'scrollbar-width'], {
n: 'none'
}, [parseArray, toCSSRule]], [['sh', 'scrollbar-height'], {
}, fromArrayToCSSRuleHandler], [['sh', 'scrollbar-height'], {
n: 'none'
}, [parseArray, toCSSRule]], [['us', 'user-select'], {
}, fromArrayToCSSRuleHandler], [['us', 'user-select'], {
a: 'auto',

@@ -319,14 +325,14 @@ n: 'none',

all: 'all'
}], [['cac', 'caret-color'], null, [toCSSRule]], [['rs', 'resize'], null, [toCSSRule]], [['raw'], null, [i => i]], [['child'], null, [child]], // Webkit
}], [['cac', 'caret-color'], nil, toCSSRuleHandler], [['rs', 'resize'], nil, toCSSRuleHandler], [['raw'], nil, [i => i]], [['child'], nil, [child]], // Webkit
[['wtc', 'webkit-touch-callout', '-webkit-touch-callout'], {
d: 'default',
n: 'none'
}, [toCSSRule]], [['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling'], {
}, toCSSRuleHandler], [['wos', 'webkit-overflow-scrolling', '-webkit-overflow-scrolling'], {
a: 'auto',
t: 'touch'
}, [toCSSRule]], [['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color'], null, [toCSSRule]], [['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color'], null, [toCSSRule]], [['wud', 'webkit-user-drag', '-webkit-user-drag'], {
}, toCSSRuleHandler], [['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color'], nil, toCSSRuleHandler], [['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color'], nil, toCSSRuleHandler], [['wud', 'webkit-user-drag', '-webkit-user-drag'], {
a: 'auto',
e: 'element',
n: 'none'
}, [toCSSRule]], [['wbf', 'webkit-backdrop-filter', '-webkit-backdrop-filter'], {
}, toCSSRuleHandler], [['wbf', 'webkit-backdrop-filter', '-webkit-backdrop-filter'], {
n: 'none',

@@ -339,5 +345,5 @@ s: 'strict',

p: 'paint'
}, [parseArray, toCSSRule]], // Pseudo selectors
[[':a', ':active'], null, [parsePseudo]], [['::a', '::after'], null, [parsePseudo]], [['::a, ::b', '::after, ::before'], null, [parsePseudo]], [[':al', ':any-link'], null, [parsePseudo]], [['::b', '::before'], null, [parsePseudo]], [[':b', ':blank'], null, [parsePseudo]], [[':c', ':checked'], null, [parsePseudo]], [[':cur', ':current'], null, [parsePseudo]], [[':def', ':default'], null, [parsePseudo]], [[':Def', ':defined'], null, [parsePseudo]], [[':dir', ':dir'], null, [parsePseudo]], [[':dis', ':disabled'], null, [parsePseudo]], [[':dr', ':drop'], null, [parsePseudo]], [[':em', ':empty'], null, [parsePseudo]], [[':en', ':enabled'], null, [parsePseudo]], [[':f', ':first'], null, [parsePseudo]], [[':fc', ':first-child'], null, [parsePseudo]], [[':fot', ':first-of-type'], null, [parsePseudo]], [[':fs', ':fullscreen'], null, [parsePseudo]], [[':fu', ':future'], null, [parsePseudo]], [[':fo', ':focus'], null, [parsePseudo]], [[':fov', ':focus-visible'], null, [parsePseudo]], [[':fow', ':focus-within'], null, [parsePseudo]], [[':has', ':has'], null, [parsePseudo]], [[':ho', ':host'], null, [parsePseudo]], [[':hoc', ':host-context'], null, [parsePseudo]], [[':h', ':hover'], null, [parsePseudo]], [[':i', ':indeterminate'], null, [parsePseudo]], [[':ir', ':in-range'], null, [parsePseudo]], [[':in', ':invalid'], null, [parsePseudo]], [[':is', ':is'], null, [parsePseudo]], [[':l', ':lang'], null, [parsePseudo]], [[':lc', ':last-child'], null, [parsePseudo]], [[':lot', ':last-of-type'], null, [parsePseudo]], [[':L', ':left'], null, [parsePseudo]], [[':lk', ':link'], null, [parsePseudo]], [[':llk', ':local-link'], null, [parsePseudo]], [[':n', ':not'], null, [parsePseudo]], [[':nc', ':nth-child'], null, [parsePseudo]], [[':nC', ':nth-col'], null, [parsePseudo]], [[':nlc', ':nth-last-child'], null, [parsePseudo]], [[':nlC', ':nth-last-col'], null, [parsePseudo]], [[':nlot', ':nth-last-of-type'], null, [parsePseudo]], [[':not', ':nth-of-type'], null, [parsePseudo]], [[':oc', ':only-child'], null, [parsePseudo]], [[':oof', ':only-of-type'], null, [parsePseudo]], [[':o', ':optional'], null, [parsePseudo]], [[':our', ':out-of-range'], null, [parsePseudo]], [[':p', ':past'], null, [parsePseudo]], [[':ps', ':placeholder-shown'], null, [parsePseudo]], [[':ro', ':read-only'], null, [parsePseudo]], [[':rw', ':read-write'], null, [parsePseudo]], [[':req', ':required'], null, [parsePseudo]], [[':R', ':right'], null, [parsePseudo]], [[':r', ':root'], null, [parsePseudo]], [[':s', ':scope'], null, [parsePseudo]], [[':t', ':target'], null, [parsePseudo]], [[':tw', ':target-within'], null, [parsePseudo]], [[':ui', ':user-invalid'], null, [parsePseudo]], [[':v', ':valid'], null, [parsePseudo]], [[':vis', ':visited'], null, [parsePseudo]], [[':w', ':where'], null, [parsePseudo]]];
}, fromArrayToCSSRuleHandler], // Pseudo selectors
[[':a', ':active'], nil, pseudoHandler], [['::a', '::after'], nil, pseudoHandler], [['::a, ::b', '::after, ::before'], nil, pseudoHandler], [[':al', ':any-link'], nil, pseudoHandler], [['::b', '::before'], nil, pseudoHandler], [[':b', ':blank'], nil, pseudoHandler], [[':c', ':checked'], nil, pseudoHandler], [[':cur', ':current'], nil, pseudoHandler], [[':def', ':default'], nil, pseudoHandler], [[':Def', ':defined'], nil, pseudoHandler], [[':dir', ':dir'], nil, pseudoHandler], [[':dis', ':disabled'], nil, pseudoHandler], [[':dr', ':drop'], nil, pseudoHandler], [[':em', ':empty'], nil, pseudoHandler], [[':en', ':enabled'], nil, pseudoHandler], [[':f', ':first'], nil, pseudoHandler], [[':fc', ':first-child'], nil, pseudoHandler], [[':fot', ':first-of-type'], nil, pseudoHandler], [[':fs', ':fullscreen'], nil, pseudoHandler], [[':fu', ':future'], nil, pseudoHandler], [[':fo', ':focus'], nil, pseudoHandler], [[':fov', ':focus-visible'], nil, pseudoHandler], [[':fow', ':focus-within'], nil, pseudoHandler], [[':has', ':has'], nil, pseudoHandler], [[':ho', ':host'], nil, pseudoHandler], [[':hoc', ':host-context'], nil, pseudoHandler], [[':h', ':hover'], nil, pseudoHandler], [[':i', ':indeterminate'], nil, pseudoHandler], [[':ir', ':in-range'], nil, pseudoHandler], [[':in', ':invalid'], nil, pseudoHandler], [[':is', ':is'], nil, pseudoHandler], [[':l', ':lang'], nil, pseudoHandler], [[':lc', ':last-child'], nil, pseudoHandler], [[':lot', ':last-of-type'], nil, pseudoHandler], [[':L', ':left'], nil, pseudoHandler], [[':lk', ':link'], nil, pseudoHandler], [[':llk', ':local-link'], nil, pseudoHandler], [[':n', ':not'], nil, pseudoHandler], [[':nc', ':nth-child'], nil, pseudoHandler], [[':nC', ':nth-col'], nil, pseudoHandler], [[':nlc', ':nth-last-child'], nil, pseudoHandler], [[':nlC', ':nth-last-col'], nil, pseudoHandler], [[':nlot', ':nth-last-of-type'], nil, pseudoHandler], [[':not', ':nth-of-type'], nil, pseudoHandler], [[':oc', ':only-child'], nil, pseudoHandler], [[':oof', ':only-of-type'], nil, pseudoHandler], [[':o', ':optional'], nil, pseudoHandler], [[':our', ':out-of-range'], nil, pseudoHandler], [[':p', ':past'], nil, pseudoHandler], [[':ps', ':placeholder-shown'], nil, pseudoHandler], [[':ro', ':read-only'], nil, pseudoHandler], [[':rw', ':read-write'], nil, pseudoHandler], [[':req', ':required'], nil, pseudoHandler], [[':R', ':right'], nil, pseudoHandler], [[':r', ':root'], nil, pseudoHandler], [[':s', ':scope'], nil, pseudoHandler], [[':t', ':target'], nil, pseudoHandler], [[':tw', ':target-within'], nil, pseudoHandler], [[':ui', ':user-invalid'], nil, pseudoHandler], [[':v', ':valid'], nil, pseudoHandler], [[':vis', ':visited'], nil, pseudoHandler], [[':w', ':where'], nil, pseudoHandler]];
export default defaultProps;
{
"name": "@cryptic-css/core",
"version": "5.0.0-alpha.0",
"version": "5.0.0-alpha.1",
"description": "> TODO: description",

@@ -85,5 +85,6 @@ "author": "Viktor Vincze <viktor.vincze@doclerholding.com>",

"dependencies": {
"@ungap/global-this": "^0.4.1",
"csstype": "^3.0.3",
"transformed": "0.0.3"
"transformed": "0.0.6"
}
}

@@ -0,0 +0,0 @@ import path from 'path'

@@ -0,0 +0,0 @@ // @ts-nocheck

import { CCSSTransformedFn } from './types';
export declare const createCCSS: ({ outputTransformer, options, props }?: {
outputTransformer?: import("./types").CCSSOutputTransformer | undefined;
options?: Partial<import("transformed").Options> | undefined;
props?: import("transformed").Props | undefined;
outputTransformer?: import("transformed").CCSSOutputTransformer | undefined;
options?: any;
props?: any;
}) => CCSSTransformedFn;
export declare const ccss: CCSSTransformedFn;

@@ -11,5 +11,10 @@ import transformed from 'transformed'

props = defaultProps()
} = {}) =>
transformed().setOutputTransformer(outputTransformer).setOptions(options).setProps(props) as CCSSTransformedFn
} = {}) => {
const fn = transformed()
.setOutputTransformer(outputTransformer)
.setOptions(options)
.setProps(props) as CCSSTransformedFn
globalThis.__ccss = fn
return fn
}
export const ccss = createCCSS()

@@ -0,0 +0,0 @@ #!/usr/bin/env node

@@ -0,1 +1,2 @@

import '@ungap/global-this';
export * from 'transformed';

@@ -2,0 +3,0 @@ export * from './ccss';

@@ -0,1 +1,2 @@

import '@ungap/global-this'
export * from 'transformed'

@@ -2,0 +3,0 @@

@@ -1,3 +0,2 @@

import { Options } from 'transformed';
declare const defaultOptions: () => Partial<Options>;
declare const defaultOptions: () => any;
export default defaultOptions;

@@ -0,0 +0,0 @@ import { Options } from 'transformed'

@@ -0,0 +0,0 @@ import { CCSSOutputTransformer } from '@/types'

@@ -0,0 +0,0 @@ import { CCSSParser } from '@/types'

@@ -1,3 +0,2 @@

import { Props } from 'transformed';
declare const defaultProps: () => Props;
declare const defaultProps: () => any;
export default defaultProps;

@@ -46,45 +46,51 @@ import { Props } from 'transformed'

// Minify and optimize
const toCSSRuleHandler = [toCSSRule]
const fromArrayToCSSRuleHandler = [parseArray, toCSSRule]
const pseudoHandler = [parsePseudo]
const nil = null
const defaultProps = (): Props => [
// SVG presentational attributes
[['ab', 'alignment-baseline'], null, [toCSSRule]],
[['bls', 'baseline-shift'], null, [toCSSRule]],
[['cpr', 'clip-rule'], null, [toCSSRule]],
[['cif', 'color-interpolation-filters'], null, [toCSSRule]],
[['ci', 'color-interpolation'], null, [toCSSRule]],
[['cpf', 'color-profile'], null, [toCSSRule]],
[['crd', 'color-rendering'], null, [toCSSRule]],
[['db', 'dominant-baseline'], null, [toCSSRule]],
[['eb', 'enable-background'], null, [toCSSRule]],
[['fo', 'fill-opacity'], null, [toCSSRule]],
[['fr', 'fill-rule'], null, [toCSSRule]],
[['fi', 'fill'], null, [toCSSRule]],
[['fdc', 'flood-color'], null, [toCSSRule]],
[['fdo', 'flood-opacity'], null, [toCSSRule]],
[['fsa', 'font-size-adjust'], null, [toCSSRule]],
[['goh', 'glyph-orientation-horizontal'], null, [toCSSRule]],
[['ir', 'image-rendering'], null, [toCSSRule]],
[['k', 'kerning'], null, [toCSSRule]],
[['lc', 'lighting-color'], null, [toCSSRule]],
[['me', 'marker-end'], null, [toCSSRule]],
[['mm', 'marker-mid'], null, [toCSSRule]],
[['ms', 'marker-start'], null, [toCSSRule]],
[['msk', 'mask'], null, [toCSSRule]],
[['sr', 'shape-rendering'], null, [toCSSRule]],
[['sc', 'stop-color'], null, [toCSSRule]],
[['sda', 'stroke-dasharray'], null, [toCSSRule]],
[['sdo', 'stroke-dashoffset'], null, [toCSSRule]],
[['slc', 'stroke-linecap'], null, [toCSSRule]],
[['slj', 'stroke-linejoin'], null, [toCSSRule]],
[['sml', 'stroke-miterlimit'], null, [toCSSRule]],
[['sop', 'stroke-opacity'], null, [toCSSRule]],
[['swt', 'stroke-width'], null, [toCSSRule]],
[['st', 'stroke'], null, [toCSSRule]],
[['txa', 'text-anchor'], null, [toCSSRule]],
[['txr', 'text-rendering'], null, [toCSSRule]],
[['ub', 'unicode-bidi'], null, [toCSSRule]],
[['wm', 'writing-mode'], null, [toCSSRule]],
[['ab', 'alignment-baseline'], nil, toCSSRuleHandler],
[['bls', 'baseline-shift'], nil, toCSSRuleHandler],
[['cpr', 'clip-rule'], nil, toCSSRuleHandler],
[['cif', 'color-interpolation-filters'], nil, toCSSRuleHandler],
[['ci', 'color-interpolation'], nil, toCSSRuleHandler],
[['cpf', 'color-profile'], nil, toCSSRuleHandler],
[['crd', 'color-rendering'], nil, toCSSRuleHandler],
[['db', 'dominant-baseline'], nil, toCSSRuleHandler],
[['eb', 'enable-background'], nil, toCSSRuleHandler],
[['fo', 'fill-opacity'], nil, toCSSRuleHandler],
[['fr', 'fill-rule'], nil, toCSSRuleHandler],
[['fi', 'fill'], nil, toCSSRuleHandler],
[['fdc', 'flood-color'], nil, toCSSRuleHandler],
[['fdo', 'flood-opacity'], nil, toCSSRuleHandler],
[['fsa', 'font-size-adjust'], nil, toCSSRuleHandler],
[['goh', 'glyph-orientation-horizontal'], nil, toCSSRuleHandler],
[['ir', 'image-rendering'], nil, toCSSRuleHandler],
[['k', 'kerning'], nil, toCSSRuleHandler],
[['lc', 'lighting-color'], nil, toCSSRuleHandler],
[['me', 'marker-end'], nil, toCSSRuleHandler],
[['mm', 'marker-mid'], nil, toCSSRuleHandler],
[['ms', 'marker-start'], nil, toCSSRuleHandler],
[['msk', 'mask'], nil, toCSSRuleHandler],
[['sr', 'shape-rendering'], nil, toCSSRuleHandler],
[['sc', 'stop-color'], nil, toCSSRuleHandler],
[['sda', 'stroke-dasharray'], nil, toCSSRuleHandler],
[['sdo', 'stroke-dashoffset'], nil, toCSSRuleHandler],
[['slc', 'stroke-linecap'], nil, toCSSRuleHandler],
[['slj', 'stroke-linejoin'], nil, toCSSRuleHandler],
[['sml', 'stroke-miterlimit'], nil, toCSSRuleHandler],
[['sop', 'stroke-opacity'], nil, toCSSRuleHandler],
[['swt', 'stroke-width'], nil, toCSSRuleHandler],
[['st', 'stroke'], nil, toCSSRuleHandler],
[['txa', 'text-anchor'], nil, toCSSRuleHandler],
[['txr', 'text-rendering'], nil, toCSSRuleHandler],
[['ub', 'unicode-bidi'], nil, toCSSRuleHandler],
[['wm', 'writing-mode'], nil, toCSSRuleHandler],
// Animation + 3D
[['a', 'animation'], null, [toCSSRule]],
[['ad', 'animation-delay'], null, [toCSSRule]],
[['a', 'animation'], nil, toCSSRuleHandler],
[['ad', 'animation-delay'], nil, toCSSRuleHandler],
[

@@ -99,3 +105,3 @@ ['aDir', 'animation-direction'],

],
[['aD', 'animation-duration'], null, [toCSSRule]],
[['aD', 'animation-duration'], nil, toCSSRuleHandler],
[

@@ -110,4 +116,4 @@ ['afm', 'animation-fill-mode'],

],
[['aic', 'animation-iteration-count'], null, [toCSSRule]],
[['an', 'animation-name'], null, [toCSSRule]],
[['aic', 'animation-iteration-count'], nil, toCSSRuleHandler],
[['an', 'animation-name'], nil, toCSSRuleHandler],
[

@@ -120,3 +126,3 @@ ['aps', 'animation-play-state'],

],
[['ats', 'animation-timing-function'], null, [toCSSRule]],
[['ats', 'animation-timing-function'], nil, toCSSRuleHandler],
[

@@ -129,15 +135,15 @@ ['bv', 'backface-visibility'],

],
[['per', 'perspective'], null, [toCSSRule]],
[['pero', 'perspective-origin'], null, [toCSSRule]],
[['tf', 'transform'], null, [toCSSRule]],
[['tfo', 'transform-origin'], getTfoBgpPos(), [toCSSRule]],
[['tfs', 'transform-style'], null, [toCSSRule]],
[['tr', 'transition'], null, [toCSSRule]],
[['trD', 'transition-delay'], null, [toCSSRule]],
[['trd', 'transition-duration'], null, [toCSSRule]],
[['trp', 'transition-property'], null, [toCSSRule]],
[['trt', 'transition-timing-function'], null, [toCSSRule]],
[['per', 'perspective'], nil, toCSSRuleHandler],
[['pero', 'perspective-origin'], nil, toCSSRuleHandler],
[['tf', 'transform'], nil, toCSSRuleHandler],
[['tfo', 'transform-origin'], getTfoBgpPos(), toCSSRuleHandler],
[['tfs', 'transform-style'], nil, toCSSRuleHandler],
[['tr', 'transition'], nil, toCSSRuleHandler],
[['trD', 'transition-delay'], nil, toCSSRuleHandler],
[['trd', 'transition-duration'], nil, toCSSRuleHandler],
[['trp', 'transition-property'], nil, toCSSRuleHandler],
[['trt', 'transition-timing-function'], nil, toCSSRuleHandler],
// Flex
[['f', 'flex'], null, [toCSSRule]],
[['f', 'flex'], nil, toCSSRuleHandler],
[

@@ -151,3 +157,3 @@ ['fd', 'flex-direction'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -159,20 +165,20 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['fb', 'flex-basis'], null, [parseArray, toCSSRule]],
[['ff', 'flex-flow'], null, [toCSSRule]],
[['fg', 'flex-grow'], null, [toCSSRule]],
[['fs', 'flex-shrink'], null, [toCSSRule]],
[['ai', 'align-items'], getAligns(), [toCSSRule]],
[['ac', 'align-content'], getAligns(), [toCSSRule]],
[['ji', 'justify-items'], getAligns(), [toCSSRule]],
[['jc', 'justify-content'], getAligns(), [toCSSRule]],
[['aS', 'align-self'], null, [toCSSRule]],
[['jS', 'justify-self'], null, [toCSSRule]],
[['fb', 'flex-basis'], nil, fromArrayToCSSRuleHandler],
[['ff', 'flex-flow'], nil, toCSSRuleHandler],
[['fg', 'flex-grow'], nil, toCSSRuleHandler],
[['fs', 'flex-shrink'], nil, toCSSRuleHandler],
[['ai', 'align-items'], getAligns(), toCSSRuleHandler],
[['ac', 'align-content'], getAligns(), toCSSRuleHandler],
[['ji', 'justify-items'], getAligns(), toCSSRuleHandler],
[['jc', 'justify-content'], getAligns(), toCSSRuleHandler],
[['aS', 'align-self'], nil, toCSSRuleHandler],
[['jS', 'justify-self'], nil, toCSSRuleHandler],
// Font + text related
[['ft', 'font'], null, [toCSSRule]],
[['ftf', 'font-family'], null, [toCSSRule]],
[['ftk', 'font-kerning'], null, [toCSSRule]],
[['fts', 'font-size'], null, [parseArray, toCSSRule]],
[['ft', 'font'], nil, toCSSRuleHandler],
[['ftf', 'font-family'], nil, toCSSRuleHandler],
[['ftk', 'font-kerning'], nil, toCSSRuleHandler],
[['fts', 'font-size'], nil, fromArrayToCSSRuleHandler],
[

@@ -191,3 +197,3 @@ ['ftStr', 'font-stretch'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -201,3 +207,3 @@ [

},
[toCSSRule]
toCSSRuleHandler
],

@@ -210,3 +216,3 @@ [

},
[toCSSRule]
toCSSRuleHandler
],

@@ -221,6 +227,6 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['ls', 'letter-spacing'], null, [parseArray, toCSSRule]],
[['lh', 'line-height'], null, [toCSSRule]],
[['ls', 'letter-spacing'], nil, fromArrayToCSSRuleHandler],
[['lh', 'line-height'], nil, toCSSRuleHandler],

@@ -235,6 +241,6 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['td', 'text-decoration'], null, [toCSSRule]],
[['ti', 'text-indent'], null, [parseArray, toCSSRule]],
[['td', 'text-decoration'], nil, toCSSRuleHandler],
[['ti', 'text-indent'], nil, fromArrayToCSSRuleHandler],
[

@@ -246,5 +252,5 @@ ['to', 'text-overflow'],

},
[toCSSRule]
toCSSRuleHandler
],
[['ts', 'text-shadow'], null, [toCSSRule]],
[['ts', 'text-shadow'], nil, toCSSRuleHandler],
[

@@ -258,3 +264,3 @@ ['tt', 'text-transform'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -273,3 +279,3 @@ [

},
[toCSSRule]
toCSSRuleHandler
],

@@ -285,3 +291,3 @@ [

},
[toCSSRule]
toCSSRuleHandler
],

@@ -296,5 +302,5 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['wS', 'word-spacing'], null, [parseArray, toCSSRule]],
[['wS', 'word-spacing'], nil, fromArrayToCSSRuleHandler],
[

@@ -306,3 +312,3 @@ ['ww', 'word-wrap'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -316,21 +322,21 @@

},
[toCSSRule]
toCSSRuleHandler
],
[['li', 'list-style-image'], null, [toCSSRule]],
[['lp', 'list-style-position'], null, [toCSSRule]],
[['lt', 'list-style-type'], null, [toCSSRule]],
[['li', 'list-style-image'], nil, toCSSRuleHandler],
[['lp', 'list-style-position'], nil, toCSSRuleHandler],
[['lt', 'list-style-type'], nil, toCSSRuleHandler],
// Margin
[['m', 'margin'], null, [parseArray, toCSSRule]],
[['mT', 'margin-top'], null, [parseArray, toCSSRule]],
[['mR', 'margin-right'], null, [parseArray, toCSSRule]],
[['mB', 'margin-bottom'], null, [parseArray, toCSSRule]],
[['mL', 'margin-left'], null, [parseArray, toCSSRule]],
[['m', 'margin'], nil, fromArrayToCSSRuleHandler],
[['mT', 'margin-top'], nil, fromArrayToCSSRuleHandler],
[['mR', 'margin-right'], nil, fromArrayToCSSRuleHandler],
[['mB', 'margin-bottom'], nil, fromArrayToCSSRuleHandler],
[['mL', 'margin-left'], nil, fromArrayToCSSRuleHandler],
// Padding
[['p', 'pad', 'padding'], null, [parseArray, toCSSRule]],
[['pT', 'padding-top'], null, [parseArray, toCSSRule]],
[['pR', 'padding-right'], null, [parseArray, toCSSRule]],
[['pB', 'padding-bottom'], null, [parseArray, toCSSRule]],
[['pL', 'padding-left'], null, [parseArray, toCSSRule]],
[['p', 'pad', 'padding'], nil, fromArrayToCSSRuleHandler],
[['pT', 'padding-top'], nil, fromArrayToCSSRuleHandler],
[['pR', 'padding-right'], nil, fromArrayToCSSRuleHandler],
[['pB', 'padding-bottom'], nil, fromArrayToCSSRuleHandler],
[['pL', 'padding-left'], nil, fromArrayToCSSRuleHandler],

@@ -346,5 +352,5 @@ // Background

},
[parseArray, toCSSRule]
fromArrayToCSSRuleHandler
],
[['bgi', 'background-image'], null, [toCSSRule]],
[['bgi', 'background-image'], nil, toCSSRuleHandler],
[

@@ -355,3 +361,3 @@ ['bgc', 'background-color'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -365,3 +371,3 @@ [

},
[parseArray, toCSSRule]
fromArrayToCSSRuleHandler
],

@@ -381,5 +387,5 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['bgp', 'background-position'], getTfoBgpPos(), [parseArray, toCSSRule]],
[['bgp', 'background-position'], getTfoBgpPos(), fromArrayToCSSRuleHandler],
[

@@ -392,3 +398,3 @@ ['bga', 'background-attachment'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -409,5 +415,5 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['bgC', 'background-clip'], null, [parseArray, toCSSRule]],
[['bgC', 'background-clip'], nil, fromArrayToCSSRuleHandler],
[

@@ -420,72 +426,72 @@ ['bgo', 'background-origin'],

},
[toCSSRule]
toCSSRuleHandler
],
[['bf', 'backdrop-filter'], null, [parseArray, toCSSRule]],
[['bf', 'backdrop-filter'], nil, fromArrayToCSSRuleHandler],
// Dimension
[['w', 'width'], null, [parseArray, toCSSRule]],
[['h', 'height'], null, [parseArray, toCSSRule]],
[['minW', 'min-width'], null, [parseArray, toCSSRule]],
[['minH', 'min-height'], null, [parseArray, toCSSRule]],
[['maxW', 'max-width'], null, [parseArray, toCSSRule]],
[['maxH', 'max-height'], null, [parseArray, toCSSRule]],
[['w', 'width'], nil, fromArrayToCSSRuleHandler],
[['h', 'height'], nil, fromArrayToCSSRuleHandler],
[['minW', 'min-width'], nil, fromArrayToCSSRuleHandler],
[['minH', 'min-height'], nil, fromArrayToCSSRuleHandler],
[['maxW', 'max-width'], nil, fromArrayToCSSRuleHandler],
[['maxH', 'max-height'], nil, fromArrayToCSSRuleHandler],
// Grid
[['g', 'grid'], null, [toCSSRule]],
[['ga', 'grid-area'], null, [toCSSRule]],
[['gac', 'grid-auto-columns'], null, [parseArray, toCSSRule]],
[['gaf', 'grid-auto-flow'], null, [toCSSRule]],
[['gar', 'grid-auto-rows'], null, [parseArray, toCSSRule]],
[['gc', 'grid-column'], null, [parseArray, toCSSRule]],
[['gce', 'grid-column-end'], null, [toCSSRule]],
[['gcg', 'grid-column-gap'], null, [parseArray, toCSSRule]],
[['gcs', 'grid-column-start'], null, [toCSSRule]],
[['gg', 'grid-gap'], null, [parseArray, toCSSRule]],
[['gr', 'grid-row'], null, [parseArray, toCSSRule]],
[['gre', 'grid-row-end'], null, [toCSSRule]],
[['grg', 'grid-row-gap'], null, [parseArray, toCSSRule]],
[['grs', 'grid-row-start'], null, [toCSSRule]],
[['gt', 'grid-template'], null, [toCSSRule]],
[['gta', 'grid-template-areas'], null, [toCSSRule]],
[['gtc', 'grid-template-columns'], null, [parseArray, toCSSRule]],
[['gtr', 'grid-template-rows'], null, [parseArray, toCSSRule]],
[['g', 'grid'], nil, toCSSRuleHandler],
[['ga', 'grid-area'], nil, toCSSRuleHandler],
[['gac', 'grid-auto-columns'], nil, fromArrayToCSSRuleHandler],
[['gaf', 'grid-auto-flow'], nil, toCSSRuleHandler],
[['gar', 'grid-auto-rows'], nil, fromArrayToCSSRuleHandler],
[['gc', 'grid-column'], nil, fromArrayToCSSRuleHandler],
[['gce', 'grid-column-end'], nil, toCSSRuleHandler],
[['gcg', 'grid-column-gap'], nil, fromArrayToCSSRuleHandler],
[['gcs', 'grid-column-start'], nil, toCSSRuleHandler],
[['gg', 'grid-gap'], nil, fromArrayToCSSRuleHandler],
[['gr', 'grid-row'], nil, fromArrayToCSSRuleHandler],
[['gre', 'grid-row-end'], nil, toCSSRuleHandler],
[['grg', 'grid-row-gap'], nil, fromArrayToCSSRuleHandler],
[['grs', 'grid-row-start'], nil, toCSSRuleHandler],
[['gt', 'grid-template'], nil, toCSSRuleHandler],
[['gta', 'grid-template-areas'], nil, toCSSRuleHandler],
[['gtc', 'grid-template-columns'], nil, fromArrayToCSSRuleHandler],
[['gtr', 'grid-template-rows'], nil, fromArrayToCSSRuleHandler],
// Border
[['b', 'border'], null, [parseArray, toCSSRule]],
[['bB', 'border-bottom'], null, [parseArray, toCSSRule]],
[['bBc', 'border-bottom-color'], null, [toCSSRule]],
[['bBlr', 'border-bottom-left-radius'], null, [parseArray, toCSSRule]],
[['bBrr', 'border-bottom-right-radius'], null, [parseArray, toCSSRule]],
[['bBs', 'border-bottom-style'], null, [toCSSRule]],
[['bBw', 'border-bottom-width'], null, [parseArray, toCSSRule]],
[['bC', 'border-collapse'], null, [toCSSRule]],
[['bc', 'border-color'], null, [toCSSRule]],
[['bi', 'border-image'], null, [toCSSRule]],
[['bio', 'border-image-outset'], null, [toCSSRule]],
[['bir', 'border-image-repeat'], null, [toCSSRule]],
[['bis', 'border-image-slice'], null, [toCSSRule]],
[['biSrc', 'border-image-source'], null, [toCSSRule]],
[['biw', 'border-image-width'], null, [parseArray, toCSSRule]],
[['bL', 'border-left'], null, [parseArray, toCSSRule]],
[['bLc', 'border-left-color'], null, [toCSSRule]],
[['bLs', 'border-left-style'], null, [toCSSRule]],
[['bLw', 'border-left-width'], null, [parseArray, toCSSRule]],
[['br', 'border-radius'], null, [parseArray, toCSSRule]],
[['bR', 'border-right'], null, [parseArray, toCSSRule]],
[['bRc', 'border-right-color'], null, [toCSSRule]],
[['bRs', 'border-right-style'], null, [toCSSRule]],
[['bRw', 'border-right-width'], null, [parseArray, toCSSRule]],
[['bs', 'border-spacing'], null, [parseArray, toCSSRule]],
[['bS', 'border-style'], null, [toCSSRule]],
[['bT', 'border-top'], null, [parseArray, toCSSRule]],
[['bTc', 'border-top-color'], null, [toCSSRule]],
[['bTlr', 'border-top-left-radius'], null, [parseArray, toCSSRule]],
[['bTrr', 'border-top-right-radius'], null, [parseArray, toCSSRule]],
[['bTs', 'border-top-style'], null, [toCSSRule]],
[['bTw', 'border-top-width'], null, [parseArray, toCSSRule]],
[['bw', 'border-width'], null, [parseArray, toCSSRule]],
[['b', 'border'], nil, fromArrayToCSSRuleHandler],
[['bB', 'border-bottom'], nil, fromArrayToCSSRuleHandler],
[['bBc', 'border-bottom-color'], nil, toCSSRuleHandler],
[['bBlr', 'border-bottom-left-radius'], nil, fromArrayToCSSRuleHandler],
[['bBrr', 'border-bottom-right-radius'], nil, fromArrayToCSSRuleHandler],
[['bBs', 'border-bottom-style'], nil, toCSSRuleHandler],
[['bBw', 'border-bottom-width'], nil, fromArrayToCSSRuleHandler],
[['bC', 'border-collapse'], nil, toCSSRuleHandler],
[['bc', 'border-color'], nil, toCSSRuleHandler],
[['bi', 'border-image'], nil, toCSSRuleHandler],
[['bio', 'border-image-outset'], nil, toCSSRuleHandler],
[['bir', 'border-image-repeat'], nil, toCSSRuleHandler],
[['bis', 'border-image-slice'], nil, toCSSRuleHandler],
[['biSrc', 'border-image-source'], nil, toCSSRuleHandler],
[['biw', 'border-image-width'], nil, fromArrayToCSSRuleHandler],
[['bL', 'border-left'], nil, fromArrayToCSSRuleHandler],
[['bLc', 'border-left-color'], nil, toCSSRuleHandler],
[['bLs', 'border-left-style'], nil, toCSSRuleHandler],
[['bLw', 'border-left-width'], nil, fromArrayToCSSRuleHandler],
[['br', 'border-radius'], nil, fromArrayToCSSRuleHandler],
[['bR', 'border-right'], nil, fromArrayToCSSRuleHandler],
[['bRc', 'border-right-color'], nil, toCSSRuleHandler],
[['bRs', 'border-right-style'], nil, toCSSRuleHandler],
[['bRw', 'border-right-width'], nil, fromArrayToCSSRuleHandler],
[['bs', 'border-spacing'], nil, fromArrayToCSSRuleHandler],
[['bS', 'border-style'], nil, toCSSRuleHandler],
[['bT', 'border-top'], nil, fromArrayToCSSRuleHandler],
[['bTc', 'border-top-color'], nil, toCSSRuleHandler],
[['bTlr', 'border-top-left-radius'], nil, fromArrayToCSSRuleHandler],
[['bTrr', 'border-top-right-radius'], nil, fromArrayToCSSRuleHandler],
[['bTs', 'border-top-style'], nil, toCSSRuleHandler],
[['bTw', 'border-top-width'], nil, fromArrayToCSSRuleHandler],
[['bw', 'border-width'], nil, fromArrayToCSSRuleHandler],
// Clip
[['clp', 'clip'], null, [parseArray, toCSSRule]],
[['clpp', 'clip-path'], null, [toCSSRule]],
[['clp', 'clip'], nil, fromArrayToCSSRuleHandler],
[['clpp', 'clip-path'], nil, toCSSRuleHandler],

@@ -506,3 +512,3 @@ // General

},
[toCSSRule]
toCSSRuleHandler
],

@@ -518,13 +524,13 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['T', 'top'], null, [parseArray, toCSSRule]],
[['R', 'right'], null, [parseArray, toCSSRule]],
[['B', 'bottom'], null, [parseArray, toCSSRule]],
[['L', 'left'], null, [parseArray, toCSSRule]],
[['zi', 'z-index'], null, [toCSSRule]],
[['c', 'color'], null, [toCSSRule]],
[['o', 'overflow'], getOverflows(), [toCSSRule]],
[['ox', 'overflow-x'], getOverflows(), [toCSSRule]],
[['oy', 'overflow-y'], getOverflows(), [toCSSRule]],
[['T', 'top'], nil, fromArrayToCSSRuleHandler],
[['R', 'right'], nil, fromArrayToCSSRuleHandler],
[['B', 'bottom'], nil, fromArrayToCSSRuleHandler],
[['L', 'left'], nil, fromArrayToCSSRuleHandler],
[['zi', 'z-index'], nil, toCSSRuleHandler],
[['c', 'color'], nil, toCSSRuleHandler],
[['o', 'overflow'], getOverflows(), toCSSRuleHandler],
[['ox', 'overflow-x'], getOverflows(), toCSSRuleHandler],
[['oy', 'overflow-y'], getOverflows(), toCSSRuleHandler],
[

@@ -536,3 +542,3 @@ ['oa', 'overflow-anchor'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -546,3 +552,3 @@ [

},
[toCSSRule]
toCSSRuleHandler
],

@@ -558,3 +564,3 @@ [

},
[toCSSRule]
toCSSRuleHandler
],

@@ -572,19 +578,19 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
// Columns
[['col', 'columns'], null, [toCSSRule]],
[['cc', 'column-count'], null, [toCSSRule]],
[['cf', 'column-fill'], null, [toCSSRule]],
[['cg', 'column-gap'], null, [parseArray, toCSSRule]],
[['cr', 'column-rule'], null, [toCSSRule]],
[['crc', 'column-rule-color'], null, [toCSSRule]],
[['crs', 'column-rule-style'], null, [toCSSRule]],
[['crw', 'column-rule-width'], null, [parseArray, toCSSRule]],
[['cs', 'column-span'], null, [toCSSRule]],
[['cw', 'column-width'], null, [parseArray, toCSSRule]],
[['pba', 'page-break-after'], null, [toCSSRule]],
[['pbb', 'page-break-before'], null, [toCSSRule]],
[['pbi', 'page-break-inside'], null, [toCSSRule]],
[['col', 'columns'], nil, toCSSRuleHandler],
[['cc', 'column-count'], nil, toCSSRuleHandler],
[['cf', 'column-fill'], nil, toCSSRuleHandler],
[['cg', 'column-gap'], nil, fromArrayToCSSRuleHandler],
[['cr', 'column-rule'], nil, toCSSRuleHandler],
[['crc', 'column-rule-color'], nil, toCSSRuleHandler],
[['crs', 'column-rule-style'], nil, toCSSRuleHandler],
[['crw', 'column-rule-width'], nil, fromArrayToCSSRuleHandler],
[['cs', 'column-span'], nil, toCSSRuleHandler],
[['cw', 'column-width'], nil, fromArrayToCSSRuleHandler],
[['pba', 'page-break-after'], nil, toCSSRuleHandler],
[['pbb', 'page-break-before'], nil, toCSSRuleHandler],
[['pbi', 'page-break-inside'], nil, toCSSRuleHandler],

@@ -597,9 +603,9 @@ // Box

},
[parseArray, toCSSRule]
fromArrayToCSSRuleHandler
],
[['siz', 'box-sizing'], null, [toCSSRule]],
[['siz', 'box-sizing'], nil, toCSSRuleHandler],
// Misc
[['cn', 'contain'], null, [toCSSRule]],
[['dir', 'direction'], null, [toCSSRule]],
[['cn', 'contain'], nil, toCSSRuleHandler],
[['dir', 'direction'], nil, toCSSRuleHandler],
[

@@ -616,5 +622,5 @@ ['of', 'object-fit'],

},
[toCSSRule]
toCSSRuleHandler
],
[['oP', 'object-position'], null, [toCSSRule]],
[['oP', 'object-position'], nil, toCSSRuleHandler],
[

@@ -628,6 +634,6 @@ ['op', 'opacity'],

},
[toCSSRule]
toCSSRuleHandler
],
[['or', 'order'], null, [toCSSRule]],
[['ol', 'outline'], null, [toCSSRule]],
[['or', 'order'], nil, toCSSRuleHandler],
[['ol', 'outline'], nil, toCSSRuleHandler],
[

@@ -651,5 +657,5 @@ ['mbm', 'mix-blend-mode'],

},
[toCSSRule]
toCSSRuleHandler
],
[['ct', 'content'], null, [toCSSRule]],
[['ct', 'content'], nil, toCSSRuleHandler],
[

@@ -695,3 +701,3 @@ ['cur', 'cursor'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -706,5 +712,5 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['fil', 'filter'], null, [parseArray, toCSSRule]],
[['fil', 'filter'], nil, fromArrayToCSSRuleHandler],
[

@@ -716,3 +722,3 @@ ['sb', 'scroll-behavior'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -724,3 +730,3 @@ [

},
[parseArray, toCSSRule]
fromArrayToCSSRuleHandler
],

@@ -732,3 +738,3 @@ [

},
[parseArray, toCSSRule]
fromArrayToCSSRuleHandler
],

@@ -744,6 +750,6 @@ [

],
[['cac', 'caret-color'], null, [toCSSRule]],
[['rs', 'resize'], null, [toCSSRule]],
[['raw'], null, [(i) => i]],
[['child'], null, [child]],
[['cac', 'caret-color'], nil, toCSSRuleHandler],
[['rs', 'resize'], nil, toCSSRuleHandler],
[['raw'], nil, [(i) => i]],
[['child'], nil, [child]],

@@ -757,3 +763,3 @@ // Webkit

},
[toCSSRule]
toCSSRuleHandler
],

@@ -766,6 +772,6 @@ [

},
[toCSSRule]
toCSSRuleHandler
],
[['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color'], null, [toCSSRule]],
[['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color'], null, [toCSSRule]],
[['wthc', 'webkit-tap-highlight-color', '-webkit-tap-highlight-color'], nil, toCSSRuleHandler],
[['wtfc', 'webkit-text-fill-color', '-webkit-text-fill-color'], nil, toCSSRuleHandler],
[

@@ -778,3 +784,3 @@ ['wud', 'webkit-user-drag', '-webkit-user-drag'],

},
[toCSSRule]
toCSSRuleHandler
],

@@ -792,70 +798,70 @@ [

},
[parseArray, toCSSRule]
fromArrayToCSSRuleHandler
],
// Pseudo selectors
[[':a', ':active'], null, [parsePseudo]],
[['::a', '::after'], null, [parsePseudo]],
[['::a, ::b', '::after, ::before'], null, [parsePseudo]],
[[':al', ':any-link'], null, [parsePseudo]],
[['::b', '::before'], null, [parsePseudo]],
[[':b', ':blank'], null, [parsePseudo]],
[[':c', ':checked'], null, [parsePseudo]],
[[':cur', ':current'], null, [parsePseudo]],
[[':def', ':default'], null, [parsePseudo]],
[[':Def', ':defined'], null, [parsePseudo]],
[[':dir', ':dir'], null, [parsePseudo]],
[[':dis', ':disabled'], null, [parsePseudo]],
[[':dr', ':drop'], null, [parsePseudo]],
[[':em', ':empty'], null, [parsePseudo]],
[[':en', ':enabled'], null, [parsePseudo]],
[[':f', ':first'], null, [parsePseudo]],
[[':fc', ':first-child'], null, [parsePseudo]],
[[':fot', ':first-of-type'], null, [parsePseudo]],
[[':fs', ':fullscreen'], null, [parsePseudo]],
[[':fu', ':future'], null, [parsePseudo]],
[[':fo', ':focus'], null, [parsePseudo]],
[[':fov', ':focus-visible'], null, [parsePseudo]],
[[':fow', ':focus-within'], null, [parsePseudo]],
[[':has', ':has'], null, [parsePseudo]],
[[':ho', ':host'], null, [parsePseudo]],
[[':hoc', ':host-context'], null, [parsePseudo]],
[[':h', ':hover'], null, [parsePseudo]],
[[':i', ':indeterminate'], null, [parsePseudo]],
[[':ir', ':in-range'], null, [parsePseudo]],
[[':in', ':invalid'], null, [parsePseudo]],
[[':is', ':is'], null, [parsePseudo]],
[[':l', ':lang'], null, [parsePseudo]],
[[':lc', ':last-child'], null, [parsePseudo]],
[[':lot', ':last-of-type'], null, [parsePseudo]],
[[':L', ':left'], null, [parsePseudo]],
[[':lk', ':link'], null, [parsePseudo]],
[[':llk', ':local-link'], null, [parsePseudo]],
[[':n', ':not'], null, [parsePseudo]],
[[':nc', ':nth-child'], null, [parsePseudo]],
[[':nC', ':nth-col'], null, [parsePseudo]],
[[':nlc', ':nth-last-child'], null, [parsePseudo]],
[[':nlC', ':nth-last-col'], null, [parsePseudo]],
[[':nlot', ':nth-last-of-type'], null, [parsePseudo]],
[[':not', ':nth-of-type'], null, [parsePseudo]],
[[':oc', ':only-child'], null, [parsePseudo]],
[[':oof', ':only-of-type'], null, [parsePseudo]],
[[':o', ':optional'], null, [parsePseudo]],
[[':our', ':out-of-range'], null, [parsePseudo]],
[[':p', ':past'], null, [parsePseudo]],
[[':ps', ':placeholder-shown'], null, [parsePseudo]],
[[':ro', ':read-only'], null, [parsePseudo]],
[[':rw', ':read-write'], null, [parsePseudo]],
[[':req', ':required'], null, [parsePseudo]],
[[':R', ':right'], null, [parsePseudo]],
[[':r', ':root'], null, [parsePseudo]],
[[':s', ':scope'], null, [parsePseudo]],
[[':t', ':target'], null, [parsePseudo]],
[[':tw', ':target-within'], null, [parsePseudo]],
[[':ui', ':user-invalid'], null, [parsePseudo]],
[[':v', ':valid'], null, [parsePseudo]],
[[':vis', ':visited'], null, [parsePseudo]],
[[':w', ':where'], null, [parsePseudo]]
[[':a', ':active'], nil, pseudoHandler],
[['::a', '::after'], nil, pseudoHandler],
[['::a, ::b', '::after, ::before'], nil, pseudoHandler],
[[':al', ':any-link'], nil, pseudoHandler],
[['::b', '::before'], nil, pseudoHandler],
[[':b', ':blank'], nil, pseudoHandler],
[[':c', ':checked'], nil, pseudoHandler],
[[':cur', ':current'], nil, pseudoHandler],
[[':def', ':default'], nil, pseudoHandler],
[[':Def', ':defined'], nil, pseudoHandler],
[[':dir', ':dir'], nil, pseudoHandler],
[[':dis', ':disabled'], nil, pseudoHandler],
[[':dr', ':drop'], nil, pseudoHandler],
[[':em', ':empty'], nil, pseudoHandler],
[[':en', ':enabled'], nil, pseudoHandler],
[[':f', ':first'], nil, pseudoHandler],
[[':fc', ':first-child'], nil, pseudoHandler],
[[':fot', ':first-of-type'], nil, pseudoHandler],
[[':fs', ':fullscreen'], nil, pseudoHandler],
[[':fu', ':future'], nil, pseudoHandler],
[[':fo', ':focus'], nil, pseudoHandler],
[[':fov', ':focus-visible'], nil, pseudoHandler],
[[':fow', ':focus-within'], nil, pseudoHandler],
[[':has', ':has'], nil, pseudoHandler],
[[':ho', ':host'], nil, pseudoHandler],
[[':hoc', ':host-context'], nil, pseudoHandler],
[[':h', ':hover'], nil, pseudoHandler],
[[':i', ':indeterminate'], nil, pseudoHandler],
[[':ir', ':in-range'], nil, pseudoHandler],
[[':in', ':invalid'], nil, pseudoHandler],
[[':is', ':is'], nil, pseudoHandler],
[[':l', ':lang'], nil, pseudoHandler],
[[':lc', ':last-child'], nil, pseudoHandler],
[[':lot', ':last-of-type'], nil, pseudoHandler],
[[':L', ':left'], nil, pseudoHandler],
[[':lk', ':link'], nil, pseudoHandler],
[[':llk', ':local-link'], nil, pseudoHandler],
[[':n', ':not'], nil, pseudoHandler],
[[':nc', ':nth-child'], nil, pseudoHandler],
[[':nC', ':nth-col'], nil, pseudoHandler],
[[':nlc', ':nth-last-child'], nil, pseudoHandler],
[[':nlC', ':nth-last-col'], nil, pseudoHandler],
[[':nlot', ':nth-last-of-type'], nil, pseudoHandler],
[[':not', ':nth-of-type'], nil, pseudoHandler],
[[':oc', ':only-child'], nil, pseudoHandler],
[[':oof', ':only-of-type'], nil, pseudoHandler],
[[':o', ':optional'], nil, pseudoHandler],
[[':our', ':out-of-range'], nil, pseudoHandler],
[[':p', ':past'], nil, pseudoHandler],
[[':ps', ':placeholder-shown'], nil, pseudoHandler],
[[':ro', ':read-only'], nil, pseudoHandler],
[[':rw', ':read-write'], nil, pseudoHandler],
[[':req', ':required'], nil, pseudoHandler],
[[':R', ':right'], nil, pseudoHandler],
[[':r', ':root'], nil, pseudoHandler],
[[':s', ':scope'], nil, pseudoHandler],
[[':t', ':target'], nil, pseudoHandler],
[[':tw', ':target-within'], nil, pseudoHandler],
[[':ui', ':user-invalid'], nil, pseudoHandler],
[[':v', ':valid'], nil, pseudoHandler],
[[':vis', ':visited'], nil, pseudoHandler],
[[':w', ':where'], nil, pseudoHandler]
]
export default defaultProps

@@ -14,3 +14,3 @@ {

"declaration": true,
"baseUrl": "C:\\Work\\Repos\\ccss\\packages\\core\\src",
"baseUrl": "X:\\GITHUB\\ccss\\packages\\core\\src",
"skipLibCheck": true,

@@ -21,37 +21,31 @@ "incremental": true,

"*": [
"C:\\Work\\Repos\\ccss\\packages\\core\\node_modules\\*",
"C:\\Work\\nodejs\\node_modules\\mhy\\node_modules\\*"
"X:\\GITHUB\\ccss\\packages\\core\\node_modules\\*",
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\node_modules\\*"
],
"@": [
"C:\\Work\\Repos\\ccss\\packages\\core\\src\\index"
"X:\\GITHUB\\ccss\\packages\\core\\src\\index"
],
"@/*": [
"C:\\Work\\Repos\\ccss\\packages\\core\\src\\*"
"X:\\GITHUB\\ccss\\packages\\core\\src\\*"
],
"@/mhy": [
"C:\\Work\\nodejs\\node_modules\\mhy\\dist\\index"
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\dist\\index"
],
"@/mhy/*": [
"C:\\Work\\nodejs\\node_modules\\mhy\\dist\\*"
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\dist\\*"
],
"mhy_modules": [
"C:\\Work\\nodejs\\node_modules\\mhy\\node_modules\\index"
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\node_modules\\index"
],
"mhy_modules/*": [
"C:\\Work\\nodejs\\node_modules\\mhy\\node_modules\\*"
],
"node_modules": [
"C:\\Work\\Repos\\node_modules\\index"
],
"node_modules/*": [
"C:\\Work\\Repos\\node_modules\\*"
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\node_modules\\*"
]
},
"typeRoots": [
"C:\\Work\\nodejs\\node_modules\\mhy\\node_modules\\@types",
"C:\\Work\\Repos\\ccss\\packages\\core\\node_modules\\@types"
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\node_modules\\@types",
"X:\\GITHUB\\ccss\\packages\\core\\node_modules\\@types"
]
},
"include": [
"C:\\Work\\Repos\\ccss\\packages\\core\\src\\**\\*"
"X:\\GITHUB\\ccss\\packages\\core\\src\\**\\*"
],

@@ -62,4 +56,4 @@ "exclude": [

"files": [
"C:\\Work\\nodejs\\node_modules\\mhy\\dist\\configs\\typescript\\mhy.d.ts"
"C:\\Users\\Winter\\AppData\\Roaming\\npm\\node_modules\\mhy\\dist\\configs\\typescript\\mhy.d.ts"
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc