Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

design-token-editor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

design-token-editor - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

lib/cjs/TokenRow.js

@@ -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

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