@nualang/nualang-ui-components 0.1.1337 → 0.1.1339

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.
@@ -91,7 +91,7 @@ export default function Snackbar({
91
91
  size: "large",
92
92
  "aria-label": "Close",
93
93
  children: /*#__PURE__*/_jsx(Close, {})
94
- }, "close")]
94
+ }, 'close')]
95
95
  })
96
96
  })
97
97
  });
@@ -56,9 +56,9 @@ function LinearProgressWithLabel(props) {
56
56
  });
57
57
  }
58
58
  LinearProgressWithLabel.propTypes = {
59
- /**
60
- * The value of the progress indicator for the determinate and buffer variants.
61
- * Value between 0 and 100.
59
+ /**
60
+ * The value of the progress indicator for the determinate and buffer variants.
61
+ * Value between 0 and 100.
62
62
  */
63
63
  value: PropTypes.number.isRequired
64
64
  };
@@ -388,7 +388,7 @@ function AssignmentCellData({
388
388
  let cellData = null;
389
389
  let submittedLate = false;
390
390
  let daysLate = null;
391
- if (data?.submittedLate.isLate === true) {
391
+ if (data?.submittedLate?.isLate === true) {
392
392
  submittedLate = true;
393
393
  daysLate = data.submittedLate.daysLate;
394
394
  }
@@ -490,7 +490,7 @@ function TopicCellData({
490
490
  let cellData = null;
491
491
  let submittedLate = false;
492
492
  let daysLate = null;
493
- if (data?.submittedLate.isLate === true) {
493
+ if (data?.submittedLate?.isLate === true) {
494
494
  submittedLate = true;
495
495
  daysLate = data.submittedLate.daysLate;
496
496
  }
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/prop-types */
2
1
  /* eslint-disable no-unused-vars */
3
2
  import { useState, Fragment } from "react";
4
3
  import PropTypes from "prop-types";
@@ -1,4 +1,3 @@
1
- /* eslint-disable react/prop-types */
2
1
  import { useEffect, useState, Fragment } from "react";
3
2
  import PropTypes from "prop-types";
4
3
  import { withStyles } from "tss-react/mui";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nualang/nualang-ui-components",
3
- "version": "0.1.1337",
3
+ "version": "0.1.1339",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -149,7 +149,8 @@
149
149
  "version": "npm run compile && git add -A",
150
150
  "postversion": "npm publish && git push && git push --tags",
151
151
  "localpack": "npm run compile && npm pack",
152
- "lint": "eslint ./ --quiet",
152
+ "lint:ci": "eslint ./ --quiet",
153
+ "lint": "eslint ./",
153
154
  "prettier": "npx prettier ./src --write"
154
155
  },
155
156
  "pre-commit": [