achery-ui 0.15.0 → 0.16.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/dist/native/index.cjs +3 -2
- package/dist/native/index.cjs.map +1 -1
- package/dist/native/index.d.cts +10 -2
- package/dist/native/index.d.ts +10 -2
- package/dist/native/index.js +3 -2
- package/dist/native/index.js.map +1 -1
- package/package.json +1 -1
- package/src/native/components/ScreenNav.tsx +11 -2
package/dist/native/index.cjs
CHANGED
|
@@ -5436,7 +5436,8 @@ var ScreenNav = ({
|
|
|
5436
5436
|
title,
|
|
5437
5437
|
onAction,
|
|
5438
5438
|
actionLabel,
|
|
5439
|
-
actionDisabled = false
|
|
5439
|
+
actionDisabled = false,
|
|
5440
|
+
compact = false
|
|
5440
5441
|
}) => {
|
|
5441
5442
|
const { tokens: tokens$1 } = useTheme();
|
|
5442
5443
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -5447,7 +5448,7 @@ var ScreenNav = ({
|
|
|
5447
5448
|
alignItems: "center",
|
|
5448
5449
|
justifyContent: "space-between",
|
|
5449
5450
|
paddingHorizontal: tokens.spacing.sp4,
|
|
5450
|
-
paddingTop: 56,
|
|
5451
|
+
paddingTop: compact ? tokens.spacing.sp3 : 56,
|
|
5451
5452
|
paddingBottom: tokens.spacing.sp3,
|
|
5452
5453
|
backgroundColor: tokens$1.surface,
|
|
5453
5454
|
borderBottomWidth: 1,
|