@sincpro/mobile-ui 0.1.3 → 0.2.0

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 (273) hide show
  1. package/README.md +34 -9
  2. package/{lib → dist}/Dialog/BottomSheet/BottomSheet.Root.js +1 -1
  3. package/{lib → dist}/Dialog/Confirmation.context.js +1 -1
  4. package/{lib → dist}/Dialog/Dialog.Confirmation.js +1 -1
  5. package/{lib → dist}/Dialog/Dialog.EditValue.js +1 -1
  6. package/{lib → dist}/Display/Display.Avatar.js +1 -1
  7. package/{lib → dist}/Display/Display.Badge.js +1 -1
  8. package/{lib → dist}/Display/Display.CopyableText.js +1 -1
  9. package/{lib → dist}/Display/Display.CountRecords.js +1 -1
  10. package/{lib → dist}/Display/Display.Date.js +7 -8
  11. package/{lib → dist}/Display/Display.Divider.js +1 -1
  12. package/{lib → dist}/Display/Display.Icon.js +1 -1
  13. package/{lib → dist}/Display/Display.Logo.js +1 -1
  14. package/{lib → dist}/Display/Display.MenuButton.js +1 -1
  15. package/{lib → dist}/Display/Display.Monetary.js +1 -1
  16. package/{lib → dist}/Feedback/ErrorBoundary.js +1 -1
  17. package/{lib → dist}/Feedback/Feedback.DomainSplashScreen.js +1 -1
  18. package/{lib → dist}/Feedback/Feedback.Empty.js +1 -1
  19. package/{lib → dist}/Feedback/Feedback.Error.js +1 -1
  20. package/{lib → dist}/Feedback/Feedback.Loading.js +1 -1
  21. package/{lib → dist}/Feedback/Feedback.Spinner.js +1 -1
  22. package/{lib → dist}/Feedback/Feedback.Splash.js +1 -1
  23. package/{lib → dist}/Form/Form.Button.js +1 -1
  24. package/{lib → dist}/Form/Form.Checkbox.js +1 -1
  25. package/{lib → dist}/Form/Form.ControlledCheckbox.js +1 -1
  26. package/{lib → dist}/Form/Form.ControlledInput.js +1 -1
  27. package/{lib → dist}/Form/Form.ControlledMonetaryInput.js +1 -1
  28. package/{lib → dist}/Form/Form.ControlledRadioButton.js +1 -1
  29. package/{lib → dist}/Form/Form.Dropdown.js +1 -1
  30. package/{lib → dist}/Form/Form.FilterButton.js +1 -1
  31. package/{lib → dist}/Form/Form.FractionalQuantityInput.js +1 -1
  32. package/{lib → dist}/Form/Form.IconButton.js +1 -1
  33. package/{lib → dist}/Form/Form.Input.js +1 -1
  34. package/{lib → dist}/Form/Form.InputField.js +1 -1
  35. package/{lib → dist}/Form/Form.MonetaryInput.js +1 -1
  36. package/{lib → dist}/Form/Form.PasswordInput.js +1 -1
  37. package/{lib → dist}/Form/Form.QuantitySelector.js +1 -1
  38. package/{lib → dist}/Form/Form.RadioButton.js +1 -1
  39. package/{lib → dist}/Form/Form.SearchBar.js +1 -1
  40. package/{lib → dist}/Form/Form.TextInput.js +1 -1
  41. package/dist/Navigation/Navigation.Header.d.ts +12 -0
  42. package/{lib → dist}/Navigation/Navigation.Header.js +3 -3
  43. package/{lib → dist}/Navigation/Navigation.HeaderToolbar.js +1 -1
  44. package/{lib → dist}/Navigation/Navigation.RowItem.js +1 -1
  45. package/{lib → dist}/Navigation/Navigation.TabIcon.js +1 -1
  46. package/{lib → dist}/Navigation/Navigation.TabItem.js +1 -1
  47. package/{lib → dist}/Navigation/index.d.ts +1 -1
  48. package/{lib → dist}/Typography/Typography.Heading.js +1 -1
  49. package/{lib → dist}/Typography/Typography.Text.js +1 -1
  50. package/{lib → dist}/icons/AddItemIcon.js +1 -1
  51. package/{lib → dist}/icons/ArrangeCircle.js +1 -1
  52. package/{lib → dist}/icons/ArrowDownIcon.js +1 -1
  53. package/{lib → dist}/icons/ArrowUpIcon.js +1 -1
  54. package/{lib → dist}/icons/BoxIcon.js +1 -1
  55. package/{lib → dist}/icons/BoxTimeIcon.js +1 -1
  56. package/{lib → dist}/icons/CalendarIcon.js +1 -1
  57. package/{lib → dist}/icons/CardIcon.js +1 -1
  58. package/{lib → dist}/icons/CashierIcon.js +1 -1
  59. package/{lib → dist}/icons/CreditIcon.js +1 -1
  60. package/{lib → dist}/icons/DuoIcon.js +1 -1
  61. package/{lib → dist}/icons/HomeIcon.js +1 -1
  62. package/{lib → dist}/icons/HomeIconOutlined.js +1 -1
  63. package/{lib → dist}/icons/LogoIcon.js +1 -1
  64. package/{lib → dist}/icons/MoneyReceiveIcon.js +1 -1
  65. package/{lib → dist}/icons/OdooIcon.js +1 -1
  66. package/{lib → dist}/icons/PinIcon.js +1 -1
  67. package/{lib → dist}/icons/PrinterIcon.js +1 -1
  68. package/{lib → dist}/icons/ProfileIcon.js +1 -1
  69. package/{lib → dist}/icons/SettingsIcon.js +1 -1
  70. package/{lib → dist}/icons/SinpeIcon.js +1 -1
  71. package/{lib → dist}/icons/ToggleOffIcon.js +1 -1
  72. package/{lib → dist}/icons/WalletMoneyIcon.js +1 -1
  73. package/{lib → dist}/layouts/AuthContainer.js +1 -1
  74. package/{lib → dist}/layouts/Container.js +1 -1
  75. package/{lib → dist}/layouts/GradientContainer.js +1 -1
  76. package/{lib → dist}/layouts/PlainLayout.js +1 -1
  77. package/{lib → dist}/layouts/ScrollContainer.js +1 -1
  78. package/{lib → dist}/layouts/TabNavigatorLayout.d.ts +1 -1
  79. package/{lib → dist}/layouts/TabNavigatorLayout.js +1 -1
  80. package/{lib → dist}/primitives/BaseButton.js +1 -1
  81. package/{lib → dist}/primitives/Box.js +1 -1
  82. package/{lib → dist}/primitives/Row.js +1 -1
  83. package/{lib → dist}/primitives/Stack.js +1 -1
  84. package/{lib → dist}/providers/index.js +1 -1
  85. package/{lib → dist}/theme/components/ThemedActivityIndicator.js +1 -1
  86. package/dist/theme/css-vars.d.ts +7 -0
  87. package/dist/theme/css-vars.js +64 -0
  88. package/dist/theme/define.d.ts +18 -0
  89. package/dist/theme/define.js +34 -0
  90. package/dist/theme/globals.css +67 -0
  91. package/dist/theme/index.d.ts +7 -0
  92. package/dist/theme/index.js +6 -0
  93. package/dist/views/AuthFormView.d.ts +11 -0
  94. package/{lib → dist}/views/AuthFormView.js +3 -3
  95. package/{lib → dist}/views/FormViewV2.context.js +1 -1
  96. package/{lib → dist}/views/FormViewV2.d.ts +3 -1
  97. package/{lib → dist}/views/FormViewV2.js +3 -3
  98. package/{lib → dist}/views/ListViewV2.context.js +1 -1
  99. package/{lib → dist}/views/ListViewV2.js +1 -1
  100. package/{lib → dist}/views/Wizard/Wizard.context.js +1 -1
  101. package/{lib → dist}/views/Wizard/Wizard.js +1 -1
  102. package/dist/views/types/UIItem.js +1 -0
  103. package/{lib → dist}/widgets/CircleButton.js +1 -1
  104. package/{lib → dist}/widgets/GeoPermissionCard.js +1 -1
  105. package/{lib → dist}/widgets/HomeHeader.d.ts +2 -0
  106. package/{lib → dist}/widgets/HomeHeader.js +3 -3
  107. package/{lib → dist}/widgets/JSONViewer.js +1 -1
  108. package/{lib → dist}/widgets/MenuCard.js +1 -1
  109. package/{lib → dist}/widgets/MenuGrid.js +1 -1
  110. package/{lib → dist}/widgets/ScreenHeader.d.ts +3 -1
  111. package/{lib → dist}/widgets/ScreenHeader.js +4 -4
  112. package/{lib → dist}/widgets/TimeZoneSelector.js +1 -1
  113. package/{lib → dist}/widgets/TimeZoneSelectorModal.js +1 -1
  114. package/package.json +41 -7
  115. package/tailwind.preset.js +146 -0
  116. package/lib/Navigation/Navigation.Header.d.ts +0 -10
  117. package/lib/providers/index.d.ts +0 -0
  118. package/lib/theme/index.d.ts +0 -4
  119. package/lib/theme/index.js +0 -3
  120. package/lib/views/AuthFormView.d.ts +0 -9
  121. /package/{lib → dist}/Dialog/BottomSheet/BottomSheet.Root.d.ts +0 -0
  122. /package/{lib → dist}/Dialog/BottomSheet/index.d.ts +0 -0
  123. /package/{lib → dist}/Dialog/BottomSheet/index.js +0 -0
  124. /package/{lib → dist}/Dialog/Confirmation.context.d.ts +0 -0
  125. /package/{lib → dist}/Dialog/Dialog.Confirmation.d.ts +0 -0
  126. /package/{lib → dist}/Dialog/Dialog.EditValue.d.ts +0 -0
  127. /package/{lib → dist}/Dialog/index.d.ts +0 -0
  128. /package/{lib → dist}/Dialog/index.js +0 -0
  129. /package/{lib → dist}/Display/Display.Avatar.d.ts +0 -0
  130. /package/{lib → dist}/Display/Display.Badge.d.ts +0 -0
  131. /package/{lib → dist}/Display/Display.CopyableText.d.ts +0 -0
  132. /package/{lib → dist}/Display/Display.CountRecords.d.ts +0 -0
  133. /package/{lib → dist}/Display/Display.Date.d.ts +0 -0
  134. /package/{lib → dist}/Display/Display.Divider.d.ts +0 -0
  135. /package/{lib → dist}/Display/Display.Icon.d.ts +0 -0
  136. /package/{lib → dist}/Display/Display.Logo.d.ts +0 -0
  137. /package/{lib → dist}/Display/Display.MenuButton.d.ts +0 -0
  138. /package/{lib → dist}/Display/Display.Monetary.d.ts +0 -0
  139. /package/{lib → dist}/Display/index.d.ts +0 -0
  140. /package/{lib → dist}/Display/index.js +0 -0
  141. /package/{lib → dist}/Feedback/ErrorBoundary.d.ts +0 -0
  142. /package/{lib → dist}/Feedback/Feedback.DomainSplashScreen.d.ts +0 -0
  143. /package/{lib → dist}/Feedback/Feedback.Empty.d.ts +0 -0
  144. /package/{lib → dist}/Feedback/Feedback.Error.d.ts +0 -0
  145. /package/{lib → dist}/Feedback/Feedback.Loading.d.ts +0 -0
  146. /package/{lib → dist}/Feedback/Feedback.Spinner.d.ts +0 -0
  147. /package/{lib → dist}/Feedback/Feedback.Splash.d.ts +0 -0
  148. /package/{lib → dist}/Feedback/index.d.ts +0 -0
  149. /package/{lib → dist}/Feedback/index.js +0 -0
  150. /package/{lib → dist}/Form/Form.Button.d.ts +0 -0
  151. /package/{lib → dist}/Form/Form.Checkbox.d.ts +0 -0
  152. /package/{lib → dist}/Form/Form.ControlledCheckbox.d.ts +0 -0
  153. /package/{lib → dist}/Form/Form.ControlledDropdown.d.ts +0 -0
  154. /package/{lib → dist}/Form/Form.ControlledDropdown.js +0 -0
  155. /package/{lib → dist}/Form/Form.ControlledInput.d.ts +0 -0
  156. /package/{lib → dist}/Form/Form.ControlledMonetaryInput.d.ts +0 -0
  157. /package/{lib → dist}/Form/Form.ControlledRadioButton.d.ts +0 -0
  158. /package/{lib → dist}/Form/Form.Dropdown.d.ts +0 -0
  159. /package/{lib → dist}/Form/Form.FilterButton.d.ts +0 -0
  160. /package/{lib → dist}/Form/Form.FractionalQuantityInput.d.ts +0 -0
  161. /package/{lib → dist}/Form/Form.IconButton.d.ts +0 -0
  162. /package/{lib → dist}/Form/Form.Input.d.ts +0 -0
  163. /package/{lib → dist}/Form/Form.InputField.d.ts +0 -0
  164. /package/{lib → dist}/Form/Form.MonetaryInput.d.ts +0 -0
  165. /package/{lib → dist}/Form/Form.PasswordInput.d.ts +0 -0
  166. /package/{lib → dist}/Form/Form.QuantitySelector.d.ts +0 -0
  167. /package/{lib → dist}/Form/Form.RadioButton.d.ts +0 -0
  168. /package/{lib → dist}/Form/Form.SearchBar.d.ts +0 -0
  169. /package/{lib → dist}/Form/Form.TextInput.d.ts +0 -0
  170. /package/{lib → dist}/Form/index.d.ts +0 -0
  171. /package/{lib → dist}/Form/index.js +0 -0
  172. /package/{lib → dist}/Navigation/Navigation.HeaderToolbar.d.ts +0 -0
  173. /package/{lib → dist}/Navigation/Navigation.RowItem.d.ts +0 -0
  174. /package/{lib → dist}/Navigation/Navigation.TabIcon.d.ts +0 -0
  175. /package/{lib → dist}/Navigation/Navigation.TabItem.d.ts +0 -0
  176. /package/{lib → dist}/Navigation/index.js +0 -0
  177. /package/{lib → dist}/Typography/Typography.Heading.d.ts +0 -0
  178. /package/{lib → dist}/Typography/Typography.Text.d.ts +0 -0
  179. /package/{lib → dist}/Typography/index.d.ts +0 -0
  180. /package/{lib → dist}/Typography/index.js +0 -0
  181. /package/{lib → dist}/icons/AddItemIcon.d.ts +0 -0
  182. /package/{lib → dist}/icons/ArrangeCircle.d.ts +0 -0
  183. /package/{lib → dist}/icons/ArrowDownIcon.d.ts +0 -0
  184. /package/{lib → dist}/icons/ArrowUpIcon.d.ts +0 -0
  185. /package/{lib → dist}/icons/BoxIcon.d.ts +0 -0
  186. /package/{lib → dist}/icons/BoxTimeIcon.d.ts +0 -0
  187. /package/{lib → dist}/icons/CalendarIcon.d.ts +0 -0
  188. /package/{lib → dist}/icons/CardIcon.d.ts +0 -0
  189. /package/{lib → dist}/icons/CashierIcon.d.ts +0 -0
  190. /package/{lib → dist}/icons/CreditIcon.d.ts +0 -0
  191. /package/{lib → dist}/icons/DuoIcon.d.ts +0 -0
  192. /package/{lib → dist}/icons/HomeIcon.d.ts +0 -0
  193. /package/{lib → dist}/icons/HomeIconOutlined.d.ts +0 -0
  194. /package/{lib → dist}/icons/LogoIcon.d.ts +0 -0
  195. /package/{lib → dist}/icons/MoneyReceiveIcon.d.ts +0 -0
  196. /package/{lib → dist}/icons/OdooIcon.d.ts +0 -0
  197. /package/{lib → dist}/icons/PinIcon.d.ts +0 -0
  198. /package/{lib → dist}/icons/PrinterIcon.d.ts +0 -0
  199. /package/{lib → dist}/icons/ProfileIcon.d.ts +0 -0
  200. /package/{lib → dist}/icons/SettingsIcon.d.ts +0 -0
  201. /package/{lib → dist}/icons/SinpeIcon.d.ts +0 -0
  202. /package/{lib → dist}/icons/ToggleOffIcon.d.ts +0 -0
  203. /package/{lib → dist}/icons/WalletMoneyIcon.d.ts +0 -0
  204. /package/{lib → dist}/icons/icon_getters.d.ts +0 -0
  205. /package/{lib → dist}/icons/icon_getters.js +0 -0
  206. /package/{lib → dist}/icons/props.d.ts +0 -0
  207. /package/{lib → dist}/icons/props.js +0 -0
  208. /package/{lib → dist}/index.d.ts +0 -0
  209. /package/{lib → dist}/index.js +0 -0
  210. /package/{lib → dist}/layouts/AuthContainer.d.ts +0 -0
  211. /package/{lib → dist}/layouts/Container.d.ts +0 -0
  212. /package/{lib → dist}/layouts/GradientContainer.d.ts +0 -0
  213. /package/{lib → dist}/layouts/PlainLayout.d.ts +0 -0
  214. /package/{lib → dist}/layouts/ScrollContainer.d.ts +0 -0
  215. /package/{lib → dist}/notifications/index.d.ts +0 -0
  216. /package/{lib → dist}/notifications/index.js +0 -0
  217. /package/{lib → dist}/primitives/BaseButton.d.ts +0 -0
  218. /package/{lib → dist}/primitives/Box.d.ts +0 -0
  219. /package/{lib → dist}/primitives/Row.d.ts +0 -0
  220. /package/{lib → dist}/primitives/Stack.d.ts +0 -0
  221. /package/{lib → dist}/primitives/index.d.ts +0 -0
  222. /package/{lib → dist}/primitives/index.js +0 -0
  223. /package/{lib/utils/icon.js → dist/providers/index.d.ts} +0 -0
  224. /package/{lib → dist}/theme/active.d.ts +0 -0
  225. /package/{lib → dist}/theme/active.js +0 -0
  226. /package/{lib → dist}/theme/components/ThemedActivityIndicator.d.ts +0 -0
  227. /package/{lib → dist}/theme/components/index.d.ts +0 -0
  228. /package/{lib → dist}/theme/components/index.js +0 -0
  229. /package/{lib → dist}/theme/default.d.ts +0 -0
  230. /package/{lib → dist}/theme/default.js +0 -0
  231. /package/{lib → dist}/theme/theme.d.ts +0 -0
  232. /package/{lib → dist}/theme/theme.js +0 -0
  233. /package/{lib → dist}/theme/tw.d.ts +0 -0
  234. /package/{lib → dist}/theme/tw.js +0 -0
  235. /package/{lib → dist}/theme/types.d.ts +0 -0
  236. /package/{lib → dist}/theme/types.js +0 -0
  237. /package/{lib → dist}/theme/typography.d.ts +0 -0
  238. /package/{lib → dist}/theme/typography.js +0 -0
  239. /package/{lib → dist}/theme/useTheme.d.ts +0 -0
  240. /package/{lib → dist}/theme/useTheme.js +0 -0
  241. /package/{lib → dist}/utils/date.d.ts +0 -0
  242. /package/{lib → dist}/utils/date.js +0 -0
  243. /package/{lib → dist}/utils/icon.d.ts +0 -0
  244. /package/{lib/utils/timezone.js → dist/utils/icon.js} +0 -0
  245. /package/{lib → dist}/utils/monetary.d.ts +0 -0
  246. /package/{lib → dist}/utils/monetary.js +0 -0
  247. /package/{lib → dist}/utils/quantity.d.ts +0 -0
  248. /package/{lib → dist}/utils/quantity.js +0 -0
  249. /package/{lib → dist}/utils/serializer.d.ts +0 -0
  250. /package/{lib → dist}/utils/serializer.js +0 -0
  251. /package/{lib → dist}/utils/timezone.d.ts +0 -0
  252. /package/{lib/views/types/IFormView.js → dist/utils/timezone.js} +0 -0
  253. /package/{lib → dist}/views/FormViewV2.context.d.ts +0 -0
  254. /package/{lib → dist}/views/ListViewV2.context.d.ts +0 -0
  255. /package/{lib → dist}/views/ListViewV2.d.ts +0 -0
  256. /package/{lib → dist}/views/Wizard/Wizard.context.d.ts +0 -0
  257. /package/{lib → dist}/views/Wizard/Wizard.d.ts +0 -0
  258. /package/{lib → dist}/views/Wizard/index.d.ts +0 -0
  259. /package/{lib → dist}/views/Wizard/index.js +0 -0
  260. /package/{lib → dist}/views/types/IFormView.d.ts +0 -0
  261. /package/{lib/views/types/UIItem.js → dist/views/types/IFormView.js} +0 -0
  262. /package/{lib → dist}/views/types/IListView.d.ts +0 -0
  263. /package/{lib → dist}/views/types/IListView.js +0 -0
  264. /package/{lib → dist}/views/types/UIItem.d.ts +0 -0
  265. /package/{lib → dist}/widgets/CircleButton.d.ts +0 -0
  266. /package/{lib → dist}/widgets/GeoPermissionCard.d.ts +0 -0
  267. /package/{lib → dist}/widgets/JSONViewer.d.ts +0 -0
  268. /package/{lib → dist}/widgets/MenuCard.d.ts +0 -0
  269. /package/{lib → dist}/widgets/MenuGrid.d.ts +0 -0
  270. /package/{lib → dist}/widgets/TimeZoneSelector.d.ts +0 -0
  271. /package/{lib → dist}/widgets/TimeZoneSelectorModal.d.ts +0 -0
  272. /package/{lib → dist}/widgets/index.d.ts +0 -0
  273. /package/{lib → dist}/widgets/index.js +0 -0
@@ -1,11 +1,11 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { Display } from "../Display";
3
3
  import AuthContainer from "../layouts/AuthContainer";
4
4
  import { Typography } from "../Typography";
5
5
  import { View } from "react-native";
6
6
  const Logo = Display.Logo;
7
7
  const Text = Typography.Text;
8
- function AuthFormView({ title, description, onBack, FormNode }) {
8
+ function AuthFormView({ title, description, logoSource, onBack, FormNode }) {
9
9
  const renderTitle = () => {
10
10
  if (!title)
11
11
  return null;
@@ -16,6 +16,6 @@ function AuthFormView({ title, description, onBack, FormNode }) {
16
16
  return null;
17
17
  return _jsx(Text, { variant: "body", children: description });
18
18
  };
19
- return (_jsx(AuthContainer, { header: _jsx(Logo, { size: "large" }), onBackPress: onBack, children: _jsxs(View, { className: "m-4", children: [_jsxs(View, { className: "mb-5", children: [renderTitle(), renderDescription()] }), FormNode] }) }));
19
+ return (_jsx(AuthContainer, { header: _jsx(Logo, { size: "large", source: logoSource }), onBackPress: onBack, children: _jsxs(View, { className: "m-4", children: [_jsxs(View, { className: "mb-5", children: [renderTitle(), renderDescription()] }), FormNode] }) }));
20
20
  }
21
21
  export default AuthFormView;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { createContext, useContext, useState } from "react";
3
3
  const Context = createContext(null);
4
4
  export function FormViewProvider({ name, description, item, isLoading = false, isEmpty = false, hasError = false, errorMessage, readonly = false, onRefresh, onRetry, onBack, children, }) {
@@ -1,5 +1,6 @@
1
1
  import { EVariantScreenHeader } from "../widgets/ScreenHeader";
2
2
  import { ReactNode } from "react";
3
+ import { type ImageSourcePropType } from "react-native";
3
4
  interface FormViewProps<T> {
4
5
  name: string;
5
6
  description?: string;
@@ -16,8 +17,9 @@ interface FormViewProps<T> {
16
17
  children: ReactNode;
17
18
  }
18
19
  declare function FormViewRoot<T>({ name, description, item, isLoading, isEmpty, hasError, errorMessage, readonly, onRefresh, onRetry, onBack, withContainer, children, }: FormViewProps<T>): import("react/jsx-runtime").JSX.Element;
19
- declare function Header({ variant, children, }: {
20
+ declare function Header({ variant, logoSource, children, }: {
20
21
  variant?: EVariantScreenHeader;
22
+ logoSource?: ImageSourcePropType;
21
23
  children?: ReactNode;
22
24
  }): import("react/jsx-runtime").JSX.Element;
23
25
  declare function HeaderActions({ children }: {
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment } from "nativewind/jsx-runtime";
2
2
  import { ErrorBoundary, Feedback } from "../Feedback";
3
3
  import Container from "../layouts/Container";
4
4
  import { theme } from "../theme";
@@ -12,9 +12,9 @@ function FormViewRoot({ name, description, item, isLoading = false, isEmpty = fa
12
12
  const wrapperProps = withContainer ? {} : { style: { flex: 1 } };
13
13
  return (_jsx(FormViewProvider, { description: description, errorMessage: errorMessage, hasError: hasError, isEmpty: isEmpty, isLoading: isLoading, item: item, name: name, onBack: onBack, onRefresh: onRefresh, onRetry: onRetry, readonly: readonly, children: _jsx(ErrorBoundary, { children: _jsx(Wrapper, { ...wrapperProps, children: children }) }) }));
14
14
  }
15
- function Header({ variant = "FLAT_HEADER" /* EVariantScreenHeader.FLAT_HEADER */, children, }) {
15
+ function Header({ variant = "FLAT_HEADER" /* EVariantScreenHeader.FLAT_HEADER */, logoSource, children, }) {
16
16
  const { name, description, onBack } = useFormView();
17
- return (_jsx(_Fragment, { children: _jsx(ScreenHeader, { onBack: onBack, subtitle: description ? description : `Seleccionar ${name}`, title: name, variant: variant, children: children }) }));
17
+ return (_jsx(_Fragment, { children: _jsx(ScreenHeader, { logoSource: logoSource, onBack: onBack, subtitle: description ? description : `Seleccionar ${name}`, title: name, variant: variant, children: children }) }));
18
18
  }
19
19
  function HeaderActions({ children }) {
20
20
  return (_jsx(View, { className: "flex-row px-4 my-4 items-center justify-between flex-1 gap-2", children: children }));
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { createContext, useContext, useState } from "react";
3
3
  const Context = createContext(null);
4
4
  export function ListViewProvider({ name, description, items, isLoading = false, hasError = false, errorMessage, readonly = false, onRefresh, onRetry, onPressItem, onDeleteItem, onSearch, onBack, children, }) {
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "nativewind/jsx-runtime";
2
2
  import { Display } from "../Display";
3
3
  import { ErrorBoundary, Feedback } from "../Feedback";
4
4
  import { Form } from "../Form";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { ErrorBoundary } from "../../Feedback";
3
3
  import { createContext, useCallback, useContext, useMemo, useState } from "react";
4
4
  import { ActivityIndicator, Text, View } from "react-native";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment } from "nativewind/jsx-runtime";
2
2
  import { useWizard, WizardProvider } from "../../views/Wizard/Wizard.context";
3
3
  import { useEffect } from "react";
4
4
  import { TouchableOpacity } from "react-native";
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { Display } from "../Display";
3
3
  import { theme } from "../theme";
4
4
  import { cn } from "../theme/tw";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { Display, Form } from "../index";
3
3
  import { theme } from "../theme";
4
4
  import { Typography } from "../Typography";
@@ -1,7 +1,9 @@
1
1
  import React, { ReactNode } from "react";
2
+ import { type ImageSourcePropType } from "react-native";
2
3
  interface HomeHeaderProps {
3
4
  readonly title?: string;
4
5
  readonly logo?: ReactNode;
6
+ readonly logoSource?: ImageSourcePropType;
5
7
  readonly backButton?: boolean;
6
8
  readonly onBack?: () => void;
7
9
  }
@@ -1,9 +1,9 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { Display, Typography } from "../index";
3
3
  import GradientContainer from "../layouts/GradientContainer";
4
4
  import { theme } from "../theme";
5
5
  import { TouchableOpacity, View } from "react-native";
6
- export const HomeHeader = ({ title = "Distribución", logo, backButton = false, onBack, }) => {
6
+ export const HomeHeader = ({ title = "Distribución", logo, logoSource, backButton = false, onBack, }) => {
7
7
  const handleBackPress = onBack ?? (() => { });
8
- return (_jsx(GradientContainer, { className: "pt-10 pb-4 px-4", children: _jsxs(View, { className: "relative items-center justify-center", children: [backButton && (_jsx(TouchableOpacity, { className: "absolute top-0 left-0 z-10 border border-text-inverse p-1.5 rounded", onPress: handleBackPress, children: _jsx(Display.Icon, { color: theme.text.inverse, name: "chevron-back", size: 25, type: "ionicons" }) })), _jsxs(View, { className: "items-center justify-center", children: [logo || _jsx(Display.Logo, { size: "medium" }), !!title && (_jsx(Typography.Text, { className: "text-text-inverse", variant: "h4", children: title }))] })] }) }));
8
+ return (_jsx(GradientContainer, { className: "pt-10 pb-4 px-4", children: _jsxs(View, { className: "relative items-center justify-center", children: [backButton && (_jsx(TouchableOpacity, { className: "absolute top-0 left-0 z-10 border border-text-inverse p-1.5 rounded", onPress: handleBackPress, children: _jsx(Display.Icon, { color: theme.text.inverse, name: "chevron-back", size: 25, type: "ionicons" }) })), _jsxs(View, { className: "items-center justify-center", children: [logo || _jsx(Display.Logo, { size: "medium", source: logoSource }), !!title && (_jsx(Typography.Text, { className: "text-text-inverse", variant: "h4", children: title }))] })] }) }));
9
9
  };
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { ThemedActivityIndicator } from "../theme";
3
3
  import { useMemo, useState } from "react";
4
4
  import { Platform, Text, View } from "react-native";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { theme } from "../theme/useTheme";
3
3
  import { Typography } from "../Typography";
4
4
  import { CircleButton } from "../widgets/CircleButton";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx } from "nativewind/jsx-runtime";
2
2
  import { MenuCard } from "../widgets/MenuCard";
3
3
  import { View } from "react-native";
4
4
  export const MenuGrid = ({ items }) => {
@@ -1,3 +1,4 @@
1
+ import { type ImageSourcePropType } from "react-native";
1
2
  export declare const enum EVariantScreenHeader {
2
3
  FLAT_HEADER = "FLAT_HEADER",
3
4
  ROUNDED_HEADER = "ROUNDED_HEADER",
@@ -10,10 +11,11 @@ interface ScreenHeaderProps {
10
11
  centerTitle?: boolean;
11
12
  subtitle?: string;
12
13
  logo?: boolean;
14
+ logoSource?: ImageSourcePropType;
13
15
  rightComponent?: React.ReactNode;
14
16
  children?: React.ReactNode;
15
17
  withGradientContainer?: boolean;
16
18
  onBack?: () => void;
17
19
  }
18
- declare function ScreenHeader({ variant, title, subtitle, onBack, children, }: ScreenHeaderProps): import("react/jsx-runtime").JSX.Element | null;
20
+ declare function ScreenHeader({ variant, title, subtitle, logoSource, onBack, children, }: ScreenHeaderProps): import("react/jsx-runtime").JSX.Element | null;
19
21
  export default ScreenHeader;
@@ -1,19 +1,19 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import GradientContainer from "../layouts/GradientContainer";
3
3
  import { Navigation } from "../Navigation";
4
4
  import { View } from "react-native";
5
5
  const Header = Navigation.Header;
6
6
  const HeaderToolbar = Navigation.HeaderToolbar;
7
- function ScreenHeader({ variant, title = "Distribución", subtitle, onBack, children, }) {
7
+ function ScreenHeader({ variant, title = "Distribución", subtitle, logoSource, onBack, children, }) {
8
8
  switch (variant) {
9
9
  case "FLAT_HEADER" /* EVariantScreenHeader.FLAT_HEADER */:
10
10
  return (_jsxs(_Fragment, { children: [_jsx(HeaderToolbar, { flat: true, onBack: onBack, subtitle: subtitle, title: title, withBackground: true }), _jsx(View, { children: children })] }));
11
11
  case "ROUNDED_HEADER" /* EVariantScreenHeader.ROUNDED_HEADER */:
12
12
  return (_jsx(GradientContainer, { className: "pt-0.5 shadow-lg shadow-black/70 rounded-b-[18px] pb-6", children: _jsx(HeaderToolbar, { flat: true, onBack: onBack, subtitle: subtitle, title: title, withBackground: false, children: children }) }));
13
13
  case "LOGO_WITH_BACK_BUTTON" /* EVariantScreenHeader.LOGO_WITH_BACK_BUTTON */:
14
- return _jsx(Header, { backButton: true, handleBackButton: onBack, title: "Distribución" });
14
+ return (_jsx(Header, { backButton: true, handleBackButton: onBack, logoSource: logoSource, title: "" }));
15
15
  case "ONLY_LOGO" /* EVariantScreenHeader.ONLY_LOGO */:
16
- return _jsx(Header, { title: title });
16
+ return _jsx(Header, { logoSource: logoSource, title: title });
17
17
  default:
18
18
  return null;
19
19
  }
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "nativewind/jsx-runtime";
2
2
  import { Display, Form } from "../index";
3
3
  import { theme } from "../theme/useTheme";
4
4
  import { Typography } from "../Typography";
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "nativewind/jsx-runtime";
2
2
  import { BottomSheet } from "../Dialog/BottomSheet";
3
3
  import { Display, Form } from "../index";
4
4
  import { theme } from "../theme";
package/package.json CHANGED
@@ -1,19 +1,35 @@
1
1
  {
2
2
  "name": "@sincpro/mobile-ui",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "description": "Sincpro Mobile design system: generic, presentational React Native components (no domain logic)",
5
- "main": "./lib/index.js",
6
- "module": "./lib/index.js",
7
- "types": "./lib/index.d.ts",
8
- "react-native": "./lib/index.js",
9
- "source": "./sincpro_mobile_ui/index.ts",
5
+ "main": "expo/AppEntry.js",
6
+ "types": "./dist/index.d.ts",
10
7
  "publishConfig": {
11
8
  "access": "public"
12
9
  },
13
10
  "files": [
14
- "lib",
11
+ "dist",
12
+ "tailwind.preset.js",
15
13
  "README.md"
16
14
  ],
15
+ "exports": {
16
+ ".": "./dist/index.js",
17
+ "./theme": "./dist/theme/index.js",
18
+ "./Dialog": "./dist/Dialog/index.js",
19
+ "./Dialog/BottomSheet": "./dist/Dialog/BottomSheet/index.js",
20
+ "./Display": "./dist/Display/index.js",
21
+ "./Feedback": "./dist/Feedback/index.js",
22
+ "./Form": "./dist/Form/index.js",
23
+ "./Navigation": "./dist/Navigation/index.js",
24
+ "./Typography": "./dist/Typography/index.js",
25
+ "./primitives": "./dist/primitives/index.js",
26
+ "./widgets": "./dist/widgets/index.js",
27
+ "./views/Wizard": "./dist/views/Wizard/index.js",
28
+ "./tailwind.preset": "./tailwind.preset.js",
29
+ "./theme/globals.css": "./dist/theme/globals.css",
30
+ "./*": "./dist/*.js",
31
+ "./package.json": "./package.json"
32
+ },
17
33
  "prettier": {
18
34
  "printWidth": 94
19
35
  },
@@ -35,6 +51,7 @@
35
51
  "expo-clipboard": "*",
36
52
  "expo-linear-gradient": "*",
37
53
  "expo-localization": "*",
54
+ "nativewind": ">=4",
38
55
  "react": "*",
39
56
  "react-hook-form": ">=7",
40
57
  "react-native": "*",
@@ -55,30 +72,47 @@
55
72
  "devDependencies": {
56
73
  "@expo-google-fonts/montserrat": "^0.4.2",
57
74
  "@expo/vector-icons": "^15.0.3",
75
+ "@gorhom/bottom-sheet": "^5",
76
+ "@react-native-async-storage/async-storage": "^2",
77
+ "@react-native-community/datetimepicker": "8.4.4",
78
+ "@storybook/addon-ondevice-actions": "^10.4.5",
79
+ "@storybook/addon-ondevice-controls": "^10.4.5",
80
+ "@storybook/react-native": "^10.4.5",
58
81
  "@types/big.js": "^6.2.2",
59
82
  "@types/react": "~19.1.10",
83
+ "babel-plugin-module-resolver": "^5.0.3",
60
84
  "eslint": "^9.35.0",
61
85
  "eslint-config-expo": "~10.0.0",
62
86
  "eslint-config-prettier": "^10.1.8",
63
87
  "eslint-plugin-prettier": "^5.5.4",
64
88
  "eslint-plugin-react": "^7.37.2",
65
89
  "eslint-plugin-simple-import-sort": "^12.1.1",
90
+ "expo": "~54.0.35",
66
91
  "expo-checkbox": "~5.0.8",
67
92
  "expo-clipboard": "~8.0.8",
68
93
  "expo-linear-gradient": "~15.0.8",
69
94
  "expo-localization": "~17.0.9",
95
+ "expo-status-bar": "~3.0.9",
70
96
  "nativewind": "^4.0.1",
71
97
  "prettier": "^3.6.2",
72
98
  "react": "19.1.0",
73
99
  "react-hook-form": "^7.62.0",
74
100
  "react-native": "0.81.5",
75
101
  "react-native-currency-input": "^1.1.1",
102
+ "react-native-gesture-handler": "~2.28.0",
76
103
  "react-native-keyboard-controller": "1.18.5",
77
104
  "react-native-reanimated": "~4.1.1",
78
105
  "react-native-safe-area-context": "~5.6.0",
79
106
  "react-native-svg": "15.12.1",
80
107
  "react-native-worklets": "0.5.1",
108
+ "storybook": "^10.4.5",
109
+ "tailwindcss": "^3.4.17",
81
110
  "tsc-alias": "^1.8.17",
82
111
  "typescript": "~5.9.2"
112
+ },
113
+ "scripts": {
114
+ "start": "expo start",
115
+ "android": "expo run:android",
116
+ "ios": "expo run:ios"
83
117
  }
84
118
  }
@@ -0,0 +1,146 @@
1
+ /**
2
+ * Tailwind preset de @sincpro/mobile-ui.
3
+ * Trae todos los tokens por defecto (colores como CSS variables, tipografía,
4
+ * spacing, radios, sombras) listos para usar.
5
+ *
6
+ * Uso en la app consumidora (tailwind.config.js):
7
+ * module.exports = {
8
+ * presets: [require("@sincpro/mobile-ui/tailwind.preset")],
9
+ * content: [
10
+ * "./App.{js,jsx,ts,tsx}",
11
+ * "./src/**\/*.{js,jsx,ts,tsx}",
12
+ * "./node_modules/@sincpro/mobile/**\/*.js",
13
+ * "./node_modules/@sincpro/mobile-ui/**\/*.js",
14
+ * ],
15
+ * theme: { extend: { colors: { brand: "#FF6600" } } }, // tus tokens custom
16
+ * };
17
+ *
18
+ * Para cambiar los valores del tema: sobreescribe las CSS variables en tu
19
+ * global.css (:root { --primary: 255 102 0; ... }) o en runtime con vars().
20
+ */
21
+ module.exports = {
22
+ presets: [require("nativewind/preset")],
23
+ theme: {
24
+ extend: {
25
+ colors: {
26
+ primary: "rgb(var(--primary) / <alpha-value>)",
27
+ secondary: "rgb(var(--secondary) / <alpha-value>)",
28
+ accent: "rgb(var(--accent) / <alpha-value>)",
29
+ bg: {
30
+ page: "rgb(var(--bg-page) / <alpha-value>)",
31
+ card: "rgb(var(--bg-card) / <alpha-value>)",
32
+ popover: "rgb(var(--bg-popover) / <alpha-value>)",
33
+ muted: "rgb(var(--bg-muted) / <alpha-value>)",
34
+ accent: "rgb(var(--bg-accent) / <alpha-value>)",
35
+ hover: "rgb(var(--bg-hover) / <alpha-value>)",
36
+ disabled: "rgb(var(--bg-disabled) / <alpha-value>)",
37
+ },
38
+ text: {
39
+ primary: "rgb(var(--text-primary) / <alpha-value>)",
40
+ secondary: "rgb(var(--text-secondary) / <alpha-value>)",
41
+ tertiary: "rgb(var(--text-tertiary) / <alpha-value>)",
42
+ muted: "rgb(var(--text-muted) / <alpha-value>)",
43
+ accent: "rgb(var(--text-accent) / <alpha-value>)",
44
+ inverse: "rgb(var(--text-inverse) / <alpha-value>)",
45
+ disabled: "rgb(var(--text-disabled) / <alpha-value>)",
46
+ "on-primary": "rgb(var(--text-on-primary) / <alpha-value>)",
47
+ "on-secondary": "rgb(var(--text-on-secondary) / <alpha-value>)",
48
+ "on-accent": "rgb(var(--text-on-accent) / <alpha-value>)",
49
+ "on-danger": "rgb(var(--text-on-danger) / <alpha-value>)",
50
+ "on-success": "rgb(var(--text-on-success) / <alpha-value>)",
51
+ },
52
+ icon: {
53
+ primary: "rgb(var(--icon-primary) / <alpha-value>)",
54
+ secondary: "rgb(var(--icon-secondary) / <alpha-value>)",
55
+ tertiary: "rgb(var(--icon-tertiary) / <alpha-value>)",
56
+ inverse: "rgb(var(--icon-inverse) / <alpha-value>)",
57
+ disabled: "rgb(var(--icon-disabled) / <alpha-value>)",
58
+ },
59
+ border: {
60
+ default: "rgb(var(--border-default) / <alpha-value>)",
61
+ light: "rgb(var(--border-light) / <alpha-value>)",
62
+ strong: "rgb(var(--border-strong) / <alpha-value>)",
63
+ focus: "rgb(var(--border-focus) / <alpha-value>)",
64
+ },
65
+ success: "rgb(var(--success) / <alpha-value>)",
66
+ warning: "rgb(var(--warning) / <alpha-value>)",
67
+ danger: "rgb(var(--danger) / <alpha-value>)",
68
+ info: "rgb(var(--info) / <alpha-value>)",
69
+ "success-light": "rgb(var(--success-light) / <alpha-value>)",
70
+ "warning-light": "rgb(var(--warning-light) / <alpha-value>)",
71
+ "danger-light": "rgb(var(--danger-light) / <alpha-value>)",
72
+ "info-light": "rgb(var(--info-light) / <alpha-value>)",
73
+ ring: "rgb(var(--ring) / <alpha-value>)",
74
+ input: "rgb(var(--input) / <alpha-value>)",
75
+ },
76
+ fontFamily: {
77
+ light: ["Montserrat_300Light"],
78
+ regular: ["Montserrat_400Regular"],
79
+ medium: ["Montserrat_500Medium"],
80
+ semibold: ["Montserrat_600SemiBold"],
81
+ extrabold: ["Montserrat_800ExtraBold"],
82
+ },
83
+ fontSize: {
84
+ xs: ["10px", { lineHeight: "16px" }],
85
+ sm: ["13px", { lineHeight: "18px" }],
86
+ base: ["14px", { lineHeight: "20px" }],
87
+ lg: ["16px", { lineHeight: "24px" }],
88
+ xl: ["18px", { lineHeight: "28px" }],
89
+ "2xl": ["20px", { lineHeight: "28px" }],
90
+ "3xl": ["24px", { lineHeight: "32px" }],
91
+ "4xl": ["28px", { lineHeight: "36px" }],
92
+ "5xl": ["32px", { lineHeight: "40px" }],
93
+ "6xl": ["36px", { lineHeight: "44px" }],
94
+ "7xl": ["48px", { lineHeight: "56px" }],
95
+ "8xl": ["64px", { lineHeight: "72px" }],
96
+ },
97
+ spacing: {
98
+ 0: "0px",
99
+ 0.5: "2px",
100
+ 1: "4px",
101
+ 1.5: "6px",
102
+ 2: "8px",
103
+ 2.5: "10px",
104
+ 3: "12px",
105
+ 3.5: "14px",
106
+ 4: "16px",
107
+ 5: "20px",
108
+ 6: "24px",
109
+ 7: "28px",
110
+ 8: "32px",
111
+ 9: "36px",
112
+ 10: "40px",
113
+ 11: "44px",
114
+ 12: "48px",
115
+ 14: "56px",
116
+ 15: "60px",
117
+ 16: "64px",
118
+ 20: "80px",
119
+ 24: "96px",
120
+ 28: "112px",
121
+ 32: "128px",
122
+ },
123
+ borderRadius: {
124
+ none: "0px",
125
+ sm: "4px",
126
+ DEFAULT: "6px",
127
+ md: "8px",
128
+ lg: "12px",
129
+ xl: "16px",
130
+ "2xl": "24px",
131
+ "3xl": "32px",
132
+ full: "9999px",
133
+ },
134
+ boxShadow: {
135
+ sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
136
+ DEFAULT: "0 2px 4px 0 rgba(0, 0, 0, 0.1)",
137
+ md: "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
138
+ lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1)",
139
+ xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1)",
140
+ "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
141
+ none: "none",
142
+ },
143
+ },
144
+ },
145
+ plugins: [],
146
+ };
@@ -1,10 +0,0 @@
1
- import { ReactNode } from "react";
2
- export interface HeaderProps {
3
- title?: string;
4
- logo?: ReactNode;
5
- backButton?: boolean;
6
- handleBackButton?: () => void;
7
- className?: string;
8
- }
9
- declare const Header: ({ title, logo, backButton, handleBackButton, className }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
10
- export default Header;
File without changes
@@ -1,4 +0,0 @@
1
- export { getActiveTheme, setActiveTheme } from "../theme/active";
2
- export { ThemedActivityIndicator } from "../theme/components";
3
- export { theme } from "../theme/theme";
4
- export type { ThemeTokens } from "../theme/types";
@@ -1,3 +0,0 @@
1
- export { getActiveTheme, setActiveTheme } from "../theme/active";
2
- export { ThemedActivityIndicator } from "../theme/components";
3
- export { theme } from "../theme/theme";
@@ -1,9 +0,0 @@
1
- import { ReactNode } from "react";
2
- interface AuthFormProps {
3
- title?: string;
4
- description?: string;
5
- onBack?: () => void;
6
- FormNode: ReactNode;
7
- }
8
- declare function AuthFormView({ title, description, onBack, FormNode }: AuthFormProps): import("react/jsx-runtime").JSX.Element;
9
- export default AuthFormView;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes