@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.
- package/dist/Misc/Snackbar/Snackbar.js +1 -1
- package/dist/Tables/Progress/ProgressList.js +3 -3
- package/dist/Tables/Progress/ProgressTable.js +2 -2
- package/dist/Tables/ScheduleListCards/ScheduleListCards.js +0 -1
- package/dist/Tables/SubmissionsTableCards/SubmissionsTableCards.js +0 -1
- package/package.json +3 -2
|
@@ -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
|
|
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
|
|
493
|
+
if (data?.submittedLate?.isLate === true) {
|
|
494
494
|
submittedLate = true;
|
|
495
495
|
daysLate = data.submittedLate.daysLate;
|
|
496
496
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nualang/nualang-ui-components",
|
|
3
|
-
"version": "0.1.
|
|
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": [
|