@butternutbox/pawprint-native 0.18.0 → 0.19.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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/Drawer/DrawerBody.tsx +11 -1
package/dist/index.js
CHANGED
|
@@ -6262,12 +6262,16 @@ var DrawerBody = React66.forwardRef(
|
|
|
6262
6262
|
const footerContext = useDrawerFooterContext();
|
|
6263
6263
|
const providedMaxHeight = useDrawerBodyMax();
|
|
6264
6264
|
const { height: windowHeight } = useWindowDimensions();
|
|
6265
|
+
const insets = useSafeAreaInsets();
|
|
6265
6266
|
const gap = parseTokenValue27(content.slot.gap);
|
|
6266
6267
|
const horizontalPadding = parseTokenValue27(content.slot.horizontalPadding);
|
|
6267
6268
|
const topPadding = parseTokenValue27(content.slot.verticalPadding);
|
|
6268
6269
|
const bodyMaxHeight = providedMaxHeight != null ? providedMaxHeight : windowHeight - 300;
|
|
6269
6270
|
const paddingRight = headerContext === null ? parseTokenValue27(spacing.close.right.md) + parseTokenValue27(buttons.size.sm.height) : horizontalPadding;
|
|
6270
|
-
const bodyPaddingBottom = !footerContext ?
|
|
6271
|
+
const bodyPaddingBottom = !footerContext ? Math.max(
|
|
6272
|
+
parseTokenValue27(theme2.tokens.semantics.dimensions.spacing["2xl"]),
|
|
6273
|
+
insets.bottom
|
|
6274
|
+
) : 0;
|
|
6271
6275
|
return /* @__PURE__ */ jsx(
|
|
6272
6276
|
StyledScrollView,
|
|
6273
6277
|
__spreadProps(__spreadValues({
|