@pie-lib/scoring-config 3.6.12 → 4.0.0-beta.1
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/CHANGELOG.md +0 -283
- package/lib/index.js +5 -7
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/src/index.jsx +10 -8
- package/LICENSE.md +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,289 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [3.6.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.10...@pie-lib/scoring-config@3.6.12) (2023-01-31)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [3.6.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.9...@pie-lib/scoring-config@3.6.10) (2023-01-31)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [3.6.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.8...@pie-lib/scoring-config@3.6.9) (2023-01-31)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [3.6.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.7...@pie-lib/scoring-config@3.6.8) (2023-01-31)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## [3.6.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.5...@pie-lib/scoring-config@3.6.7) (2023-01-31)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## [3.6.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.3...@pie-lib/scoring-config@3.6.5) (2023-01-31)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
## [3.6.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.1...@pie-lib/scoring-config@3.6.3) (2023-01-31)
|
|
55
|
-
|
|
56
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
## [3.6.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.6.0...@pie-lib/scoring-config@3.6.1) (2023-01-31)
|
|
63
|
-
|
|
64
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
# [3.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.198...@pie-lib/scoring-config@3.6.0) (2023-01-16)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
### Features
|
|
74
|
-
|
|
75
|
-
* added theme naming support + cleanup ([72d562d](https://github.com/pie-framework/pie-lib/commit/72d562d509e5d31d883690eb455a9afea6bf54fc))
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
## [3.5.198](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.197...@pie-lib/scoring-config@3.5.198) (2023-01-04)
|
|
82
|
-
|
|
83
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## [3.5.197](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.196...@pie-lib/scoring-config@3.5.197) (2023-01-04)
|
|
90
|
-
|
|
91
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
## [3.5.196](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.195...@pie-lib/scoring-config@3.5.196) (2023-01-03)
|
|
98
|
-
|
|
99
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
## [3.5.195](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.194...@pie-lib/scoring-config@3.5.195) (2022-12-21)
|
|
106
|
-
|
|
107
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
## [3.5.194](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.193...@pie-lib/scoring-config@3.5.194) (2022-12-19)
|
|
114
|
-
|
|
115
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
## [3.5.193](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.192...@pie-lib/scoring-config@3.5.193) (2022-12-07)
|
|
122
|
-
|
|
123
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
## [3.5.192](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.191...@pie-lib/scoring-config@3.5.192) (2022-12-06)
|
|
130
|
-
|
|
131
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
## [3.5.191](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.190...@pie-lib/scoring-config@3.5.191) (2022-12-06)
|
|
138
|
-
|
|
139
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
## [3.5.190](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.189...@pie-lib/scoring-config@3.5.190) (2022-11-29)
|
|
146
|
-
|
|
147
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
## [3.5.189](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.188...@pie-lib/scoring-config@3.5.189) (2022-11-23)
|
|
154
|
-
|
|
155
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
## [3.5.188](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.187...@pie-lib/scoring-config@3.5.188) (2022-11-23)
|
|
162
|
-
|
|
163
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
## [3.5.187](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.186...@pie-lib/scoring-config@3.5.187) (2022-11-17)
|
|
170
|
-
|
|
171
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
## [3.5.186](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.185...@pie-lib/scoring-config@3.5.186) (2022-11-14)
|
|
178
|
-
|
|
179
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
## [3.5.185](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.184...@pie-lib/scoring-config@3.5.185) (2022-10-31)
|
|
186
|
-
|
|
187
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
## [3.5.184](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.183...@pie-lib/scoring-config@3.5.184) (2022-10-17)
|
|
194
|
-
|
|
195
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
## [3.5.183](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.182...@pie-lib/scoring-config@3.5.183) (2022-09-29)
|
|
202
|
-
|
|
203
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
## [3.5.182](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.181...@pie-lib/scoring-config@3.5.182) (2022-09-28)
|
|
210
|
-
|
|
211
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
## [3.5.181](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.180...@pie-lib/scoring-config@3.5.181) (2022-09-28)
|
|
218
|
-
|
|
219
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
## [3.5.180](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.179...@pie-lib/scoring-config@3.5.180) (2022-09-14)
|
|
226
|
-
|
|
227
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
## [3.5.179](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.178...@pie-lib/scoring-config@3.5.179) (2022-08-30)
|
|
234
|
-
|
|
235
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
## [3.5.178](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.177...@pie-lib/scoring-config@3.5.178) (2022-08-29)
|
|
242
|
-
|
|
243
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
## [3.5.177](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.176...@pie-lib/scoring-config@3.5.177) (2022-08-29)
|
|
250
|
-
|
|
251
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
## [3.5.176](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.175...@pie-lib/scoring-config@3.5.176) (2022-08-15)
|
|
258
|
-
|
|
259
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
## [3.5.175](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.174...@pie-lib/scoring-config@3.5.175) (2022-08-08)
|
|
266
|
-
|
|
267
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
## [3.5.174](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.173...@pie-lib/scoring-config@3.5.174) (2022-08-01)
|
|
274
|
-
|
|
275
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
## [3.5.173](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.172...@pie-lib/scoring-config@3.5.173) (2022-08-01)
|
|
282
|
-
|
|
283
|
-
**Note:** Version bump only for package @pie-lib/scoring-config
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
6
|
## [3.5.172](https://github.com/pie-framework/pie-lib/compare/@pie-lib/scoring-config@3.5.171...@pie-lib/scoring-config@3.5.172) (2022-07-22)
|
|
290
7
|
|
|
291
8
|
**Note:** Version bump only for package @pie-lib/scoring-config
|
package/lib/index.js
CHANGED
|
@@ -93,13 +93,11 @@ exports.PartialScoringConfig = PartialScoringConfig;
|
|
|
93
93
|
onChange: _propTypes["default"].func
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
var _default = (0, _styles.withStyles)(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
};
|
|
96
|
+
var _default = (0, _styles.withStyles)({
|
|
97
|
+
scoringConfig: {
|
|
98
|
+
paddingTop: '10px'
|
|
99
|
+
}
|
|
102
100
|
})(PartialScoringConfig);
|
|
103
101
|
|
|
104
102
|
exports["default"] = _default;
|
|
105
|
-
//# sourceMappingURL=
|
|
103
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJQYXJ0aWFsU2NvcmluZ0NvbmZpZyIsInByb3BzIiwiY2hlY2tlZCIsInN0YXRlIiwib25DaGFuZ2UiLCJzZXRTdGF0ZSIsInBhcnRpYWxTY29yaW5nIiwiY2xhc3NlcyIsImxhYmVsIiwidGV4dExhYmVsIiwic2NvcmluZ0NvbmZpZyIsIm9uQ2hlY2tib3hDaGFuZ2VkIiwiUmVhY3QiLCJDb21wb25lbnQiLCJQcm9wVHlwZXMiLCJzdHJpbmciLCJib29sIiwib2JqZWN0IiwiaXNSZXF1aXJlZCIsImZ1bmMiLCJ3aXRoU3R5bGVzIiwicGFkZGluZ1RvcCJdLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qc3giXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0JztcbmltcG9ydCBUeXBvZ3JhcGh5IGZyb20gJ0BtYXRlcmlhbC11aS9jb3JlL1R5cG9ncmFwaHknO1xuaW1wb3J0IENoZWNrYm94IGZyb20gJ0BtYXRlcmlhbC11aS9jb3JlL0NoZWNrYm94JztcbmltcG9ydCB7IHdpdGhTdHlsZXMgfSBmcm9tICdAbWF0ZXJpYWwtdWkvY29yZS9zdHlsZXMnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcblxuZXhwb3J0IGNsYXNzIFBhcnRpYWxTY29yaW5nQ29uZmlnIGV4dGVuZHMgUmVhY3QuQ29tcG9uZW50IHtcbiAgc3RhdGljIHByb3BUeXBlcyA9IHtcbiAgICBsYWJlbDogUHJvcFR5cGVzLnN0cmluZyxcbiAgICBwYXJ0aWFsU2NvcmluZzogUHJvcFR5cGVzLmJvb2wsXG4gICAgY2xhc3NlczogUHJvcFR5cGVzLm9iamVjdC5pc1JlcXV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01BQUEsSUFBaUJDLEtBQWpCLGVBQWlCQSxLQUFqQjtNQUNBLElBQVFOLE9BQVIsR0FBb0IsS0FBS0MsS0FBekIsQ0FBUUQsT0FBUjtNQUNBLElBQU1PLFNBQVMsR0FDYkQsS0FBSyxJQUNMLHdGQUZGO01BSUEsb0JBQ0U7UUFBSyxTQUFTLEVBQUVELE9BQU8sQ0FBQ0c7TUFBeEIsZ0JBQ0UsZ0NBQUMsc0JBQUQ7UUFBWSxJQUFJLEVBQUM7TUFBakIsMkJBREYsZUFFRSwyQ0FGRixlQUdFLGdDQUFDLHNCQUFELFFBQWFELFNBQWIsQ0FIRixlQUlFLGdDQUFDLG9CQUFEO1FBQVUsT0FBTyxFQUFFUCxPQUFuQjtRQUE0QixRQUFRLEVBQUUsS0FBS1MsaUJBQTNDO1FBQThELEtBQUssRUFBRTtNQUFyRSxFQUpGLENBREY7SUFRRDs7O0VBN0N1Q0MsaUJBQUEsQ0FBTUMsUzs7O2lDQUFuQ2Isb0IsZUFDUTtFQUNqQlEsS0FBSyxFQUFFTSxxQkFBQSxDQUFVQyxNQURBO0VBRWpCVCxjQUFjLEVBQUVRLHFCQUFBLENBQVVFLElBRlQ7RUFHakJULE9BQU8sRUFBRU8scUJBQUEsQ0FBVUcsTUFBVixDQUFpQkMsVUFIVDtFQUlqQmQsUUFBUSxFQUFFVSxxQkFBQSxDQUFVSztBQUpILEM7O2VBK0NOLElBQUFDLGtCQUFBLEVBQVc7RUFDeEJWLGFBQWEsRUFBRTtJQUNiVyxVQUFVLEVBQUU7RUFEQztBQURTLENBQVgsRUFJWnJCLG9CQUpZLEMifQ==
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","names":["PartialScoringConfig","props","checked","state","onChange","setState","partialScoring","classes","label","textLabel","scoringConfig","onCheckboxChanged","React","Component","PropTypes","string","bool","object","isRequired","func","withStyles","paddingTop"],"sources":["../src/index.jsx"],"sourcesContent":["import React from 'react';\nimport Typography from '@material-ui/core/Typography';\nimport Checkbox from '@material-ui/core/Checkbox';\nimport { withStyles } from '@material-ui/core/styles';\nimport PropTypes from 'prop-types';\n\nexport class PartialScoringConfig extends React.Component {\n static propTypes = {\n label: PropTypes.string,\n partialScoring: PropTypes.bool,\n classes: PropTypes.object.isRequired,\n onChange: PropTypes.func\n };\n\n state = {\n checked: false\n };\n\n constructor(props) {\n super(props);\n\n const { partialScoring } = props;\n\n this.state.checked = partialScoring;\n }\n\n onCheckboxChanged = () => {\n const checked = !this.state.checked;\n const { onChange } = this.props;\n\n this.setState({\n checked\n });\n onChange(checked);\n };\n\n render() {\n const { classes, label } = this.props;\n const { checked } = this.state;\n const textLabel =\n label ||\n 'Each correct response is worth 1/X where X is the number of correct answer selections.';\n\n return (\n <div className={classes.scoringConfig}>\n <Typography type=\"subheading\">Partial Scoring Rules</Typography>\n <br />\n <Typography>{textLabel}</Typography>\n <Checkbox checked={checked} onChange={this.onCheckboxChanged} label={''} />\n </div>\n );\n }\n}\n\nexport default withStyles({\n scoringConfig: {\n paddingTop: '10px'\n }\n})(PartialScoringConfig);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;IAEaA,oB;;;;;EAYX,8BAAYC,KAAZ,EAAmB;IAAA;;IAAA;IACjB,0BAAMA,KAAN;IADiB,0FAJX;MACNC,OAAO,EAAE;IADH,CAIW;IAAA,sGAQC,YAAM;MACxB,IAAMA,OAAO,GAAG,CAAC,MAAKC,KAAL,CAAWD,OAA5B;MACA,IAAQE,QAAR,GAAqB,MAAKH,KAA1B,CAAQG,QAAR;;MAEA,MAAKC,QAAL,CAAc;QACZH,OAAO,EAAPA;MADY,CAAd;;MAGAE,QAAQ,CAACF,OAAD,CAAR;IACD,CAhBkB;IAGjB,IAAQI,cAAR,GAA2BL,KAA3B,CAAQK,cAAR;IAEA,MAAKH,KAAL,CAAWD,OAAX,GAAqBI,cAArB;IALiB;EAMlB;;;;WAYD,kBAAS;MACP,kBAA2B,KAAKL,KAAhC;MAAA,IAAQM,OAAR,eAAQA,OAAR;MAAA,IAAiBC,KAAjB,eAAiBA,KAAjB;MACA,IAAQN,OAAR,GAAoB,KAAKC,KAAzB,CAAQD,OAAR;MACA,IAAMO,SAAS,GACbD,KAAK,IACL,wFAFF;MAIA,oBACE;QAAK,SAAS,EAAED,OAAO,CAACG;MAAxB,gBACE,gCAAC,sBAAD;QAAY,IAAI,EAAC;MAAjB,2BADF,eAEE,2CAFF,eAGE,gCAAC,sBAAD,QAAaD,SAAb,CAHF,eAIE,gCAAC,oBAAD;QAAU,OAAO,EAAEP,OAAnB;QAA4B,QAAQ,EAAE,KAAKS,iBAA3C;QAA8D,KAAK,EAAE;MAArE,EAJF,CADF;IAQD;;;EA7CuCC,iBAAA,CAAMC,S;;;iCAAnCb,oB,eACQ;EACjBQ,KAAK,EAAEM,qBAAA,CAAUC,MADA;EAEjBT,cAAc,EAAEQ,qBAAA,CAAUE,IAFT;EAGjBT,OAAO,EAAEO,qBAAA,CAAUG,MAAV,CAAiBC,UAHT;EAIjBd,QAAQ,EAAEU,qBAAA,CAAUK;AAJH,C;;eA+CN,IAAAC,kBAAA,EAAW;EACxBV,aAAa,EAAE;IACbW,UAAU,EAAE;EADC;AADS,CAAX,EAIZrB,oBAJY,C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/scoring-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-beta.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "src/index.jsx",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@material-ui/core": "^3.8.3",
|
|
15
15
|
"@material-ui/icons": "^3.0.2",
|
|
16
|
-
"@pie-lib/config-ui": "
|
|
16
|
+
"@pie-lib/config-ui": "12.0.0-beta.2",
|
|
17
17
|
"classnames": "^2.2.6",
|
|
18
18
|
"debug": "^4.1.1",
|
|
19
19
|
"lodash": "^4.17.11"
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"react": "^16.8.1",
|
|
26
26
|
"react-dom": "^16.9.0"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "f3345ae70660f4ae88450512261c7ea1601003c8"
|
|
29
29
|
}
|
package/src/index.jsx
CHANGED
|
@@ -9,11 +9,11 @@ export class PartialScoringConfig extends React.Component {
|
|
|
9
9
|
label: PropTypes.string,
|
|
10
10
|
partialScoring: PropTypes.bool,
|
|
11
11
|
classes: PropTypes.object.isRequired,
|
|
12
|
-
onChange: PropTypes.func
|
|
12
|
+
onChange: PropTypes.func
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
state = {
|
|
16
|
-
checked: false
|
|
16
|
+
checked: false
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
constructor(props) {
|
|
@@ -29,7 +29,7 @@ export class PartialScoringConfig extends React.Component {
|
|
|
29
29
|
const { onChange } = this.props;
|
|
30
30
|
|
|
31
31
|
this.setState({
|
|
32
|
-
checked
|
|
32
|
+
checked
|
|
33
33
|
});
|
|
34
34
|
onChange(checked);
|
|
35
35
|
};
|
|
@@ -37,7 +37,9 @@ export class PartialScoringConfig extends React.Component {
|
|
|
37
37
|
render() {
|
|
38
38
|
const { classes, label } = this.props;
|
|
39
39
|
const { checked } = this.state;
|
|
40
|
-
const textLabel =
|
|
40
|
+
const textLabel =
|
|
41
|
+
label ||
|
|
42
|
+
'Each correct response is worth 1/X where X is the number of correct answer selections.';
|
|
41
43
|
|
|
42
44
|
return (
|
|
43
45
|
<div className={classes.scoringConfig}>
|
|
@@ -50,8 +52,8 @@ export class PartialScoringConfig extends React.Component {
|
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
|
|
53
|
-
export default withStyles(
|
|
55
|
+
export default withStyles({
|
|
54
56
|
scoringConfig: {
|
|
55
|
-
paddingTop:
|
|
56
|
-
}
|
|
57
|
-
})
|
|
57
|
+
paddingTop: '10px'
|
|
58
|
+
}
|
|
59
|
+
})(PartialScoringConfig);
|
package/LICENSE.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Copyright 2019 CoreSpring Inc
|
|
2
|
-
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
4
|
-
|
|
5
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|