@zac-apps/helium 1.1.0 → 1.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1564,6 +1564,7 @@ function HeliumGraph(_ref4) {
|
|
|
1564
1564
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1565
1565
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1566
1566
|
var heliumLookupData = require("/conf/heliumLookup.json");
|
|
1567
|
+
var site = require("/conf/site.json");
|
|
1567
1568
|
|
|
1568
1569
|
// Principal function
|
|
1569
1570
|
|
|
@@ -1648,7 +1649,7 @@ function Helium(props) {
|
|
|
1648
1649
|
return /*#__PURE__*/jsx(AppGrid, {
|
|
1649
1650
|
children: /*#__PURE__*/jsxs(LookupContext.Provider, {
|
|
1650
1651
|
value: heliumLookupData,
|
|
1651
|
-
children: [/*#__PURE__*/jsx(AppCard, {
|
|
1652
|
+
children: [site.showGraphs ? /*#__PURE__*/jsx(AppCard, {
|
|
1652
1653
|
title: "Helium Graphs",
|
|
1653
1654
|
size: 12,
|
|
1654
1655
|
collapsed: collapsed,
|
|
@@ -1657,7 +1658,7 @@ function Helium(props) {
|
|
|
1657
1658
|
graphDataMeta: graphDataMeta,
|
|
1658
1659
|
matches: matches
|
|
1659
1660
|
})
|
|
1660
|
-
}), /*#__PURE__*/jsxs(Grid, {
|
|
1661
|
+
}) : null, /*#__PURE__*/jsxs(Grid, {
|
|
1661
1662
|
sx: {
|
|
1662
1663
|
display: "flex",
|
|
1663
1664
|
flexFlow: "column wrap",
|