aefis-core-ui 2.1.8-rc2 → 2.1.8-rc3
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 +19 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -15005,7 +15005,6 @@ const useStyles$4 = makeStyles(() => ({
|
|
|
15005
15005
|
lineHeight: "30px",
|
|
15006
15006
|
padding: 5,
|
|
15007
15007
|
backgroundColor: "#ffffff",
|
|
15008
|
-
border: "3px solid #eee",
|
|
15009
15008
|
boxSizing: "content-box",
|
|
15010
15009
|
borderRadius: 20,
|
|
15011
15010
|
position: "relative"
|
|
@@ -15088,26 +15087,32 @@ const barContainerSize = size => {
|
|
|
15088
15087
|
case "xsmall":
|
|
15089
15088
|
struct.height = 15;
|
|
15090
15089
|
struct.lineHeight = "15px";
|
|
15090
|
+
struct.border = "2px solid #eee";
|
|
15091
15091
|
break;
|
|
15092
15092
|
case "small":
|
|
15093
15093
|
struct.height = 20;
|
|
15094
15094
|
struct.lineHeight = "20px";
|
|
15095
|
+
struct.border = "3px solid #eee";
|
|
15095
15096
|
break;
|
|
15096
15097
|
case "medium":
|
|
15097
15098
|
struct.height = 25;
|
|
15098
15099
|
struct.lineHeight = "25px";
|
|
15100
|
+
struct.border = "3px solid #eee";
|
|
15099
15101
|
break;
|
|
15100
15102
|
case "large":
|
|
15101
15103
|
struct.height = 30;
|
|
15102
15104
|
struct.lineHeight = "30px";
|
|
15105
|
+
struct.border = "3px solid #eee";
|
|
15103
15106
|
break;
|
|
15104
15107
|
case "xlarge":
|
|
15105
15108
|
struct.height = 35;
|
|
15106
15109
|
struct.lineHeight = "35px";
|
|
15110
|
+
struct.border = "3px solid #eee";
|
|
15107
15111
|
break;
|
|
15108
15112
|
default:
|
|
15109
15113
|
struct.height = 20;
|
|
15110
15114
|
struct.lineHeight = "20px";
|
|
15115
|
+
struct.border = "3px solid #eee";
|
|
15111
15116
|
}
|
|
15112
15117
|
return struct;
|
|
15113
15118
|
};
|
|
@@ -15121,9 +15126,7 @@ const RubricDistributionChart = props => {
|
|
|
15121
15126
|
textTransform: "uppercase"
|
|
15122
15127
|
};
|
|
15123
15128
|
const a11yProps = {
|
|
15124
|
-
"aria-label": props.title
|
|
15125
|
-
"aria-valuemax": 100,
|
|
15126
|
-
role: "progressbar"
|
|
15129
|
+
"aria-label": props.title
|
|
15127
15130
|
};
|
|
15128
15131
|
const keyValue = useUID();
|
|
15129
15132
|
const validatedData = replaceDuplicateColor(props.data);
|
|
@@ -15163,9 +15166,18 @@ const RubricDistributionChart = props => {
|
|
|
15163
15166
|
})
|
|
15164
15167
|
}, `rubric-bar-chart-bar-${(rubric == null ? void 0 : rubric.id) || index}`))]
|
|
15165
15168
|
}))
|
|
15166
|
-
}),
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
+
}), /*#__PURE__*/jsx(Collapse, {
|
|
15170
|
+
sx: {
|
|
15171
|
+
mt: 1,
|
|
15172
|
+
mb: 1
|
|
15173
|
+
},
|
|
15174
|
+
in: props.showLegend,
|
|
15175
|
+
timeout: "auto",
|
|
15176
|
+
unmountOnExit: true,
|
|
15177
|
+
children: /*#__PURE__*/jsx(Legend, {
|
|
15178
|
+
data: validatedData,
|
|
15179
|
+
size: props.size
|
|
15180
|
+
})
|
|
15169
15181
|
})]
|
|
15170
15182
|
});
|
|
15171
15183
|
};
|