@nativetail/ui 0.2.3 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativetail/ui",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {},
@@ -29,7 +29,6 @@
29
29
  "@hookform/resolvers": "^3.6.0",
30
30
  "@nativetail/core": "^0.0.6",
31
31
  "@shopify/flash-list": "^1.7.1",
32
- "@sinclair/typebox": "0.32.34",
33
32
  "countries-list": "^3.1.0",
34
33
  "expo-blur": "^13.0.2",
35
34
  "expo-linear-gradient": "~13.0.2",
@@ -2,7 +2,7 @@ import { cn, Text, useTw, View } from "@nativetail/core";
2
2
  import { Pressable } from "react-native";
3
3
  import { Button, ButtonProps } from "../button";
4
4
 
5
- type CardProps = {
5
+ export type CardProps = {
6
6
  renderHeader?: () => React.ReactNode;
7
7
  title?: string;
8
8
  subtitle?: string;
@@ -7,7 +7,7 @@ import {
7
7
  ActionSheetRef,
8
8
  } from "../actions-sheet";
9
9
 
10
- type InfoCardProps = {
10
+ export type InfoCardProps = {
11
11
  containerClassname?: string;
12
12
  renderIcon?: () => React.ReactNode;
13
13
  renderContent?: () => React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import { cn, View } from "@nativetail/core";
2
2
 
3
- type StatCardProps = {
3
+ export type StatCardProps = {
4
4
  renderIcon?: () => React.ReactNode;
5
5
  renderTitle?: () => React.ReactNode;
6
6
  renderValue?: () => React.ReactNode;
@@ -1,9 +1,8 @@
1
1
  import { zodResolver } from "@hookform/resolvers/zod";
2
- import { typeboxResolver } from "@hookform/resolvers/typebox";
3
2
 
4
3
  import { cn, TextInputProps, View } from "@nativetail/core";
5
4
  import React, { ComponentPropsWithoutRef } from "react";
6
- import { Control, DefaultValues, FieldValues, useForm } from "react-hook-form";
5
+ import { Control, DefaultValues, useForm } from "react-hook-form";
7
6
  import { z } from "zod";
8
7
  import { Button } from "../button";
9
8
  import {