dhre-ui-kit 0.0.283 → 0.0.285
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/lib/index.d.ts +2 -0
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -48,7 +48,9 @@ interface BottomDrawerProps {
|
|
|
48
48
|
titleStyle?: TextStyle;
|
|
49
49
|
titleVariant?: string;
|
|
50
50
|
showHeader?: boolean;
|
|
51
|
+
blurType?: 'dark' | 'light';
|
|
51
52
|
showSeparator?: boolean;
|
|
53
|
+
backdropColor?: string;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
declare const _default$j: (props: BottomDrawerProps) => React$1.JSX.Element;
|
package/lib/index.js
CHANGED
|
@@ -696,7 +696,8 @@ const BottomDrawer = ({
|
|
|
696
696
|
titleVariant = "B2_REGULAR",
|
|
697
697
|
showHeader = true,
|
|
698
698
|
showSeparator = true,
|
|
699
|
-
showBlurView
|
|
699
|
+
showBlurView = true,
|
|
700
|
+
backdropColor
|
|
700
701
|
}) => {
|
|
701
702
|
const { theme } = useTheme();
|
|
702
703
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
@@ -705,7 +706,7 @@ const BottomDrawer = ({
|
|
|
705
706
|
isVisible: isModalVisible,
|
|
706
707
|
swipeDirection: "down",
|
|
707
708
|
onSwipeComplete: toggleModal,
|
|
708
|
-
backdropColor: theme.SURFACE_PRIMARY,
|
|
709
|
+
backdropColor: backdropColor ?? theme.SURFACE_PRIMARY,
|
|
709
710
|
hasBackdrop: showBlurView,
|
|
710
711
|
style: { margin: 0 }
|
|
711
712
|
},
|