@thecb/components 9.1.2-beta.0 → 9.1.2-beta.1
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.cjs.js
CHANGED
|
@@ -47066,6 +47066,8 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47066
47066
|
forwardButtonLoading = _ref.forwardButtonLoading,
|
|
47067
47067
|
_ref$forwardButtonVar = _ref.forwardButtonVariant,
|
|
47068
47068
|
forwardButtonVariant = _ref$forwardButtonVar === void 0 ? "primary" : _ref$forwardButtonVar,
|
|
47069
|
+
_ref$forwardButtonAri = _ref.forwardButtonAriaRole,
|
|
47070
|
+
forwardButtonAriaRole = _ref$forwardButtonAri === void 0 ? "button" : _ref$forwardButtonAri,
|
|
47069
47071
|
_ref$backButtonVarian = _ref.backButtonVariant,
|
|
47070
47072
|
backButtonVariant = _ref$backButtonVarian === void 0 ? "secondary" : _ref$backButtonVarian,
|
|
47071
47073
|
backButtonAction = _ref.backButtonAction,
|
|
@@ -47106,7 +47108,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47106
47108
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47107
47109
|
dataQa: redirectText,
|
|
47108
47110
|
disabled: isForwardButtonDisabled,
|
|
47109
|
-
role:
|
|
47111
|
+
role: forwardButtonAriaRole
|
|
47110
47112
|
}) : forwardButtonAction && /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
47111
47113
|
text: forwardButtonText,
|
|
47112
47114
|
variant: forwardButtonVariant,
|
|
@@ -47115,7 +47117,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47115
47117
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47116
47118
|
dataQa: forwardButtonText,
|
|
47117
47119
|
disabled: isForwardButtonDisabled,
|
|
47118
|
-
role:
|
|
47120
|
+
role: forwardButtonAriaRole
|
|
47119
47121
|
});
|
|
47120
47122
|
return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
47121
47123
|
padding: "1.25rem 0"
|