aliascss 1.1.16 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2445,7 +2445,7 @@ const cssProps = {
2445
2445
  'transition-property': {
2446
2446
  alias: 'tp',
2447
2447
  type: 'd',
2448
- compiler: (value) => value.replace(/_[_]?/g, " , "),
2448
+ compiler: (value) => value.replace(/^-/, '').replace(/_[_]?/g, " , "),
2449
2449
  values: [''],
2450
2450
  },
2451
2451
  'transition-timing-function': {
@@ -49,7 +49,7 @@ export const compiler = {
49
49
  if (matchGroupCSS) {
50
50
  const asString = matchGroupCSS[1]
51
51
  .split(',')
52
- .map(e => (className.replace(matchGroupCSS[0], '') + "-").replace(/--$/, '-') + e)
52
+ .map(e => (className.replace(matchGroupCSS[0], '') + "-").replace(/--$/, '-') + e.replace(/^--/, '-'))
53
53
  .join(' ');
54
54
  return this.group(asString, className);
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aliascss",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "AliasCSS is a CSS post processor.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",