oa-componentbook 0.18.72 → 0.18.74
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.
|
@@ -42,7 +42,13 @@ function CustomModal(_ref) {
|
|
|
42
42
|
onCancel();
|
|
43
43
|
// console.log('`handleCancel` callback of CustomModal component called.');
|
|
44
44
|
};
|
|
45
|
-
return /*#__PURE__*/_react.default.createElement(_antd.
|
|
45
|
+
return /*#__PURE__*/_react.default.createElement(_antd.ConfigProvider, {
|
|
46
|
+
theme: {
|
|
47
|
+
token: {
|
|
48
|
+
colorBgMask: 'rgba(0, 0, 0, 0.7)'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}, /*#__PURE__*/_react.default.createElement(_antd.Modal, _extends({
|
|
46
52
|
centered: true,
|
|
47
53
|
"data-test": dataTest,
|
|
48
54
|
footer: (buttonConfig === null || buttonConfig === void 0 ? void 0 : buttonConfig.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.ButtonContainer, null, buttonConfig === null || buttonConfig === void 0 ? void 0 : buttonConfig.map(button => /*#__PURE__*/_react.default.createElement(_CustomButton.default, _extends({
|
|
@@ -69,7 +75,7 @@ function CustomModal(_ref) {
|
|
|
69
75
|
((0, _utils.isString)(children) || (0, _utils.isNumber)(children)) && /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
70
76
|
color: "secondary-content",
|
|
71
77
|
typography: typographies.children
|
|
72
|
-
}, children) || children));
|
|
78
|
+
}, children) || children)));
|
|
73
79
|
}
|
|
74
80
|
CustomModal.propTypes = {
|
|
75
81
|
// Array of button configurations
|
|
@@ -10,4 +10,4 @@ var _templateObject;
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
12
|
var _default = exports.default = {};
|
|
13
|
-
const RadioContainer = exports.RadioContainer = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n/* .ant-radio-wrapper span.ant-radio+*{\n padding-inline-start: 12px;\n} */\n.ant-radio-wrapper{\n line-height: 0;\n}\nsmall{\n position: relative;\n top: 10px;\n line-height: 0;\n color: var(--color-secondary-content);\n font-size: 14px;\n font-weight: 400;\n}\n"])));
|
|
13
|
+
const RadioContainer = exports.RadioContainer = _styledComponents.default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n/* .ant-radio-wrapper span.ant-radio+*{\n padding-inline-start: 12px;\n} */\n.ant-radio-wrapper{\n line-height: 0;\n}\nsmall{\n position: relative;\n top: 10px;\n line-height: 0;\n color: var(--color-secondary-content);\n font-size: 14px;\n font-weight: 400;\n}\n.ant-radio-wrapper-disabled small{\n color: #BFBFBF;\n}\n"])));
|