@medway-ui/native 1.0.2

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.
Files changed (155) hide show
  1. package/README.md +153 -0
  2. package/lib/commonjs/components/Alert.js +206 -0
  3. package/lib/commonjs/components/Alert.js.map +1 -0
  4. package/lib/commonjs/components/AlertDialog.js +273 -0
  5. package/lib/commonjs/components/AlertDialog.js.map +1 -0
  6. package/lib/commonjs/components/Badge.js +94 -0
  7. package/lib/commonjs/components/Badge.js.map +1 -0
  8. package/lib/commonjs/components/Button.js +181 -0
  9. package/lib/commonjs/components/Button.js.map +1 -0
  10. package/lib/commonjs/components/Checkbox.js +91 -0
  11. package/lib/commonjs/components/Checkbox.js.map +1 -0
  12. package/lib/commonjs/components/Dialog.js +164 -0
  13. package/lib/commonjs/components/Dialog.js.map +1 -0
  14. package/lib/commonjs/components/Input.js +364 -0
  15. package/lib/commonjs/components/Input.js.map +1 -0
  16. package/lib/commonjs/components/Label.js +90 -0
  17. package/lib/commonjs/components/Label.js.map +1 -0
  18. package/lib/commonjs/components/Loading.js +49 -0
  19. package/lib/commonjs/components/Loading.js.map +1 -0
  20. package/lib/commonjs/components/Popover.js +54 -0
  21. package/lib/commonjs/components/Popover.js.map +1 -0
  22. package/lib/commonjs/components/RadioGroup.js +72 -0
  23. package/lib/commonjs/components/RadioGroup.js.map +1 -0
  24. package/lib/commonjs/components/Select.js +234 -0
  25. package/lib/commonjs/components/Select.js.map +1 -0
  26. package/lib/commonjs/components/Separator.js +22 -0
  27. package/lib/commonjs/components/Separator.js.map +1 -0
  28. package/lib/commonjs/components/Sheet.js +148 -0
  29. package/lib/commonjs/components/Sheet.js.map +1 -0
  30. package/lib/commonjs/components/Switch.js +99 -0
  31. package/lib/commonjs/components/Switch.js.map +1 -0
  32. package/lib/commonjs/components/Tag.js +132 -0
  33. package/lib/commonjs/components/Tag.js.map +1 -0
  34. package/lib/commonjs/components/Toast.js +244 -0
  35. package/lib/commonjs/components/Toast.js.map +1 -0
  36. package/lib/commonjs/components/Tooltip.js +54 -0
  37. package/lib/commonjs/components/Tooltip.js.map +1 -0
  38. package/lib/commonjs/hooks/use-toast.js +136 -0
  39. package/lib/commonjs/hooks/use-toast.js.map +1 -0
  40. package/lib/commonjs/index.js +667 -0
  41. package/lib/commonjs/index.js.map +1 -0
  42. package/lib/commonjs/lib/utils.js +22 -0
  43. package/lib/commonjs/lib/utils.js.map +1 -0
  44. package/lib/commonjs/nativewind-env.d.js +3 -0
  45. package/lib/commonjs/nativewind-env.d.js.map +1 -0
  46. package/lib/module/components/Alert.js +195 -0
  47. package/lib/module/components/Alert.js.map +1 -0
  48. package/lib/module/components/AlertDialog.js +257 -0
  49. package/lib/module/components/AlertDialog.js.map +1 -0
  50. package/lib/module/components/Badge.js +90 -0
  51. package/lib/module/components/Badge.js.map +1 -0
  52. package/lib/module/components/Button.js +177 -0
  53. package/lib/module/components/Button.js.map +1 -0
  54. package/lib/module/components/Checkbox.js +86 -0
  55. package/lib/module/components/Checkbox.js.map +1 -0
  56. package/lib/module/components/Dialog.js +150 -0
  57. package/lib/module/components/Dialog.js.map +1 -0
  58. package/lib/module/components/Input.js +349 -0
  59. package/lib/module/components/Input.js.map +1 -0
  60. package/lib/module/components/Label.js +86 -0
  61. package/lib/module/components/Label.js.map +1 -0
  62. package/lib/module/components/Loading.js +45 -0
  63. package/lib/module/components/Loading.js.map +1 -0
  64. package/lib/module/components/Popover.js +47 -0
  65. package/lib/module/components/Popover.js.map +1 -0
  66. package/lib/module/components/RadioGroup.js +66 -0
  67. package/lib/module/components/RadioGroup.js.map +1 -0
  68. package/lib/module/components/Select.js +217 -0
  69. package/lib/module/components/Select.js.map +1 -0
  70. package/lib/module/components/Separator.js +19 -0
  71. package/lib/module/components/Separator.js.map +1 -0
  72. package/lib/module/components/Sheet.js +136 -0
  73. package/lib/module/components/Sheet.js.map +1 -0
  74. package/lib/module/components/Switch.js +94 -0
  75. package/lib/module/components/Switch.js.map +1 -0
  76. package/lib/module/components/Tag.js +128 -0
  77. package/lib/module/components/Tag.js.map +1 -0
  78. package/lib/module/components/Toast.js +233 -0
  79. package/lib/module/components/Toast.js.map +1 -0
  80. package/lib/module/components/Tooltip.js +47 -0
  81. package/lib/module/components/Tooltip.js.map +1 -0
  82. package/lib/module/hooks/use-toast.js +130 -0
  83. package/lib/module/hooks/use-toast.js.map +1 -0
  84. package/lib/module/index.js +41 -0
  85. package/lib/module/index.js.map +1 -0
  86. package/lib/module/lib/utils.js +18 -0
  87. package/lib/module/lib/utils.js.map +1 -0
  88. package/lib/module/nativewind-env.d.js +3 -0
  89. package/lib/module/nativewind-env.d.js.map +1 -0
  90. package/lib/module/package.json +1 -0
  91. package/lib/typescript/components/Alert.d.ts +36 -0
  92. package/lib/typescript/components/Alert.d.ts.map +1 -0
  93. package/lib/typescript/components/AlertDialog.d.ts +44 -0
  94. package/lib/typescript/components/AlertDialog.d.ts.map +1 -0
  95. package/lib/typescript/components/Badge.d.ts +17 -0
  96. package/lib/typescript/components/Badge.d.ts.map +1 -0
  97. package/lib/typescript/components/Button.d.ts +24 -0
  98. package/lib/typescript/components/Button.d.ts.map +1 -0
  99. package/lib/typescript/components/Checkbox.d.ts +20 -0
  100. package/lib/typescript/components/Checkbox.d.ts.map +1 -0
  101. package/lib/typescript/components/Dialog.d.ts +35 -0
  102. package/lib/typescript/components/Dialog.d.ts.map +1 -0
  103. package/lib/typescript/components/Input.d.ts +57 -0
  104. package/lib/typescript/components/Input.d.ts.map +1 -0
  105. package/lib/typescript/components/Label.d.ts +21 -0
  106. package/lib/typescript/components/Label.d.ts.map +1 -0
  107. package/lib/typescript/components/Loading.d.ts +9 -0
  108. package/lib/typescript/components/Loading.d.ts.map +1 -0
  109. package/lib/typescript/components/Popover.d.ts +11 -0
  110. package/lib/typescript/components/Popover.d.ts.map +1 -0
  111. package/lib/typescript/components/RadioGroup.d.ts +13 -0
  112. package/lib/typescript/components/RadioGroup.d.ts.map +1 -0
  113. package/lib/typescript/components/Select.d.ts +37 -0
  114. package/lib/typescript/components/Select.d.ts.map +1 -0
  115. package/lib/typescript/components/Separator.d.ts +9 -0
  116. package/lib/typescript/components/Separator.d.ts.map +1 -0
  117. package/lib/typescript/components/Sheet.d.ts +31 -0
  118. package/lib/typescript/components/Sheet.d.ts.map +1 -0
  119. package/lib/typescript/components/Switch.d.ts +18 -0
  120. package/lib/typescript/components/Switch.d.ts.map +1 -0
  121. package/lib/typescript/components/Tag.d.ts +17 -0
  122. package/lib/typescript/components/Tag.d.ts.map +1 -0
  123. package/lib/typescript/components/Toast.d.ts +42 -0
  124. package/lib/typescript/components/Toast.d.ts.map +1 -0
  125. package/lib/typescript/components/Tooltip.d.ts +14 -0
  126. package/lib/typescript/components/Tooltip.d.ts.map +1 -0
  127. package/lib/typescript/hooks/use-toast.d.ts +46 -0
  128. package/lib/typescript/hooks/use-toast.d.ts.map +1 -0
  129. package/lib/typescript/index.d.ts +38 -0
  130. package/lib/typescript/index.d.ts.map +1 -0
  131. package/lib/typescript/lib/utils.d.ts +3 -0
  132. package/lib/typescript/lib/utils.d.ts.map +1 -0
  133. package/package.json +111 -0
  134. package/src/components/Alert.tsx +185 -0
  135. package/src/components/AlertDialog.tsx +277 -0
  136. package/src/components/Badge.tsx +113 -0
  137. package/src/components/Button.tsx +224 -0
  138. package/src/components/Checkbox.tsx +106 -0
  139. package/src/components/Dialog.tsx +175 -0
  140. package/src/components/Input.tsx +439 -0
  141. package/src/components/Label.tsx +95 -0
  142. package/src/components/Loading.tsx +54 -0
  143. package/src/components/Popover.tsx +46 -0
  144. package/src/components/RadioGroup.tsx +62 -0
  145. package/src/components/Select.tsx +246 -0
  146. package/src/components/Separator.tsx +24 -0
  147. package/src/components/Sheet.tsx +165 -0
  148. package/src/components/Switch.tsx +138 -0
  149. package/src/components/Tag.tsx +116 -0
  150. package/src/components/Toast.tsx +265 -0
  151. package/src/components/Tooltip.tsx +49 -0
  152. package/src/hooks/use-toast.ts +144 -0
  153. package/src/index.ts +193 -0
  154. package/src/lib/utils.ts +63 -0
  155. package/src/nativewind-env.d.ts +1 -0
@@ -0,0 +1,24 @@
1
+ import { type ReactNode } from "react";
2
+ import { type PressableProps, type ViewStyle } from "react-native";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ interface ButtonProps extends Omit<PressableProps, "children">, VariantProps<typeof buttonVariants> {
5
+ children?: ReactNode;
6
+ containerStyle?: ViewStyle;
7
+ iconRight?: ReactNode;
8
+ iconLeft?: ReactNode;
9
+ badge?: number | string;
10
+ loading?: boolean;
11
+ alert?: string;
12
+ }
13
+ declare const buttonVariants: (props?: ({
14
+ variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "outlined" | "gradient" | "medbrain" | null | undefined;
15
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
16
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
+ declare const buttonTextVariants: (props?: ({
18
+ variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "outlined" | "gradient" | "medbrain" | null | undefined;
19
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
20
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
21
+ declare function Button({ className, containerStyle, variant, size, iconRight, iconLeft, badge, loading, alert, disabled, children, ...props }: ButtonProps): import("react").JSX.Element;
22
+ export { Button, buttonVariants, buttonTextVariants };
23
+ export type { ButtonProps };
24
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,UAAU,WAAY,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IACjG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAuBD,QAAA,MAAM,cAAc;;;8EAsDnB,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;8EAiCtB,CAAC;AAMH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,cAAc,EACd,OAAmB,EACnB,IAAW,EACX,SAAS,EACT,QAAQ,EACR,KAAK,EACL,OAAe,EACf,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,+BAoEb;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC;AACtD,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import * as CheckboxPrimitive from "@rn-primitives/checkbox";
2
+ interface CheckboxProps extends Omit<CheckboxPrimitive.RootProps, "checked" | "disabled" | "onCheckedChange"> {
3
+ checked?: boolean;
4
+ defaultChecked?: boolean;
5
+ onCheckedChange?: (checked: boolean) => void;
6
+ disabled?: boolean;
7
+ size?: "sm" | "md" | "lg";
8
+ variant?: "regular";
9
+ uncheckIcon?: boolean;
10
+ }
11
+ declare const checkboxVariants: (props?: ({
12
+ variant?: "regular" | null | undefined;
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ checked?: boolean | null | undefined;
15
+ disabled?: boolean | null | undefined;
16
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
17
+ declare function Checkbox({ className, size, variant, uncheckIcon, checked, defaultChecked, onCheckedChange, disabled, ...props }: CheckboxProps): import("react").JSX.Element;
18
+ export { Checkbox, checkboxVariants };
19
+ export type { CheckboxProps };
20
+ //# sourceMappingURL=Checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,iBAAiB,MAAM,yBAAyB,CAAC;AAK7D,UAAU,aAAc,SAAQ,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,SAAS,GAAG,UAAU,GAAG,iBAAiB,CAAC;IAC3G,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAQD,QAAA,MAAM,gBAAgB;;;;;8EA4BrB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,IAAW,EACX,OAAO,EACP,WAAW,EACX,OAAO,EACP,cAAsB,EACtB,eAAe,EACf,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,+BAwCf;AAED,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { type ReactNode } from "react";
2
+ import { type ViewProps } from "react-native";
3
+ import * as DialogPrimitive from "@rn-primitives/dialog";
4
+ interface DialogContainerProps extends DialogPrimitive.ContentProps {
5
+ showCloseButton?: boolean;
6
+ overlayClassName?: string;
7
+ }
8
+ interface DialogHeaderProps extends ViewProps {
9
+ separator?: boolean;
10
+ }
11
+ interface DialogFooterProps extends ViewProps {
12
+ separator?: boolean;
13
+ }
14
+ interface DialogTitleProps extends DialogPrimitive.TitleProps {
15
+ iconLeft?: ReactNode;
16
+ iconRight?: ReactNode;
17
+ }
18
+ declare function Dialog({ ...props }: DialogPrimitive.RootProps): import("react").JSX.Element;
19
+ declare function DialogTrigger({ ...props }: DialogPrimitive.TriggerProps): import("react").JSX.Element;
20
+ declare function DialogPortal({ ...props }: DialogPrimitive.PortalProps): import("react").JSX.Element;
21
+ declare function DialogClose({ ...props }: DialogPrimitive.CloseProps): import("react").JSX.Element;
22
+ declare function DialogOverlay({ className, ...props }: DialogPrimitive.OverlayProps): import("react").JSX.Element;
23
+ declare function DialogContainer({ className, overlayClassName, children, showCloseButton, ...props }: DialogContainerProps): import("react").JSX.Element;
24
+ declare function DialogContent({ containerClassName, className, children, }: {
25
+ containerClassName?: string;
26
+ className?: string;
27
+ children: ReactNode;
28
+ }): import("react").JSX.Element;
29
+ declare function DialogHeader({ className, separator, children, ...props }: DialogHeaderProps): import("react").JSX.Element;
30
+ declare function DialogFooter({ className, separator, children, ...props }: DialogFooterProps): import("react").JSX.Element;
31
+ declare function DialogTitle({ className, iconLeft, iconRight, children, ...props }: DialogTitleProps): import("react").JSX.Element;
32
+ declare function DialogDescription({ className, ...props }: DialogPrimitive.DescriptionProps): import("react").JSX.Element;
33
+ export { Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
34
+ export type { DialogContainerProps, DialogHeaderProps, DialogFooterProps, DialogTitleProps };
35
+ //# sourceMappingURL=Dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog.tsx"],"names":[],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AC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAWA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,SAAiB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAS5F;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,SAAiB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAY5F;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAuB5F;AAED,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,CAAC,gBAAgB,+BAOnF;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,GACd,CAAC;AACF,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { type ReactElement, type ReactNode } from "react";
2
+ import { type TextInputProps, type ViewProps, type TextProps } from "react-native";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ export type InputType = "text" | "email" | "numeric" | "password";
5
+ type IconElement = ReactElement<{
6
+ size?: number;
7
+ strokeWidth?: number;
8
+ }>;
9
+ export interface InputProps extends Omit<TextInputProps, "size">, Omit<VariantProps<typeof inputVariants>, "focused" | "disabled"> {
10
+ type?: InputType;
11
+ invalid?: boolean;
12
+ iconLeft?: IconElement;
13
+ iconRight?: IconElement;
14
+ label?: string;
15
+ }
16
+ export interface InputPasswordProps extends Omit<TextInputProps, "size">, Omit<VariantProps<typeof inputVariants>, "focused" | "disabled"> {
17
+ invalid?: boolean;
18
+ label?: string;
19
+ }
20
+ export interface InputNumericProps extends Omit<TextInputProps, "size" | "onChangeText">, Omit<VariantProps<typeof inputVariants>, "focused" | "disabled"> {
21
+ invalid?: boolean;
22
+ iconLeft?: IconElement;
23
+ onChangeText?: (value: string) => void;
24
+ min?: number;
25
+ allowNegative?: boolean;
26
+ label?: string;
27
+ }
28
+ export interface InputLabelProps {
29
+ children?: ReactNode;
30
+ floated?: boolean;
31
+ disabled?: boolean;
32
+ }
33
+ export interface InputTextProps extends TextProps {
34
+ invalid?: boolean;
35
+ }
36
+ declare const inputVariants: (props?: ({
37
+ size?: "md" | "lg" | null | undefined;
38
+ invalid?: boolean | null | undefined;
39
+ focused?: boolean | null | undefined;
40
+ disabled?: boolean | null | undefined;
41
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
42
+ declare function InputWrapper({ className, ...props }: ViewProps): import("react").JSX.Element;
43
+ declare function InputField({ className, ...props }: ViewProps): import("react").JSX.Element;
44
+ declare function InputLabel({ children, floated, disabled }: InputLabelProps): import("react").JSX.Element;
45
+ declare function InputText({ invalid, className, ...props }: InputTextProps): import("react").JSX.Element;
46
+ declare function InputAdornment({ className, ...props }: ViewProps): import("react").JSX.Element;
47
+ declare function InputStartIcon({ className, ...props }: ViewProps): import("react").JSX.Element;
48
+ declare function InputEndIcon({ className, ...props }: ViewProps): import("react").JSX.Element;
49
+ declare function applyInputIconSize(icon: ReactElement<{
50
+ size?: number;
51
+ strokeWidth?: number;
52
+ }>, size?: VariantProps<typeof inputVariants>["size"]): ReactElement;
53
+ declare function InputPassword({ className, size, invalid, label, ...props }: InputPasswordProps): import("react").JSX.Element;
54
+ declare function InputNumeric({ className, size, invalid, iconLeft, min, value, defaultValue, onChangeText, editable, allowNegative, label, ...props }: InputNumericProps): import("react").JSX.Element;
55
+ declare function Input({ className, type, size, invalid, iconLeft, iconRight, label, value, defaultValue, editable, ...props }: InputProps): import("react").JSX.Element;
56
+ export { Input, InputAdornment, applyInputIconSize, InputEndIcon, InputField, InputLabel, InputNumeric, InputPassword, InputStartIcon, InputText, InputWrapper, inputVariants, };
57
+ //# sourceMappingURL=Input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAWlE,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAElE,KAAK,WAAW,GAAG,YAAY,CAAC;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEzE,MAAM,WAAW,UACf,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,EAClC,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAClE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,EAClC,IAAI,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,cAAc,CAAC,EACnD,IAAI,CAAC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C,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,EAC3D,IAAI,GAAE,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAQ,GACtD,YAAY,CAGd;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,IAAW,EAAE,OAAe,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAqCtG;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,IAAW,EACX,OAAe,EACf,QAAQ,EACR,GAAG,EACH,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,QAAe,EACf,aAAqB,EACrB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,+BAgFnB;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,IAAa,EACb,IAAW,EACX,OAAe,EACf,QAAQ,EACR,SAAS,EACT,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAe,EACf,GAAG,KAAK,EACT,EAAE,UAAU,+BA2EZ;AAED,OAAO,EACL,KAAK,EACL,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAc,EACd,SAAS,EACT,YAAY,EACZ,aAAa,GACd,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type ReactNode } from "react";
2
+ import { type PressableProps } from "react-native";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ interface LabelProps extends PressableProps, VariantProps<typeof labelVariants> {
5
+ children?: ReactNode;
6
+ block?: boolean;
7
+ disabled?: boolean;
8
+ }
9
+ declare const labelVariants: (props?: ({
10
+ variant?: "regular" | null | undefined;
11
+ size?: "sm" | "md" | "lg" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ declare const labelTextVariants: (props?: ({
14
+ variant?: "regular" | null | undefined;
15
+ size?: "sm" | "md" | "lg" | null | undefined;
16
+ disabled?: boolean | null | undefined;
17
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
+ declare function Label({ className, variant, size, block, disabled, children, ...props }: LabelProps): import("react").JSX.Element;
19
+ export { Label, labelVariants, labelTextVariants };
20
+ export type { LabelProps };
21
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,UAAW,SAAQ,cAAc,EAAE,YAAY,CAAC,OAAO,aAAa,CAAC;IAC7E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,aAAa;;;8EAkBlB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;8EAoBrB,CAAC;AAEH,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAgB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAsCnG;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ interface LoadingProps {
2
+ size?: number;
3
+ className?: string;
4
+ color?: string;
5
+ }
6
+ declare function Loading({ size, color, className }: LoadingProps): import("react").JSX.Element;
7
+ export { Loading };
8
+ export type { LoadingProps };
9
+ //# sourceMappingURL=Loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../src/components/Loading.tsx"],"names":[],"mappings":"AAYA,UAAU,YAAY;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,OAAO,CAAC,EAAE,IAAS,EAAE,KAAsB,EAAE,SAAS,EAAE,EAAE,YAAY,+BAgC9E;AAED,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,YAAY,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as PopoverPrimitive from "@rn-primitives/popover";
2
+ interface PopoverContentProps extends PopoverPrimitive.ContentProps {
3
+ sideOffset?: number;
4
+ }
5
+ declare function Popover({ ...props }: PopoverPrimitive.RootProps): import("react").JSX.Element;
6
+ declare function PopoverTrigger({ ...props }: PopoverPrimitive.TriggerProps): import("react").JSX.Element;
7
+ declare function PopoverClose({ ...props }: PopoverPrimitive.CloseProps): import("react").JSX.Element;
8
+ declare function PopoverContent({ className, align, sideOffset, children, ...props }: PopoverContentProps): import("react").JSX.Element;
9
+ export { Popover, PopoverClose, PopoverContent, PopoverTrigger };
10
+ export type { PopoverContentProps };
11
+ //# sourceMappingURL=Popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAG3D,UAAU,mBAAoB,SAAQ,gBAAgB,CAAC,YAAY;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,SAAS,+BAExD;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,YAAY,+BAElE;AAED,iBAAS,YAAY,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,UAAU,+BAE9D;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAiBrB;AAED,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import * as RadioGroupPrimitive from "@rn-primitives/radio-group";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ interface RadioGroupItemProps extends RadioGroupPrimitive.ItemProps, VariantProps<typeof radioGroupVariants> {
4
+ }
5
+ declare const radioGroupVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ variant?: "regular" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ declare function RadioGroup({ className, ...props }: RadioGroupPrimitive.RootProps): import("react").JSX.Element;
10
+ declare function RadioGroupItem({ className, size, variant, ...props }: RadioGroupItemProps): import("react").JSX.Element;
11
+ export { RadioGroup, RadioGroupItem, radioGroupVariants };
12
+ export type { RadioGroupItemProps };
13
+ //# sourceMappingURL=RadioGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,mBACR,SAAQ,mBAAmB,CAAC,SAAS,EACnC,YAAY,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAQ9C,QAAA,MAAM,kBAAkB;;;8EAkBvB,CAAC;AAEF,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,CAAC,SAAS,+BAIzE;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,IAAW,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAiBzF;AAED,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC;AAC1D,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,37 @@
1
+ import React, { type ReactNode } from "react";
2
+ import { type ViewProps, type TextProps } from "react-native";
3
+ import * as SelectPrimitive from "@rn-primitives/select";
4
+ type SelectSize = "md" | "lg";
5
+ interface SelectProps extends SelectPrimitive.RootProps {
6
+ invalid?: boolean;
7
+ size?: SelectSize;
8
+ }
9
+ interface SelectTriggerProps extends Omit<SelectPrimitive.TriggerProps, "children"> {
10
+ children?: React.ReactNode;
11
+ }
12
+ interface SelectItemProps extends SelectPrimitive.ItemProps {
13
+ icon?: ReactNode;
14
+ }
15
+ declare const selectVariants: (props?: ({
16
+ size?: "md" | "lg" | null | undefined;
17
+ invalid?: boolean | null | undefined;
18
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
+ declare function Select({ invalid, size, ...props }: SelectProps): React.JSX.Element;
20
+ declare function SelectWrapper({ className, ...props }: ViewProps): React.JSX.Element;
21
+ declare function SelectTrigger({ className, children, ...props }: SelectTriggerProps): React.JSX.Element;
22
+ declare function SelectValue({ className, placeholder, ...props }: SelectPrimitive.ValueProps): React.JSX.Element;
23
+ declare function SelectContent({ className, children, ...props }: SelectPrimitive.ContentProps): React.JSX.Element;
24
+ declare function SelectGroup({ ...props }: SelectPrimitive.GroupProps): React.JSX.Element;
25
+ declare function SelectHeader({ className, ...props }: SelectPrimitive.LabelProps): React.JSX.Element;
26
+ declare function SelectItem({ className, children, icon, label, ...props }: SelectItemProps): React.JSX.Element;
27
+ declare function SelectSeparator({ className, ...props }: SelectPrimitive.SeparatorProps): React.JSX.Element;
28
+ declare function SelectScrollUpButton({ className, ...props }: SelectPrimitive.ScrollUpButtonProps): React.JSX.Element;
29
+ declare function SelectScrollDownButton({ className, ...props }: SelectPrimitive.ScrollDownButtonProps): React.JSX.Element;
30
+ declare function SelectText({ className, ...props }: TextProps): React.JSX.Element;
31
+ declare function SelectLabel({ children, disabled }: {
32
+ children?: ReactNode;
33
+ disabled?: boolean;
34
+ }): React.JSX.Element;
35
+ export { Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, selectVariants, };
36
+ export type { SelectProps, SelectItemProps, SelectSize };
37
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMZ,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AACf,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAKzD,KAAK,UAAU,GAAG,IAAI,GAAG,IAAI,CAAC;AAO9B,UAAU,WAAY,SAAQ,eAAe,CAAC,SAAS;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED,UAAU,kBAAmB,SAAQ,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,UAAU,CAAC;IACjF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,UAAU,eAAgB,SAAQ,eAAe,CAAC,SAAS;IACzD,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,QAAA,MAAM,cAAc;;;8EAkBnB,CAAC;AAOF,iBAAS,MAAM,CAAC,EAAE,OAAe,EAAE,IAAW,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,qBAOtE;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,qBAExD;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,E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ACX,aAAa,EACb,cAAc,GACf,CAAC;AACF,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ViewProps } from "react-native";
2
+ interface SeparatorProps extends ViewProps {
3
+ orientation?: "horizontal" | "vertical";
4
+ decorative?: boolean;
5
+ }
6
+ declare function Separator({ className, orientation, decorative, ...props }: SeparatorProps): import("react").JSX.Element;
7
+ export { Separator };
8
+ export type { SeparatorProps };
9
+ //# sourceMappingURL=Separator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../src/components/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAA0B,MAAM,cAAc,CAAC;AAG5E,UAAU,cAAe,SAAQ,SAAS;IACxC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,WAA0B,EAAE,UAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,+BAYxG;AAED,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { type ReactNode } from "react";
2
+ import { type ViewProps } from "react-native";
3
+ import * as DialogPrimitive from "@rn-primitives/dialog";
4
+ type SheetSide = "top" | "right" | "bottom" | "left";
5
+ interface SheetContainerProps extends DialogPrimitive.ContentProps {
6
+ side?: SheetSide;
7
+ showCloseButton?: boolean;
8
+ overlayClassName?: string;
9
+ }
10
+ interface SheetHeaderProps extends ViewProps {
11
+ separator?: boolean;
12
+ }
13
+ interface SheetFooterProps extends ViewProps {
14
+ separator?: boolean;
15
+ }
16
+ declare function Sheet({ ...props }: DialogPrimitive.RootProps): import("react").JSX.Element;
17
+ declare function SheetTrigger({ ...props }: DialogPrimitive.TriggerProps): import("react").JSX.Element;
18
+ declare function SheetClose({ ...props }: DialogPrimitive.CloseProps): import("react").JSX.Element;
19
+ declare function SheetContainer({ className, overlayClassName, children, side, showCloseButton, ...props }: SheetContainerProps): import("react").JSX.Element;
20
+ declare function SheetContent({ containerClassName, className, children, }: {
21
+ containerClassName?: string;
22
+ className?: string;
23
+ children: ReactNode;
24
+ }): import("react").JSX.Element;
25
+ declare function SheetHeader({ className, separator, children, ...props }: SheetHeaderProps): import("react").JSX.Element;
26
+ declare function SheetFooter({ className, separator, children, ...props }: SheetFooterProps): import("react").JSX.Element;
27
+ declare function SheetTitle({ className, ...props }: DialogPrimitive.TitleProps): import("react").JSX.Element;
28
+ declare function SheetDescription({ className, ...props }: DialogPrimitive.DescriptionProps): import("react").JSX.Element;
29
+ export { Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, };
30
+ export type { SheetContainerProps, SheetHeaderProps, SheetFooterProps, SheetSide };
31
+ //# sourceMappingURL=Sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../src/components/Sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAKzD,KAAK,SAAS,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAErD,UAAU,mBAAoB,SAAQ,eAAe,CAAC,YAAY;IAChE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,gBAAiB,SAAQ,SAAS;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,UAAU,gBAAiB,SAAQ,SAAS;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 +1,18 @@
1
+ import { type ReactNode } from "react";
2
+ import * as SwitchPrimitive from "@rn-primitives/switch";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ interface SwitchProps extends Omit<SwitchPrimitive.RootProps, "checked" | "onCheckedChange">, VariantProps<typeof switchVariants> {
5
+ checked?: boolean;
6
+ defaultChecked?: boolean;
7
+ onCheckedChange?: (checked: boolean) => void;
8
+ checkedIcon?: ReactNode;
9
+ uncheckedIcon?: ReactNode;
10
+ }
11
+ declare const switchVariants: (props?: ({
12
+ variant?: "regular" | null | undefined;
13
+ size?: "sm" | "md" | "lg" | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
+ declare function Switch({ className, size, variant, checkedIcon, uncheckedIcon, checked, defaultChecked, onCheckedChange, disabled, ...props }: SwitchProps): import("react").JSX.Element;
16
+ export { Switch, switchVariants };
17
+ export type { SwitchProps };
18
+ //# sourceMappingURL=Switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAOzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,WAAY,SAAQ,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B;AAcD,QAAA,MAAM,cAAc;;;8EAkBnB,CAAC;AAEF,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,IAAW,EACX,OAAO,EACP,WAAW,EACX,aAAa,EACb,OAAO,EACP,cAAc,EACd,eAAe,EACf,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,+BAuEb;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type ReactNode, type ReactElement } from "react";
2
+ import { type ViewProps } from "react-native";
3
+ import { type VariantProps } from "class-variance-authority";
4
+ interface TagProps extends ViewProps, VariantProps<typeof tagVariants> {
5
+ icon?: ReactElement;
6
+ children?: ReactNode;
7
+ }
8
+ declare const tagVariants: (props?: ({
9
+ variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "go" | "gray" | "gray-soft" | "gray-basic" | "cm" | "cm-soft" | "cm-basic" | "go-soft" | "go-basic" | "cir" | "cir-soft" | "cir-basic" | "ped" | "ped-soft" | "ped-basic" | "prev" | "prev-soft" | "prev-basic" | "ia" | "ia-soft" | "ia-basic" | null | undefined;
10
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
+ declare const tagTextVariants: (props?: ({
12
+ variant?: "regular" | "emphasis" | "success" | "warning" | "error" | "regular-soft" | "regular-basic" | "emphasis-soft" | "emphasis-basic" | "error-soft" | "error-basic" | "warning-soft" | "warning-basic" | "success-soft" | "success-basic" | "go" | "gray" | "gray-soft" | "gray-basic" | "cm" | "cm-soft" | "cm-basic" | "go-soft" | "go-basic" | "cir" | "cir-soft" | "cir-basic" | "ped" | "ped-soft" | "ped-basic" | "prev" | "prev-soft" | "prev-basic" | "ia" | "ia-soft" | "ia-basic" | null | undefined;
13
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
14
+ declare function Tag({ className, variant, icon, children, ...props }: TagProps): import("react").JSX.Element;
15
+ export { Tag, tagVariants, tagTextVariants };
16
+ export type { TagProps };
17
+ //# sourceMappingURL=Tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,UAAU,QAAS,SAAQ,SAAS,EAAE,YAAY,CAAC,OAAO,WAAW,CAAC;IACpE,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,QAAA,MAAM,WAAW;;8EA6ChB,CAAC;AAEF,QAAA,MAAM,eAAe;;8EA0CnB,CAAC;AAMH,iBAAS,GAAG,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,+BAOtE;AAED,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AAC7C,YAAY,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { type ReactElement, type ReactNode } from "react";
2
+ import { type ViewProps } from "react-native";
3
+ import { type ButtonProps } from "@/components/Button";
4
+ type ToastVariant = "primary" | "secondary" | "success" | "warning" | "error";
5
+ type ToastActionVariant = ToastVariant;
6
+ type ToastActionElement = ReactElement<typeof ToastAction>;
7
+ interface ToastProps extends ViewProps {
8
+ variant?: ToastVariant;
9
+ showIcon?: boolean;
10
+ duration?: number;
11
+ open?: boolean;
12
+ onOpenChange?: (open: boolean) => void;
13
+ children?: ReactNode;
14
+ }
15
+ interface ToastActionProps extends Omit<ButtonProps, "variant"> {
16
+ variant?: ToastActionVariant;
17
+ altText?: string;
18
+ onPress?: () => void;
19
+ }
20
+ interface ToastCloseProps extends Omit<ViewProps, "children"> {
21
+ onPress?: () => void;
22
+ label?: string;
23
+ }
24
+ declare const toastVariants: (props?: ({
25
+ variant?: "success" | "warning" | "error" | "primary" | "secondary" | null | undefined;
26
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
27
+ declare function Toast({ variant, showIcon, duration, open, onOpenChange, children, ...props }: ToastProps): import("react").JSX.Element;
28
+ declare function ToastAction({ className, variant, size, altText, children, ...props }: ToastActionProps): import("react").JSX.Element;
29
+ declare function ToastTitle({ className, children }: ViewProps & {
30
+ children?: ReactNode;
31
+ }): import("react").JSX.Element;
32
+ declare function ToastDescription({ className, children }: ViewProps & {
33
+ children?: ReactNode;
34
+ }): import("react").JSX.Element;
35
+ declare function ToastViewport({ className, children, ...props }: ViewProps & {
36
+ children?: ReactNode;
37
+ }): import("react").JSX.Element;
38
+ declare function ToastClose({ className, onPress, label, ...props }: ToastCloseProps): import("react").JSX.Element;
39
+ declare function ToastProvider(): import("react").JSX.Element;
40
+ export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, toastVariants, };
41
+ export type { ToastActionElement, ToastProps };
42
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/E,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAiBrE,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG/D,KAAK,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAC9E,KAAK,kBAAkB,GAAG,YAAY,CAAC;AAEvC,KAAK,kBAAkB,GAAG,YAAY,C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,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,GAAG;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,+BAU7F;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAe,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAWrF;AAED,iBAAS,aAAa,gCAsBrB;AAED,OAAO,EACL,KAAK,EACL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,aAAa,EACb,aAAa,GACd,CAAC;AACF,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type ReactNode } from "react";
2
+ import * as TooltipPrimitive from "@rn-primitives/tooltip";
3
+ interface TooltipContentProps extends TooltipPrimitive.ContentProps {
4
+ sideOffset?: number;
5
+ }
6
+ declare function TooltipProvider({ children }: {
7
+ children?: ReactNode;
8
+ }): import("react").JSX.Element;
9
+ declare function Tooltip({ ...props }: TooltipPrimitive.RootProps): import("react").JSX.Element;
10
+ declare function TooltipTrigger({ ...props }: TooltipPrimitive.TriggerProps): import("react").JSX.Element;
11
+ declare function TooltipContent({ className, sideOffset, children, ...props }: TooltipContentProps): import("react").JSX.Element;
12
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
13
+ export type { TooltipContentProps };
14
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAG3D,UAAU,mBAAoB,SAAQ,gBAAgB,CAAC,YAAY;IACjE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,iBAAS,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,+BAE9D;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,SAAS,+BAExD;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,YAAY,+BAElE;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAmBrB;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { type ReactNode } from "react";
2
+ import type { ToastActionElement, ToastProps } from "@/components/Toast";
3
+ type ToasterToast = ToastProps & {
4
+ id: string;
5
+ title?: ReactNode;
6
+ description?: ReactNode;
7
+ action?: ToastActionElement;
8
+ };
9
+ declare const actionTypes: {
10
+ readonly ADD_TOAST: "ADD_TOAST";
11
+ readonly UPDATE_TOAST: "UPDATE_TOAST";
12
+ readonly DISMISS_TOAST: "DISMISS_TOAST";
13
+ readonly REMOVE_TOAST: "REMOVE_TOAST";
14
+ };
15
+ type ActionType = typeof actionTypes;
16
+ type Action = {
17
+ type: ActionType["ADD_TOAST"];
18
+ toast: ToasterToast;
19
+ } | {
20
+ type: ActionType["UPDATE_TOAST"];
21
+ toast: Partial<ToasterToast>;
22
+ } | {
23
+ type: ActionType["DISMISS_TOAST"];
24
+ toastId?: ToasterToast["id"];
25
+ } | {
26
+ type: ActionType["REMOVE_TOAST"];
27
+ toastId?: ToasterToast["id"];
28
+ };
29
+ interface State {
30
+ toasts: ToasterToast[];
31
+ }
32
+ export declare const reducer: (state: State, action: Action) => State;
33
+ type Toast = Omit<ToasterToast, "id">;
34
+ declare function toast(props: Toast): {
35
+ id: string;
36
+ dismiss: () => void;
37
+ update: (p: ToasterToast) => void;
38
+ };
39
+ declare function useToast(): {
40
+ toast: typeof toast;
41
+ dismiss: (toastId?: string) => void;
42
+ toasts: ToasterToast[];
43
+ };
44
+ export { useToast, toast };
45
+ export type { ToasterToast };
46
+ //# sourceMappingURL=use-toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-toast.d.ts","sourceRoot":"","sources":["../../../src/hooks/use-toast.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKzE,KAAK,YAAY,GAAG,UAAU,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,MAAM,CAAC,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,QAAA,MAAM,WAAW;;;;;CAKP,CAAC;AASX,KAAK,UAAU,GAAG,OAAO,WAAW,CAAC;AAErC,KAAK,MAAM,GACP;IAAE,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAAC,KAAK,EAAE,YAAY,CAAA;CAAE,GACtD;IAAE,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,CAAA;CAAE,GAClE;IAAE,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC,CAAC;IAAC,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;CAAE,GACnE;IAAE,IAAI,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAAC,OAAO,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;CAAE,CAAC;AAEvE,UAAU,KAAK;IACb,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AAeD,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,EAAE,QAAQ,MAAM,KAAG,KAmCtD,CAAC;AAUF,KAAK,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;AAEtC,iBAAS,KAAK,CAAC,KAAK,EAAE,KAAK;;;gBAGN,YAAY;EAkBhC;AAED,iBAAS,QAAQ;;wBAcO,MAAM;YApGpB,YAAY,EAAE;EAuGvB;AAED,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;AAC3B,YAAY,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1,38 @@
1
+ export { Alert, AlertActions, AlertButton, alertButtonVariants, AlertContainer, AlertContent, AlertDescription, AlertIcon, AlertTitle, alertVariants, } from "@/components/Alert";
2
+ export type { AlertButtonProps, AlertProps } from "@/components/Alert";
3
+ export { Badge, badgeVariants } from "@/components/Badge";
4
+ export type { BadgeAnimation, BadgeProps } from "@/components/Badge";
5
+ export { Button, buttonVariants, buttonTextVariants } from "@/components/Button";
6
+ export type { ButtonProps } from "@/components/Button";
7
+ export { Checkbox, checkboxVariants } from "@/components/Checkbox";
8
+ export type { CheckboxProps } from "@/components/Checkbox";
9
+ export { Input, InputAdornment, applyInputIconSize, InputEndIcon, InputField, InputLabel, InputNumeric, InputPassword, InputStartIcon, InputText, InputWrapper, inputVariants, } from "@/components/Input";
10
+ export type { InputLabelProps, InputNumericProps, InputPasswordProps, InputProps, InputTextProps, InputType, } from "@/components/Input";
11
+ export { Label, labelVariants, labelTextVariants } from "@/components/Label";
12
+ export type { LabelProps } from "@/components/Label";
13
+ export { Loading } from "@/components/Loading";
14
+ export type { LoadingProps } from "@/components/Loading";
15
+ export { RadioGroup, RadioGroupItem, radioGroupVariants } from "@/components/RadioGroup";
16
+ export type { RadioGroupItemProps } from "@/components/RadioGroup";
17
+ export { Select, SelectContent, SelectGroup, SelectHeader, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectText, SelectTrigger, SelectValue, SelectWrapper, selectVariants, } from "@/components/Select";
18
+ export type { SelectProps, SelectItemProps, SelectSize } from "@/components/Select";
19
+ export { Separator } from "@/components/Separator";
20
+ export type { SeparatorProps } from "@/components/Separator";
21
+ export { Switch, switchVariants } from "@/components/Switch";
22
+ export type { SwitchProps } from "@/components/Switch";
23
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogIcon, AlertDialogOverlay, AlertDialogPortal, AlertDialogTag, AlertDialogTitle, AlertDialogTrigger, } from "@/components/AlertDialog";
24
+ export type { AlertDialogActionProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogIconProps, AlertDialogProps, AlertDialogTagProps, AlertDialogVariant, } from "@/components/AlertDialog";
25
+ export { Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, } from "@/components/Dialog";
26
+ export type { DialogContainerProps, DialogFooterProps, DialogHeaderProps, DialogTitleProps, } from "@/components/Dialog";
27
+ export { Popover, PopoverClose, PopoverContent, PopoverTrigger, } from "@/components/Popover";
28
+ export type { PopoverContentProps } from "@/components/Popover";
29
+ export { Sheet, SheetClose, SheetContainer, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, } from "@/components/Sheet";
30
+ export type { SheetContainerProps, SheetFooterProps, SheetHeaderProps, SheetSide, } from "@/components/Sheet";
31
+ export { Tag, tagVariants, tagTextVariants } from "@/components/Tag";
32
+ export type { TagProps } from "@/components/Tag";
33
+ export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, toastVariants, } from "@/components/Toast";
34
+ export type { ToastActionElement, ToastProps } from "@/components/Toast";
35
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/Tooltip";
36
+ export type { TooltipContentProps } from "@/components/Tooltip";
37
+ export { useToast, toast } from "@/hooks/use-toast";
38
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @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Ac,EACd,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhE,OAAO,EACL,KAAK,EACL,UAAU,EACV,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,GACV,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACrE,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EACL,KAAK,EACL,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,aAAa,EACb,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGzE,OAAO,EACL,OAAO,EACP,cAAc,EACd,eAAe,EACf,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AA4D7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}