dce-reactkit 3.6.18 → 3.6.19

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/esm/index.js CHANGED
@@ -595,7 +595,11 @@ const Modal = (props) => {
595
595
  React__default.createElement("h5", { className: "modal-title", style: {
596
596
  fontWeight: 'bold',
597
597
  } }, title),
598
- onClose && (React__default.createElement("button", { type: "button", className: "btn-close", "aria-label": "Close", onClick: () => {
598
+ onClose && (React__default.createElement("button", { type: "button", className: "Modal-x-button btn-close", "aria-label": "Close", style: {
599
+ backgroundColor: (isDarkModeOn()
600
+ ? 'white'
601
+ : undefined),
602
+ }, onClick: () => {
599
603
  // Handle close
600
604
  handleClose(ModalButtonType$1.Cancel);
601
605
  } }))),