oolib 2.25.5 → 2.25.6
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.
|
@@ -55,7 +55,7 @@ var CheckboxInput = function (_a) {
|
|
|
55
55
|
margin: '-7px -2.8px -7px -3.2px',
|
|
56
56
|
flexShrink: 0
|
|
57
57
|
} })); };
|
|
58
|
-
return inputStyle === 'tagSelect' ? (react_1.default.createElement(Tags_1.TagSelect, __assign({}, { isSelected: isSelected, invert: invert, disabled: disabled }, { onClick: function () { return !disabled && onClick(
|
|
58
|
+
return inputStyle === 'tagSelect' ? (react_1.default.createElement(Tags_1.TagSelect, __assign({}, { isSelected: isSelected, invert: invert, disabled: disabled }, { onClick: function () { return !disabled && onClick(isSelected, option); }, display: option.display, value: option.value, style: { alignSelf: 'flex-start' } }))) : (react_1.default.createElement(styled_1.StyledOption, __assign({}, { rightWrongResult: rightWrongResult, isSelected: isSelected, disabled: disabled, invert: invert, S: S }, { onClick: function () { return !rightWrongResult && !disabled && onClick && onClick(isSelected, option); } }),
|
|
59
59
|
rightWrongResult
|
|
60
60
|
? ["markCorrect", "revealCorrect"].includes(markingCommand)
|
|
61
61
|
? genCheckSquare()
|
|
@@ -51,7 +51,9 @@ var GenComp = function (_a) {
|
|
|
51
51
|
var invert = props.invert, value = props.value, suffix = props.suffix, color = props.color, children = props.children, theme = props.theme, style = props.style, className = props.className;
|
|
52
52
|
var displayText = children || value;
|
|
53
53
|
var localText = localize(displayText);
|
|
54
|
-
return (react_1.default.createElement(Comp, __assign({}, genFontStylingProps(props), { color: color,
|
|
54
|
+
return (react_1.default.createElement(Comp, __assign({}, genFontStylingProps(props), { color: color,
|
|
55
|
+
// theme={theme} // i dont think this needs to be passed no?
|
|
56
|
+
className: className, style: style, invert: invert }),
|
|
55
57
|
localText,
|
|
56
58
|
suffix || ''));
|
|
57
59
|
};
|