@umituz/react-native-design-system 2.1.5 → 2.1.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive and safe area utilities",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
import React, { useMemo } from 'react';
|
|
27
|
-
import { View, ScrollView, StyleSheet, ViewStyle } from 'react-native';
|
|
28
|
-
import { SafeAreaView
|
|
27
|
+
import { View, ScrollView, StyleSheet, type ViewStyle } from 'react-native';
|
|
28
|
+
import { SafeAreaView } from 'react-native-safe-area-context';
|
|
29
|
+
import type { Edge } from 'react-native-safe-area-context';
|
|
29
30
|
import { useAppDesignTokens } from '../theme';
|
|
30
31
|
|
|
31
32
|
/**
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
import React, { createContext, useContext } from 'react';
|
|
7
7
|
import {
|
|
8
8
|
SafeAreaProvider as NativeSafeAreaProvider,
|
|
9
|
-
type SafeAreaProviderProps as NativeSafeAreaProviderProps,
|
|
10
9
|
} from 'react-native-safe-area-context';
|
|
10
|
+
import type { SafeAreaProviderProps as NativeSafeAreaProviderProps } from 'react-native-safe-area-context';
|
|
11
11
|
import { DEFAULT_CONFIG } from '../constants';
|
|
12
12
|
|
|
13
13
|
export interface SafeAreaConfig {
|