@zac-apps/helium 1.0.0-beta.1 → 1.0.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.js +14 -10
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -536,26 +536,33 @@ function AddPrognoEntry(_ref5) {
536
536
  SetIncrements = _ref5.SetIncrements;
537
537
  var _useState7 = useState(""),
538
538
  _useState8 = _slicedToArray(_useState7, 2),
539
- input = _useState8[0];
540
- _useState8[1];
539
+ input = _useState8[0],
540
+ SetInput = _useState8[1];
541
541
  var _useState9 = useState(false),
542
542
  _useState10 = _slicedToArray(_useState9, 2),
543
- error = _useState10[0];
544
- _useState10[1];
543
+ error = _useState10[0],
544
+ SetError = _useState10[1];
545
545
  return /*#__PURE__*/jsxs(React.Fragment, {
546
546
  children: [/*#__PURE__*/jsx(Divider, {
547
547
  textAlign: "left",
548
548
  children: /*#__PURE__*/jsx("strong", {
549
549
  children: "Add prediction row"
550
550
  })
551
- }), /*#__PURE__*/jsx(Grid, {
552
- children: /*#__PURE__*/jsx(IconButton, {
551
+ }), /*#__PURE__*/jsxs(Grid, {
552
+ children: [/*#__PURE__*/jsx(NumField, {
553
+ input: input,
554
+ SetInput: SetInput,
555
+ error: error,
556
+ SetError: SetError,
557
+ adornment: "days",
558
+ size: "medium"
559
+ }), /*#__PURE__*/jsx(IconButton, {
553
560
  disabled: error,
554
561
  onClick: function onClick() {
555
562
  SetIncrements([Number(input)].concat(_toConsumableArray(increments)));
556
563
  },
557
564
  children: /*#__PURE__*/jsx(AddBoxIcon, {})
558
- })
565
+ })]
559
566
  })]
560
567
  });
561
568
  }
@@ -1486,9 +1493,6 @@ function Helium(props) {
1486
1493
  heliumData: heliumData,
1487
1494
  heliumLookupData: heliumLookupData
1488
1495
  })
1489
- }), /*#__PURE__*/jsx(AppCard, {
1490
- title: "Fill Target",
1491
- size: cardSize
1492
1496
  })]
1493
1497
  })]
1494
1498
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zac-apps/helium",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "scripts": {
5
5
  "rollup": "node_modules/rollup/dist/rollup.js",
6
6
  "dev": "next dev",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@mui/icons-material": "^5.15.13",
32
32
  "@mui/material": "^5.15.13",
33
- "@zac-apps/commons": "^1.3.1",
33
+ "@zac-apps/commons": "^1.3.2",
34
34
  "moment": "^2.30.1",
35
35
  "recharts": "^2.12.3",
36
36
  "use-immer": "^0.9.0"