design-token-editor
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -91,3 +91,3 @@ "use strict"; | ||
' ')) : null, | ||
editorMode === 'documentation' ? (react_1.default.createElement("span", { className: "dte-code dte-code--inline" }, value)) : (react_1.default.createElement(TokenValueInput_1.default, __assign({ name: tokenPath, type: currentValueIsColor ? 'color' : 'text', defaultTokenValue: value }, inputProps))), | ||
editorMode === 'documentation' ? (react_1.default.createElement("span", { className: "dte-code dte-code--inline" }, currentValue)) : (react_1.default.createElement(TokenValueInput_1.default, __assign({ name: tokenPath, type: currentValueIsColor ? 'color' : 'text', defaultTokenValue: value }, inputProps))), | ||
currentValueIsColor && react_1.default.createElement(ColorPreview_1.default, { color: currentValue }))), | ||
@@ -94,0 +94,0 @@ react_1.default.createElement("div", { className: "dte-kv dte-token-row__token-source-container" }, |
@@ -63,3 +63,3 @@ var __assign = (this && this.__assign) || function () { | ||
' ')) : null, | ||
editorMode === 'documentation' ? (React.createElement("span", { className: "dte-code dte-code--inline" }, value)) : (React.createElement(TokenValueInput, __assign({ name: tokenPath, type: currentValueIsColor ? 'color' : 'text', defaultTokenValue: value }, inputProps))), | ||
editorMode === 'documentation' ? (React.createElement("span", { className: "dte-code dte-code--inline" }, currentValue)) : (React.createElement(TokenValueInput, __assign({ name: tokenPath, type: currentValueIsColor ? 'color' : 'text', defaultTokenValue: value }, inputProps))), | ||
currentValueIsColor && React.createElement(ColorPreview, { color: currentValue }))), | ||
@@ -66,0 +66,0 @@ React.createElement("div", { className: "dte-kv dte-token-row__token-source-container" }, |
/** | ||
* Do not edit directly | ||
* Generated on Sat, 04 Mar 2023 15:37:01 GMT | ||
* Generated on Sun, 05 Mar 2023 20:54:31 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ |
/** | ||
* Do not edit directly | ||
* Generated on Sat, 04 Mar 2023 15:37:01 GMT | ||
* Generated on Sun, 05 Mar 2023 20:54:31 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ |
{ | ||
"name": "design-token-editor", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A react component to view/edit design token values", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
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 not supported yet
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
95196