@workday/canvas-kit-labs-react-core
Advanced tools
Comparing version 3.3.3-next.21 to 3.3.3-next.25
@@ -19,3 +19,3 @@ "use strict"; | ||
var context = React.useContext(core_1.ThemeContext); | ||
if (context) { | ||
if (context && Object.entries(context).length !== 0) { | ||
return context; | ||
@@ -22,0 +22,0 @@ } |
@@ -10,3 +10,3 @@ import * as React from 'react'; | ||
var context = React.useContext(ThemeContext); | ||
if (context) { | ||
if (context && Object.entries(context).length !== 0) { | ||
return context; | ||
@@ -13,0 +13,0 @@ } |
@@ -26,3 +26,3 @@ import * as React from 'react'; | ||
const context = React.useContext(ThemeContext); | ||
if (context) { | ||
if (context && Object.entries(context).length !== 0) { | ||
return context as CanvasTheme; | ||
@@ -29,0 +29,0 @@ } |
{ | ||
"name": "@workday/canvas-kit-labs-react-core", | ||
"version": "3.3.3-next.21+138625c", | ||
"version": "3.3.3-next.25+bbdf214", | ||
"description": "A group of core primitives (i.e. colors, text, etc.)", | ||
@@ -44,3 +44,3 @@ "author": "Workday, Inc. (https://www.workday.com)", | ||
"@workday/canvas-colors-web": "^0.17.13", | ||
"@workday/canvas-kit-react-core": "^3.3.3-next.21+138625c", | ||
"@workday/canvas-kit-react-core": "^3.3.3-next.25+bbdf214", | ||
"chroma-js": "^2.1.0", | ||
@@ -54,3 +54,3 @@ "emotion-theming": "^10.0.10", | ||
}, | ||
"gitHead": "138625cc05c723e21f114a484ad0a218ed945946" | ||
"gitHead": "bbdf214376d8b400b11ce8c8dce39838870a7c97" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
88741