mario-education 2.3.2 → 2.3.3
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.modern.js
CHANGED
|
@@ -5185,12 +5185,13 @@ var UploadCSVButton = function UploadCSVButton(_ref) {
|
|
|
5185
5185
|
isDisabled = _ref.isDisabled,
|
|
5186
5186
|
text = _ref.text,
|
|
5187
5187
|
backgroundColor = _ref.backgroundColor,
|
|
5188
|
-
_onClick = _ref.onClick
|
|
5188
|
+
_onClick = _ref.onClick,
|
|
5189
|
+
isClassReflection = _ref.isClassReflection;
|
|
5189
5190
|
return React.createElement(Label, {
|
|
5190
5191
|
htmlFor: htmlFor,
|
|
5191
5192
|
role: "button",
|
|
5192
5193
|
tabIndex: 0,
|
|
5193
|
-
className: "d-flex align-items-center justfy-content-center " + (!isDisabled ? "cursor-pointer hover-opacity" : ""),
|
|
5194
|
+
className: "d-flex align-items-center justfy-content-center \n " + (isClassReflection ? "w-25" : "") + "\n " + (!isDisabled ? "cursor-pointer hover-opacity" : ""),
|
|
5194
5195
|
style: _extends({}, style, {
|
|
5195
5196
|
backgroundColor: backgroundColor,
|
|
5196
5197
|
opacity: !isDisabled ? 1 : 0.5
|
|
@@ -5475,8 +5476,9 @@ var CSVImport = function CSVImport() {
|
|
|
5475
5476
|
text: "Upload File Class Reflection"
|
|
5476
5477
|
}), React.createElement(UploadCSVButton, {
|
|
5477
5478
|
key: "Import class reflections",
|
|
5479
|
+
isClassReflection: true,
|
|
5478
5480
|
htmlFor: id,
|
|
5479
|
-
text: "
|
|
5481
|
+
text: "Upload File",
|
|
5480
5482
|
isDisabled: isLoading,
|
|
5481
5483
|
backgroundColor: "#e74c3c",
|
|
5482
5484
|
onClick: function onClick() {
|