@stylexjs/shared
Advanced tools
Comparing version
@@ -25,3 +25,3 @@ "use strict"; | ||
const [key, rawValue] = objEntry; | ||
const dashedKey = (0, _dashify.default)(key); | ||
const dashedKey = key.startsWith('--') ? key : (0, _dashify.default)(key); | ||
let value = Array.isArray(rawValue) ? rawValue.map(eachValue => (0, _transformValue.default)(key, eachValue, options)) : (0, _transformValue.default)(key, rawValue, options); | ||
@@ -28,0 +28,0 @@ if (Array.isArray(value) && value.find(val => val.startsWith('var(') && val.endsWith(')'))) { |
{ | ||
"name": "@stylexjs/shared", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"main": "lib/index.js", | ||
@@ -16,3 +16,3 @@ "repository": "https://www.github.com/facebook/stylex", | ||
"devDependencies": { | ||
"@stylexjs/scripts": "0.10.0" | ||
"@stylexjs/scripts": "0.10.1" | ||
}, | ||
@@ -19,0 +19,0 @@ "jest": { |
853636
0