@umituz/react-native-design-system 2.9.31 → 2.9.32
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 +8 -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.32",
|
|
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
|
@@ -187,4 +187,12 @@ export {
|
|
|
187
187
|
InfoGrid,
|
|
188
188
|
type InfoGridProps,
|
|
189
189
|
type InfoGridItem,
|
|
190
|
+
|
|
191
|
+
// Circular Menu
|
|
192
|
+
CircularMenu,
|
|
193
|
+
CircularMenuItem,
|
|
194
|
+
CircularMenuBackground,
|
|
195
|
+
CircularMenuCloseButton,
|
|
196
|
+
type CircularMenuProps,
|
|
197
|
+
type CircularMenuAction,
|
|
190
198
|
} 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
|
};
|