@thecb/components 9.2.7-beta.7 → 9.2.7-beta.9
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
|
@@ -45780,7 +45780,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45780
45780
|
width: customWidth || "615px"
|
|
45781
45781
|
},
|
|
45782
45782
|
underlayClickExits: underlayClickExits,
|
|
45783
|
-
"aria-modal": true
|
|
45783
|
+
"aria-modal": true,
|
|
45784
|
+
"aria-name": modalHeaderText
|
|
45784
45785
|
}, initialFocus ? {
|
|
45785
45786
|
initialFocus: initialFocus
|
|
45786
45787
|
} : {}), /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -45829,7 +45830,9 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45829
45830
|
text: cancelButtonText,
|
|
45830
45831
|
dataQa: cancelButtonText,
|
|
45831
45832
|
extraStyles: buttonExtraStyles,
|
|
45832
|
-
className: "modal-cancel-button"
|
|
45833
|
+
className: "modal-cancel-button",
|
|
45834
|
+
role: "button",
|
|
45835
|
+
name: cancelButtonText
|
|
45833
45836
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
45834
45837
|
width: "100%",
|
|
45835
45838
|
padding: "0"
|
|
@@ -45842,7 +45845,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45842
45845
|
disabled: isContinueActionDisabled,
|
|
45843
45846
|
extraStyles: buttonExtraStyles,
|
|
45844
45847
|
className: "modal-continue-button",
|
|
45845
|
-
role: "button"
|
|
45848
|
+
role: "button",
|
|
45849
|
+
name: continueButtonText
|
|
45846
45850
|
}))) : /*#__PURE__*/React__default.createElement(Stack, {
|
|
45847
45851
|
childGap: "1rem",
|
|
45848
45852
|
direction: "row",
|
|
@@ -45854,7 +45858,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45854
45858
|
dataQa: cancelButtonText,
|
|
45855
45859
|
extraStyles: buttonExtraStyles,
|
|
45856
45860
|
className: "modal-cancel-button",
|
|
45857
|
-
role: "button"
|
|
45861
|
+
role: "button",
|
|
45862
|
+
name: cancelButtonText
|
|
45858
45863
|
}), /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
45859
45864
|
variant: useDangerButton ? "danger" : "primary",
|
|
45860
45865
|
action: continueAction,
|
|
@@ -45864,7 +45869,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45864
45869
|
disabled: isContinueActionDisabled,
|
|
45865
45870
|
extraStyles: buttonExtraStyles,
|
|
45866
45871
|
className: "modal-continue-button",
|
|
45867
|
-
role: "button"
|
|
45872
|
+
role: "button",
|
|
45873
|
+
name: continueButtonText
|
|
45868
45874
|
}))) : /*#__PURE__*/React__default.createElement(Box, {
|
|
45869
45875
|
padding: "0.5rem"
|
|
45870
45876
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
@@ -45874,7 +45880,8 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45874
45880
|
dataQa: closeButtonText,
|
|
45875
45881
|
extraStyles: buttonExtraStyles,
|
|
45876
45882
|
className: "modal-close-button",
|
|
45877
|
-
role: "button"
|
|
45883
|
+
role: "button",
|
|
45884
|
+
name: closeButtonText
|
|
45878
45885
|
}))))))))), children);
|
|
45879
45886
|
};
|
|
45880
45887
|
|