@razorpay/blade 10.20.0 → 10.21.0

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.
@@ -3011,6 +3011,9 @@ function createStylisCSSHigherSpecificityPlugin() {
3011
3011
  selector = _selectors[0];
3012
3012
  selectors[0] = "".concat(selector.repeat(5));
3013
3013
  };
3014
+ Object.defineProperty(stylisCSSHigherSpecificity, 'name', {
3015
+ value: 'stylisCSSHigherSpecificity'
3016
+ });
3014
3017
  return stylisCSSHigherSpecificity;
3015
3018
  }
3016
3019
 
@@ -20413,7 +20416,8 @@ var _DropdownOverlay = function _DropdownOverlay(_ref) {
20413
20416
  var children = _ref.children,
20414
20417
  testID = _ref.testID,
20415
20418
  _ref$zIndex = _ref.zIndex,
20416
- zIndex = _ref$zIndex === void 0 ? OVERLAY_ZINDEX : _ref$zIndex;
20419
+ zIndex = _ref$zIndex === void 0 ? OVERLAY_ZINDEX : _ref$zIndex,
20420
+ width = _ref.width;
20417
20421
  var _useDropdown = useDropdown(),
20418
20422
  isOpen = _useDropdown.isOpen,
20419
20423
  triggererRef = _useDropdown.triggererRef,
@@ -20487,7 +20491,7 @@ var _DropdownOverlay = function _DropdownOverlay(_ref) {
20487
20491
  isInBottomSheet: bottomSheetAndDropdownGlue === null || bottomSheetAndDropdownGlue === void 0 ? void 0 : bottomSheetAndDropdownGlue.dropdownHasBottomSheet,
20488
20492
  elevation: bottomSheetAndDropdownGlue !== null && bottomSheetAndDropdownGlue !== void 0 && bottomSheetAndDropdownGlue.dropdownHasBottomSheet ? undefined : 'midRaised',
20489
20493
  style: _objectSpread$1d({}, styles),
20490
- width: "100%"
20494
+ width: width ? width : '100%'
20491
20495
  }, metaAttribute({
20492
20496
  name: MetaConstants.DropdownOverlay,
20493
20497
  testID: testID
@@ -36683,15 +36687,13 @@ function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) {
36683
36687
  var _CollapsibleBody = function _CollapsibleBody(_ref) {
36684
36688
  var children = _ref.children,
36685
36689
  testID = _ref.testID,
36686
- _width = _ref._width;
36690
+ width = _ref.width;
36687
36691
  var _useCollapsible = useCollapsible(),
36688
36692
  collapsibleBodyId = _useCollapsible.collapsibleBodyId,
36689
36693
  isExpanded = _useCollapsible.isExpanded;
36690
36694
  return /*#__PURE__*/jsx$1(BaseBox, _objectSpread$d(_objectSpread$d(_objectSpread$d({
36691
- id: collapsibleBodyId
36692
- // Just React Native things, need this 100% so collapsed content flows correctly inside Accordion
36693
- ,
36694
- width: _width
36695
+ id: collapsibleBodyId,
36696
+ width: width
36695
36697
  }, makeAccessible({
36696
36698
  role: 'region',
36697
36699
  hidden: !isExpanded
@@ -36786,7 +36788,7 @@ var AccordionItem = function AccordionItem(_ref) {
36786
36788
  }), /*#__PURE__*/jsx$1(CollapsibleBody
36787
36789
  // Just React Native things, need this 100% so collapsed content flows correctly inside Accordion
36788
36790
  , {
36789
- _width: isReactNative$4() ? '100%' : undefined,
36791
+ width: isReactNative$4() ? '100%' : undefined,
36790
36792
  children: collapsibleBodyContent
36791
36793
  })]
36792
36794
  }), /*#__PURE__*/jsx$1(Divider, {})]