@umituz/react-native-design-system 2.9.31 → 2.9.33
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 +1 -1
- package/src/exports/molecules.ts +10 -0
- package/src/molecules/circular-menu/CircularMenuBackground.tsx +1 -1
- package/src/molecules/circular-menu/CircularMenuCloseButton.tsx +2 -2
- package/src/molecules/circular-menu/CircularMenuItem.tsx +3 -3
- package/src/molecules/navigation/components/NavigationContainer.tsx +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-design-system",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.33",
|
|
4
4
|
"description": "Universal design system for React Native apps - Consolidated package with atoms, molecules, organisms, theme, typography, responsive, safe area, exception, infinite scroll, UUID, image, timezone, offline, onboarding, and loading utilities",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
package/src/exports/molecules.ts
CHANGED
|
@@ -110,6 +110,8 @@ export {
|
|
|
110
110
|
type ScreenOptionsParams,
|
|
111
111
|
type TabsNavigatorProps,
|
|
112
112
|
type StackNavigatorProps,
|
|
113
|
+
type StackNavigatorConfig,
|
|
114
|
+
type StackScreen,
|
|
113
115
|
type FabButtonProps,
|
|
114
116
|
type TabScreen,
|
|
115
117
|
type TabNavigatorConfig,
|
|
@@ -187,4 +189,12 @@ export {
|
|
|
187
189
|
InfoGrid,
|
|
188
190
|
type InfoGridProps,
|
|
189
191
|
type InfoGridItem,
|
|
192
|
+
|
|
193
|
+
// Circular Menu
|
|
194
|
+
CircularMenu,
|
|
195
|
+
CircularMenuItem,
|
|
196
|
+
CircularMenuBackground,
|
|
197
|
+
CircularMenuCloseButton,
|
|
198
|
+
type CircularMenuProps,
|
|
199
|
+
type CircularMenuAction,
|
|
190
200
|
} from "../molecules";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { View, StyleSheet } from "react-native";
|
|
3
|
-
import { useAppDesignTokens } from "../../theme
|
|
3
|
+
import { useAppDesignTokens } from "../../theme";
|
|
4
4
|
import { ARC_BACKGROUND } from "./constants";
|
|
5
5
|
|
|
6
6
|
export const CircularMenuBackground: React.FC = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TouchableOpacity, StyleSheet } from "react-native";
|
|
3
|
-
import { AtomicIcon } from "../../atoms
|
|
4
|
-
import { useAppDesignTokens } from "../../theme
|
|
3
|
+
import { AtomicIcon } from "../../atoms";
|
|
4
|
+
import { useAppDesignTokens } from "../../theme";
|
|
5
5
|
import { LAYOUT } from "./constants";
|
|
6
6
|
|
|
7
7
|
export interface CircularMenuCloseButtonProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { View, StyleSheet, TouchableOpacity } from "react-native";
|
|
3
|
-
import { AtomicIcon } from "../../atoms
|
|
4
|
-
import { AtomicText } from "../../atoms
|
|
5
|
-
import { useAppDesignTokens } from "../../theme
|
|
3
|
+
import { AtomicIcon } from "../../atoms";
|
|
4
|
+
import { AtomicText } from "../../atoms";
|
|
5
|
+
import { useAppDesignTokens } from "../../theme";
|
|
6
6
|
import { LAYOUT } from "./constants";
|
|
7
7
|
|
|
8
8
|
export interface CircularMenuItemProps {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NavigationContainer as RNNavigationContainer } from "@react-navigation/native";
|
|
2
|
+
import React from "react";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* NavigationContainer Component
|
|
5
6
|
*
|
|
6
|
-
* Wrapper around React Navigation's
|
|
7
|
+
* Wrapper around React Navigation's NavigationContainer
|
|
7
8
|
* Provides navigation support to applications.
|
|
8
9
|
*/
|
|
9
10
|
export const NavigationContainer: React.FC<{
|
|
10
11
|
children: React.ReactNode;
|
|
11
12
|
}> = ({ children }) => {
|
|
12
|
-
return <
|
|
13
|
+
return <RNNavigationContainer>{children}</RNNavigationContainer>;
|
|
13
14
|
};
|