@thewhateverapp/tile-sdk 0.13.4 → 0.13.5

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.
@@ -50,7 +50,7 @@ export function OverlaySlot({ position, children, className = '', padding = 12,
50
50
  const paddingValue = typeof padding === 'number' ? `${padding}px` : padding;
51
51
  // Calculate safe area padding based on position
52
52
  const getSafeAreaStyle = () => {
53
- if (!useSafeArea)
53
+ if (!useSafeArea || !position)
54
54
  return {};
55
55
  const style = {};
56
56
  if (position.includes('top')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thewhateverapp/tile-sdk",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "description": "SDK for building interactive tiles on The Whatever App platform",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",