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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.6.18",
3
+ "version": "3.6.19",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -499,8 +499,15 @@ const Modal: React.FC<Props> = (props) => {
499
499
  {onClose && (
500
500
  <button
501
501
  type="button"
502
- className="btn-close"
502
+ className="Modal-x-button btn-close"
503
503
  aria-label="Close"
504
+ style={{
505
+ backgroundColor: (
506
+ isDarkModeOn()
507
+ ? 'white'
508
+ : undefined
509
+ ),
510
+ }}
504
511
  onClick={() => {
505
512
  // Handle close
506
513
  handleClose(ModalButtonType.Cancel);