dce-reactkit 3.7.10-beta.1 → 3.7.10-beta.2

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/cjs/index.js CHANGED
@@ -574,8 +574,8 @@ const Modal$1 = (props) => {
574
574
  // Render the modal
575
575
  return (React__default["default"].createElement("div", { className: "modal show", tabIndex: -1, style: {
576
576
  zIndex: (onTopOfOtherModals
577
- ? 5000000001
578
- : 5000000000),
577
+ ? 2000000001
578
+ : 2000000000),
579
579
  display: 'block',
580
580
  margin: 'auto',
581
581
  left: 0,
@@ -583,7 +583,7 @@ const Modal$1 = (props) => {
583
583
  } },
584
584
  React__default["default"].createElement("style", null, style$a),
585
585
  React__default["default"].createElement("div", { className: `ModalForWrapper-backdrop ${backdropAnimationClass}`, style: {
586
- zIndex: 5000000003,
586
+ zIndex: 2000000003,
587
587
  }, onClick: () => __awaiter(void 0, void 0, void 0, function* () {
588
588
  // Skip if exit via backdrop not allowed
589
589
  if (dontAllowBackdropExit || !onClose) {
@@ -600,7 +600,7 @@ const Modal$1 = (props) => {
600
600
  handleClose(ModalButtonType$1.Cancel);
601
601
  }) }),
602
602
  React__default["default"].createElement("div", { className: `modal-dialog modal-${size} ${animationClass} modal-dialog-scrollable modal-dialog-centered`, style: {
603
- zIndex: 5000000002,
603
+ zIndex: 2000000002,
604
604
  } },
605
605
  React__default["default"].createElement("div", { className: "modal-content", style: {
606
606
  borderColor: (isDarkModeOn()
package/dist/esm/index.js CHANGED
@@ -548,8 +548,8 @@ const Modal$1 = (props) => {
548
548
  // Render the modal
549
549
  return (React__default.createElement("div", { className: "modal show", tabIndex: -1, style: {
550
550
  zIndex: (onTopOfOtherModals
551
- ? 5000000001
552
- : 5000000000),
551
+ ? 2000000001
552
+ : 2000000000),
553
553
  display: 'block',
554
554
  margin: 'auto',
555
555
  left: 0,
@@ -557,7 +557,7 @@ const Modal$1 = (props) => {
557
557
  } },
558
558
  React__default.createElement("style", null, style$a),
559
559
  React__default.createElement("div", { className: `ModalForWrapper-backdrop ${backdropAnimationClass}`, style: {
560
- zIndex: 5000000003,
560
+ zIndex: 2000000003,
561
561
  }, onClick: () => __awaiter(void 0, void 0, void 0, function* () {
562
562
  // Skip if exit via backdrop not allowed
563
563
  if (dontAllowBackdropExit || !onClose) {
@@ -574,7 +574,7 @@ const Modal$1 = (props) => {
574
574
  handleClose(ModalButtonType$1.Cancel);
575
575
  }) }),
576
576
  React__default.createElement("div", { className: `modal-dialog modal-${size} ${animationClass} modal-dialog-scrollable modal-dialog-centered`, style: {
577
- zIndex: 5000000002,
577
+ zIndex: 2000000002,
578
578
  } },
579
579
  React__default.createElement("div", { className: "modal-content", style: {
580
580
  borderColor: (isDarkModeOn()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.7.10-beta.1",
3
+ "version": "3.7.10-beta.2",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -361,8 +361,8 @@ const Modal: React.FC<ModalProps> = (props) => {
361
361
  style={{
362
362
  zIndex: (
363
363
  onTopOfOtherModals
364
- ? 5000000001
365
- : 5000000000
364
+ ? 2000000001
365
+ : 2000000000
366
366
  ),
367
367
  display: 'block',
368
368
  margin: 'auto',
@@ -374,7 +374,7 @@ const Modal: React.FC<ModalProps> = (props) => {
374
374
  <div
375
375
  className={`ModalForWrapper-backdrop ${backdropAnimationClass}`}
376
376
  style={{
377
- zIndex: 5000000003,
377
+ zIndex: 2000000003,
378
378
  }}
379
379
  onClick={async () => {
380
380
  // Skip if exit via backdrop not allowed
@@ -396,7 +396,7 @@ const Modal: React.FC<ModalProps> = (props) => {
396
396
  <div
397
397
  className={`modal-dialog modal-${size} ${animationClass} modal-dialog-scrollable modal-dialog-centered`}
398
398
  style={{
399
- zIndex: 5000000002,
399
+ zIndex: 2000000002,
400
400
  }}
401
401
  >
402
402
  <div