@pie-element/ebsr 7.0.23 → 7.0.24
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 +8 -0
- package/configure/CHANGELOG.md +8 -0
- package/configure/package.json +3 -3
- package/module/configure.js +2 -2
- package/module/element.js +37 -21
- package/module/index.html +1 -1
- package/module/manifest.json +3 -3
- package/module/print.html +1 -1
- package/module/print.js +37 -21
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [7.0.24](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.23...@pie-element/ebsr@7.0.24) (2022-05-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/ebsr
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [7.0.23](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr@7.0.22...@pie-element/ebsr@7.0.23) (2022-05-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @pie-element/ebsr
|
package/configure/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [7.0.24](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.23...@pie-element/ebsr-configure@7.0.24) (2022-05-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @pie-element/ebsr-configure
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [7.0.23](https://github.com/pie-framework/pie-elements/compare/@pie-element/ebsr-configure@7.0.22...@pie-element/ebsr-configure@7.0.23) (2022-05-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @pie-element/ebsr-configure
|
package/configure/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr-configure",
|
|
3
3
|
"private": true,
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.24",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "src/index.js",
|
|
8
8
|
"author": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
|
-
"@pie-element/multiple-choice": "^6.3.
|
|
11
|
+
"@pie-element/multiple-choice": "^6.3.2",
|
|
12
12
|
"@pie-framework/pie-configure-events": "^1.2.0",
|
|
13
|
-
"@pie-lib/config-ui": "^10.
|
|
13
|
+
"@pie-lib/config-ui": "^10.13.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
|
15
15
|
"prop-types": "^15.6.2",
|
|
16
16
|
"react": "^16.8.1",
|
package/module/configure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core_styles, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core_styles, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.17/module/index.js";
|
|
2
2
|
import MultipleChoiceConfigure from '@pie-element/multiple-choice/configure/lib';
|
|
3
|
-
import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.2.
|
|
3
|
+
import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.2.4/module/index.js";
|
|
4
4
|
var lib = {};
|
|
5
5
|
Object.defineProperty(lib, "__esModule", {
|
|
6
6
|
value: true
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_prop_types, _dll_react_dom, _dll_react, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__core, _dll_classnames, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.
|
|
1
|
+
import {_dll_prop_types, _dll_react_dom, _dll_react, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__core, _dll_classnames, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.4.17/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.5/module/index.js";
|
|
3
3
|
function getDefaultExportFromCjs(x) {
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
5
|
}
|
|
@@ -1296,6 +1296,7 @@ const {color: color$1} = _dll_pie_lib__render_ui;
|
|
|
1296
1296
|
const {PreviewPrompt: PreviewPrompt$1} = _dll_pie_lib__render_ui;
|
|
1297
1297
|
const classNames$3 = _dll_classnames;
|
|
1298
1298
|
const _jsxFileName$3 = "/home/circleci/repo/packages/multiple-choice/src/choice-input.jsx";
|
|
1299
|
+
const CLASS_NAME = 'multiple-choice-component';
|
|
1299
1300
|
const styleSheet = () => ({
|
|
1300
1301
|
row: {
|
|
1301
1302
|
display: 'flex',
|
|
@@ -1310,6 +1311,11 @@ const styleSheet = () => ({
|
|
|
1310
1311
|
'& label': {
|
|
1311
1312
|
color: color$1.text()
|
|
1312
1313
|
}
|
|
1314
|
+
},
|
|
1315
|
+
horizontalLayout: {
|
|
1316
|
+
[`& .${CLASS_NAME}`]: {
|
|
1317
|
+
paddingRight: '8px'
|
|
1318
|
+
}
|
|
1313
1319
|
}
|
|
1314
1320
|
});
|
|
1315
1321
|
const formStyleSheet = {
|
|
@@ -1328,10 +1334,9 @@ const StyledFormControlLabel = withStyles$3(formStyleSheet, {
|
|
|
1328
1334
|
__self: undefined,
|
|
1329
1335
|
__source: {
|
|
1330
1336
|
fileName: _jsxFileName$3,
|
|
1331
|
-
lineNumber:
|
|
1337
|
+
lineNumber: 46
|
|
1332
1338
|
}
|
|
1333
1339
|
}));
|
|
1334
|
-
const CLASS_NAME = 'multiple-choice-component';
|
|
1335
1340
|
const colorStyle = (varName, fallback) => ({
|
|
1336
1341
|
[`&.${CLASS_NAME}`]: {
|
|
1337
1342
|
color: `var(--choice-input-${varName}, ${fallback}) !important`
|
|
@@ -1383,7 +1388,7 @@ const StyledCheckbox = withStyles$3(inputStyles)(props => {
|
|
|
1383
1388
|
__self: undefined,
|
|
1384
1389
|
__source: {
|
|
1385
1390
|
fileName: _jsxFileName$3,
|
|
1386
|
-
lineNumber:
|
|
1391
|
+
lineNumber: 97
|
|
1387
1392
|
}
|
|
1388
1393
|
});
|
|
1389
1394
|
});
|
|
@@ -1412,7 +1417,7 @@ const StyledRadio = withStyles$3(inputStyles)(props => {
|
|
|
1412
1417
|
__self: undefined,
|
|
1413
1418
|
__source: {
|
|
1414
1419
|
fileName: _jsxFileName$3,
|
|
1415
|
-
lineNumber:
|
|
1420
|
+
lineNumber: 130
|
|
1416
1421
|
}
|
|
1417
1422
|
});
|
|
1418
1423
|
});
|
|
@@ -1433,7 +1438,8 @@ class ChoiceInput extends React$4.Component {
|
|
|
1433
1438
|
classes: PropTypes$3.object,
|
|
1434
1439
|
className: PropTypes$3.string,
|
|
1435
1440
|
hideTick: PropTypes$3.bool,
|
|
1436
|
-
isEvaluateMode: PropTypes$3.bool
|
|
1441
|
+
isEvaluateMode: PropTypes$3.bool,
|
|
1442
|
+
choicesLayout: PropTypes$3.oneOf(['vertical', 'grid', 'horizontal'])
|
|
1437
1443
|
};
|
|
1438
1444
|
}
|
|
1439
1445
|
static __initStatic2() {
|
|
@@ -1455,36 +1461,39 @@ class ChoiceInput extends React$4.Component {
|
|
|
1455
1461
|
});
|
|
1456
1462
|
}
|
|
1457
1463
|
render() {
|
|
1458
|
-
const {choiceMode, disabled, displayKey, feedback, label, checked, correctness, classes, className, rationale, accessibility, hideTick, isEvaluateMode} = this.props;
|
|
1464
|
+
const {choiceMode, disabled, displayKey, feedback, label, checked, correctness, classes, className, rationale, accessibility, hideTick, isEvaluateMode, choicesLayout} = this.props;
|
|
1459
1465
|
const Tag = choiceMode === 'checkbox' ? StyledCheckbox : StyledRadio;
|
|
1460
1466
|
const classSuffix = choiceMode === 'checkbox' ? 'checkbox' : 'radio-button';
|
|
1467
|
+
const holderClassNames = classNames$3(classes.checkboxHolder, {
|
|
1468
|
+
[classes.horizontalLayout]: choicesLayout === 'horizontal'
|
|
1469
|
+
});
|
|
1461
1470
|
return React$4.createElement('div', {
|
|
1462
1471
|
className: classNames$3(className, 'corespring-' + classSuffix, 'choice-input'),
|
|
1463
1472
|
__self: this,
|
|
1464
1473
|
__source: {
|
|
1465
1474
|
fileName: _jsxFileName$3,
|
|
1466
|
-
lineNumber:
|
|
1475
|
+
lineNumber: 208
|
|
1467
1476
|
}
|
|
1468
1477
|
}, React$4.createElement('div', {
|
|
1469
1478
|
className: classes.row,
|
|
1470
1479
|
__self: this,
|
|
1471
1480
|
__source: {
|
|
1472
1481
|
fileName: _jsxFileName$3,
|
|
1473
|
-
lineNumber:
|
|
1482
|
+
lineNumber: 209
|
|
1474
1483
|
}
|
|
1475
1484
|
}, !hideTick && isEvaluateMode && React$4.createElement(FeedbackTick$1, {
|
|
1476
1485
|
correctness: correctness,
|
|
1477
1486
|
__self: this,
|
|
1478
1487
|
__source: {
|
|
1479
1488
|
fileName: _jsxFileName$3,
|
|
1480
|
-
lineNumber:
|
|
1489
|
+
lineNumber: 210
|
|
1481
1490
|
}
|
|
1482
1491
|
}), React$4.createElement('div', {
|
|
1483
|
-
className: classNames$3(
|
|
1492
|
+
className: classNames$3(holderClassNames, 'checkbox-holder'),
|
|
1484
1493
|
__self: this,
|
|
1485
1494
|
__source: {
|
|
1486
1495
|
fileName: _jsxFileName$3,
|
|
1487
|
-
lineNumber:
|
|
1496
|
+
lineNumber: 211
|
|
1488
1497
|
}
|
|
1489
1498
|
}, React$4.createElement(StyledFormControlLabel, {
|
|
1490
1499
|
disabled: disabled,
|
|
@@ -1497,13 +1506,13 @@ class ChoiceInput extends React$4.Component {
|
|
|
1497
1506
|
__self: this,
|
|
1498
1507
|
__source: {
|
|
1499
1508
|
fileName: _jsxFileName$3,
|
|
1500
|
-
lineNumber:
|
|
1509
|
+
lineNumber: 216
|
|
1501
1510
|
}
|
|
1502
1511
|
}),
|
|
1503
1512
|
__self: this,
|
|
1504
1513
|
__source: {
|
|
1505
1514
|
fileName: _jsxFileName$3,
|
|
1506
|
-
lineNumber:
|
|
1515
|
+
lineNumber: 212
|
|
1507
1516
|
}
|
|
1508
1517
|
}), React$4.createElement(PreviewPrompt$1, {
|
|
1509
1518
|
className: "label",
|
|
@@ -1513,7 +1522,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
1513
1522
|
__self: this,
|
|
1514
1523
|
__source: {
|
|
1515
1524
|
fileName: _jsxFileName$3,
|
|
1516
|
-
lineNumber:
|
|
1525
|
+
lineNumber: 224
|
|
1517
1526
|
}
|
|
1518
1527
|
}))), rationale && React$4.createElement(PreviewPrompt$1, {
|
|
1519
1528
|
className: "rationale",
|
|
@@ -1522,7 +1531,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
1522
1531
|
__self: this,
|
|
1523
1532
|
__source: {
|
|
1524
1533
|
fileName: _jsxFileName$3,
|
|
1525
|
-
lineNumber:
|
|
1534
|
+
lineNumber: 233
|
|
1526
1535
|
}
|
|
1527
1536
|
}), React$4.createElement(Feedback, {
|
|
1528
1537
|
feedback: feedback,
|
|
@@ -1530,7 +1539,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
1530
1539
|
__self: this,
|
|
1531
1540
|
__source: {
|
|
1532
1541
|
fileName: _jsxFileName$3,
|
|
1533
|
-
lineNumber:
|
|
1542
|
+
lineNumber: 235
|
|
1534
1543
|
}
|
|
1535
1544
|
}));
|
|
1536
1545
|
}
|
|
@@ -1574,7 +1583,8 @@ class Choice extends React$3.Component {
|
|
|
1574
1583
|
isEvaluateMode
|
|
1575
1584
|
};
|
|
1576
1585
|
const names = classNames$2(classes.choice, {
|
|
1577
|
-
[classes.noBorder]: index === choicesLength - 1 || choicesLayout !== 'vertical'
|
|
1586
|
+
[classes.noBorder]: index === choicesLength - 1 || choicesLayout !== 'vertical',
|
|
1587
|
+
[classes.horizontalLayout]: choicesLayout === 'horizontal'
|
|
1578
1588
|
});
|
|
1579
1589
|
return React$3.createElement('div', {
|
|
1580
1590
|
className: choiceClass,
|
|
@@ -1582,7 +1592,7 @@ class Choice extends React$3.Component {
|
|
|
1582
1592
|
__self: this,
|
|
1583
1593
|
__source: {
|
|
1584
1594
|
fileName: _jsxFileName$2,
|
|
1585
|
-
lineNumber:
|
|
1595
|
+
lineNumber: 57
|
|
1586
1596
|
}
|
|
1587
1597
|
}, React$3.createElement(ChoiceInput$1, {
|
|
1588
1598
|
...choiceProps,
|
|
@@ -1590,7 +1600,7 @@ class Choice extends React$3.Component {
|
|
|
1590
1600
|
__self: this,
|
|
1591
1601
|
__source: {
|
|
1592
1602
|
fileName: _jsxFileName$2,
|
|
1593
|
-
lineNumber:
|
|
1603
|
+
lineNumber: 58
|
|
1594
1604
|
}
|
|
1595
1605
|
}));
|
|
1596
1606
|
}
|
|
@@ -1619,6 +1629,12 @@ var StyledChoice = withStyles$2({
|
|
|
1619
1629
|
},
|
|
1620
1630
|
noBorder: {
|
|
1621
1631
|
borderBottom: 'none'
|
|
1632
|
+
},
|
|
1633
|
+
horizontalLayout: {
|
|
1634
|
+
paddingRight: '20px',
|
|
1635
|
+
'& label': {
|
|
1636
|
+
marginRight: '8px'
|
|
1637
|
+
}
|
|
1622
1638
|
}
|
|
1623
1639
|
})(Choice);
|
|
1624
1640
|
const React$2 = _dll_react;
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.23",
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"name": "@pie-lib/shared-module",
|
|
7
|
-
"version": "^1.4.
|
|
7
|
+
"version": "^1.4.17"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@pie-lib/math-rendering-module",
|
|
11
|
-
"version": "^1.1.
|
|
11
|
+
"version": "^1.1.5"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_prop_types, _dll_react_dom, _dll_react, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__core, _dll_classnames, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.
|
|
1
|
+
import {_dll_prop_types, _dll_react_dom, _dll_react, _dll_material_ui__core_styles, _dll_pie_lib__render_ui, _dll_material_ui__core, _dll_classnames, _dll_pie_lib__correct_answer_toggle, _dll_lodash, _dll_debug} from "../../../@pie-lib/shared-module@^1.4.17/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.1.5/module/index.js";
|
|
3
3
|
function getDefaultExportFromCjs(x) {
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
5
|
}
|
|
@@ -1259,6 +1259,7 @@ const {color: color$1} = _dll_pie_lib__render_ui;
|
|
|
1259
1259
|
const {PreviewPrompt: PreviewPrompt$1} = _dll_pie_lib__render_ui;
|
|
1260
1260
|
const classNames$3 = _dll_classnames;
|
|
1261
1261
|
const _jsxFileName$3 = "/home/circleci/repo/packages/multiple-choice/src/choice-input.jsx";
|
|
1262
|
+
const CLASS_NAME = 'multiple-choice-component';
|
|
1262
1263
|
const styleSheet = () => ({
|
|
1263
1264
|
row: {
|
|
1264
1265
|
display: 'flex',
|
|
@@ -1273,6 +1274,11 @@ const styleSheet = () => ({
|
|
|
1273
1274
|
'& label': {
|
|
1274
1275
|
color: color$1.text()
|
|
1275
1276
|
}
|
|
1277
|
+
},
|
|
1278
|
+
horizontalLayout: {
|
|
1279
|
+
[`& .${CLASS_NAME}`]: {
|
|
1280
|
+
paddingRight: '8px'
|
|
1281
|
+
}
|
|
1276
1282
|
}
|
|
1277
1283
|
});
|
|
1278
1284
|
const formStyleSheet = {
|
|
@@ -1291,10 +1297,9 @@ const StyledFormControlLabel = withStyles$3(formStyleSheet, {
|
|
|
1291
1297
|
__self: undefined,
|
|
1292
1298
|
__source: {
|
|
1293
1299
|
fileName: _jsxFileName$3,
|
|
1294
|
-
lineNumber:
|
|
1300
|
+
lineNumber: 46
|
|
1295
1301
|
}
|
|
1296
1302
|
}));
|
|
1297
|
-
const CLASS_NAME = 'multiple-choice-component';
|
|
1298
1303
|
const colorStyle = (varName, fallback) => ({
|
|
1299
1304
|
[`&.${CLASS_NAME}`]: {
|
|
1300
1305
|
color: `var(--choice-input-${varName}, ${fallback}) !important`
|
|
@@ -1346,7 +1351,7 @@ const StyledCheckbox = withStyles$3(inputStyles)(props => {
|
|
|
1346
1351
|
__self: undefined,
|
|
1347
1352
|
__source: {
|
|
1348
1353
|
fileName: _jsxFileName$3,
|
|
1349
|
-
lineNumber:
|
|
1354
|
+
lineNumber: 97
|
|
1350
1355
|
}
|
|
1351
1356
|
});
|
|
1352
1357
|
});
|
|
@@ -1375,7 +1380,7 @@ const StyledRadio = withStyles$3(inputStyles)(props => {
|
|
|
1375
1380
|
__self: undefined,
|
|
1376
1381
|
__source: {
|
|
1377
1382
|
fileName: _jsxFileName$3,
|
|
1378
|
-
lineNumber:
|
|
1383
|
+
lineNumber: 130
|
|
1379
1384
|
}
|
|
1380
1385
|
});
|
|
1381
1386
|
});
|
|
@@ -1396,7 +1401,8 @@ class ChoiceInput extends React$4.Component {
|
|
|
1396
1401
|
classes: PropTypes$3.object,
|
|
1397
1402
|
className: PropTypes$3.string,
|
|
1398
1403
|
hideTick: PropTypes$3.bool,
|
|
1399
|
-
isEvaluateMode: PropTypes$3.bool
|
|
1404
|
+
isEvaluateMode: PropTypes$3.bool,
|
|
1405
|
+
choicesLayout: PropTypes$3.oneOf(['vertical', 'grid', 'horizontal'])
|
|
1400
1406
|
};
|
|
1401
1407
|
}
|
|
1402
1408
|
static __initStatic2() {
|
|
@@ -1418,36 +1424,39 @@ class ChoiceInput extends React$4.Component {
|
|
|
1418
1424
|
});
|
|
1419
1425
|
}
|
|
1420
1426
|
render() {
|
|
1421
|
-
const {choiceMode, disabled, displayKey, feedback, label, checked, correctness, classes, className, rationale, accessibility, hideTick, isEvaluateMode} = this.props;
|
|
1427
|
+
const {choiceMode, disabled, displayKey, feedback, label, checked, correctness, classes, className, rationale, accessibility, hideTick, isEvaluateMode, choicesLayout} = this.props;
|
|
1422
1428
|
const Tag = choiceMode === 'checkbox' ? StyledCheckbox : StyledRadio;
|
|
1423
1429
|
const classSuffix = choiceMode === 'checkbox' ? 'checkbox' : 'radio-button';
|
|
1430
|
+
const holderClassNames = classNames$3(classes.checkboxHolder, {
|
|
1431
|
+
[classes.horizontalLayout]: choicesLayout === 'horizontal'
|
|
1432
|
+
});
|
|
1424
1433
|
return React$4.createElement('div', {
|
|
1425
1434
|
className: classNames$3(className, 'corespring-' + classSuffix, 'choice-input'),
|
|
1426
1435
|
__self: this,
|
|
1427
1436
|
__source: {
|
|
1428
1437
|
fileName: _jsxFileName$3,
|
|
1429
|
-
lineNumber:
|
|
1438
|
+
lineNumber: 208
|
|
1430
1439
|
}
|
|
1431
1440
|
}, React$4.createElement('div', {
|
|
1432
1441
|
className: classes.row,
|
|
1433
1442
|
__self: this,
|
|
1434
1443
|
__source: {
|
|
1435
1444
|
fileName: _jsxFileName$3,
|
|
1436
|
-
lineNumber:
|
|
1445
|
+
lineNumber: 209
|
|
1437
1446
|
}
|
|
1438
1447
|
}, !hideTick && isEvaluateMode && React$4.createElement(FeedbackTick$1, {
|
|
1439
1448
|
correctness: correctness,
|
|
1440
1449
|
__self: this,
|
|
1441
1450
|
__source: {
|
|
1442
1451
|
fileName: _jsxFileName$3,
|
|
1443
|
-
lineNumber:
|
|
1452
|
+
lineNumber: 210
|
|
1444
1453
|
}
|
|
1445
1454
|
}), React$4.createElement('div', {
|
|
1446
|
-
className: classNames$3(
|
|
1455
|
+
className: classNames$3(holderClassNames, 'checkbox-holder'),
|
|
1447
1456
|
__self: this,
|
|
1448
1457
|
__source: {
|
|
1449
1458
|
fileName: _jsxFileName$3,
|
|
1450
|
-
lineNumber:
|
|
1459
|
+
lineNumber: 211
|
|
1451
1460
|
}
|
|
1452
1461
|
}, React$4.createElement(StyledFormControlLabel, {
|
|
1453
1462
|
disabled: disabled,
|
|
@@ -1460,13 +1469,13 @@ class ChoiceInput extends React$4.Component {
|
|
|
1460
1469
|
__self: this,
|
|
1461
1470
|
__source: {
|
|
1462
1471
|
fileName: _jsxFileName$3,
|
|
1463
|
-
lineNumber:
|
|
1472
|
+
lineNumber: 216
|
|
1464
1473
|
}
|
|
1465
1474
|
}),
|
|
1466
1475
|
__self: this,
|
|
1467
1476
|
__source: {
|
|
1468
1477
|
fileName: _jsxFileName$3,
|
|
1469
|
-
lineNumber:
|
|
1478
|
+
lineNumber: 212
|
|
1470
1479
|
}
|
|
1471
1480
|
}), React$4.createElement(PreviewPrompt$1, {
|
|
1472
1481
|
className: "label",
|
|
@@ -1476,7 +1485,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
1476
1485
|
__self: this,
|
|
1477
1486
|
__source: {
|
|
1478
1487
|
fileName: _jsxFileName$3,
|
|
1479
|
-
lineNumber:
|
|
1488
|
+
lineNumber: 224
|
|
1480
1489
|
}
|
|
1481
1490
|
}))), rationale && React$4.createElement(PreviewPrompt$1, {
|
|
1482
1491
|
className: "rationale",
|
|
@@ -1485,7 +1494,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
1485
1494
|
__self: this,
|
|
1486
1495
|
__source: {
|
|
1487
1496
|
fileName: _jsxFileName$3,
|
|
1488
|
-
lineNumber:
|
|
1497
|
+
lineNumber: 233
|
|
1489
1498
|
}
|
|
1490
1499
|
}), React$4.createElement(Feedback, {
|
|
1491
1500
|
feedback: feedback,
|
|
@@ -1493,7 +1502,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
1493
1502
|
__self: this,
|
|
1494
1503
|
__source: {
|
|
1495
1504
|
fileName: _jsxFileName$3,
|
|
1496
|
-
lineNumber:
|
|
1505
|
+
lineNumber: 235
|
|
1497
1506
|
}
|
|
1498
1507
|
}));
|
|
1499
1508
|
}
|
|
@@ -1537,7 +1546,8 @@ class Choice extends React$3.Component {
|
|
|
1537
1546
|
isEvaluateMode
|
|
1538
1547
|
};
|
|
1539
1548
|
const names = classNames$2(classes.choice, {
|
|
1540
|
-
[classes.noBorder]: index === choicesLength - 1 || choicesLayout !== 'vertical'
|
|
1549
|
+
[classes.noBorder]: index === choicesLength - 1 || choicesLayout !== 'vertical',
|
|
1550
|
+
[classes.horizontalLayout]: choicesLayout === 'horizontal'
|
|
1541
1551
|
});
|
|
1542
1552
|
return React$3.createElement('div', {
|
|
1543
1553
|
className: choiceClass,
|
|
@@ -1545,7 +1555,7 @@ class Choice extends React$3.Component {
|
|
|
1545
1555
|
__self: this,
|
|
1546
1556
|
__source: {
|
|
1547
1557
|
fileName: _jsxFileName$2,
|
|
1548
|
-
lineNumber:
|
|
1558
|
+
lineNumber: 57
|
|
1549
1559
|
}
|
|
1550
1560
|
}, React$3.createElement(ChoiceInput$1, {
|
|
1551
1561
|
...choiceProps,
|
|
@@ -1553,7 +1563,7 @@ class Choice extends React$3.Component {
|
|
|
1553
1563
|
__self: this,
|
|
1554
1564
|
__source: {
|
|
1555
1565
|
fileName: _jsxFileName$2,
|
|
1556
|
-
lineNumber:
|
|
1566
|
+
lineNumber: 58
|
|
1557
1567
|
}
|
|
1558
1568
|
}));
|
|
1559
1569
|
}
|
|
@@ -1582,6 +1592,12 @@ var StyledChoice = withStyles$2({
|
|
|
1582
1592
|
},
|
|
1583
1593
|
noBorder: {
|
|
1584
1594
|
borderBottom: 'none'
|
|
1595
|
+
},
|
|
1596
|
+
horizontalLayout: {
|
|
1597
|
+
paddingRight: '20px',
|
|
1598
|
+
'& label': {
|
|
1599
|
+
marginRight: '8px'
|
|
1600
|
+
}
|
|
1585
1601
|
}
|
|
1586
1602
|
})(Choice);
|
|
1587
1603
|
const React$2 = _dll_react;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.24",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@pie-element/multiple-choice": "^6.3.
|
|
10
|
+
"@pie-element/multiple-choice": "^6.3.2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"debug": "^4.1.1",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"author": "pie framework developers",
|
|
17
17
|
"license": "ISC",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "8ea971e13e74d785cd35a04fd9fe1abe1fa2dabf",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|