@thecb/components 10.7.7 → 10.7.8
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/dist/index.esm.js
CHANGED
|
@@ -46132,6 +46132,8 @@ var CloseButton = function CloseButton(_ref) {
|
|
|
46132
46132
|
buttonExtraStyles = _ref$buttonExtraStyle === void 0 ? "" : _ref$buttonExtraStyle,
|
|
46133
46133
|
_ref$closeButtonText = _ref.closeButtonText,
|
|
46134
46134
|
closeButtonText = _ref$closeButtonText === void 0 ? "" : _ref$closeButtonText,
|
|
46135
|
+
_ref$closeButtonVaria = _ref.closeButtonVariant,
|
|
46136
|
+
closeButtonVariant = _ref$closeButtonVaria === void 0 ? "primary" : _ref$closeButtonVaria,
|
|
46135
46137
|
_ref$hideModal = _ref.hideModal,
|
|
46136
46138
|
hideModal = _ref$hideModal === void 0 ? noop : _ref$hideModal,
|
|
46137
46139
|
_ref$isMobile = _ref.isMobile,
|
|
@@ -46148,7 +46150,7 @@ var CloseButton = function CloseButton(_ref) {
|
|
|
46148
46150
|
role: "button",
|
|
46149
46151
|
text: closeButtonText,
|
|
46150
46152
|
textExtraStyles: "".concat(fontSize),
|
|
46151
|
-
variant:
|
|
46153
|
+
variant: closeButtonVariant
|
|
46152
46154
|
});
|
|
46153
46155
|
};
|
|
46154
46156
|
|
|
@@ -46244,6 +46246,8 @@ var Modal$2 = function Modal(_ref) {
|
|
|
46244
46246
|
children = _ref$children === void 0 ? [] : _ref$children,
|
|
46245
46247
|
_ref$closeButtonText = _ref.closeButtonText,
|
|
46246
46248
|
closeButtonText = _ref$closeButtonText === void 0 ? "Close" : _ref$closeButtonText,
|
|
46249
|
+
_ref$closeButtonVaria = _ref.closeButtonVariant,
|
|
46250
|
+
closeButtonVariant = _ref$closeButtonVaria === void 0 ? "primary" : _ref$closeButtonVaria,
|
|
46247
46251
|
_ref$continueAction = _ref.continueAction,
|
|
46248
46252
|
continueAction = _ref$continueAction === void 0 ? noop : _ref$continueAction,
|
|
46249
46253
|
_ref$continueButtonTe = _ref.continueButtonText,
|
|
@@ -46398,6 +46402,7 @@ var Modal$2 = function Modal(_ref) {
|
|
|
46398
46402
|
}), hasCloseButton && /*#__PURE__*/React.createElement(CloseButton, {
|
|
46399
46403
|
buttonExtraStyles: buttonExtraStyles,
|
|
46400
46404
|
closeButtonText: closeButtonText,
|
|
46405
|
+
closeButtonVariant: closeButtonVariant,
|
|
46401
46406
|
hideModal: hideModal,
|
|
46402
46407
|
isMobile: isMobile,
|
|
46403
46408
|
key: "close"
|