oolib 2.75.1 → 2.75.2
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.
|
@@ -45,6 +45,8 @@ var utils_1 = require("../../utils");
|
|
|
45
45
|
var styled_1 = require("../../styled");
|
|
46
46
|
var CheckboxInput_1 = require("./comps/CheckboxInput");
|
|
47
47
|
var styled_2 = require("./styled");
|
|
48
|
+
var Typo_1 = require("../../../Typo");
|
|
49
|
+
var OKELink_1 = require("../../../OKELink");
|
|
48
50
|
var optionsContainers = {
|
|
49
51
|
checkbox: styled_1.StyledOptionsContainer,
|
|
50
52
|
tagSelect: styled_2.StyledTagOptionsContainer,
|
|
@@ -101,7 +103,8 @@ function CheckboxList(_a) {
|
|
|
101
103
|
react_1.default.createElement(CheckboxInput_1.CheckboxInput, __assign({}, __assign(__assign({}, InputCommonProps), { option: injectedOtherOption }))),
|
|
102
104
|
otherOpInSelectees && (react_1.default.createElement(styled_1.StyledOtherTextInputWrapper, __assign({}, { listType: listType, rightWrongResult: rightWrongResult }),
|
|
103
105
|
react_1.default.createElement(TextInputs_1.TextInput, __assign({ placeholder: "Please Specify Here", value: otherOpInSelectees.display_desc, onChange: function (k, v) { return handleTextInputChange(v); } }, { disabled: disabled, invert: invert, S: S }))))))),
|
|
104
|
-
shouldHideSomeOptions && !rightWrongResult && (react_1.default.createElement(
|
|
106
|
+
shouldHideSomeOptions && !rightWrongResult && (react_1.default.createElement(Typo_1.SANS_3, { style: { marginTop: '1rem' } },
|
|
107
|
+
react_1.default.createElement(OKELink_1.OKELink, { onClick: function () { return setSeeMore(!seeMore); }, children: !seeMore ? 'See More' : 'See Less' }))),
|
|
105
108
|
rightWrongResult && commonIsCorrectDesc &&
|
|
106
109
|
react_1.default.createElement(styled_1.StyledCorrectMessage, null, commonIsCorrectDesc)))));
|
|
107
110
|
}
|