@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.esm.js
CHANGED
|
@@ -47058,6 +47058,8 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47058
47058
|
forwardButtonLoading = _ref.forwardButtonLoading,
|
|
47059
47059
|
_ref$forwardButtonVar = _ref.forwardButtonVariant,
|
|
47060
47060
|
forwardButtonVariant = _ref$forwardButtonVar === void 0 ? "primary" : _ref$forwardButtonVar,
|
|
47061
|
+
_ref$forwardButtonAri = _ref.forwardButtonAriaRole,
|
|
47062
|
+
forwardButtonAriaRole = _ref$forwardButtonAri === void 0 ? "button" : _ref$forwardButtonAri,
|
|
47061
47063
|
_ref$backButtonVarian = _ref.backButtonVariant,
|
|
47062
47064
|
backButtonVariant = _ref$backButtonVarian === void 0 ? "secondary" : _ref$backButtonVarian,
|
|
47063
47065
|
backButtonAction = _ref.backButtonAction,
|
|
@@ -47098,7 +47100,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47098
47100
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47099
47101
|
dataQa: redirectText,
|
|
47100
47102
|
disabled: isForwardButtonDisabled,
|
|
47101
|
-
role:
|
|
47103
|
+
role: forwardButtonAriaRole
|
|
47102
47104
|
}) : forwardButtonAction && /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
47103
47105
|
text: forwardButtonText,
|
|
47104
47106
|
variant: forwardButtonVariant,
|
|
@@ -47107,7 +47109,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
47107
47109
|
extraStyles: isMobile && "flex-grow: 1",
|
|
47108
47110
|
dataQa: forwardButtonText,
|
|
47109
47111
|
disabled: isForwardButtonDisabled,
|
|
47110
|
-
role:
|
|
47112
|
+
role: forwardButtonAriaRole
|
|
47111
47113
|
});
|
|
47112
47114
|
return /*#__PURE__*/React.createElement(Fragment$1, null, /*#__PURE__*/React.createElement(Box, {
|
|
47113
47115
|
padding: "1.25rem 0"
|