@razorpay/blade 8.15.1 → 8.15.3

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.
@@ -28127,8 +28127,8 @@ function useWindowSize() {
28127
28127
  // Initialize state with undefined width/height so server and client renders match
28128
28128
  // Learn more here: https://joshwcomeau.com/react/the-perils-of-rehydration/
28129
28129
  var _React$useState = React__default.useState({
28130
- width: window.innerWidth,
28131
- height: window.innerHeight
28130
+ width: 0,
28131
+ height: 0
28132
28132
  }),
28133
28133
  _React$useState2 = _slicedToArray(_React$useState, 2),
28134
28134
  windowSize = _React$useState2[0],
@@ -29660,7 +29660,9 @@ var Tooltip = function Tooltip(_ref) {
29660
29660
  children: /*#__PURE__*/jsx(BaseBox, _objectSpread$1(_objectSpread$1(_objectSpread$1({
29661
29661
  ref: refs.setFloating,
29662
29662
  style: floatingStyles,
29663
- pointerEvents: "none"
29663
+ pointerEvents: "none" // TODO: Tokenize zIndex values
29664
+ ,
29665
+ zIndex: 1100
29664
29666
  }, getFloatingProps()), metaAttribute({
29665
29667
  name: MetaConstants.Tooltip
29666
29668
  })), {}, {