@instructure/quiz-core 18.7.0 → 18.7.1-alpha.0
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/es/banks/components/BanksList/presenter.js +1 -1
- package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +1 -1
- package/es/common/components/shared/TagDisplay/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/ChoiceTypeTableRow/presenter.js +4 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +2 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +22 -22
- package/lib/banks/components/BanksList/presenter.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +1 -1
- package/lib/common/components/shared/TagDisplay/index.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/ChoiceTypeTableRow/presenter.js +4 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +2 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +26 -26
- package/package.json +58 -57
|
@@ -266,7 +266,7 @@ export var BanksList = (_dec = themeable(theme, styles), _dec(_class = (_temp =
|
|
|
266
266
|
className: styles.bankTitle
|
|
267
267
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
268
268
|
onClick: navigateToBank(bank.id),
|
|
269
|
-
|
|
269
|
+
themeOverride: {
|
|
270
270
|
color: _this.theme.bankTitleLinkColor,
|
|
271
271
|
hoverColor: _this.theme.bankTitleLinkHoverColor
|
|
272
272
|
},
|
|
@@ -51,7 +51,7 @@ var StimulusShowInfo = /*#__PURE__*/function (_Component) {
|
|
|
51
51
|
as: "h2",
|
|
52
52
|
color: "primary",
|
|
53
53
|
margin: "0 0 small",
|
|
54
|
-
|
|
54
|
+
themeOverride: {
|
|
55
55
|
h2FontWeight: '700'
|
|
56
56
|
}
|
|
57
57
|
}, this.props.stimulus.title), instructions, /*#__PURE__*/React.createElement("div", {
|
|
@@ -54,7 +54,7 @@ export var TagDisplay = (_dec = themeable(theme, styles), _dec(_class = (_temp =
|
|
|
54
54
|
className: styles.tags,
|
|
55
55
|
"aria-label": t('question tags')
|
|
56
56
|
}, visible, extra > 0 && /*#__PURE__*/React.createElement(Tag, {
|
|
57
|
-
|
|
57
|
+
themeOverride: {
|
|
58
58
|
defaultBackground: '#FFFFFF'
|
|
59
59
|
},
|
|
60
60
|
text: /*#__PURE__*/React.createElement(AccessibleContent, {
|
package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js
CHANGED
|
@@ -43,7 +43,7 @@ export var AnalysisMetric = (_dec = themeable(theme, styles), _dec(_class = (_te
|
|
|
43
43
|
"data-automation": dataAutomation,
|
|
44
44
|
className: styles.metricWrapper
|
|
45
45
|
}, /*#__PURE__*/React.createElement(Metric, {
|
|
46
|
-
|
|
46
|
+
themeOverride: {
|
|
47
47
|
valueFontWeight: 500,
|
|
48
48
|
padding: '0'
|
|
49
49
|
},
|
package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js
CHANGED
|
@@ -51,7 +51,7 @@ export var AnalysisPopoverMetric = (_dec = themeable(theme, styles), _dec(_class
|
|
|
51
51
|
popoverDescription = _this$props.popoverDescription,
|
|
52
52
|
value = _this$props.value;
|
|
53
53
|
return /*#__PURE__*/React.createElement(Metric, {
|
|
54
|
-
|
|
54
|
+
themeOverride: {
|
|
55
55
|
valueFontWeight: 500,
|
|
56
56
|
padding: '0'
|
|
57
57
|
},
|
|
@@ -86,19 +86,19 @@ export var ChoiceTypeTableRow = (_dec = themeable(theme, styles), _dec(_class =
|
|
|
86
86
|
return /*#__PURE__*/React.createElement(Table.Row, {
|
|
87
87
|
key: _this.props.choiceIndex
|
|
88
88
|
}, /*#__PURE__*/React.createElement(Table.Cell, {
|
|
89
|
-
|
|
89
|
+
themeOverride: {
|
|
90
90
|
padding: '0px'
|
|
91
91
|
}
|
|
92
92
|
}, /*#__PURE__*/React.createElement(ScreenReaderContent, null, _this.answerLabel(correct)), _this.renderIcon(correct)), /*#__PURE__*/React.createElement(Table.RowHeader, {
|
|
93
|
-
|
|
93
|
+
themeOverride: {
|
|
94
94
|
padding: cellPadding
|
|
95
95
|
}
|
|
96
96
|
}, _this.renderMiddleCell(correct, _this.extractChoiceText(choiceBody, correct))), /*#__PURE__*/React.createElement(Table.Cell, {
|
|
97
|
-
|
|
97
|
+
themeOverride: {
|
|
98
98
|
padding: cellPadding
|
|
99
99
|
}
|
|
100
100
|
}, _this.renderMiddleCell(correct, _this.props.choice.count)), /*#__PURE__*/React.createElement(Table.Cell, {
|
|
101
|
-
|
|
101
|
+
themeOverride: {
|
|
102
102
|
padding: cellPadding
|
|
103
103
|
},
|
|
104
104
|
textAlign: "center"
|
|
@@ -88,7 +88,7 @@ export var AggregationTable = (_dec = themeable(theme, styles), _dec(_class = (_
|
|
|
88
88
|
return /*#__PURE__*/React.createElement(Table.Row, {
|
|
89
89
|
key: key
|
|
90
90
|
}, /*#__PURE__*/React.createElement(Table.RowHeader, {
|
|
91
|
-
|
|
91
|
+
themeOverride: {
|
|
92
92
|
padding: '0px'
|
|
93
93
|
}
|
|
94
94
|
}, /*#__PURE__*/React.createElement(ScreenReaderContent, null, label), /*#__PURE__*/React.createElement(Flex, {
|
|
@@ -105,12 +105,12 @@ export var AggregationTable = (_dec = themeable(theme, styles), _dec(_class = (_
|
|
|
105
105
|
}, /*#__PURE__*/React.createElement("div", {
|
|
106
106
|
className: classNames(styles.labelWrapper)
|
|
107
107
|
}, /*#__PURE__*/React.createElement(Text, null, label))))), /*#__PURE__*/React.createElement(Table.Cell, {
|
|
108
|
-
|
|
108
|
+
themeOverride: {
|
|
109
109
|
padding: '0px'
|
|
110
110
|
},
|
|
111
111
|
textAlign: "center"
|
|
112
112
|
}, /*#__PURE__*/React.createElement(Text, null, count)), /*#__PURE__*/React.createElement(Table.Cell, {
|
|
113
|
-
|
|
113
|
+
themeOverride: {
|
|
114
114
|
padding: '0px'
|
|
115
115
|
},
|
|
116
116
|
textAlign: "center"
|
|
@@ -86,7 +86,7 @@ export var MetricPopover = (_dec = themeable(theme, styles), _dec(_class = (_tem
|
|
|
86
86
|
className: styles.popoverTitle,
|
|
87
87
|
level: "h3"
|
|
88
88
|
}, _this.props.title)), /*#__PURE__*/React.createElement("div", null, _this.props.subtitle && /*#__PURE__*/React.createElement(Heading, {
|
|
89
|
-
|
|
89
|
+
themeOverride: {
|
|
90
90
|
h5FontWeight: 700
|
|
91
91
|
},
|
|
92
92
|
level: "h5"
|
|
@@ -103,7 +103,7 @@ export var MetricPopover = (_dec = themeable(theme, styles), _dec(_class = (_tem
|
|
|
103
103
|
value: function renderPopoverTrigger() {
|
|
104
104
|
return /*#__PURE__*/React.createElement(IconButton, {
|
|
105
105
|
size: "small",
|
|
106
|
-
|
|
106
|
+
themeOverride: {
|
|
107
107
|
smallHeight: '18px',
|
|
108
108
|
transform: 'translateY(-1px)'
|
|
109
109
|
},
|
|
@@ -69,7 +69,7 @@ export var ScoreDistribution = (_dec = themeable(theme, styles), _dec(_class = (
|
|
|
69
69
|
className: styles.headingContainer
|
|
70
70
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
71
71
|
level: "h3",
|
|
72
|
-
|
|
72
|
+
themeOverride: {
|
|
73
73
|
h3FontWeight: 700
|
|
74
74
|
}
|
|
75
75
|
}, t('Score Distribution'))), /*#__PURE__*/React.createElement(QuintileDistribution, {
|
|
@@ -47,7 +47,7 @@ export var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component)
|
|
|
47
47
|
var itemAnalyses = _this.props.itemAnalyses || [];
|
|
48
48
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Heading, {
|
|
49
49
|
level: "h2",
|
|
50
|
-
|
|
50
|
+
themeOverride: {
|
|
51
51
|
h2FontWeight: 700
|
|
52
52
|
},
|
|
53
53
|
color: "primary"
|
|
@@ -101,7 +101,7 @@ export var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component)
|
|
|
101
101
|
overflowY: "hidden"
|
|
102
102
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
103
103
|
level: "h2",
|
|
104
|
-
|
|
104
|
+
themeOverride: {
|
|
105
105
|
h2FontWeight: 700
|
|
106
106
|
},
|
|
107
107
|
margin: "0 x-large 0 0",
|
|
@@ -185,7 +185,7 @@ export var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component)
|
|
|
185
185
|
color: "secondary",
|
|
186
186
|
margin: "auto",
|
|
187
187
|
onClick: _this.handleGeneration,
|
|
188
|
-
|
|
188
|
+
themeOverride: {
|
|
189
189
|
lineHeight: '24px'
|
|
190
190
|
}
|
|
191
191
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -26,28 +26,6 @@ export var quizAnalysisPropType = PropTypes.shape({
|
|
|
26
26
|
average_attempts: PropTypes.number
|
|
27
27
|
}).isRequired
|
|
28
28
|
});
|
|
29
|
-
export var itemAnalysisPropType = PropTypes.shape({
|
|
30
|
-
attempts: PropTypes.shape({
|
|
31
|
-
students_responded: PropTypes.number,
|
|
32
|
-
students_without_response: PropTypes.number
|
|
33
|
-
}),
|
|
34
|
-
metadata: PropTypes.shape({
|
|
35
|
-
interaction_type: PropTypes.string,
|
|
36
|
-
item_body: PropTypes.string,
|
|
37
|
-
item_id: PropTypes.number,
|
|
38
|
-
item_title: PropTypes.string
|
|
39
|
-
}),
|
|
40
|
-
scores: PropTypes.shape({
|
|
41
|
-
difficulty_index: PropTypes.number,
|
|
42
|
-
discrimination_index: PropTypes.number,
|
|
43
|
-
mean: PropTypes.number,
|
|
44
|
-
median: PropTypes.number,
|
|
45
|
-
pearson_correlation: PropTypes.number,
|
|
46
|
-
points_possible: PropTypes.number,
|
|
47
|
-
quartile_distribution: PropTypes.arrayOf(PropTypes.number)
|
|
48
|
-
}),
|
|
49
|
-
answer_summary: answerSummaryPropType
|
|
50
|
-
});
|
|
51
29
|
var aggregateDetailPropType = PropTypes.shape({
|
|
52
30
|
count: PropTypes.number.isRequired,
|
|
53
31
|
percentage: PropTypes.number.isRequired
|
|
@@ -82,6 +60,28 @@ export var matchingTypeAnswerSummaryPropType = PropTypes.shape({
|
|
|
82
60
|
}))
|
|
83
61
|
});
|
|
84
62
|
export var answerSummaryPropType = PropTypes.oneOfType([choiceTypeAnswerSummaryPropType, onlyAggregatePropType, matchingTypeAnswerSummaryPropType]);
|
|
63
|
+
export var itemAnalysisPropType = PropTypes.shape({
|
|
64
|
+
attempts: PropTypes.shape({
|
|
65
|
+
students_responded: PropTypes.number,
|
|
66
|
+
students_without_response: PropTypes.number
|
|
67
|
+
}),
|
|
68
|
+
metadata: PropTypes.shape({
|
|
69
|
+
interaction_type: PropTypes.string,
|
|
70
|
+
item_body: PropTypes.string,
|
|
71
|
+
item_id: PropTypes.number,
|
|
72
|
+
item_title: PropTypes.string
|
|
73
|
+
}),
|
|
74
|
+
scores: PropTypes.shape({
|
|
75
|
+
difficulty_index: PropTypes.number,
|
|
76
|
+
discrimination_index: PropTypes.number,
|
|
77
|
+
mean: PropTypes.number,
|
|
78
|
+
median: PropTypes.number,
|
|
79
|
+
pearson_correlation: PropTypes.number,
|
|
80
|
+
points_possible: PropTypes.number,
|
|
81
|
+
quartile_distribution: PropTypes.arrayOf(PropTypes.number)
|
|
82
|
+
}),
|
|
83
|
+
answer_summary: answerSummaryPropType
|
|
84
|
+
});
|
|
85
85
|
export var afsFlags = PropTypes.shape({
|
|
86
86
|
formulaEnabled: PropTypes.bool.isRequired,
|
|
87
87
|
matchingEnabled: PropTypes.bool.isRequired,
|
|
@@ -303,7 +303,7 @@ var BanksList = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _de
|
|
|
303
303
|
className: styles.bankTitle
|
|
304
304
|
}, /*#__PURE__*/_react.default.createElement(_uiLink.Link, {
|
|
305
305
|
onClick: navigateToBank(bank.id),
|
|
306
|
-
|
|
306
|
+
themeOverride: {
|
|
307
307
|
color: _this.theme.bankTitleLinkColor,
|
|
308
308
|
hoverColor: _this.theme.bankTitleLinkHoverColor
|
|
309
309
|
},
|
|
@@ -72,7 +72,7 @@ var StimulusShowInfo = /*#__PURE__*/function (_Component) {
|
|
|
72
72
|
as: "h2",
|
|
73
73
|
color: "primary",
|
|
74
74
|
margin: "0 0 small",
|
|
75
|
-
|
|
75
|
+
themeOverride: {
|
|
76
76
|
h2FontWeight: '700'
|
|
77
77
|
}
|
|
78
78
|
}, this.props.stimulus.title), instructions, /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -76,7 +76,7 @@ var TagDisplay = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _d
|
|
|
76
76
|
className: styles.tags,
|
|
77
77
|
"aria-label": (0, _formatMessage.default)('question tags')
|
|
78
78
|
}, visible, extra > 0 && /*#__PURE__*/_react.default.createElement(_uiTag.Tag, {
|
|
79
|
-
|
|
79
|
+
themeOverride: {
|
|
80
80
|
defaultBackground: '#FFFFFF'
|
|
81
81
|
},
|
|
82
82
|
text: /*#__PURE__*/_react.default.createElement(_uiA11yContent.AccessibleContent, {
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js
CHANGED
|
@@ -62,7 +62,7 @@ var AnalysisMetric = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles)
|
|
|
62
62
|
"data-automation": dataAutomation,
|
|
63
63
|
className: styles.metricWrapper
|
|
64
64
|
}, /*#__PURE__*/_react.default.createElement(_uiMetric.Metric, {
|
|
65
|
-
|
|
65
|
+
themeOverride: {
|
|
66
66
|
valueFontWeight: 500,
|
|
67
67
|
padding: '0'
|
|
68
68
|
},
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js
CHANGED
|
@@ -71,7 +71,7 @@ var AnalysisPopoverMetric = (_dec = (0, _uiThemeable.themeable)(_theme.default,
|
|
|
71
71
|
popoverDescription = _this$props.popoverDescription,
|
|
72
72
|
value = _this$props.value;
|
|
73
73
|
return /*#__PURE__*/_react.default.createElement(_uiMetric.Metric, {
|
|
74
|
-
|
|
74
|
+
themeOverride: {
|
|
75
75
|
valueFontWeight: 500,
|
|
76
76
|
padding: '0'
|
|
77
77
|
},
|
|
@@ -110,19 +110,19 @@ var ChoiceTypeTableRow = (_dec = (0, _uiThemeable.themeable)(_theme.default, sty
|
|
|
110
110
|
return /*#__PURE__*/_react.default.createElement(_uiTable.Table.Row, {
|
|
111
111
|
key: _this.props.choiceIndex
|
|
112
112
|
}, /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, {
|
|
113
|
-
|
|
113
|
+
themeOverride: {
|
|
114
114
|
padding: '0px'
|
|
115
115
|
}
|
|
116
116
|
}, /*#__PURE__*/_react.default.createElement(_uiA11yContent.ScreenReaderContent, null, _this.answerLabel(correct)), _this.renderIcon(correct)), /*#__PURE__*/_react.default.createElement(_uiTable.Table.RowHeader, {
|
|
117
|
-
|
|
117
|
+
themeOverride: {
|
|
118
118
|
padding: cellPadding
|
|
119
119
|
}
|
|
120
120
|
}, _this.renderMiddleCell(correct, _this.extractChoiceText(choiceBody, correct))), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, {
|
|
121
|
-
|
|
121
|
+
themeOverride: {
|
|
122
122
|
padding: cellPadding
|
|
123
123
|
}
|
|
124
124
|
}, _this.renderMiddleCell(correct, _this.props.choice.count)), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, {
|
|
125
|
-
|
|
125
|
+
themeOverride: {
|
|
126
126
|
padding: cellPadding
|
|
127
127
|
},
|
|
128
128
|
textAlign: "center"
|
|
@@ -113,7 +113,7 @@ var AggregationTable = (_dec = (0, _uiThemeable.themeable)(_theme.default, style
|
|
|
113
113
|
return /*#__PURE__*/_react.default.createElement(_uiTable.Table.Row, {
|
|
114
114
|
key: key
|
|
115
115
|
}, /*#__PURE__*/_react.default.createElement(_uiTable.Table.RowHeader, {
|
|
116
|
-
|
|
116
|
+
themeOverride: {
|
|
117
117
|
padding: '0px'
|
|
118
118
|
}
|
|
119
119
|
}, /*#__PURE__*/_react.default.createElement(_uiA11yContent.ScreenReaderContent, null, label), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex, {
|
|
@@ -130,12 +130,12 @@ var AggregationTable = (_dec = (0, _uiThemeable.themeable)(_theme.default, style
|
|
|
130
130
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
131
131
|
className: (0, _classnames.default)(styles.labelWrapper)
|
|
132
132
|
}, /*#__PURE__*/_react.default.createElement(_uiText.Text, null, label))))), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, {
|
|
133
|
-
|
|
133
|
+
themeOverride: {
|
|
134
134
|
padding: '0px'
|
|
135
135
|
},
|
|
136
136
|
textAlign: "center"
|
|
137
137
|
}, /*#__PURE__*/_react.default.createElement(_uiText.Text, null, count)), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Cell, {
|
|
138
|
-
|
|
138
|
+
themeOverride: {
|
|
139
139
|
padding: '0px'
|
|
140
140
|
},
|
|
141
141
|
textAlign: "center"
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js
CHANGED
|
@@ -111,7 +111,7 @@ var MetricPopover = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles),
|
|
|
111
111
|
className: styles.popoverTitle,
|
|
112
112
|
level: "h3"
|
|
113
113
|
}, _this.props.title)), /*#__PURE__*/_react.default.createElement("div", null, _this.props.subtitle && /*#__PURE__*/_react.default.createElement(_uiHeading.Heading, {
|
|
114
|
-
|
|
114
|
+
themeOverride: {
|
|
115
115
|
h5FontWeight: 700
|
|
116
116
|
},
|
|
117
117
|
level: "h5"
|
|
@@ -128,7 +128,7 @@ var MetricPopover = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles),
|
|
|
128
128
|
value: function renderPopoverTrigger() {
|
|
129
129
|
return /*#__PURE__*/_react.default.createElement(_uiButtons.IconButton, {
|
|
130
130
|
size: "small",
|
|
131
|
-
|
|
131
|
+
themeOverride: {
|
|
132
132
|
smallHeight: '18px',
|
|
133
133
|
transform: 'translateY(-1px)'
|
|
134
134
|
},
|
|
@@ -91,7 +91,7 @@ var ScoreDistribution = (_dec = (0, _uiThemeable.themeable)(_theme.default, styl
|
|
|
91
91
|
className: styles.headingContainer
|
|
92
92
|
}, /*#__PURE__*/_react.default.createElement(_uiHeading.Heading, {
|
|
93
93
|
level: "h3",
|
|
94
|
-
|
|
94
|
+
themeOverride: {
|
|
95
95
|
h3FontWeight: 700
|
|
96
96
|
}
|
|
97
97
|
}, (0, _formatMessage.default)('Score Distribution'))), /*#__PURE__*/_react.default.createElement(_index.default, {
|
|
@@ -78,7 +78,7 @@ var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component) {
|
|
|
78
78
|
var itemAnalyses = _this.props.itemAnalyses || [];
|
|
79
79
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_uiHeading.Heading, {
|
|
80
80
|
level: "h2",
|
|
81
|
-
|
|
81
|
+
themeOverride: {
|
|
82
82
|
h2FontWeight: 700
|
|
83
83
|
},
|
|
84
84
|
color: "primary"
|
|
@@ -132,7 +132,7 @@ var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component) {
|
|
|
132
132
|
overflowY: "hidden"
|
|
133
133
|
}, /*#__PURE__*/_react.default.createElement(_uiHeading.Heading, {
|
|
134
134
|
level: "h2",
|
|
135
|
-
|
|
135
|
+
themeOverride: {
|
|
136
136
|
h2FontWeight: 700
|
|
137
137
|
},
|
|
138
138
|
margin: "0 x-large 0 0",
|
|
@@ -216,7 +216,7 @@ var NewQuizAndItemAnalysisPresenter = /*#__PURE__*/function (_Component) {
|
|
|
216
216
|
color: "secondary",
|
|
217
217
|
margin: "auto",
|
|
218
218
|
onClick: _this.handleGeneration,
|
|
219
|
-
|
|
219
|
+
themeOverride: {
|
|
220
220
|
lineHeight: '24px'
|
|
221
221
|
}
|
|
222
222
|
}, /*#__PURE__*/_react.default.createElement(_uiText.Text, {
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.afsFlags = exports.
|
|
8
|
+
exports.afsFlags = exports.itemAnalysisPropType = exports.answerSummaryPropType = exports.matchingTypeAnswerSummaryPropType = exports.choiceTypeAnswerSummaryPropType = exports.onlyAggregatePropType = exports.quizAnalysisPropType = exports.quizAnalysisMetadata = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -42,31 +42,6 @@ var quizAnalysisPropType = _propTypes.default.shape({
|
|
|
42
42
|
|
|
43
43
|
exports.quizAnalysisPropType = quizAnalysisPropType;
|
|
44
44
|
|
|
45
|
-
var itemAnalysisPropType = _propTypes.default.shape({
|
|
46
|
-
attempts: _propTypes.default.shape({
|
|
47
|
-
students_responded: _propTypes.default.number,
|
|
48
|
-
students_without_response: _propTypes.default.number
|
|
49
|
-
}),
|
|
50
|
-
metadata: _propTypes.default.shape({
|
|
51
|
-
interaction_type: _propTypes.default.string,
|
|
52
|
-
item_body: _propTypes.default.string,
|
|
53
|
-
item_id: _propTypes.default.number,
|
|
54
|
-
item_title: _propTypes.default.string
|
|
55
|
-
}),
|
|
56
|
-
scores: _propTypes.default.shape({
|
|
57
|
-
difficulty_index: _propTypes.default.number,
|
|
58
|
-
discrimination_index: _propTypes.default.number,
|
|
59
|
-
mean: _propTypes.default.number,
|
|
60
|
-
median: _propTypes.default.number,
|
|
61
|
-
pearson_correlation: _propTypes.default.number,
|
|
62
|
-
points_possible: _propTypes.default.number,
|
|
63
|
-
quartile_distribution: _propTypes.default.arrayOf(_propTypes.default.number)
|
|
64
|
-
}),
|
|
65
|
-
answer_summary: answerSummaryPropType
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
exports.itemAnalysisPropType = itemAnalysisPropType;
|
|
69
|
-
|
|
70
45
|
var aggregateDetailPropType = _propTypes.default.shape({
|
|
71
46
|
count: _propTypes.default.number.isRequired,
|
|
72
47
|
percentage: _propTypes.default.number.isRequired
|
|
@@ -115,6 +90,31 @@ var answerSummaryPropType = _propTypes.default.oneOfType([choiceTypeAnswerSummar
|
|
|
115
90
|
|
|
116
91
|
exports.answerSummaryPropType = answerSummaryPropType;
|
|
117
92
|
|
|
93
|
+
var itemAnalysisPropType = _propTypes.default.shape({
|
|
94
|
+
attempts: _propTypes.default.shape({
|
|
95
|
+
students_responded: _propTypes.default.number,
|
|
96
|
+
students_without_response: _propTypes.default.number
|
|
97
|
+
}),
|
|
98
|
+
metadata: _propTypes.default.shape({
|
|
99
|
+
interaction_type: _propTypes.default.string,
|
|
100
|
+
item_body: _propTypes.default.string,
|
|
101
|
+
item_id: _propTypes.default.number,
|
|
102
|
+
item_title: _propTypes.default.string
|
|
103
|
+
}),
|
|
104
|
+
scores: _propTypes.default.shape({
|
|
105
|
+
difficulty_index: _propTypes.default.number,
|
|
106
|
+
discrimination_index: _propTypes.default.number,
|
|
107
|
+
mean: _propTypes.default.number,
|
|
108
|
+
median: _propTypes.default.number,
|
|
109
|
+
pearson_correlation: _propTypes.default.number,
|
|
110
|
+
points_possible: _propTypes.default.number,
|
|
111
|
+
quartile_distribution: _propTypes.default.arrayOf(_propTypes.default.number)
|
|
112
|
+
}),
|
|
113
|
+
answer_summary: answerSummaryPropType
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
exports.itemAnalysisPropType = itemAnalysisPropType;
|
|
117
|
+
|
|
118
118
|
var afsFlags = _propTypes.default.shape({
|
|
119
119
|
formulaEnabled: _propTypes.default.bool.isRequired,
|
|
120
120
|
matchingEnabled: _propTypes.default.bool.isRequired,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "18.7.0",
|
|
3
|
+
"version": "18.7.1-alpha.0+33092c184",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -41,61 +41,62 @@
|
|
|
41
41
|
"lib"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
+
"@instructure/emotion": "^8.48.2",
|
|
44
45
|
"@instructure/grading-utils": "^1.0.0",
|
|
45
46
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
46
|
-
"@instructure/quiz-common": "
|
|
47
|
-
"@instructure/quiz-i18n": "
|
|
48
|
-
"@instructure/quiz-interactions": "
|
|
49
|
-
"@instructure/quiz-number-input": "
|
|
50
|
-
"@instructure/quiz-rce": "
|
|
51
|
-
"@instructure/ui-a11y-content": "^
|
|
52
|
-
"@instructure/ui-alerts": "^
|
|
53
|
-
"@instructure/ui-avatar": "^
|
|
54
|
-
"@instructure/ui-billboard": "^
|
|
55
|
-
"@instructure/ui-breadcrumb": "^
|
|
56
|
-
"@instructure/ui-buttons": "^
|
|
57
|
-
"@instructure/ui-checkbox": "^
|
|
58
|
-
"@instructure/ui-color-utils": "^
|
|
59
|
-
"@instructure/ui-dialog": "^
|
|
60
|
-
"@instructure/ui-flex": "^
|
|
61
|
-
"@instructure/ui-focusable": "^
|
|
62
|
-
"@instructure/ui-form-field": "^
|
|
63
|
-
"@instructure/ui-grid": "^
|
|
64
|
-
"@instructure/ui-heading": "^
|
|
47
|
+
"@instructure/quiz-common": "18.7.1-alpha.0+33092c184",
|
|
48
|
+
"@instructure/quiz-i18n": "18.7.1-alpha.0+33092c184",
|
|
49
|
+
"@instructure/quiz-interactions": "18.7.1-alpha.0+33092c184",
|
|
50
|
+
"@instructure/quiz-number-input": "18.7.1-alpha.0+33092c184",
|
|
51
|
+
"@instructure/quiz-rce": "18.7.1-alpha.0+33092c184",
|
|
52
|
+
"@instructure/ui-a11y-content": "^8.48.2",
|
|
53
|
+
"@instructure/ui-alerts": "^8.48.2",
|
|
54
|
+
"@instructure/ui-avatar": "^8.48.2",
|
|
55
|
+
"@instructure/ui-billboard": "^8.48.2",
|
|
56
|
+
"@instructure/ui-breadcrumb": "^8.48.2",
|
|
57
|
+
"@instructure/ui-buttons": "^8.48.2",
|
|
58
|
+
"@instructure/ui-checkbox": "^8.48.2",
|
|
59
|
+
"@instructure/ui-color-utils": "^8.48.2",
|
|
60
|
+
"@instructure/ui-dialog": "^8.48.2",
|
|
61
|
+
"@instructure/ui-flex": "^8.48.2",
|
|
62
|
+
"@instructure/ui-focusable": "^8.48.2",
|
|
63
|
+
"@instructure/ui-form-field": "^8.48.2",
|
|
64
|
+
"@instructure/ui-grid": "^8.48.2",
|
|
65
|
+
"@instructure/ui-heading": "^8.48.2",
|
|
65
66
|
"@instructure/ui-i18n": "^7.22.1",
|
|
66
|
-
"@instructure/ui-icons": "^
|
|
67
|
-
"@instructure/ui-img": "^
|
|
68
|
-
"@instructure/ui-link": "^
|
|
69
|
-
"@instructure/ui-list": "^
|
|
70
|
-
"@instructure/ui-menu": "^
|
|
71
|
-
"@instructure/ui-metric": "^
|
|
72
|
-
"@instructure/ui-modal": "^
|
|
73
|
-
"@instructure/ui-motion": "^
|
|
74
|
-
"@instructure/ui-number-input": "^
|
|
75
|
-
"@instructure/ui-overlays": "^
|
|
76
|
-
"@instructure/ui-pagination": "^
|
|
77
|
-
"@instructure/ui-popover": "^
|
|
78
|
-
"@instructure/ui-portal": "^
|
|
79
|
-
"@instructure/ui-progress": "^
|
|
80
|
-
"@instructure/ui-prop-types": "^
|
|
81
|
-
"@instructure/ui-radio-input": "^
|
|
82
|
-
"@instructure/ui-react-utils": "^
|
|
83
|
-
"@instructure/ui-select": "^
|
|
84
|
-
"@instructure/ui-simple-select": "^
|
|
85
|
-
"@instructure/ui-spinner": "^
|
|
86
|
-
"@instructure/ui-table": "^
|
|
87
|
-
"@instructure/ui-tabs": "^
|
|
88
|
-
"@instructure/ui-tag": "^
|
|
89
|
-
"@instructure/ui-text": "^
|
|
90
|
-
"@instructure/ui-text-input": "^
|
|
67
|
+
"@instructure/ui-icons": "^8.48.2",
|
|
68
|
+
"@instructure/ui-img": "^8.48.2",
|
|
69
|
+
"@instructure/ui-link": "^8.48.2",
|
|
70
|
+
"@instructure/ui-list": "^8.48.2",
|
|
71
|
+
"@instructure/ui-menu": "^8.48.2",
|
|
72
|
+
"@instructure/ui-metric": "^8.48.2",
|
|
73
|
+
"@instructure/ui-modal": "^8.48.2",
|
|
74
|
+
"@instructure/ui-motion": "^8.48.2",
|
|
75
|
+
"@instructure/ui-number-input": "^8.48.2",
|
|
76
|
+
"@instructure/ui-overlays": "^8.48.2",
|
|
77
|
+
"@instructure/ui-pagination": "^8.48.2",
|
|
78
|
+
"@instructure/ui-popover": "^8.48.2",
|
|
79
|
+
"@instructure/ui-portal": "^8.48.2",
|
|
80
|
+
"@instructure/ui-progress": "^8.48.2",
|
|
81
|
+
"@instructure/ui-prop-types": "^8.48.2",
|
|
82
|
+
"@instructure/ui-radio-input": "^8.48.2",
|
|
83
|
+
"@instructure/ui-react-utils": "^8.48.2",
|
|
84
|
+
"@instructure/ui-select": "^8.48.2",
|
|
85
|
+
"@instructure/ui-simple-select": "^8.48.2",
|
|
86
|
+
"@instructure/ui-spinner": "^8.48.2",
|
|
87
|
+
"@instructure/ui-table": "^8.48.2",
|
|
88
|
+
"@instructure/ui-tabs": "^8.48.2",
|
|
89
|
+
"@instructure/ui-tag": "^8.48.2",
|
|
90
|
+
"@instructure/ui-text": "^8.48.2",
|
|
91
|
+
"@instructure/ui-text-input": "^8.48.2",
|
|
91
92
|
"@instructure/ui-themeable": "^7.22.1",
|
|
92
|
-
"@instructure/ui-themes": "^
|
|
93
|
-
"@instructure/ui-toggle-details": "^
|
|
94
|
-
"@instructure/ui-tooltip": "^
|
|
95
|
-
"@instructure/ui-tray": "^
|
|
96
|
-
"@instructure/ui-truncate-text": "^
|
|
97
|
-
"@instructure/ui-utils": "^
|
|
98
|
-
"@instructure/ui-view": "^
|
|
93
|
+
"@instructure/ui-themes": "^8.48.2",
|
|
94
|
+
"@instructure/ui-toggle-details": "^8.48.2",
|
|
95
|
+
"@instructure/ui-tooltip": "^8.48.2",
|
|
96
|
+
"@instructure/ui-tray": "^8.48.2",
|
|
97
|
+
"@instructure/ui-truncate-text": "^8.48.2",
|
|
98
|
+
"@instructure/ui-utils": "^8.48.2",
|
|
99
|
+
"@instructure/ui-view": "^8.48.2",
|
|
99
100
|
"aws-sdk": "^2.3.2",
|
|
100
101
|
"classnames": "^2.2.5",
|
|
101
102
|
"content-disposition": "^0.5.2",
|
|
@@ -109,7 +110,7 @@
|
|
|
109
110
|
"file-saver": "~2.0.5",
|
|
110
111
|
"humps": "^2.0.0",
|
|
111
112
|
"immutable": "^3.8.1",
|
|
112
|
-
"instructure-validations": "
|
|
113
|
+
"instructure-validations": "18.7.1-alpha.0+33092c184",
|
|
113
114
|
"ipaddr.js": "^1.5.4",
|
|
114
115
|
"isomorphic-fetch": "^2.2.0",
|
|
115
116
|
"isuuid": "^0.1.0",
|
|
@@ -141,8 +142,8 @@
|
|
|
141
142
|
"uuid": "^3.2.1"
|
|
142
143
|
},
|
|
143
144
|
"devDependencies": {
|
|
144
|
-
"@instructure/quiz-scripts": "
|
|
145
|
-
"@instructure/ui-axe-check": "^
|
|
145
|
+
"@instructure/quiz-scripts": "18.7.0",
|
|
146
|
+
"@instructure/ui-axe-check": "^8.48.2",
|
|
146
147
|
"@instructure/ui-babel-preset": "^7.22.1",
|
|
147
148
|
"@instructure/ui-karma-config": "^7.22.1",
|
|
148
149
|
"@instructure/ui-postcss-config": "^7.22.1",
|
|
@@ -160,7 +161,7 @@
|
|
|
160
161
|
"intl": "^1.2.4",
|
|
161
162
|
"jquery": "^2.2.3",
|
|
162
163
|
"most-subject": "^5.3.0",
|
|
163
|
-
"quiz-presets": "
|
|
164
|
+
"quiz-presets": "18.7.1-alpha.0+33092c184",
|
|
164
165
|
"react": "^16.8.6",
|
|
165
166
|
"react-addons-test-utils": "^15.6.2",
|
|
166
167
|
"react-dom": "^16.8.6",
|
|
@@ -176,5 +177,5 @@
|
|
|
176
177
|
"publishConfig": {
|
|
177
178
|
"access": "public"
|
|
178
179
|
},
|
|
179
|
-
"gitHead": "
|
|
180
|
+
"gitHead": "33092c1843a8616f0f0ca8e814a0ea78a9992d21"
|
|
180
181
|
}
|