@schrodinger/ui-context
Advanced tools
Comparing version 0.0.11 to 1.0.0
@@ -8,10 +8,12 @@ 'use strict'; | ||
exports.Theme = void 0; | ||
(function (Theme) { | ||
Theme["LIGHT"] = "light"; | ||
Theme["DARK"] = "dark"; | ||
Theme["LIGHT"] = "light"; | ||
Theme["DARK"] = "dark"; | ||
})(exports.Theme || (exports.Theme = {})); | ||
const UIContext = react.createContext({ | ||
theme: exports.Theme.LIGHT | ||
var UIContext = /*#__PURE__*/react.createContext({ | ||
theme: exports.Theme.LIGHT | ||
}); | ||
exports.UIContext = UIContext; |
import { createContext } from 'react'; | ||
var Theme; | ||
(function (Theme) { | ||
Theme["LIGHT"] = "light"; | ||
Theme["DARK"] = "dark"; | ||
Theme["LIGHT"] = "light"; | ||
Theme["DARK"] = "dark"; | ||
})(Theme || (Theme = {})); | ||
const UIContext = createContext({ | ||
theme: Theme.LIGHT | ||
var UIContext = /*#__PURE__*/createContext({ | ||
theme: Theme.LIGHT | ||
}); | ||
export { Theme, UIContext }; |
{ | ||
"name": "@schrodinger/ui-context", | ||
"version": "0.0.11", | ||
"version": "1.0.0", | ||
"description": "UI Context provider", | ||
@@ -29,5 +29,5 @@ "keywords": [], | ||
"devDependencies": { | ||
"@schrodinger/ui-scripts": "^0.0.11" | ||
"@schrodinger/ui-scripts": "^1.0.0" | ||
}, | ||
"gitHead": "42660f0f400c8f374a2e0215e2957130157373f6" | ||
"gitHead": "55b11c5dbcf89e54b41ab1eb99c6c770267ba3d1" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
2036