@razorpay/blade 10.20.0 → 10.20.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.
- package/build/components/index.d.ts +2 -1
- package/build/components/index.development.web.js +6 -2
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +1 -0
- package/build/components/index.production.web.js +6 -2
- package/build/components/index.production.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +1 -1
|
@@ -4418,6 +4418,7 @@ declare type DropdownOverlayProps = {
|
|
|
4418
4418
|
* @default 1001
|
|
4419
4419
|
*/
|
|
4420
4420
|
zIndex?: number;
|
|
4421
|
+
width?: BoxProps['width'];
|
|
4421
4422
|
} & TestID;
|
|
4422
4423
|
|
|
4423
4424
|
declare const Dropdown: ({ children, isOpen, onOpenChange, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
|
|
@@ -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:
|
|
20494
|
+
width: width ? width : '100%'
|
|
20491
20495
|
}, metaAttribute({
|
|
20492
20496
|
name: MetaConstants.DropdownOverlay,
|
|
20493
20497
|
testID: testID
|