@stylable/custom-value
Advanced tools
Comparing version 3.5.0 to 3.5.2
@@ -11,5 +11,5 @@ "use strict"; | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
} | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./st-border"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@stylable/custom-value", | ||
"version": "3.5.0", | ||
"version": "3.5.2", | ||
"description": "Custom values (variables) for Stylable", | ||
@@ -14,3 +14,3 @@ "main": "./cjs/index.js", | ||
"dependencies": { | ||
"@stylable/core": "^3.5.0" | ||
"@stylable/core": "^3.5.2" | ||
}, | ||
@@ -17,0 +17,0 @@ "files": [ |
@@ -12,15 +12,14 @@ # @stylable/custom-value | ||
:import { | ||
-st-from: "@stylable/custom-value"; | ||
-st-named: stBorder; | ||
-st-from: '@stylable/custom-value'; | ||
-st-named: stBorder; | ||
} | ||
:vars { | ||
myBorder: stBorder(1px, solid, green); | ||
myBorder: stBorder(1px, solid, green); | ||
} | ||
.root { | ||
border: value(stBorder); /* returns: 1px solid green */ | ||
background-color: value(stBorder, color); /* returns: green */ | ||
border: value(stBorder); /* returns: 1px solid green */ | ||
background-color: value(stBorder, color); /* returns: green */ | ||
} | ||
``` | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6290
25
Updated@stylable/core@^3.5.2