@razorpay/blade 9.4.0 → 9.4.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.
@@ -5887,8 +5887,13 @@ declare type ModalProps = {
5887
5887
  * Accessibility label for the modal
5888
5888
  */
5889
5889
  accessibilityLabel?: string;
5890
+ /**
5891
+ * Sets the z-index of the modal
5892
+ * @default 1000
5893
+ */
5894
+ zIndex?: number;
5890
5895
  };
5891
- declare const Modal: ({ isOpen, children, onDismiss, initialFocusRef, size, accessibilityLabel, }: ModalProps) => React__default.ReactElement;
5896
+ declare const Modal: ({ isOpen, children, onDismiss, initialFocusRef, size, accessibilityLabel, zIndex, }: ModalProps) => React__default.ReactElement;
5892
5897
 
5893
5898
  declare type ProgressBarCommonProps = {
5894
5899
  /**
@@ -24324,7 +24324,9 @@ var Modal = function Modal(_ref2) {
24324
24324
  initialFocusRef = _ref2.initialFocusRef,
24325
24325
  _ref2$size = _ref2.size,
24326
24326
  size = _ref2$size === void 0 ? 'small' : _ref2$size,
24327
- accessibilityLabel = _ref2.accessibilityLabel;
24327
+ accessibilityLabel = _ref2.accessibilityLabel,
24328
+ _ref2$zIndex = _ref2.zIndex,
24329
+ zIndex = _ref2$zIndex === void 0 ? modalHighestZIndex : _ref2$zIndex;
24328
24330
 
24329
24331
  var _useTheme = useTheme(),
24330
24332
  theme = _useTheme.theme,
@@ -24384,7 +24386,7 @@ var Modal = function Modal(_ref2) {
24384
24386
  context: context,
24385
24387
  modal: true,
24386
24388
  children: /*#__PURE__*/jsxs(Box, {
24387
- zIndex: modalHighestZIndex,
24389
+ zIndex: zIndex,
24388
24390
  position: "fixed",
24389
24391
  testID: "modal-wrapper",
24390
24392
  children: [/*#__PURE__*/jsx(ModalBackdrop, {}), /*#__PURE__*/jsx(ModalContent, _objectSpread$y(_objectSpread$y(_objectSpread$y({}, metaAttribute({