@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
|
@@ -4876,11 +4876,12 @@ declare type DropdownOverlayProps = {
|
|
|
4876
4876
|
* @default 1001
|
|
4877
4877
|
*/
|
|
4878
4878
|
zIndex?: number;
|
|
4879
|
+
width?: BoxProps['width'];
|
|
4879
4880
|
} & TestID;
|
|
4880
4881
|
|
|
4881
4882
|
declare const Dropdown: ({ children, isOpen, onOpenChange, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
|
|
4882
4883
|
|
|
4883
|
-
declare const DropdownOverlay: ({ children, testID, zIndex, }: DropdownOverlayProps) => React__default.ReactElement | null;
|
|
4884
|
+
declare const DropdownOverlay: ({ children, testID, zIndex, width, }: DropdownOverlayProps) => React__default.ReactElement | null;
|
|
4884
4885
|
|
|
4885
4886
|
declare type DropdownButtonProps = ButtonProps & {
|
|
4886
4887
|
onBlur?: BaseButtonProps['onBlur'];
|
|
@@ -3096,6 +3096,9 @@ function createStylisCSSHigherSpecificityPlugin() {
|
|
|
3096
3096
|
selector = _selectors[0];
|
|
3097
3097
|
selectors[0] = "".concat(selector.repeat(5));
|
|
3098
3098
|
};
|
|
3099
|
+
Object.defineProperty(stylisCSSHigherSpecificity, 'name', {
|
|
3100
|
+
value: 'stylisCSSHigherSpecificity'
|
|
3101
|
+
});
|
|
3099
3102
|
return stylisCSSHigherSpecificity;
|
|
3100
3103
|
}
|
|
3101
3104
|
|
|
@@ -20789,7 +20792,8 @@ var _DropdownOverlay = function _DropdownOverlay(_ref) {
|
|
|
20789
20792
|
var children = _ref.children,
|
|
20790
20793
|
testID = _ref.testID,
|
|
20791
20794
|
_ref$zIndex = _ref.zIndex,
|
|
20792
|
-
zIndex = _ref$zIndex === void 0 ? OVERLAY_ZINDEX : _ref$zIndex
|
|
20795
|
+
zIndex = _ref$zIndex === void 0 ? OVERLAY_ZINDEX : _ref$zIndex,
|
|
20796
|
+
width = _ref.width;
|
|
20793
20797
|
var _useDropdown = useDropdown(),
|
|
20794
20798
|
isOpen = _useDropdown.isOpen,
|
|
20795
20799
|
triggererRef = _useDropdown.triggererRef,
|
|
@@ -20863,7 +20867,7 @@ var _DropdownOverlay = function _DropdownOverlay(_ref) {
|
|
|
20863
20867
|
isInBottomSheet: bottomSheetAndDropdownGlue === null || bottomSheetAndDropdownGlue === void 0 ? void 0 : bottomSheetAndDropdownGlue.dropdownHasBottomSheet,
|
|
20864
20868
|
elevation: bottomSheetAndDropdownGlue !== null && bottomSheetAndDropdownGlue !== void 0 && bottomSheetAndDropdownGlue.dropdownHasBottomSheet ? undefined : 'midRaised',
|
|
20865
20869
|
style: _objectSpread$1d({}, styles),
|
|
20866
|
-
width:
|
|
20870
|
+
width: width ? width : '100%'
|
|
20867
20871
|
}, metaAttribute({
|
|
20868
20872
|
name: MetaConstants.DropdownOverlay,
|
|
20869
20873
|
testID: testID
|