@donotdev/expo 0.0.1

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 (261) hide show
  1. package/dist/__tests__/components/atomic.test.d.ts +10 -0
  2. package/dist/__tests__/components/atomic.test.d.ts.map +1 -0
  3. package/dist/__tests__/providers/ExpoAppProviders.test.d.ts +10 -0
  4. package/dist/__tests__/providers/ExpoAppProviders.test.d.ts.map +1 -0
  5. package/dist/__tests__/setup.d.ts +10 -0
  6. package/dist/__tests__/setup.d.ts.map +1 -0
  7. package/dist/__tests__/test-utils.d.ts +22 -0
  8. package/dist/__tests__/test-utils.d.ts.map +1 -0
  9. package/dist/atomic/Accordion/index.d.ts +65 -0
  10. package/dist/atomic/Accordion/index.d.ts.map +1 -0
  11. package/dist/atomic/Alert/index.d.ts +69 -0
  12. package/dist/atomic/Alert/index.d.ts.map +1 -0
  13. package/dist/atomic/AlertDialog/index.d.ts +83 -0
  14. package/dist/atomic/AlertDialog/index.d.ts.map +1 -0
  15. package/dist/atomic/Avatar/index.d.ts +53 -0
  16. package/dist/atomic/Avatar/index.d.ts.map +1 -0
  17. package/dist/atomic/Badge/index.d.ts +61 -0
  18. package/dist/atomic/Badge/index.d.ts.map +1 -0
  19. package/dist/atomic/Blockquote/index.d.ts +70 -0
  20. package/dist/atomic/Blockquote/index.d.ts.map +1 -0
  21. package/dist/atomic/Button/index.d.ts +117 -0
  22. package/dist/atomic/Button/index.d.ts.map +1 -0
  23. package/dist/atomic/Calendar/index.d.ts +55 -0
  24. package/dist/atomic/Calendar/index.d.ts.map +1 -0
  25. package/dist/atomic/CallToAction/index.d.ts +56 -0
  26. package/dist/atomic/CallToAction/index.d.ts.map +1 -0
  27. package/dist/atomic/Card/index.d.ts +102 -0
  28. package/dist/atomic/Card/index.d.ts.map +1 -0
  29. package/dist/atomic/Checkbox/index.d.ts +79 -0
  30. package/dist/atomic/Checkbox/index.d.ts.map +1 -0
  31. package/dist/atomic/Collapsible/index.d.ts +56 -0
  32. package/dist/atomic/Collapsible/index.d.ts.map +1 -0
  33. package/dist/atomic/Combobox/index.d.ts +137 -0
  34. package/dist/atomic/Combobox/index.d.ts.map +1 -0
  35. package/dist/atomic/Command/index.d.ts +94 -0
  36. package/dist/atomic/Command/index.d.ts.map +1 -0
  37. package/dist/atomic/CommandDialog/index.d.ts +62 -0
  38. package/dist/atomic/CommandDialog/index.d.ts.map +1 -0
  39. package/dist/atomic/ContextMenu/index.d.ts +60 -0
  40. package/dist/atomic/ContextMenu/index.d.ts.map +1 -0
  41. package/dist/atomic/CopyToClipboard/index.d.ts +78 -0
  42. package/dist/atomic/CopyToClipboard/index.d.ts.map +1 -0
  43. package/dist/atomic/DescriptionList/index.d.ts +60 -0
  44. package/dist/atomic/DescriptionList/index.d.ts.map +1 -0
  45. package/dist/atomic/Dialog/index.d.ts +105 -0
  46. package/dist/atomic/Dialog/index.d.ts.map +1 -0
  47. package/dist/atomic/DropdownMenu/index.d.ts +85 -0
  48. package/dist/atomic/DropdownMenu/index.d.ts.map +1 -0
  49. package/dist/atomic/DualCard/index.d.ts +101 -0
  50. package/dist/atomic/DualCard/index.d.ts.map +1 -0
  51. package/dist/atomic/FeatureFallback/index.d.ts +75 -0
  52. package/dist/atomic/FeatureFallback/index.d.ts.map +1 -0
  53. package/dist/atomic/FileButton/index.d.ts +55 -0
  54. package/dist/atomic/FileButton/index.d.ts.map +1 -0
  55. package/dist/atomic/Grid/index.d.ts +93 -0
  56. package/dist/atomic/Grid/index.d.ts.map +1 -0
  57. package/dist/atomic/HeroSection/index.d.ts +72 -0
  58. package/dist/atomic/HeroSection/index.d.ts.map +1 -0
  59. package/dist/atomic/HoverCard/index.d.ts +70 -0
  60. package/dist/atomic/HoverCard/index.d.ts.map +1 -0
  61. package/dist/atomic/Icons/index.d.ts +55 -0
  62. package/dist/atomic/Icons/index.d.ts.map +1 -0
  63. package/dist/atomic/InfiniteScroll/index.d.ts +62 -0
  64. package/dist/atomic/InfiniteScroll/index.d.ts.map +1 -0
  65. package/dist/atomic/Input/index.d.ts +100 -0
  66. package/dist/atomic/Input/index.d.ts.map +1 -0
  67. package/dist/atomic/Label/index.d.ts +49 -0
  68. package/dist/atomic/Label/index.d.ts.map +1 -0
  69. package/dist/atomic/List/index.d.ts +62 -0
  70. package/dist/atomic/List/index.d.ts.map +1 -0
  71. package/dist/atomic/NavigationMenu/index.d.ts +81 -0
  72. package/dist/atomic/NavigationMenu/index.d.ts.map +1 -0
  73. package/dist/atomic/Pagination/index.d.ts +86 -0
  74. package/dist/atomic/Pagination/index.d.ts.map +1 -0
  75. package/dist/atomic/PasswordInput/index.d.ts +95 -0
  76. package/dist/atomic/PasswordInput/index.d.ts.map +1 -0
  77. package/dist/atomic/Popover/index.d.ts +98 -0
  78. package/dist/atomic/Popover/index.d.ts.map +1 -0
  79. package/dist/atomic/Portal/index.d.ts +41 -0
  80. package/dist/atomic/Portal/index.d.ts.map +1 -0
  81. package/dist/atomic/PortalButton/index.d.ts +54 -0
  82. package/dist/atomic/PortalButton/index.d.ts.map +1 -0
  83. package/dist/atomic/Progress/index.d.ts +59 -0
  84. package/dist/atomic/Progress/index.d.ts.map +1 -0
  85. package/dist/atomic/RadioGroup/index.d.ts +91 -0
  86. package/dist/atomic/RadioGroup/index.d.ts.map +1 -0
  87. package/dist/atomic/RangeInput/index.d.ts +117 -0
  88. package/dist/atomic/RangeInput/index.d.ts.map +1 -0
  89. package/dist/atomic/Rating/index.d.ts +74 -0
  90. package/dist/atomic/Rating/index.d.ts.map +1 -0
  91. package/dist/atomic/ScrollArea/index.d.ts +59 -0
  92. package/dist/atomic/ScrollArea/index.d.ts.map +1 -0
  93. package/dist/atomic/Section/index.d.ts +83 -0
  94. package/dist/atomic/Section/index.d.ts.map +1 -0
  95. package/dist/atomic/Select/index.d.ts +116 -0
  96. package/dist/atomic/Select/index.d.ts.map +1 -0
  97. package/dist/atomic/Separator/index.d.ts +58 -0
  98. package/dist/atomic/Separator/index.d.ts.map +1 -0
  99. package/dist/atomic/Sheet/index.d.ts +106 -0
  100. package/dist/atomic/Sheet/index.d.ts.map +1 -0
  101. package/dist/atomic/Skeleton/index.d.ts +59 -0
  102. package/dist/atomic/Skeleton/index.d.ts.map +1 -0
  103. package/dist/atomic/Slider/index.d.ts +101 -0
  104. package/dist/atomic/Slider/index.d.ts.map +1 -0
  105. package/dist/atomic/Slot/index.d.ts +28 -0
  106. package/dist/atomic/Slot/index.d.ts.map +1 -0
  107. package/dist/atomic/Spinner/index.d.ts +52 -0
  108. package/dist/atomic/Spinner/index.d.ts.map +1 -0
  109. package/dist/atomic/Stack/index.d.ts +123 -0
  110. package/dist/atomic/Stack/index.d.ts.map +1 -0
  111. package/dist/atomic/Stepper/index.d.ts +102 -0
  112. package/dist/atomic/Stepper/index.d.ts.map +1 -0
  113. package/dist/atomic/Switch/index.d.ts +88 -0
  114. package/dist/atomic/Switch/index.d.ts.map +1 -0
  115. package/dist/atomic/Table/index.d.ts +107 -0
  116. package/dist/atomic/Table/index.d.ts.map +1 -0
  117. package/dist/atomic/Tabs/index.d.ts +91 -0
  118. package/dist/atomic/Tabs/index.d.ts.map +1 -0
  119. package/dist/atomic/Tag/index.d.ts +78 -0
  120. package/dist/atomic/Tag/index.d.ts.map +1 -0
  121. package/dist/atomic/Text/index.d.ts +81 -0
  122. package/dist/atomic/Text/index.d.ts.map +1 -0
  123. package/dist/atomic/Textarea/index.d.ts +66 -0
  124. package/dist/atomic/Textarea/index.d.ts.map +1 -0
  125. package/dist/atomic/Toaster/index.d.ts +69 -0
  126. package/dist/atomic/Toaster/index.d.ts.map +1 -0
  127. package/dist/atomic/Toggle/index.d.ts +76 -0
  128. package/dist/atomic/Toggle/index.d.ts.map +1 -0
  129. package/dist/atomic/ToggleGroup/index.d.ts +82 -0
  130. package/dist/atomic/ToggleGroup/index.d.ts.map +1 -0
  131. package/dist/atomic/Tooltip/index.d.ts +68 -0
  132. package/dist/atomic/Tooltip/index.d.ts.map +1 -0
  133. package/dist/atomic/VideoPlayer/index.d.ts +68 -0
  134. package/dist/atomic/VideoPlayer/index.d.ts.map +1 -0
  135. package/dist/atomic/VisuallyHidden/index.d.ts +33 -0
  136. package/dist/atomic/VisuallyHidden/index.d.ts.map +1 -0
  137. package/dist/atomic/index.d.ts +146 -0
  138. package/dist/atomic/index.d.ts.map +1 -0
  139. package/dist/crud/components/DateFilter.d.ts +29 -0
  140. package/dist/crud/components/DateFilter.d.ts.map +1 -0
  141. package/dist/crud/components/DisplayFieldRenderer.d.ts +29 -0
  142. package/dist/crud/components/DisplayFieldRenderer.d.ts.map +1 -0
  143. package/dist/crud/components/EntityCardList.d.ts +25 -0
  144. package/dist/crud/components/EntityCardList.d.ts.map +1 -0
  145. package/dist/crud/components/EntityDisplayRenderer.d.ts +26 -0
  146. package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -0
  147. package/dist/crud/components/EntityFilters.d.ts +40 -0
  148. package/dist/crud/components/EntityFilters.d.ts.map +1 -0
  149. package/dist/crud/components/EntityFormRenderer.d.ts +66 -0
  150. package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -0
  151. package/dist/crud/components/EntityList.d.ts +23 -0
  152. package/dist/crud/components/EntityList.d.ts.map +1 -0
  153. package/dist/crud/components/FormFieldRenderer.d.ts +38 -0
  154. package/dist/crud/components/FormFieldRenderer.d.ts.map +1 -0
  155. package/dist/crud/components/FormLayout.d.ts +33 -0
  156. package/dist/crud/components/FormLayout.d.ts.map +1 -0
  157. package/dist/crud/components/index.d.ts +27 -0
  158. package/dist/crud/components/index.d.ts.map +1 -0
  159. package/dist/crud/contexts/UploadContext.d.ts +22 -0
  160. package/dist/crud/contexts/UploadContext.d.ts.map +1 -0
  161. package/dist/crud/forms/hooks/useEntityForm.d.ts +11 -0
  162. package/dist/crud/forms/hooks/useEntityForm.d.ts.map +1 -0
  163. package/dist/crud/hooks/useUnsavedChangesWarning.d.ts +23 -0
  164. package/dist/crud/hooks/useUnsavedChangesWarning.d.ts.map +1 -0
  165. package/dist/crud/index.d.ts +17 -0
  166. package/dist/crud/index.d.ts.map +1 -0
  167. package/dist/crud/stores/index.d.ts +11 -0
  168. package/dist/crud/stores/index.d.ts.map +1 -0
  169. package/dist/features/auth/components/AuthPartnerButton.d.ts +31 -0
  170. package/dist/features/auth/components/AuthPartnerButton.d.ts.map +1 -0
  171. package/dist/features/auth/components/ConfirmDeleteDialog.d.ts +30 -0
  172. package/dist/features/auth/components/ConfirmDeleteDialog.d.ts.map +1 -0
  173. package/dist/features/auth/components/FeatureGuard.d.ts +53 -0
  174. package/dist/features/auth/components/FeatureGuard.d.ts.map +1 -0
  175. package/dist/features/auth/components/GoogleOneTap.d.ts +19 -0
  176. package/dist/features/auth/components/GoogleOneTap.d.ts.map +1 -0
  177. package/dist/features/auth/components/LoginModal.d.ts +18 -0
  178. package/dist/features/auth/components/LoginModal.d.ts.map +1 -0
  179. package/dist/features/auth/components/MultipleAuthProviders.d.ts +37 -0
  180. package/dist/features/auth/components/MultipleAuthProviders.d.ts.map +1 -0
  181. package/dist/features/auth/components/ReauthDialog.d.ts +30 -0
  182. package/dist/features/auth/components/ReauthDialog.d.ts.map +1 -0
  183. package/dist/features/auth/components/index.d.ts +22 -0
  184. package/dist/features/auth/components/index.d.ts.map +1 -0
  185. package/dist/features/auth/hooks/index.d.ts +14 -0
  186. package/dist/features/auth/hooks/index.d.ts.map +1 -0
  187. package/dist/features/auth/hooks/useAuthState.d.ts +29 -0
  188. package/dist/features/auth/hooks/useAuthState.d.ts.map +1 -0
  189. package/dist/features/auth/hooks/useCanAccess.d.ts +25 -0
  190. package/dist/features/auth/hooks/useCanAccess.d.ts.map +1 -0
  191. package/dist/features/auth/hooks/useHasRole.d.ts +26 -0
  192. package/dist/features/auth/hooks/useHasRole.d.ts.map +1 -0
  193. package/dist/features/auth/hooks/useUserRole.d.ts +25 -0
  194. package/dist/features/auth/hooks/useUserRole.d.ts.map +1 -0
  195. package/dist/features/auth/index.d.ts +16 -0
  196. package/dist/features/auth/index.d.ts.map +1 -0
  197. package/dist/features/billing/components/ProductCard.d.ts +37 -0
  198. package/dist/features/billing/components/ProductCard.d.ts.map +1 -0
  199. package/dist/features/billing/components/SecurityNotice.d.ts +26 -0
  200. package/dist/features/billing/components/SecurityNotice.d.ts.map +1 -0
  201. package/dist/features/billing/components/StripeCheckoutButton.d.ts +41 -0
  202. package/dist/features/billing/components/StripeCheckoutButton.d.ts.map +1 -0
  203. package/dist/features/billing/components/SubscriptionManager.d.ts +29 -0
  204. package/dist/features/billing/components/SubscriptionManager.d.ts.map +1 -0
  205. package/dist/features/billing/components/index.d.ts +17 -0
  206. package/dist/features/billing/components/index.d.ts.map +1 -0
  207. package/dist/features/billing/index.d.ts +12 -0
  208. package/dist/features/billing/index.d.ts.map +1 -0
  209. package/dist/features/index.d.ts +12 -0
  210. package/dist/features/index.d.ts.map +1 -0
  211. package/dist/features/oauth/components/MultipleOAuthProviders.d.ts +42 -0
  212. package/dist/features/oauth/components/MultipleOAuthProviders.d.ts.map +1 -0
  213. package/dist/features/oauth/components/OAuthConnectionModal.d.ts +21 -0
  214. package/dist/features/oauth/components/OAuthConnectionModal.d.ts.map +1 -0
  215. package/dist/features/oauth/components/OAuthFallback.d.ts +22 -0
  216. package/dist/features/oauth/components/OAuthFallback.d.ts.map +1 -0
  217. package/dist/features/oauth/components/OAuthPartnerButton.d.ts +35 -0
  218. package/dist/features/oauth/components/OAuthPartnerButton.d.ts.map +1 -0
  219. package/dist/features/oauth/components/index.d.ts +17 -0
  220. package/dist/features/oauth/components/index.d.ts.map +1 -0
  221. package/dist/features/oauth/index.d.ts +11 -0
  222. package/dist/features/oauth/index.d.ts.map +1 -0
  223. package/dist/firebase/authPersistence.d.ts +23 -0
  224. package/dist/firebase/authPersistence.d.ts.map +1 -0
  225. package/dist/firebase/index.d.ts +10 -0
  226. package/dist/firebase/index.d.ts.map +1 -0
  227. package/dist/index.d.ts +18 -0
  228. package/dist/index.d.ts.map +1 -0
  229. package/dist/providers/ExpoAppProviders.d.ts +46 -0
  230. package/dist/providers/ExpoAppProviders.d.ts.map +1 -0
  231. package/dist/routing/components.d.ts +26 -0
  232. package/dist/routing/components.d.ts.map +1 -0
  233. package/dist/routing/hooks.d.ts +87 -0
  234. package/dist/routing/hooks.d.ts.map +1 -0
  235. package/dist/routing/index.d.ts +11 -0
  236. package/dist/routing/index.d.ts.map +1 -0
  237. package/dist/routing/utils/useFormStoreSafe.d.ts +15 -0
  238. package/dist/routing/utils/useFormStoreSafe.d.ts.map +1 -0
  239. package/dist/storage/AsyncStorageStrategy.d.ts +55 -0
  240. package/dist/storage/AsyncStorageStrategy.d.ts.map +1 -0
  241. package/dist/storage/zustandAsyncStorage.d.ts +22 -0
  242. package/dist/storage/zustandAsyncStorage.d.ts.map +1 -0
  243. package/dist/theme/ThemeProvider.d.ts +111 -0
  244. package/dist/theme/ThemeProvider.d.ts.map +1 -0
  245. package/dist/theme/index.d.ts +8 -0
  246. package/dist/theme/index.d.ts.map +1 -0
  247. package/dist/theme/tokens.d.ts +152 -0
  248. package/dist/theme/tokens.d.ts.map +1 -0
  249. package/dist/utils/constants.d.ts +73 -0
  250. package/dist/utils/constants.d.ts.map +1 -0
  251. package/dist/utils/helpers.d.ts +39 -0
  252. package/dist/utils/helpers.d.ts.map +1 -0
  253. package/dist/utils/index.d.ts +9 -0
  254. package/dist/utils/index.d.ts.map +1 -0
  255. package/dist/utils/theme-helpers.d.ts +29 -0
  256. package/dist/utils/theme-helpers.d.ts.map +1 -0
  257. package/dist/utils/useAuthSafe.d.ts +8 -0
  258. package/dist/utils/useAuthSafe.d.ts.map +1 -0
  259. package/dist/utils/variants.d.ts +25 -0
  260. package/dist/utils/variants.d.ts.map +1 -0
  261. package/package.json +85 -0
@@ -0,0 +1,111 @@
1
+ /**
2
+ * @fileoverview Theme Provider for React Native
3
+ * @description Provides theme context matching web design tokens
4
+ * @version 0.0.1
5
+ * @since 0.0.1
6
+ * @author AMBROISE PARK Consulting
7
+ */
8
+ import { type ReactNode } from 'react';
9
+ import { type Theme } from './tokens';
10
+ interface ThemeContextValue {
11
+ theme: Theme;
12
+ isDark: boolean;
13
+ setTheme: (theme: 'light' | 'dark' | 'auto') => void;
14
+ themeMode: 'light' | 'dark' | 'auto';
15
+ }
16
+ export interface ThemeProviderProps {
17
+ children: ReactNode;
18
+ /**
19
+ * Initial theme mode
20
+ * @default 'auto' - follows system preference
21
+ */
22
+ initialTheme?: 'light' | 'dark' | 'auto';
23
+ /**
24
+ * Whether to follow system color scheme
25
+ * @default true
26
+ */
27
+ followSystem?: boolean;
28
+ }
29
+ /**
30
+ * ThemeProvider - Provides theme context matching web design tokens
31
+ *
32
+ * @example
33
+ * ```tsx
34
+ * <ThemeProvider>
35
+ * <App />
36
+ * </ThemeProvider>
37
+ * ```
38
+ */
39
+ export declare function ThemeProvider({ children, initialTheme, followSystem, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
40
+ /**
41
+ * Hook to access theme context
42
+ *
43
+ * @example
44
+ * ```tsx
45
+ * const { theme, isDark } = useTheme();
46
+ * <View style={{ backgroundColor: theme.colors.background }} />
47
+ * ```
48
+ */
49
+ export declare function useTheme(): ThemeContextValue;
50
+ /**
51
+ * Hook to get theme colors directly
52
+ *
53
+ * @example
54
+ * ```tsx
55
+ * const colors = useThemeColors();
56
+ * <View style={{ backgroundColor: colors.background }} />
57
+ * ```
58
+ */
59
+ export declare function useThemeColors(): {
60
+ readonly background: "#ffffff";
61
+ readonly foreground: "#000000";
62
+ readonly textColor: "#000000";
63
+ readonly primary: "#00bcd4";
64
+ readonly primaryForeground: "#000000";
65
+ readonly secondary: "#047857";
66
+ readonly secondaryForeground: "#ffffff";
67
+ readonly accent: "#ff9800";
68
+ readonly accentForeground: "#000000";
69
+ readonly destructive: "#dc2626";
70
+ readonly destructiveForeground: "#ffffff";
71
+ readonly success: "#047857";
72
+ readonly successForeground: "#ffffff";
73
+ readonly warning: "#f59e0b";
74
+ readonly warningForeground: "#000000";
75
+ readonly muted: "#f3f4f6";
76
+ readonly mutedForeground: "#4b5563";
77
+ readonly border: "#e5e7eb";
78
+ readonly input: "#f3f4f6";
79
+ readonly ring: "#00bcd4";
80
+ readonly card: "#ffffff";
81
+ readonly cardForeground: "#000000";
82
+ readonly popover: "#ffffff";
83
+ readonly popoverForeground: "#000000";
84
+ } | {
85
+ readonly background: "#000000";
86
+ readonly foreground: "#ffffff";
87
+ readonly textColor: "#ffffff";
88
+ readonly primary: "#00bcd4";
89
+ readonly primaryForeground: "#000000";
90
+ readonly secondary: "#10b981";
91
+ readonly secondaryForeground: "#ffffff";
92
+ readonly accent: "#ff9800";
93
+ readonly accentForeground: "#ffffff";
94
+ readonly destructive: "#ef4444";
95
+ readonly destructiveForeground: "#ffffff";
96
+ readonly success: "#10b981";
97
+ readonly successForeground: "#ffffff";
98
+ readonly warning: "#f59e0b";
99
+ readonly warningForeground: "#000000";
100
+ readonly muted: "#1f2937";
101
+ readonly mutedForeground: "#d1d5db";
102
+ readonly border: "#374151";
103
+ readonly input: "#1f2937";
104
+ readonly ring: "#00bcd4";
105
+ readonly card: "#111827";
106
+ readonly cardForeground: "#ffffff";
107
+ readonly popover: "#111827";
108
+ readonly popoverForeground: "#ffffff";
109
+ };
110
+ export {};
111
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AACA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,EAAyB,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AAE7D,UAAU,iBAAiB;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACrD,SAAS,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CACtC;AAID,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IACzC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,YAAqB,EACrB,YAAmB,GACpB,EAAE,kBAAkB,2CAqBpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,IAAI,iBAAiB,CAM5C;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @fileoverview Theme exports
3
+ * @description Design tokens and theme provider for React Native
4
+ */
5
+ export * from './tokens';
6
+ export * from './ThemeProvider';
7
+ export { useTheme, useThemeColors } from './ThemeProvider';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,152 @@
1
+ /**
2
+ * @fileoverview Design Tokens for React Native
3
+ * @description Extracted from @donotdev/components variables.css - single source of truth
4
+ * @version 0.0.1
5
+ * @since 0.0.1
6
+ * @author AMBROISE PARK Consulting
7
+ */
8
+ /**
9
+ * Design tokens matching @donotdev/components/src/styles/variables.css
10
+ * These values are the single source of truth - React Native components use these
11
+ * instead of hardcoded colors to match web components exactly.
12
+ */
13
+ export declare const spacing: {
14
+ readonly none: 0;
15
+ readonly sm: 8;
16
+ readonly md: 16;
17
+ readonly lg: 32;
18
+ };
19
+ export declare const radius: {
20
+ readonly none: 0;
21
+ readonly md: 12;
22
+ readonly full: 9999;
23
+ readonly interactive: 0;
24
+ readonly surface: 12;
25
+ readonly floating: 0;
26
+ };
27
+ export declare const typography: {
28
+ readonly fontSize: {
29
+ readonly xs: 12;
30
+ readonly sm: 14;
31
+ readonly base: 16;
32
+ readonly lg: 20;
33
+ readonly xl: 25;
34
+ readonly '2xl': 31;
35
+ readonly '3xl': 39;
36
+ };
37
+ readonly fontWeight: {
38
+ readonly normal: "400";
39
+ readonly medium: "500";
40
+ readonly semibold: "600";
41
+ readonly bold: "700";
42
+ };
43
+ readonly lineHeight: {
44
+ readonly base: 1.25;
45
+ };
46
+ };
47
+ export declare const interactive: {
48
+ readonly touchTarget: 48;
49
+ readonly iconMd: 24;
50
+ readonly iconTouch: 32;
51
+ };
52
+ export declare const zIndex: {
53
+ readonly header: 100;
54
+ readonly sidebar: 90;
55
+ readonly footer: 1;
56
+ readonly overlay: 40;
57
+ readonly breadcrumbs: 10;
58
+ readonly dropdown: 50;
59
+ readonly modal: 1000;
60
+ readonly tooltip: 1100;
61
+ readonly toast: 1200;
62
+ };
63
+ export declare const opacity: {
64
+ readonly subtle: 0.3;
65
+ readonly muted: 0.6;
66
+ readonly strong: 0.9;
67
+ };
68
+ export declare const duration: {
69
+ readonly fast: 150;
70
+ readonly normal: 300;
71
+ readonly slow: 500;
72
+ readonly heavy: 700;
73
+ readonly hero: 1000;
74
+ };
75
+ export declare const colorsLight: {
76
+ readonly background: "#ffffff";
77
+ readonly foreground: "#000000";
78
+ readonly textColor: "#000000";
79
+ readonly primary: "#00bcd4";
80
+ readonly primaryForeground: "#000000";
81
+ readonly secondary: "#047857";
82
+ readonly secondaryForeground: "#ffffff";
83
+ readonly accent: "#ff9800";
84
+ readonly accentForeground: "#000000";
85
+ readonly destructive: "#dc2626";
86
+ readonly destructiveForeground: "#ffffff";
87
+ readonly success: "#047857";
88
+ readonly successForeground: "#ffffff";
89
+ readonly warning: "#f59e0b";
90
+ readonly warningForeground: "#000000";
91
+ readonly muted: "#f3f4f6";
92
+ readonly mutedForeground: "#4b5563";
93
+ readonly border: "#e5e7eb";
94
+ readonly input: "#f3f4f6";
95
+ readonly ring: "#00bcd4";
96
+ readonly card: "#ffffff";
97
+ readonly cardForeground: "#000000";
98
+ readonly popover: "#ffffff";
99
+ readonly popoverForeground: "#000000";
100
+ };
101
+ export declare const colorsDark: {
102
+ readonly background: "#000000";
103
+ readonly foreground: "#ffffff";
104
+ readonly textColor: "#ffffff";
105
+ readonly primary: "#00bcd4";
106
+ readonly primaryForeground: "#000000";
107
+ readonly secondary: "#10b981";
108
+ readonly secondaryForeground: "#ffffff";
109
+ readonly accent: "#ff9800";
110
+ readonly accentForeground: "#ffffff";
111
+ readonly destructive: "#ef4444";
112
+ readonly destructiveForeground: "#ffffff";
113
+ readonly success: "#10b981";
114
+ readonly successForeground: "#ffffff";
115
+ readonly warning: "#f59e0b";
116
+ readonly warningForeground: "#000000";
117
+ readonly muted: "#1f2937";
118
+ readonly mutedForeground: "#d1d5db";
119
+ readonly border: "#374151";
120
+ readonly input: "#1f2937";
121
+ readonly ring: "#00bcd4";
122
+ readonly card: "#111827";
123
+ readonly cardForeground: "#ffffff";
124
+ readonly popover: "#111827";
125
+ readonly popoverForeground: "#ffffff";
126
+ };
127
+ /**
128
+ * Theme configuration
129
+ */
130
+ export interface Theme {
131
+ colors: typeof colorsLight | typeof colorsDark;
132
+ spacing: typeof spacing;
133
+ radius: typeof radius;
134
+ typography: typeof typography;
135
+ interactive: typeof interactive;
136
+ zIndex: typeof zIndex;
137
+ opacity: typeof opacity;
138
+ duration: typeof duration;
139
+ }
140
+ /**
141
+ * Light theme (default)
142
+ */
143
+ export declare const lightTheme: Theme;
144
+ /**
145
+ * Dark theme
146
+ */
147
+ export declare const darkTheme: Theme;
148
+ /**
149
+ * Default theme (light)
150
+ */
151
+ export declare const defaultTheme: Theme;
152
+ //# sourceMappingURL=tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/theme/tokens.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AAEH;;;;GAIG;AAKH,eAAO,MAAM,OAAO;;;;;CAKV,CAAC;AAKX,eAAO,MAAM,MAAM;;;;;;;CAOT,CAAC;AAKX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;CAmBb,CAAC;AAKX,eAAO,MAAM,WAAW;;;;CAId,CAAC;AAKX,eAAO,MAAM,MAAM;;;;;;;;;;CAUT,CAAC;AAKX,eAAO,MAAM,OAAO;;;;CAIV,CAAC;AAKX,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC;AAMX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;CAkCd,CAAC;AAKX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;CAkCb,CAAC;AAEX;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,OAAO,WAAW,GAAG,OAAO,UAAU,CAAC;IAC/C,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,UAAU,CAAC;IAC9B,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,OAAO,EAAE,OAAO,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,QAAQ,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,OAAa,CAAC"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * @fileoverview Shared constants for Expo components
3
+ * @description DRY constants used across multiple components
4
+ */
5
+ /**
6
+ * Theme variant constants - universal color variants used across all components
7
+ * Single source of truth for theme-based color variants
8
+ */
9
+ export declare const THEME_VARIANT: {
10
+ readonly DEFAULT: "default";
11
+ readonly MUTED: "muted";
12
+ readonly PRIMARY: "primary";
13
+ readonly SECONDARY: "secondary";
14
+ readonly ACCENT: "accent";
15
+ readonly SUCCESS: "success";
16
+ readonly WARNING: "warning";
17
+ readonly DESTRUCTIVE: "destructive";
18
+ };
19
+ export type ThemeVariant = (typeof THEME_VARIANT)[keyof typeof THEME_VARIANT];
20
+ /**
21
+ * Surface variant constants - matches web surface variants
22
+ * Used by Card, Dialog, Sheet, Alert (all components using surface styling)
23
+ */
24
+ export declare const SURFACE_VARIANT: {
25
+ readonly OUTLINE: "outline";
26
+ readonly GLASS: "glass";
27
+ readonly DEFAULT: "default";
28
+ readonly MUTED: "muted";
29
+ readonly PRIMARY: "primary";
30
+ readonly SECONDARY: "secondary";
31
+ readonly ACCENT: "accent";
32
+ readonly SUCCESS: "success";
33
+ readonly WARNING: "warning";
34
+ readonly DESTRUCTIVE: "destructive";
35
+ };
36
+ export type SurfaceVariant = (typeof SURFACE_VARIANT)[keyof typeof SURFACE_VARIANT];
37
+ /**
38
+ * Control variant constants (Checkbox, Switch, Slider, RadioGroup)
39
+ * Semantic color variants for form controls
40
+ */
41
+ /**
42
+ * Floating variant constants (Tooltip, Popover, HoverCard)
43
+ * Used by overlay components positioned relative to trigger
44
+ */
45
+ export declare const FLOATING_VARIANT: {
46
+ readonly OUTLINE: "outline";
47
+ readonly GLASS: "glass";
48
+ readonly DEFAULT: "default";
49
+ readonly MUTED: "muted";
50
+ readonly PRIMARY: "primary";
51
+ readonly SECONDARY: "secondary";
52
+ readonly ACCENT: "accent";
53
+ readonly SUCCESS: "success";
54
+ readonly WARNING: "warning";
55
+ readonly DESTRUCTIVE: "destructive";
56
+ };
57
+ export type FloatingVariant = (typeof FLOATING_VARIANT)[keyof typeof FLOATING_VARIANT];
58
+ /**
59
+ * Control variant constants (Checkbox, Switch, Slider, RadioGroup)
60
+ * Semantic color variants for form controls
61
+ */
62
+ export declare const CONTROL_VARIANT: {
63
+ readonly DEFAULT: "default";
64
+ readonly MUTED: "muted";
65
+ readonly PRIMARY: "primary";
66
+ readonly SECONDARY: "secondary";
67
+ readonly ACCENT: "accent";
68
+ readonly SUCCESS: "success";
69
+ readonly WARNING: "warning";
70
+ readonly DESTRUCTIVE: "destructive";
71
+ };
72
+ export type ControlVariant = ThemeVariant;
73
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;CAShB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;CAIlB,CAAC;AAEX,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;GAGG;AACH;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;CAAkB,CAAC;AAEhD,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;CAAgB,CAAC;AAE7C,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @fileoverview Component Helper Utilities
3
+ * @description Provides utility functions for component styling and class name management.
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import type { ViewStyle, TextStyle } from 'react-native';
10
+ /**
11
+ * Merges style objects for React Native
12
+ *
13
+ * Combines multiple style inputs into a single style object.
14
+ *
15
+ * @param {...(ViewStyle | TextStyle | undefined | null | false)} inputs - Style inputs to merge
16
+ * @returns {ViewStyle | TextStyle} Merged style object
17
+ * @version 0.0.1
18
+ * @since 0.0.1
19
+ * @author AMBROISE PARK Consulting
20
+ */
21
+ export declare function mergeStyles(...inputs: Array<ViewStyle | TextStyle | undefined | null | false>): ViewStyle | TextStyle;
22
+ /**
23
+ * Generates data attributes from variant props (for testing/debugging)
24
+ *
25
+ * In React Native, we don't use data attributes, but this helps maintain
26
+ * API compatibility with web components for testing purposes.
27
+ *
28
+ * @param variants - Variant props object
29
+ * @returns Object with testID attributes
30
+ * @version 0.0.1
31
+ * @since 0.0.1
32
+ * @author AMBROISE PARK Consulting
33
+ */
34
+ export declare function getVariantDataAttrs(variants: {
35
+ variant?: string | null | undefined;
36
+ size?: string | null | undefined;
37
+ [key: string]: string | null | undefined;
38
+ }): Record<string, string>;
39
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/utils/helpers.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CACzB,GAAG,MAAM,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,GACjE,SAAS,GAAG,SAAS,CAEvB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE;IAC5C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAKzB"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @fileoverview Utils exports
3
+ * @description Utility functions and constants for Expo components
4
+ */
5
+ export * from './helpers';
6
+ export * from './constants';
7
+ export * from './variants';
8
+ export { useAuthSafe, isAuthAvailable } from './useAuthSafe';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @fileoverview Theme Helper Utilities
3
+ * @description Utilities to help components use theme tokens consistently
4
+ * @version 0.0.1
5
+ * @since 0.0.1
6
+ * @author AMBROISE PARK Consulting
7
+ */
8
+ import type { Theme } from '../theme/tokens';
9
+ /**
10
+ * Get variant color from theme
11
+ */
12
+ export declare function getVariantColor(theme: Theme, variant: 'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'destructive' | 'muted'): string;
13
+ /**
14
+ * Get variant foreground color from theme
15
+ */
16
+ export declare function getVariantForegroundColor(theme: Theme, variant: 'default' | 'primary' | 'secondary' | 'accent' | 'success' | 'warning' | 'destructive' | 'muted'): string;
17
+ /**
18
+ * Get overlay background color (for modals, dialogs)
19
+ */
20
+ export declare function getOverlayBackground(theme: Theme): string;
21
+ /**
22
+ * Get shadow color from theme
23
+ */
24
+ export declare function getShadowColor(theme: Theme): string;
25
+ /**
26
+ * Get shadow opacity from theme
27
+ */
28
+ export declare function getShadowOpacity(theme: Theme): number;
29
+ //# sourceMappingURL=theme-helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/theme-helpers.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAG7C;;GAEG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,EACZ,OAAO,EACH,SAAS,GACT,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,GACT,aAAa,GACb,OAAO,GACV,MAAM,CAYR;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,KAAK,EACZ,OAAO,EACH,SAAS,GACT,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,GACT,aAAa,GACb,OAAO,GACV,MAAM,CAYR;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAWzD;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEnD;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAErD"}
@@ -0,0 +1,8 @@
1
+ import type { AuthAPI } from '@donotdev/core';
2
+ declare const useAuthSafe: <K extends keyof AuthAPI>(key: K) => AuthAPI[K];
3
+ /**
4
+ * Check if auth module is available (for conditional UI rendering)
5
+ */
6
+ export declare const isAuthAvailable: boolean;
7
+ export { useAuthSafe };
8
+ //# sourceMappingURL=useAuthSafe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAuthSafe.d.ts","sourceRoot":"","sources":["../../src/utils/useAuthSafe.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAe9C,QAAA,MAAM,WAAW,EAAE,CAAC,CAAC,SAAS,MAAM,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CACrC,CAAC;AAE7B;;GAEG;AACH,eAAO,MAAM,eAAe,SAAoC,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @fileoverview Variant utilities for Expo components
3
+ * @description Style variant helpers for React Native components using design tokens
4
+ *
5
+ * @version 0.0.1
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
9
+ import { type ViewStyle, type TextStyle } from 'react-native';
10
+ import type { Theme } from '../theme/tokens';
11
+ /**
12
+ * Button variant styles factory - uses theme tokens
13
+ * Note: These are functions that take theme and return styles
14
+ * Components should use useTheme() to get current theme
15
+ */
16
+ export declare function getButtonVariants(theme: Theme): Record<string, ViewStyle>;
17
+ /**
18
+ * Button text variant styles factory - uses theme tokens
19
+ */
20
+ export declare function getButtonTextVariants(theme: Theme): Record<string, TextStyle>;
21
+ /**
22
+ * Surface variant styles factory - uses theme tokens
23
+ */
24
+ export declare function getSurfaceVariants(theme: Theme): Record<string, ViewStyle>;
25
+ //# sourceMappingURL=variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variants.d.ts","sourceRoot":"","sources":["../../src/utils/variants.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAuCzE;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAsC7E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAoC1E"}
package/package.json ADDED
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "@donotdev/expo",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "private": false,
6
+ "description": "React Native/Expo UI components for DoNotDev framework",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "package.json",
18
+ "README.md",
19
+ "LICENSE.md"
20
+ ],
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "https://github.com/donotdev/expo.git"
24
+ },
25
+ "keywords": [
26
+ "donotdev",
27
+ "dndev",
28
+ "react-native",
29
+ "expo",
30
+ "components",
31
+ "ui",
32
+ "typescript",
33
+ "design-system"
34
+ ],
35
+ "publishConfig": {
36
+ "registry": "https://registry.npmjs.org",
37
+ "access": "public"
38
+ },
39
+ "license": "SEE LICENSE IN LICENSE.md",
40
+ "scripts": {
41
+ "dev": "tsc --noEmit --watch --listFiles false --listEmittedFiles false",
42
+ "clean": "rimraf dist tsconfig.tsbuildinfo",
43
+ "type-check": "tsc --noEmit",
44
+ "test": "jest --forceExit",
45
+ "test:watch": "jest --watch",
46
+ "test:coverage": "jest --coverage"
47
+ },
48
+ "dependencies": {
49
+ "@donotdev/core": "^0.0.24",
50
+ "@donotdev/crud": "^0.0.15",
51
+ "@expo/vector-icons": "^15.0.0",
52
+ "@hookform/resolvers": "^5.2.2",
53
+ "@react-native-async-storage/async-storage": "^2.1.0",
54
+ "@react-native-community/datetimepicker": "^8.0.0",
55
+ "expo": "^54.0.0",
56
+ "expo-av": "^16.0.0",
57
+ "expo-clipboard": "^8.0.0",
58
+ "expo-document-picker": "^14.0.0",
59
+ "expo-router": "^6.0.0",
60
+ "react-hook-form": "^7.71.1",
61
+ "react-native-safe-area-context": "^5.0.0"
62
+ },
63
+ "peerDependencies": {
64
+ "@donotdev/auth": "^0.0.7",
65
+ "@donotdev/billing": "^0.0.6",
66
+ "@donotdev/oauth": "^0.0.6",
67
+ "@donotdev/ui": "^0.0.14",
68
+ "react": "^19.2.4",
69
+ "react-native": "^0.84.0"
70
+ },
71
+ "peerDependenciesMeta": {
72
+ "@donotdev/auth": {
73
+ "optional": true
74
+ },
75
+ "@donotdev/billing": {
76
+ "optional": true
77
+ },
78
+ "@donotdev/oauth": {
79
+ "optional": true
80
+ },
81
+ "@donotdev/ui": {
82
+ "optional": true
83
+ }
84
+ }
85
+ }