newcandies 0.1.22 → 0.1.24

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": "newcandies",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "Scaffold Expo Router + Uniwind React Native apps with layered templates.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,13 +15,6 @@ export default function TabLayout() {
15
15
  tabBarIcon: ({ color }) => <TabBarIcon name="home" color={color} />,
16
16
  }}
17
17
  />
18
- <Tabs.Screen
19
- name="two"
20
- options={{
21
- title: 'Explore',
22
- tabBarIcon: ({ color }) => <TabBarIcon name="search" color={color} />,
23
- }}
24
- />
25
18
  </Tabs>
26
19
  );
27
20
  }
@@ -31,7 +31,7 @@
31
31
  "name": "sproutsy",
32
32
  "path": "app-briefs/react-query/sproutsy",
33
33
  "description": "Plant care app with React Query",
34
- "strategy": "base",
34
+ "strategy": "standalone",
35
35
  "extraDeps": ["@tanstack/react-query"]
36
36
  }
37
37
  ]
@@ -45,7 +45,7 @@
45
45
  "name": "lite",
46
46
  "path": "mini-app-brief/forms/lite",
47
47
  "description": "Lite forms app brief",
48
- "strategy": "base"
48
+ "strategy": "standalone"
49
49
  }
50
50
  ]
51
51
  }
@@ -1,10 +0,0 @@
1
- import { View, Text } from 'react-native';
2
-
3
- export default function Two() {
4
- return (
5
- <View className="flex-1 items-center justify-center bg-background">
6
- <Text className="text-foreground text-xl">Tab Two</Text>
7
- </View>
8
- );
9
- }
10
-
@@ -1,10 +0,0 @@
1
- import { View, Text } from 'react-native';
2
-
3
- export default function Modal() {
4
- return (
5
- <View className="flex-1 items-center justify-center bg-background">
6
- <Text className="text-foreground text-xl">Modal screen</Text>
7
- </View>
8
- );
9
- }
10
-
@@ -1,42 +0,0 @@
1
- import { Text as RNText, TextProps } from 'react-native';
2
- import { twMerge } from 'tailwind-merge';
3
-
4
- type TypographyVariant =
5
- | 'title'
6
- | 'subtitle'
7
- | 'body'
8
- | 'caption'
9
- | 'button'
10
- | 'display'
11
- | 'caption-primary'
12
- | 'body-primary'
13
- | 'subtitle-primary';
14
-
15
- interface TextComponentProps extends TextProps {
16
- className?: string;
17
- variant?: TypographyVariant;
18
- }
19
-
20
- const variantStyles: Record<TypographyVariant, string> = {
21
- title: 'text-2xl font-bold',
22
- subtitle: 'text-xl font-semibold',
23
- 'subtitle-primary': 'text-xl font-semibold text-primary',
24
- body: 'text-base',
25
- 'body-primary': 'text-base text-primary',
26
- caption: 'text-sm font-medium',
27
- 'caption-primary': 'text-sm text-primary font-medium',
28
- button: 'text-xl text-primary font-semibold text-white text-center',
29
- display: 'text-3x font-bold',
30
- };
31
-
32
- const Text = ({ variant = 'body', children, className, ...props }: TextComponentProps) => {
33
- const textStyle = twMerge('text-black', variantStyles[variant], className);
34
- return (
35
- <RNText className={textStyle} {...props}>
36
- {children}
37
- </RNText>
38
- );
39
- };
40
-
41
- export default Text;
42
-