dhre-ui-kit 3.4.0 → 3.5.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.
- package/lib/components/bottomDrawer/BottomDrawer.interface.d.ts +6 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/components/customDocumentPicker/CustomDocumentPicker.d.ts +0 -0
- package/lib/components/customDocumentPicker/CustomDocumentPicker.interface.d.ts +0 -0
- package/lib/components/customDocumentPicker/CustomDocumentPicker.styles.d.ts +0 -30
- package/lib/components/customDocumentPicker/index.d.ts +0 -0
|
@@ -22,6 +22,12 @@ export interface BottomDrawerProps {
|
|
|
22
22
|
backdropOpacity?: number;
|
|
23
23
|
propagateSwipe?: boolean;
|
|
24
24
|
swipeDirection?: string;
|
|
25
|
+
/** Forwarded to react-native-modal. Defaults to true (today's behavior: content
|
|
26
|
+
* hosted in Android's native Dialog window). Set false to render inline in the
|
|
27
|
+
* normal view tree instead — required on Android to work around a known RN core
|
|
28
|
+
* bug (RN >=0.76, old architecture) where a ScrollView inside RN's native <Modal>
|
|
29
|
+
* loses scroll on initial mount: https://github.com/facebook/react-native/issues/48822 */
|
|
30
|
+
coverScreen?: boolean;
|
|
25
31
|
footer?: React.ReactNode;
|
|
26
32
|
rightTitleVariant?: string;
|
|
27
33
|
rightTitle?: string;
|
package/lib/index.js
CHANGED
|
@@ -1705,6 +1705,7 @@ const BottomDrawer = ({
|
|
|
1705
1705
|
footer,
|
|
1706
1706
|
propagateSwipe = true,
|
|
1707
1707
|
swipeDirection = "down",
|
|
1708
|
+
coverScreen = true,
|
|
1708
1709
|
rightTitleVariant = FontStyle.BODY1_MEDIUM,
|
|
1709
1710
|
rightTitle,
|
|
1710
1711
|
rightTitleStyle,
|
|
@@ -1721,6 +1722,7 @@ const BottomDrawer = ({
|
|
|
1721
1722
|
hasBackdrop: showBlurView,
|
|
1722
1723
|
backdropOpacity,
|
|
1723
1724
|
propagateSwipe,
|
|
1725
|
+
coverScreen,
|
|
1724
1726
|
style: { margin: 0 },
|
|
1725
1727
|
hideModalContentWhileAnimating: true
|
|
1726
1728
|
},
|
|
@@ -3811,7 +3813,7 @@ const CustomHeader = ({
|
|
|
3811
3813
|
{
|
|
3812
3814
|
variant: "BODY1_MEDIUM",
|
|
3813
3815
|
text: title,
|
|
3814
|
-
style: { color: titleColor ?? theme.CONTENT_PRIMARY }
|
|
3816
|
+
style: { color: titleColor ?? theme.CONTENT_PRIMARY["dark"] }
|
|
3815
3817
|
}
|
|
3816
3818
|
), titleSuffixIcon && React__default["default"].cloneElement(titleSuffixIcon, {
|
|
3817
3819
|
width: ICON_SIZE,
|