@sincpro/mobile-ui 0.1.2 → 0.1.4

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 (923) hide show
  1. package/lib/Dialog/BottomSheet/BottomSheet.Root.d.ts +320 -0
  2. package/lib/Dialog/BottomSheet/BottomSheet.Root.js +380 -0
  3. package/lib/Dialog/BottomSheet/index.d.ts +1 -0
  4. package/lib/Dialog/BottomSheet/index.js +1 -0
  5. package/lib/Dialog/Confirmation.context.d.ts +21 -0
  6. package/lib/Dialog/Confirmation.context.js +67 -0
  7. package/lib/Dialog/Dialog.Confirmation.d.ts +12 -0
  8. package/lib/Dialog/Dialog.Confirmation.js +9 -0
  9. package/lib/Dialog/Dialog.EditValue.d.ts +25 -0
  10. package/lib/Dialog/Dialog.EditValue.js +16 -0
  11. package/lib/Dialog/index.d.ts +19 -0
  12. package/lib/Dialog/index.js +11 -0
  13. package/lib/Display/Display.Avatar.d.ts +52 -0
  14. package/lib/Display/Display.Avatar.js +40 -0
  15. package/lib/Display/Display.Badge.d.ts +108 -0
  16. package/lib/Display/Display.Badge.js +54 -0
  17. package/lib/Display/Display.CopyableText.d.ts +13 -0
  18. package/lib/Display/Display.CopyableText.js +14 -0
  19. package/lib/Display/Display.CountRecords.d.ts +8 -0
  20. package/lib/Display/Display.CountRecords.js +8 -0
  21. package/lib/Display/Display.Date.d.ts +18 -0
  22. package/lib/Display/Display.Date.js +13 -0
  23. package/lib/Display/Display.Divider.d.ts +44 -0
  24. package/lib/Display/Display.Divider.js +27 -0
  25. package/lib/Display/Display.Icon.d.ts +15 -0
  26. package/lib/Display/Display.Icon.js +35 -0
  27. package/lib/Display/Display.Logo.d.ts +55 -0
  28. package/lib/Display/Display.Logo.js +36 -0
  29. package/lib/Display/Display.MenuButton.d.ts +103 -0
  30. package/lib/Display/Display.MenuButton.js +50 -0
  31. package/lib/Display/Display.Monetary.d.ts +19 -0
  32. package/lib/Display/Display.Monetary.js +9 -0
  33. package/lib/Display/index.d.ts +22 -0
  34. package/lib/Display/index.js +25 -0
  35. package/lib/Feedback/ErrorBoundary.d.ts +18 -0
  36. package/lib/Feedback/ErrorBoundary.js +28 -0
  37. package/lib/Feedback/Feedback.DomainSplashScreen.d.ts +10 -0
  38. package/lib/Feedback/Feedback.DomainSplashScreen.js +67 -0
  39. package/lib/Feedback/Feedback.Empty.d.ts +6 -0
  40. package/lib/Feedback/Feedback.Empty.js +9 -0
  41. package/lib/Feedback/Feedback.Error.d.ts +9 -0
  42. package/lib/Feedback/Feedback.Error.js +10 -0
  43. package/lib/Feedback/Feedback.Loading.d.ts +8 -0
  44. package/lib/Feedback/Feedback.Loading.js +8 -0
  45. package/lib/Feedback/Feedback.Spinner.d.ts +11 -0
  46. package/lib/Feedback/Feedback.Spinner.js +8 -0
  47. package/lib/Feedback/Feedback.Splash.d.ts +11 -0
  48. package/lib/Feedback/Feedback.Splash.js +37 -0
  49. package/lib/Feedback/index.d.ts +13 -0
  50. package/lib/Feedback/index.js +14 -0
  51. package/lib/Form/Form.Button.d.ts +145 -0
  52. package/lib/Form/Form.Button.js +272 -0
  53. package/lib/Form/Form.Checkbox.d.ts +13 -0
  54. package/lib/Form/Form.Checkbox.js +30 -0
  55. package/lib/Form/Form.ControlledCheckbox.d.ts +9 -0
  56. package/lib/Form/Form.ControlledCheckbox.js +7 -0
  57. package/lib/Form/Form.ControlledDropdown.d.ts +14 -0
  58. package/lib/Form/Form.ControlledDropdown.js +4 -0
  59. package/lib/Form/Form.ControlledInput.d.ts +15 -0
  60. package/lib/Form/Form.ControlledInput.js +7 -0
  61. package/lib/Form/Form.ControlledMonetaryInput.d.ts +12 -0
  62. package/lib/Form/Form.ControlledMonetaryInput.js +7 -0
  63. package/lib/Form/Form.ControlledRadioButton.d.ts +9 -0
  64. package/lib/Form/Form.ControlledRadioButton.js +7 -0
  65. package/lib/Form/Form.Dropdown.d.ts +14 -0
  66. package/lib/Form/Form.Dropdown.js +85 -0
  67. package/lib/Form/Form.FilterButton.d.ts +12 -0
  68. package/lib/Form/Form.FilterButton.js +34 -0
  69. package/lib/Form/Form.FractionalQuantityInput.d.ts +13 -0
  70. package/lib/Form/Form.FractionalQuantityInput.js +118 -0
  71. package/lib/Form/Form.IconButton.d.ts +67 -0
  72. package/lib/Form/Form.IconButton.js +64 -0
  73. package/lib/Form/Form.Input.d.ts +9 -0
  74. package/lib/Form/Form.Input.js +38 -0
  75. package/lib/Form/Form.InputField.d.ts +10 -0
  76. package/lib/Form/Form.InputField.js +38 -0
  77. package/lib/Form/Form.MonetaryInput.d.ts +8 -0
  78. package/lib/Form/Form.MonetaryInput.js +27 -0
  79. package/lib/Form/Form.PasswordInput.d.ts +9 -0
  80. package/lib/Form/Form.PasswordInput.js +15 -0
  81. package/lib/Form/Form.QuantitySelector.d.ts +10 -0
  82. package/lib/Form/Form.QuantitySelector.js +36 -0
  83. package/lib/Form/Form.RadioButton.d.ts +7 -0
  84. package/lib/Form/Form.RadioButton.js +31 -0
  85. package/lib/Form/Form.SearchBar.d.ts +8 -0
  86. package/lib/Form/Form.SearchBar.js +22 -0
  87. package/lib/Form/Form.TextInput.d.ts +8 -0
  88. package/lib/Form/Form.TextInput.js +8 -0
  89. package/lib/Form/index.d.ts +41 -0
  90. package/lib/Form/index.js +42 -0
  91. package/lib/Navigation/Navigation.Header.d.ts +12 -0
  92. package/lib/Navigation/Navigation.Header.js +12 -0
  93. package/lib/Navigation/Navigation.HeaderToolbar.d.ts +15 -0
  94. package/lib/Navigation/Navigation.HeaderToolbar.js +18 -0
  95. package/lib/Navigation/Navigation.RowItem.d.ts +5 -0
  96. package/lib/Navigation/Navigation.RowItem.js +11 -0
  97. package/lib/Navigation/Navigation.TabIcon.d.ts +14 -0
  98. package/lib/Navigation/Navigation.TabIcon.js +9 -0
  99. package/lib/Navigation/Navigation.TabItem.d.ts +14 -0
  100. package/lib/Navigation/Navigation.TabItem.js +8 -0
  101. package/lib/Navigation/index.d.ts +11 -0
  102. package/lib/Navigation/index.js +13 -0
  103. package/lib/Typography/Typography.Heading.d.ts +12 -0
  104. package/lib/Typography/Typography.Heading.js +6 -0
  105. package/lib/Typography/Typography.Text.d.ts +27 -0
  106. package/lib/Typography/Typography.Text.js +21 -0
  107. package/lib/Typography/index.d.ts +7 -0
  108. package/lib/Typography/index.js +8 -0
  109. package/lib/icons/AddItemIcon.d.ts +4 -0
  110. package/lib/icons/AddItemIcon.js +4 -0
  111. package/lib/icons/ArrangeCircle.d.ts +4 -0
  112. package/lib/icons/ArrangeCircle.js +4 -0
  113. package/lib/icons/ArrowDownIcon.d.ts +3 -0
  114. package/lib/icons/ArrowDownIcon.js +6 -0
  115. package/lib/icons/ArrowUpIcon.d.ts +3 -0
  116. package/lib/icons/ArrowUpIcon.js +6 -0
  117. package/lib/icons/BoxIcon.d.ts +4 -0
  118. package/lib/icons/BoxIcon.js +4 -0
  119. package/lib/icons/BoxTimeIcon.d.ts +4 -0
  120. package/lib/icons/BoxTimeIcon.js +4 -0
  121. package/lib/icons/CalendarIcon.d.ts +4 -0
  122. package/lib/icons/CalendarIcon.js +4 -0
  123. package/lib/icons/CardIcon.d.ts +4 -0
  124. package/lib/icons/CardIcon.js +4 -0
  125. package/lib/icons/CashierIcon.d.ts +4 -0
  126. package/lib/icons/CashierIcon.js +4 -0
  127. package/lib/icons/CreditIcon.d.ts +7 -0
  128. package/lib/icons/CreditIcon.js +6 -0
  129. package/lib/icons/DuoIcon.d.ts +4 -0
  130. package/lib/icons/DuoIcon.js +4 -0
  131. package/lib/icons/HomeIcon.d.ts +4 -0
  132. package/lib/icons/HomeIcon.js +4 -0
  133. package/lib/icons/HomeIconOutlined.d.ts +4 -0
  134. package/lib/icons/HomeIconOutlined.js +4 -0
  135. package/lib/icons/LogoIcon.d.ts +4 -0
  136. package/lib/icons/LogoIcon.js +4 -0
  137. package/lib/icons/MoneyReceiveIcon.d.ts +4 -0
  138. package/lib/icons/MoneyReceiveIcon.js +4 -0
  139. package/lib/icons/OdooIcon.d.ts +6 -0
  140. package/lib/icons/OdooIcon.js +6 -0
  141. package/lib/icons/PinIcon.d.ts +4 -0
  142. package/lib/icons/PinIcon.js +4 -0
  143. package/lib/icons/PrinterIcon.d.ts +4 -0
  144. package/lib/icons/PrinterIcon.js +4 -0
  145. package/lib/icons/ProfileIcon.d.ts +4 -0
  146. package/lib/icons/ProfileIcon.js +4 -0
  147. package/lib/icons/SettingsIcon.d.ts +4 -0
  148. package/lib/icons/SettingsIcon.js +4 -0
  149. package/lib/icons/SinpeIcon.d.ts +4 -0
  150. package/lib/icons/SinpeIcon.js +4 -0
  151. package/lib/icons/ToggleOffIcon.d.ts +4 -0
  152. package/lib/icons/ToggleOffIcon.js +4 -0
  153. package/lib/icons/WalletMoneyIcon.d.ts +4 -0
  154. package/lib/icons/WalletMoneyIcon.js +4 -0
  155. package/lib/icons/icon_getters.d.ts +6 -0
  156. package/lib/icons/icon_getters.js +23 -0
  157. package/lib/icons/props.d.ts +4 -0
  158. package/lib/icons/props.js +1 -0
  159. package/lib/index.d.ts +20 -0
  160. package/lib/index.js +26 -0
  161. package/lib/layouts/AuthContainer.d.ts +9 -0
  162. package/lib/layouts/AuthContainer.js +13 -0
  163. package/lib/layouts/Container.d.ts +14 -0
  164. package/lib/layouts/Container.js +9 -0
  165. package/lib/layouts/GradientContainer.d.ts +8 -0
  166. package/lib/layouts/GradientContainer.js +8 -0
  167. package/lib/layouts/PlainLayout.d.ts +6 -0
  168. package/lib/layouts/PlainLayout.js +8 -0
  169. package/lib/layouts/ScrollContainer.d.ts +8 -0
  170. package/lib/layouts/ScrollContainer.js +8 -0
  171. package/lib/layouts/TabNavigatorLayout.d.ts +26 -0
  172. package/lib/layouts/TabNavigatorLayout.js +56 -0
  173. package/lib/notifications/index.d.ts +1 -0
  174. package/lib/notifications/index.js +1 -0
  175. package/lib/primitives/BaseButton.d.ts +146 -0
  176. package/lib/primitives/BaseButton.js +233 -0
  177. package/lib/primitives/Box.d.ts +7 -0
  178. package/lib/primitives/Box.js +8 -0
  179. package/lib/primitives/Row.d.ts +11 -0
  180. package/lib/primitives/Row.js +22 -0
  181. package/lib/primitives/Stack.d.ts +9 -0
  182. package/lib/primitives/Stack.js +14 -0
  183. package/lib/primitives/index.d.ts +3 -0
  184. package/lib/primitives/index.js +3 -0
  185. package/lib/providers/index.d.ts +0 -0
  186. package/lib/providers/index.js +2 -0
  187. package/lib/tailwind.preset.js +146 -0
  188. package/lib/theme/active.d.ts +3 -0
  189. package/lib/theme/active.js +8 -0
  190. package/lib/theme/components/ThemedActivityIndicator.d.ts +21 -0
  191. package/lib/theme/components/ThemedActivityIndicator.js +5 -0
  192. package/lib/theme/components/index.d.ts +9 -0
  193. package/lib/theme/components/index.js +9 -0
  194. package/lib/theme/css-vars.d.ts +7 -0
  195. package/lib/theme/css-vars.js +64 -0
  196. package/lib/theme/default.d.ts +2 -0
  197. package/lib/theme/default.js +79 -0
  198. package/lib/theme/define.d.ts +18 -0
  199. package/lib/theme/define.js +34 -0
  200. package/lib/theme/index.d.ts +7 -0
  201. package/lib/theme/index.js +6 -0
  202. package/lib/theme/theme.d.ts +13 -0
  203. package/lib/theme/theme.js +14 -0
  204. package/lib/theme/tw.d.ts +10 -0
  205. package/lib/theme/tw.js +14 -0
  206. package/lib/theme/types.d.ts +92 -0
  207. package/lib/theme/types.js +9 -0
  208. package/lib/theme/typography.d.ts +376 -0
  209. package/lib/theme/typography.js +234 -0
  210. package/lib/theme/useTheme.d.ts +1 -0
  211. package/lib/theme/useTheme.js +2 -0
  212. package/lib/utils/date.d.ts +70 -0
  213. package/lib/utils/date.js +126 -0
  214. package/lib/utils/icon.d.ts +1 -0
  215. package/lib/utils/icon.js +1 -0
  216. package/lib/utils/monetary.d.ts +3 -0
  217. package/lib/utils/monetary.js +31 -0
  218. package/lib/utils/quantity.d.ts +11 -0
  219. package/lib/utils/quantity.js +44 -0
  220. package/lib/utils/serializer.d.ts +2 -0
  221. package/lib/utils/serializer.js +44 -0
  222. package/lib/utils/timezone.d.ts +4 -0
  223. package/lib/utils/timezone.js +1 -0
  224. package/lib/views/AuthFormView.d.ts +11 -0
  225. package/lib/views/AuthFormView.js +21 -0
  226. package/lib/views/FormViewV2.context.d.ts +32 -0
  227. package/lib/views/FormViewV2.context.js +28 -0
  228. package/lib/views/FormViewV2.d.ts +62 -0
  229. package/lib/views/FormViewV2.js +85 -0
  230. package/lib/views/ListViewV2.context.d.ts +36 -0
  231. package/lib/views/ListViewV2.context.js +30 -0
  232. package/lib/views/ListViewV2.d.ts +131 -0
  233. package/lib/views/ListViewV2.js +206 -0
  234. package/lib/views/Wizard/Wizard.context.d.ts +26 -0
  235. package/lib/views/Wizard/Wizard.context.js +92 -0
  236. package/lib/views/Wizard/Wizard.d.ts +33 -0
  237. package/lib/views/Wizard/Wizard.js +86 -0
  238. package/lib/views/Wizard/index.d.ts +4 -0
  239. package/lib/views/Wizard/index.js +2 -0
  240. package/lib/views/types/IFormView.d.ts +22 -0
  241. package/lib/views/types/IFormView.js +1 -0
  242. package/lib/views/types/IListView.d.ts +34 -0
  243. package/lib/views/types/IListView.js +35 -0
  244. package/lib/views/types/UIItem.d.ts +21 -0
  245. package/lib/views/types/UIItem.js +1 -0
  246. package/lib/widgets/CircleButton.d.ts +15 -0
  247. package/lib/widgets/CircleButton.js +37 -0
  248. package/lib/widgets/GeoPermissionCard.d.ts +8 -0
  249. package/lib/widgets/GeoPermissionCard.js +19 -0
  250. package/lib/widgets/HomeHeader.d.ts +11 -0
  251. package/lib/widgets/HomeHeader.js +9 -0
  252. package/lib/widgets/JSONViewer.d.ts +4 -0
  253. package/lib/widgets/JSONViewer.js +146 -0
  254. package/lib/widgets/MenuCard.d.ts +13 -0
  255. package/lib/widgets/MenuCard.js +8 -0
  256. package/lib/widgets/MenuGrid.d.ts +17 -0
  257. package/lib/widgets/MenuGrid.js +6 -0
  258. package/lib/widgets/ScreenHeader.d.ts +21 -0
  259. package/lib/widgets/ScreenHeader.js +21 -0
  260. package/lib/widgets/TimeZoneSelector.d.ts +7 -0
  261. package/lib/widgets/TimeZoneSelector.js +19 -0
  262. package/lib/widgets/TimeZoneSelectorModal.d.ts +9 -0
  263. package/lib/widgets/TimeZoneSelectorModal.js +57 -0
  264. package/lib/widgets/index.d.ts +7 -0
  265. package/lib/widgets/index.js +6 -0
  266. package/package.json +23 -211
  267. package/lib/module/Dialog/BottomSheet/BottomSheet.Root.js +0 -481
  268. package/lib/module/Dialog/BottomSheet/BottomSheet.Root.js.map +0 -1
  269. package/lib/module/Dialog/BottomSheet/index.js +0 -4
  270. package/lib/module/Dialog/BottomSheet/index.js.map +0 -1
  271. package/lib/module/Dialog/Confirmation.context.js +0 -108
  272. package/lib/module/Dialog/Confirmation.context.js.map +0 -1
  273. package/lib/module/Dialog/Dialog.Confirmation.js +0 -69
  274. package/lib/module/Dialog/Dialog.Confirmation.js.map +0 -1
  275. package/lib/module/Dialog/Dialog.EditValue.js +0 -115
  276. package/lib/module/Dialog/Dialog.EditValue.js.map +0 -1
  277. package/lib/module/Dialog/index.js +0 -14
  278. package/lib/module/Dialog/index.js.map +0 -1
  279. package/lib/module/Display/Display.Avatar.js +0 -58
  280. package/lib/module/Display/Display.Avatar.js.map +0 -1
  281. package/lib/module/Display/Display.Badge.js +0 -72
  282. package/lib/module/Display/Display.Badge.js.map +0 -1
  283. package/lib/module/Display/Display.CopyableText.js +0 -30
  284. package/lib/module/Display/Display.CopyableText.js.map +0 -1
  285. package/lib/module/Display/Display.CountRecords.js +0 -27
  286. package/lib/module/Display/Display.CountRecords.js.map +0 -1
  287. package/lib/module/Display/Display.Date.js +0 -35
  288. package/lib/module/Display/Display.Date.js.map +0 -1
  289. package/lib/module/Display/Display.Divider.js +0 -43
  290. package/lib/module/Display/Display.Divider.js.map +0 -1
  291. package/lib/module/Display/Display.Icon.js +0 -83
  292. package/lib/module/Display/Display.Icon.js.map +0 -1
  293. package/lib/module/Display/Display.Logo.js +0 -54
  294. package/lib/module/Display/Display.Logo.js.map +0 -1
  295. package/lib/module/Display/Display.MenuButton.js +0 -101
  296. package/lib/module/Display/Display.MenuButton.js.map +0 -1
  297. package/lib/module/Display/Display.Monetary.js +0 -36
  298. package/lib/module/Display/Display.Monetary.js.map +0 -1
  299. package/lib/module/Display/index.js +0 -28
  300. package/lib/module/Display/index.js.map +0 -1
  301. package/lib/module/Feedback/ErrorBoundary.js +0 -43
  302. package/lib/module/Feedback/ErrorBoundary.js.map +0 -1
  303. package/lib/module/Feedback/Feedback.DomainSplashScreen.js +0 -101
  304. package/lib/module/Feedback/Feedback.DomainSplashScreen.js.map +0 -1
  305. package/lib/module/Feedback/Feedback.Empty.js +0 -31
  306. package/lib/module/Feedback/Feedback.Empty.js.map +0 -1
  307. package/lib/module/Feedback/Feedback.Error.js +0 -53
  308. package/lib/module/Feedback/Feedback.Error.js.map +0 -1
  309. package/lib/module/Feedback/Feedback.Loading.js +0 -24
  310. package/lib/module/Feedback/Feedback.Loading.js.map +0 -1
  311. package/lib/module/Feedback/Feedback.Spinner.js +0 -28
  312. package/lib/module/Feedback/Feedback.Spinner.js.map +0 -1
  313. package/lib/module/Feedback/Feedback.Splash.js +0 -59
  314. package/lib/module/Feedback/Feedback.Splash.js.map +0 -1
  315. package/lib/module/Feedback/index.js +0 -17
  316. package/lib/module/Feedback/index.js.map +0 -1
  317. package/lib/module/Form/Form.Button.js +0 -442
  318. package/lib/module/Form/Form.Button.js.map +0 -1
  319. package/lib/module/Form/Form.Checkbox.js +0 -71
  320. package/lib/module/Form/Form.Checkbox.js.map +0 -1
  321. package/lib/module/Form/Form.ControlledCheckbox.js +0 -29
  322. package/lib/module/Form/Form.ControlledCheckbox.js.map +0 -1
  323. package/lib/module/Form/Form.ControlledDropdown.js +0 -7
  324. package/lib/module/Form/Form.ControlledDropdown.js.map +0 -1
  325. package/lib/module/Form/Form.ControlledInput.js +0 -43
  326. package/lib/module/Form/Form.ControlledInput.js.map +0 -1
  327. package/lib/module/Form/Form.ControlledMonetaryInput.js +0 -34
  328. package/lib/module/Form/Form.ControlledMonetaryInput.js.map +0 -1
  329. package/lib/module/Form/Form.ControlledRadioButton.js +0 -28
  330. package/lib/module/Form/Form.ControlledRadioButton.js.map +0 -1
  331. package/lib/module/Form/Form.Dropdown.js +0 -163
  332. package/lib/module/Form/Form.Dropdown.js.map +0 -1
  333. package/lib/module/Form/Form.FilterButton.js +0 -59
  334. package/lib/module/Form/Form.FilterButton.js.map +0 -1
  335. package/lib/module/Form/Form.FractionalQuantityInput.js +0 -166
  336. package/lib/module/Form/Form.FractionalQuantityInput.js.map +0 -1
  337. package/lib/module/Form/Form.IconButton.js +0 -97
  338. package/lib/module/Form/Form.IconButton.js.map +0 -1
  339. package/lib/module/Form/Form.Input.js +0 -77
  340. package/lib/module/Form/Form.Input.js.map +0 -1
  341. package/lib/module/Form/Form.InputField.js +0 -63
  342. package/lib/module/Form/Form.InputField.js.map +0 -1
  343. package/lib/module/Form/Form.MonetaryInput.js +0 -65
  344. package/lib/module/Form/Form.MonetaryInput.js.map +0 -1
  345. package/lib/module/Form/Form.PasswordInput.js +0 -37
  346. package/lib/module/Form/Form.PasswordInput.js.map +0 -1
  347. package/lib/module/Form/Form.QuantitySelector.js +0 -78
  348. package/lib/module/Form/Form.QuantitySelector.js.map +0 -1
  349. package/lib/module/Form/Form.RadioButton.js +0 -56
  350. package/lib/module/Form/Form.RadioButton.js.map +0 -1
  351. package/lib/module/Form/Form.SearchBar.js +0 -63
  352. package/lib/module/Form/Form.SearchBar.js.map +0 -1
  353. package/lib/module/Form/Form.TextInput.js +0 -19
  354. package/lib/module/Form/Form.TextInput.js.map +0 -1
  355. package/lib/module/Form/index.js +0 -45
  356. package/lib/module/Form/index.js.map +0 -1
  357. package/lib/module/Navigation/Navigation.Header.js +0 -46
  358. package/lib/module/Navigation/Navigation.Header.js.map +0 -1
  359. package/lib/module/Navigation/Navigation.HeaderToolbar.js +0 -79
  360. package/lib/module/Navigation/Navigation.HeaderToolbar.js.map +0 -1
  361. package/lib/module/Navigation/Navigation.RowItem.js +0 -35
  362. package/lib/module/Navigation/Navigation.RowItem.js.map +0 -1
  363. package/lib/module/Navigation/Navigation.TabIcon.js +0 -28
  364. package/lib/module/Navigation/Navigation.TabIcon.js.map +0 -1
  365. package/lib/module/Navigation/Navigation.TabItem.js +0 -27
  366. package/lib/module/Navigation/Navigation.TabItem.js.map +0 -1
  367. package/lib/module/Navigation/index.js +0 -16
  368. package/lib/module/Navigation/index.js.map +0 -1
  369. package/lib/module/Typography/Typography.Heading.js +0 -15
  370. package/lib/module/Typography/Typography.Heading.js.map +0 -1
  371. package/lib/module/Typography/Typography.Text.js +0 -51
  372. package/lib/module/Typography/Typography.Text.js.map +0 -1
  373. package/lib/module/Typography/index.js +0 -11
  374. package/lib/module/Typography/index.js.map +0 -1
  375. package/lib/module/icons/AddItemIcon.js +0 -53
  376. package/lib/module/icons/AddItemIcon.js.map +0 -1
  377. package/lib/module/icons/ArrangeCircle.js +0 -50
  378. package/lib/module/icons/ArrangeCircle.js.map +0 -1
  379. package/lib/module/icons/ArrowDownIcon.js +0 -37
  380. package/lib/module/icons/ArrowDownIcon.js.map +0 -1
  381. package/lib/module/icons/ArrowUpIcon.js +0 -37
  382. package/lib/module/icons/ArrowUpIcon.js.map +0 -1
  383. package/lib/module/icons/BoxIcon.js +0 -35
  384. package/lib/module/icons/BoxIcon.js.map +0 -1
  385. package/lib/module/icons/BoxTimeIcon.js +0 -29
  386. package/lib/module/icons/BoxTimeIcon.js.map +0 -1
  387. package/lib/module/icons/CalendarIcon.js +0 -81
  388. package/lib/module/icons/CalendarIcon.js.map +0 -1
  389. package/lib/module/icons/CardIcon.js +0 -46
  390. package/lib/module/icons/CardIcon.js.map +0 -1
  391. package/lib/module/icons/CashierIcon.js +0 -20
  392. package/lib/module/icons/CashierIcon.js.map +0 -1
  393. package/lib/module/icons/CreditIcon.js +0 -43
  394. package/lib/module/icons/CreditIcon.js.map +0 -1
  395. package/lib/module/icons/DuoIcon.js +0 -41
  396. package/lib/module/icons/DuoIcon.js.map +0 -1
  397. package/lib/module/icons/HomeIcon.js +0 -20
  398. package/lib/module/icons/HomeIcon.js.map +0 -1
  399. package/lib/module/icons/HomeIconOutlined.js +0 -29
  400. package/lib/module/icons/HomeIconOutlined.js.map +0 -1
  401. package/lib/module/icons/LogoIcon.js +0 -38
  402. package/lib/module/icons/LogoIcon.js.map +0 -1
  403. package/lib/module/icons/MoneyReceiveIcon.js +0 -47
  404. package/lib/module/icons/MoneyReceiveIcon.js.map +0 -1
  405. package/lib/module/icons/OdooIcon.js +0 -24
  406. package/lib/module/icons/OdooIcon.js.map +0 -1
  407. package/lib/module/icons/PinIcon.js +0 -20
  408. package/lib/module/icons/PinIcon.js.map +0 -1
  409. package/lib/module/icons/PrinterIcon.js +0 -48
  410. package/lib/module/icons/PrinterIcon.js.map +0 -1
  411. package/lib/module/icons/ProfileIcon.js +0 -23
  412. package/lib/module/icons/ProfileIcon.js.map +0 -1
  413. package/lib/module/icons/SettingsIcon.js +0 -65
  414. package/lib/module/icons/SettingsIcon.js.map +0 -1
  415. package/lib/module/icons/SinpeIcon.js +0 -37
  416. package/lib/module/icons/SinpeIcon.js.map +0 -1
  417. package/lib/module/icons/ToggleOffIcon.js +0 -29
  418. package/lib/module/icons/ToggleOffIcon.js.map +0 -1
  419. package/lib/module/icons/WalletMoneyIcon.js +0 -42
  420. package/lib/module/icons/WalletMoneyIcon.js.map +0 -1
  421. package/lib/module/icons/icon_getters.js +0 -53
  422. package/lib/module/icons/icon_getters.js.map +0 -1
  423. package/lib/module/icons/props.js +0 -2
  424. package/lib/module/icons/props.js.map +0 -1
  425. package/lib/module/index.js +0 -34
  426. package/lib/module/index.js.map +0 -1
  427. package/lib/module/layouts/AuthContainer.js +0 -66
  428. package/lib/module/layouts/AuthContainer.js.map +0 -1
  429. package/lib/module/layouts/Container.js +0 -31
  430. package/lib/module/layouts/Container.js.map +0 -1
  431. package/lib/module/layouts/GradientContainer.js +0 -20
  432. package/lib/module/layouts/GradientContainer.js.map +0 -1
  433. package/lib/module/layouts/PlainLayout.js +0 -16
  434. package/lib/module/layouts/PlainLayout.js.map +0 -1
  435. package/lib/module/layouts/ScrollContainer.js +0 -37
  436. package/lib/module/layouts/ScrollContainer.js.map +0 -1
  437. package/lib/module/layouts/TabNavigatorLayout.js +0 -132
  438. package/lib/module/layouts/TabNavigatorLayout.js.map +0 -1
  439. package/lib/module/lib/date.js +0 -127
  440. package/lib/module/lib/date.js.map +0 -1
  441. package/lib/module/lib/icon.js +0 -2
  442. package/lib/module/lib/icon.js.map +0 -1
  443. package/lib/module/lib/monetary.js +0 -31
  444. package/lib/module/lib/monetary.js.map +0 -1
  445. package/lib/module/lib/quantity.js +0 -46
  446. package/lib/module/lib/quantity.js.map +0 -1
  447. package/lib/module/lib/serializer.js +0 -47
  448. package/lib/module/lib/serializer.js.map +0 -1
  449. package/lib/module/lib/timezone.js +0 -2
  450. package/lib/module/lib/timezone.js.map +0 -1
  451. package/lib/module/nativewind-env.d.js +0 -3
  452. package/lib/module/nativewind-env.d.js.map +0 -1
  453. package/lib/module/notifications/index.js +0 -5
  454. package/lib/module/notifications/index.js.map +0 -1
  455. package/lib/module/package.json +0 -1
  456. package/lib/module/primitives/BaseButton.js +0 -391
  457. package/lib/module/primitives/BaseButton.js.map +0 -1
  458. package/lib/module/primitives/Box.js +0 -19
  459. package/lib/module/primitives/Box.js.map +0 -1
  460. package/lib/module/primitives/Row.js +0 -37
  461. package/lib/module/primitives/Row.js.map +0 -1
  462. package/lib/module/primitives/Stack.js +0 -27
  463. package/lib/module/primitives/Stack.js.map +0 -1
  464. package/lib/module/primitives/index.js +0 -6
  465. package/lib/module/primitives/index.js.map +0 -1
  466. package/lib/module/providers/index.js +0 -3
  467. package/lib/module/providers/index.js.map +0 -1
  468. package/lib/module/theme/active.js +0 -13
  469. package/lib/module/theme/active.js.map +0 -1
  470. package/lib/module/theme/components/ThemedActivityIndicator.js +0 -30
  471. package/lib/module/theme/components/ThemedActivityIndicator.js.map +0 -1
  472. package/lib/module/theme/components/index.js +0 -13
  473. package/lib/module/theme/components/index.js.map +0 -1
  474. package/lib/module/theme/default.js +0 -91
  475. package/lib/module/theme/default.js.map +0 -1
  476. package/lib/module/theme/index.js +0 -6
  477. package/lib/module/theme/index.js.map +0 -1
  478. package/lib/module/theme/theme.js +0 -18
  479. package/lib/module/theme/theme.js.map +0 -1
  480. package/lib/module/theme/tw.js +0 -19
  481. package/lib/module/theme/tw.js.map +0 -1
  482. package/lib/module/theme/types.js +0 -2
  483. package/lib/module/theme/types.js.map +0 -1
  484. package/lib/module/theme/typography.js +0 -246
  485. package/lib/module/theme/typography.js.map +0 -1
  486. package/lib/module/theme/useTheme.js +0 -5
  487. package/lib/module/theme/useTheme.js.map +0 -1
  488. package/lib/module/views/AuthFormView.js +0 -46
  489. package/lib/module/views/AuthFormView.js.map +0 -1
  490. package/lib/module/views/FormViewV2.context.js +0 -47
  491. package/lib/module/views/FormViewV2.context.js.map +0 -1
  492. package/lib/module/views/FormViewV2.js +0 -220
  493. package/lib/module/views/FormViewV2.js.map +0 -1
  494. package/lib/module/views/ListViewV2.context.js +0 -51
  495. package/lib/module/views/ListViewV2.context.js.map +0 -1
  496. package/lib/module/views/ListViewV2.js +0 -503
  497. package/lib/module/views/ListViewV2.js.map +0 -1
  498. package/lib/module/views/Wizard/Wizard.context.js +0 -111
  499. package/lib/module/views/Wizard/Wizard.context.js.map +0 -1
  500. package/lib/module/views/Wizard/Wizard.js +0 -125
  501. package/lib/module/views/Wizard/Wizard.js.map +0 -1
  502. package/lib/module/views/Wizard/index.js +0 -5
  503. package/lib/module/views/Wizard/index.js.map +0 -1
  504. package/lib/module/views/types/IFormView.js +0 -4
  505. package/lib/module/views/types/IFormView.js.map +0 -1
  506. package/lib/module/views/types/IListView.js +0 -40
  507. package/lib/module/views/types/IListView.js.map +0 -1
  508. package/lib/module/views/types/UIItem.js +0 -2
  509. package/lib/module/views/types/UIItem.js.map +0 -1
  510. package/lib/module/widgets/CircleButton.js +0 -70
  511. package/lib/module/widgets/CircleButton.js.map +0 -1
  512. package/lib/module/widgets/GeoPermissionCard.js +0 -55
  513. package/lib/module/widgets/GeoPermissionCard.js.map +0 -1
  514. package/lib/module/widgets/HomeHeader.js +0 -42
  515. package/lib/module/widgets/HomeHeader.js.map +0 -1
  516. package/lib/module/widgets/JSONViewer.js +0 -196
  517. package/lib/module/widgets/JSONViewer.js.map +0 -1
  518. package/lib/module/widgets/MenuCard.js +0 -32
  519. package/lib/module/widgets/MenuCard.js.map +0 -1
  520. package/lib/module/widgets/MenuGrid.js +0 -20
  521. package/lib/module/widgets/MenuGrid.js.map +0 -1
  522. package/lib/module/widgets/ScreenHeader.js +0 -63
  523. package/lib/module/widgets/ScreenHeader.js.map +0 -1
  524. package/lib/module/widgets/TimeZoneSelector.js +0 -73
  525. package/lib/module/widgets/TimeZoneSelector.js.map +0 -1
  526. package/lib/module/widgets/TimeZoneSelectorModal.js +0 -187
  527. package/lib/module/widgets/TimeZoneSelectorModal.js.map +0 -1
  528. package/lib/module/widgets/index.js +0 -9
  529. package/lib/module/widgets/index.js.map +0 -1
  530. package/lib/typescript/Dialog/BottomSheet/BottomSheet.Root.d.ts +0 -321
  531. package/lib/typescript/Dialog/BottomSheet/BottomSheet.Root.d.ts.map +0 -1
  532. package/lib/typescript/Dialog/BottomSheet/index.d.ts +0 -2
  533. package/lib/typescript/Dialog/BottomSheet/index.d.ts.map +0 -1
  534. package/lib/typescript/Dialog/Confirmation.context.d.ts +0 -22
  535. package/lib/typescript/Dialog/Confirmation.context.d.ts.map +0 -1
  536. package/lib/typescript/Dialog/Dialog.Confirmation.d.ts +0 -13
  537. package/lib/typescript/Dialog/Dialog.Confirmation.d.ts.map +0 -1
  538. package/lib/typescript/Dialog/Dialog.EditValue.d.ts +0 -26
  539. package/lib/typescript/Dialog/Dialog.EditValue.d.ts.map +0 -1
  540. package/lib/typescript/Dialog/index.d.ts +0 -20
  541. package/lib/typescript/Dialog/index.d.ts.map +0 -1
  542. package/lib/typescript/Display/Display.Avatar.d.ts +0 -53
  543. package/lib/typescript/Display/Display.Avatar.d.ts.map +0 -1
  544. package/lib/typescript/Display/Display.Badge.d.ts +0 -109
  545. package/lib/typescript/Display/Display.Badge.d.ts.map +0 -1
  546. package/lib/typescript/Display/Display.CopyableText.d.ts +0 -14
  547. package/lib/typescript/Display/Display.CopyableText.d.ts.map +0 -1
  548. package/lib/typescript/Display/Display.CountRecords.d.ts +0 -9
  549. package/lib/typescript/Display/Display.CountRecords.d.ts.map +0 -1
  550. package/lib/typescript/Display/Display.Date.d.ts +0 -19
  551. package/lib/typescript/Display/Display.Date.d.ts.map +0 -1
  552. package/lib/typescript/Display/Display.Divider.d.ts +0 -45
  553. package/lib/typescript/Display/Display.Divider.d.ts.map +0 -1
  554. package/lib/typescript/Display/Display.Icon.d.ts +0 -16
  555. package/lib/typescript/Display/Display.Icon.d.ts.map +0 -1
  556. package/lib/typescript/Display/Display.Logo.d.ts +0 -56
  557. package/lib/typescript/Display/Display.Logo.d.ts.map +0 -1
  558. package/lib/typescript/Display/Display.MenuButton.d.ts +0 -104
  559. package/lib/typescript/Display/Display.MenuButton.d.ts.map +0 -1
  560. package/lib/typescript/Display/Display.Monetary.d.ts +0 -20
  561. package/lib/typescript/Display/Display.Monetary.d.ts.map +0 -1
  562. package/lib/typescript/Display/index.d.ts +0 -23
  563. package/lib/typescript/Display/index.d.ts.map +0 -1
  564. package/lib/typescript/Feedback/ErrorBoundary.d.ts +0 -19
  565. package/lib/typescript/Feedback/ErrorBoundary.d.ts.map +0 -1
  566. package/lib/typescript/Feedback/Feedback.DomainSplashScreen.d.ts +0 -12
  567. package/lib/typescript/Feedback/Feedback.DomainSplashScreen.d.ts.map +0 -1
  568. package/lib/typescript/Feedback/Feedback.Empty.d.ts +0 -7
  569. package/lib/typescript/Feedback/Feedback.Empty.d.ts.map +0 -1
  570. package/lib/typescript/Feedback/Feedback.Error.d.ts +0 -10
  571. package/lib/typescript/Feedback/Feedback.Error.d.ts.map +0 -1
  572. package/lib/typescript/Feedback/Feedback.Loading.d.ts +0 -10
  573. package/lib/typescript/Feedback/Feedback.Loading.d.ts.map +0 -1
  574. package/lib/typescript/Feedback/Feedback.Spinner.d.ts +0 -12
  575. package/lib/typescript/Feedback/Feedback.Spinner.d.ts.map +0 -1
  576. package/lib/typescript/Feedback/Feedback.Splash.d.ts +0 -12
  577. package/lib/typescript/Feedback/Feedback.Splash.d.ts.map +0 -1
  578. package/lib/typescript/Feedback/index.d.ts +0 -14
  579. package/lib/typescript/Feedback/index.d.ts.map +0 -1
  580. package/lib/typescript/Form/Form.Button.d.ts +0 -146
  581. package/lib/typescript/Form/Form.Button.d.ts.map +0 -1
  582. package/lib/typescript/Form/Form.Checkbox.d.ts +0 -14
  583. package/lib/typescript/Form/Form.Checkbox.d.ts.map +0 -1
  584. package/lib/typescript/Form/Form.ControlledCheckbox.d.ts +0 -10
  585. package/lib/typescript/Form/Form.ControlledCheckbox.d.ts.map +0 -1
  586. package/lib/typescript/Form/Form.ControlledDropdown.d.ts +0 -15
  587. package/lib/typescript/Form/Form.ControlledDropdown.d.ts.map +0 -1
  588. package/lib/typescript/Form/Form.ControlledInput.d.ts +0 -16
  589. package/lib/typescript/Form/Form.ControlledInput.d.ts.map +0 -1
  590. package/lib/typescript/Form/Form.ControlledMonetaryInput.d.ts +0 -13
  591. package/lib/typescript/Form/Form.ControlledMonetaryInput.d.ts.map +0 -1
  592. package/lib/typescript/Form/Form.ControlledRadioButton.d.ts +0 -10
  593. package/lib/typescript/Form/Form.ControlledRadioButton.d.ts.map +0 -1
  594. package/lib/typescript/Form/Form.Dropdown.d.ts +0 -15
  595. package/lib/typescript/Form/Form.Dropdown.d.ts.map +0 -1
  596. package/lib/typescript/Form/Form.FilterButton.d.ts +0 -13
  597. package/lib/typescript/Form/Form.FilterButton.d.ts.map +0 -1
  598. package/lib/typescript/Form/Form.FractionalQuantityInput.d.ts +0 -14
  599. package/lib/typescript/Form/Form.FractionalQuantityInput.d.ts.map +0 -1
  600. package/lib/typescript/Form/Form.IconButton.d.ts +0 -68
  601. package/lib/typescript/Form/Form.IconButton.d.ts.map +0 -1
  602. package/lib/typescript/Form/Form.Input.d.ts +0 -11
  603. package/lib/typescript/Form/Form.Input.d.ts.map +0 -1
  604. package/lib/typescript/Form/Form.InputField.d.ts +0 -11
  605. package/lib/typescript/Form/Form.InputField.d.ts.map +0 -1
  606. package/lib/typescript/Form/Form.MonetaryInput.d.ts +0 -9
  607. package/lib/typescript/Form/Form.MonetaryInput.d.ts.map +0 -1
  608. package/lib/typescript/Form/Form.PasswordInput.d.ts +0 -10
  609. package/lib/typescript/Form/Form.PasswordInput.d.ts.map +0 -1
  610. package/lib/typescript/Form/Form.QuantitySelector.d.ts +0 -12
  611. package/lib/typescript/Form/Form.QuantitySelector.d.ts.map +0 -1
  612. package/lib/typescript/Form/Form.RadioButton.d.ts +0 -8
  613. package/lib/typescript/Form/Form.RadioButton.d.ts.map +0 -1
  614. package/lib/typescript/Form/Form.SearchBar.d.ts +0 -10
  615. package/lib/typescript/Form/Form.SearchBar.d.ts.map +0 -1
  616. package/lib/typescript/Form/Form.TextInput.d.ts +0 -9
  617. package/lib/typescript/Form/Form.TextInput.d.ts.map +0 -1
  618. package/lib/typescript/Form/index.d.ts +0 -42
  619. package/lib/typescript/Form/index.d.ts.map +0 -1
  620. package/lib/typescript/Navigation/Navigation.Header.d.ts +0 -11
  621. package/lib/typescript/Navigation/Navigation.Header.d.ts.map +0 -1
  622. package/lib/typescript/Navigation/Navigation.HeaderToolbar.d.ts +0 -16
  623. package/lib/typescript/Navigation/Navigation.HeaderToolbar.d.ts.map +0 -1
  624. package/lib/typescript/Navigation/Navigation.RowItem.d.ts +0 -6
  625. package/lib/typescript/Navigation/Navigation.RowItem.d.ts.map +0 -1
  626. package/lib/typescript/Navigation/Navigation.TabIcon.d.ts +0 -15
  627. package/lib/typescript/Navigation/Navigation.TabIcon.d.ts.map +0 -1
  628. package/lib/typescript/Navigation/Navigation.TabItem.d.ts +0 -15
  629. package/lib/typescript/Navigation/Navigation.TabItem.d.ts.map +0 -1
  630. package/lib/typescript/Navigation/index.d.ts +0 -12
  631. package/lib/typescript/Navigation/index.d.ts.map +0 -1
  632. package/lib/typescript/Typography/Typography.Heading.d.ts +0 -13
  633. package/lib/typescript/Typography/Typography.Heading.d.ts.map +0 -1
  634. package/lib/typescript/Typography/Typography.Text.d.ts +0 -29
  635. package/lib/typescript/Typography/Typography.Text.d.ts.map +0 -1
  636. package/lib/typescript/Typography/index.d.ts +0 -8
  637. package/lib/typescript/Typography/index.d.ts.map +0 -1
  638. package/lib/typescript/icons/AddItemIcon.d.ts +0 -5
  639. package/lib/typescript/icons/AddItemIcon.d.ts.map +0 -1
  640. package/lib/typescript/icons/ArrangeCircle.d.ts +0 -5
  641. package/lib/typescript/icons/ArrangeCircle.d.ts.map +0 -1
  642. package/lib/typescript/icons/ArrowDownIcon.d.ts +0 -5
  643. package/lib/typescript/icons/ArrowDownIcon.d.ts.map +0 -1
  644. package/lib/typescript/icons/ArrowUpIcon.d.ts +0 -5
  645. package/lib/typescript/icons/ArrowUpIcon.d.ts.map +0 -1
  646. package/lib/typescript/icons/BoxIcon.d.ts +0 -5
  647. package/lib/typescript/icons/BoxIcon.d.ts.map +0 -1
  648. package/lib/typescript/icons/BoxTimeIcon.d.ts +0 -5
  649. package/lib/typescript/icons/BoxTimeIcon.d.ts.map +0 -1
  650. package/lib/typescript/icons/CalendarIcon.d.ts +0 -5
  651. package/lib/typescript/icons/CalendarIcon.d.ts.map +0 -1
  652. package/lib/typescript/icons/CardIcon.d.ts +0 -5
  653. package/lib/typescript/icons/CardIcon.d.ts.map +0 -1
  654. package/lib/typescript/icons/CashierIcon.d.ts +0 -5
  655. package/lib/typescript/icons/CashierIcon.d.ts.map +0 -1
  656. package/lib/typescript/icons/CreditIcon.d.ts +0 -8
  657. package/lib/typescript/icons/CreditIcon.d.ts.map +0 -1
  658. package/lib/typescript/icons/DuoIcon.d.ts +0 -5
  659. package/lib/typescript/icons/DuoIcon.d.ts.map +0 -1
  660. package/lib/typescript/icons/HomeIcon.d.ts +0 -5
  661. package/lib/typescript/icons/HomeIcon.d.ts.map +0 -1
  662. package/lib/typescript/icons/HomeIconOutlined.d.ts +0 -5
  663. package/lib/typescript/icons/HomeIconOutlined.d.ts.map +0 -1
  664. package/lib/typescript/icons/LogoIcon.d.ts +0 -5
  665. package/lib/typescript/icons/LogoIcon.d.ts.map +0 -1
  666. package/lib/typescript/icons/MoneyReceiveIcon.d.ts +0 -5
  667. package/lib/typescript/icons/MoneyReceiveIcon.d.ts.map +0 -1
  668. package/lib/typescript/icons/OdooIcon.d.ts +0 -7
  669. package/lib/typescript/icons/OdooIcon.d.ts.map +0 -1
  670. package/lib/typescript/icons/PinIcon.d.ts +0 -5
  671. package/lib/typescript/icons/PinIcon.d.ts.map +0 -1
  672. package/lib/typescript/icons/PrinterIcon.d.ts +0 -5
  673. package/lib/typescript/icons/PrinterIcon.d.ts.map +0 -1
  674. package/lib/typescript/icons/ProfileIcon.d.ts +0 -5
  675. package/lib/typescript/icons/ProfileIcon.d.ts.map +0 -1
  676. package/lib/typescript/icons/SettingsIcon.d.ts +0 -5
  677. package/lib/typescript/icons/SettingsIcon.d.ts.map +0 -1
  678. package/lib/typescript/icons/SinpeIcon.d.ts +0 -5
  679. package/lib/typescript/icons/SinpeIcon.d.ts.map +0 -1
  680. package/lib/typescript/icons/ToggleOffIcon.d.ts +0 -5
  681. package/lib/typescript/icons/ToggleOffIcon.d.ts.map +0 -1
  682. package/lib/typescript/icons/WalletMoneyIcon.d.ts +0 -5
  683. package/lib/typescript/icons/WalletMoneyIcon.d.ts.map +0 -1
  684. package/lib/typescript/icons/icon_getters.d.ts +0 -7
  685. package/lib/typescript/icons/icon_getters.d.ts.map +0 -1
  686. package/lib/typescript/icons/props.d.ts +0 -5
  687. package/lib/typescript/icons/props.d.ts.map +0 -1
  688. package/lib/typescript/index.d.ts +0 -21
  689. package/lib/typescript/index.d.ts.map +0 -1
  690. package/lib/typescript/layouts/AuthContainer.d.ts +0 -10
  691. package/lib/typescript/layouts/AuthContainer.d.ts.map +0 -1
  692. package/lib/typescript/layouts/Container.d.ts +0 -15
  693. package/lib/typescript/layouts/Container.d.ts.map +0 -1
  694. package/lib/typescript/layouts/GradientContainer.d.ts +0 -9
  695. package/lib/typescript/layouts/GradientContainer.d.ts.map +0 -1
  696. package/lib/typescript/layouts/PlainLayout.d.ts +0 -7
  697. package/lib/typescript/layouts/PlainLayout.d.ts.map +0 -1
  698. package/lib/typescript/layouts/ScrollContainer.d.ts +0 -9
  699. package/lib/typescript/layouts/ScrollContainer.d.ts.map +0 -1
  700. package/lib/typescript/layouts/TabNavigatorLayout.d.ts +0 -27
  701. package/lib/typescript/layouts/TabNavigatorLayout.d.ts.map +0 -1
  702. package/lib/typescript/lib/date.d.ts +0 -71
  703. package/lib/typescript/lib/date.d.ts.map +0 -1
  704. package/lib/typescript/lib/icon.d.ts +0 -2
  705. package/lib/typescript/lib/icon.d.ts.map +0 -1
  706. package/lib/typescript/lib/monetary.d.ts +0 -4
  707. package/lib/typescript/lib/monetary.d.ts.map +0 -1
  708. package/lib/typescript/lib/quantity.d.ts +0 -12
  709. package/lib/typescript/lib/quantity.d.ts.map +0 -1
  710. package/lib/typescript/lib/serializer.d.ts +0 -3
  711. package/lib/typescript/lib/serializer.d.ts.map +0 -1
  712. package/lib/typescript/lib/timezone.d.ts +0 -5
  713. package/lib/typescript/lib/timezone.d.ts.map +0 -1
  714. package/lib/typescript/notifications/index.d.ts +0 -2
  715. package/lib/typescript/notifications/index.d.ts.map +0 -1
  716. package/lib/typescript/package.json +0 -1
  717. package/lib/typescript/primitives/BaseButton.d.ts +0 -147
  718. package/lib/typescript/primitives/BaseButton.d.ts.map +0 -1
  719. package/lib/typescript/primitives/Box.d.ts +0 -8
  720. package/lib/typescript/primitives/Box.d.ts.map +0 -1
  721. package/lib/typescript/primitives/Row.d.ts +0 -12
  722. package/lib/typescript/primitives/Row.d.ts.map +0 -1
  723. package/lib/typescript/primitives/Stack.d.ts +0 -10
  724. package/lib/typescript/primitives/Stack.d.ts.map +0 -1
  725. package/lib/typescript/primitives/index.d.ts +0 -4
  726. package/lib/typescript/primitives/index.d.ts.map +0 -1
  727. package/lib/typescript/providers/index.d.ts +0 -1
  728. package/lib/typescript/providers/index.d.ts.map +0 -1
  729. package/lib/typescript/theme/active.d.ts +0 -4
  730. package/lib/typescript/theme/active.d.ts.map +0 -1
  731. package/lib/typescript/theme/components/ThemedActivityIndicator.d.ts +0 -22
  732. package/lib/typescript/theme/components/ThemedActivityIndicator.d.ts.map +0 -1
  733. package/lib/typescript/theme/components/index.d.ts +0 -10
  734. package/lib/typescript/theme/components/index.d.ts.map +0 -1
  735. package/lib/typescript/theme/default.d.ts +0 -3
  736. package/lib/typescript/theme/default.d.ts.map +0 -1
  737. package/lib/typescript/theme/index.d.ts +0 -5
  738. package/lib/typescript/theme/index.d.ts.map +0 -1
  739. package/lib/typescript/theme/theme.d.ts +0 -14
  740. package/lib/typescript/theme/theme.d.ts.map +0 -1
  741. package/lib/typescript/theme/tw.d.ts +0 -11
  742. package/lib/typescript/theme/tw.d.ts.map +0 -1
  743. package/lib/typescript/theme/types.d.ts +0 -93
  744. package/lib/typescript/theme/types.d.ts.map +0 -1
  745. package/lib/typescript/theme/typography.d.ts +0 -377
  746. package/lib/typescript/theme/typography.d.ts.map +0 -1
  747. package/lib/typescript/theme/useTheme.d.ts +0 -2
  748. package/lib/typescript/theme/useTheme.d.ts.map +0 -1
  749. package/lib/typescript/views/AuthFormView.d.ts +0 -10
  750. package/lib/typescript/views/AuthFormView.d.ts.map +0 -1
  751. package/lib/typescript/views/FormViewV2.context.d.ts +0 -33
  752. package/lib/typescript/views/FormViewV2.context.d.ts.map +0 -1
  753. package/lib/typescript/views/FormViewV2.d.ts +0 -61
  754. package/lib/typescript/views/FormViewV2.d.ts.map +0 -1
  755. package/lib/typescript/views/ListViewV2.context.d.ts +0 -37
  756. package/lib/typescript/views/ListViewV2.context.d.ts.map +0 -1
  757. package/lib/typescript/views/ListViewV2.d.ts +0 -132
  758. package/lib/typescript/views/ListViewV2.d.ts.map +0 -1
  759. package/lib/typescript/views/Wizard/Wizard.context.d.ts +0 -27
  760. package/lib/typescript/views/Wizard/Wizard.context.d.ts.map +0 -1
  761. package/lib/typescript/views/Wizard/Wizard.d.ts +0 -34
  762. package/lib/typescript/views/Wizard/Wizard.d.ts.map +0 -1
  763. package/lib/typescript/views/Wizard/index.d.ts +0 -5
  764. package/lib/typescript/views/Wizard/index.d.ts.map +0 -1
  765. package/lib/typescript/views/types/IFormView.d.ts +0 -23
  766. package/lib/typescript/views/types/IFormView.d.ts.map +0 -1
  767. package/lib/typescript/views/types/IListView.d.ts +0 -35
  768. package/lib/typescript/views/types/IListView.d.ts.map +0 -1
  769. package/lib/typescript/views/types/UIItem.d.ts +0 -22
  770. package/lib/typescript/views/types/UIItem.d.ts.map +0 -1
  771. package/lib/typescript/widgets/CircleButton.d.ts +0 -16
  772. package/lib/typescript/widgets/CircleButton.d.ts.map +0 -1
  773. package/lib/typescript/widgets/GeoPermissionCard.d.ts +0 -9
  774. package/lib/typescript/widgets/GeoPermissionCard.d.ts.map +0 -1
  775. package/lib/typescript/widgets/HomeHeader.d.ts +0 -10
  776. package/lib/typescript/widgets/HomeHeader.d.ts.map +0 -1
  777. package/lib/typescript/widgets/JSONViewer.d.ts +0 -6
  778. package/lib/typescript/widgets/JSONViewer.d.ts.map +0 -1
  779. package/lib/typescript/widgets/MenuCard.d.ts +0 -14
  780. package/lib/typescript/widgets/MenuCard.d.ts.map +0 -1
  781. package/lib/typescript/widgets/MenuGrid.d.ts +0 -18
  782. package/lib/typescript/widgets/MenuGrid.d.ts.map +0 -1
  783. package/lib/typescript/widgets/ScreenHeader.d.ts +0 -20
  784. package/lib/typescript/widgets/ScreenHeader.d.ts.map +0 -1
  785. package/lib/typescript/widgets/TimeZoneSelector.d.ts +0 -8
  786. package/lib/typescript/widgets/TimeZoneSelector.d.ts.map +0 -1
  787. package/lib/typescript/widgets/TimeZoneSelectorModal.d.ts +0 -10
  788. package/lib/typescript/widgets/TimeZoneSelectorModal.d.ts.map +0 -1
  789. package/lib/typescript/widgets/index.d.ts +0 -8
  790. package/lib/typescript/widgets/index.d.ts.map +0 -1
  791. package/sincpro_mobile_ui/Dialog/BottomSheet/BottomSheet.Root.tsx +0 -509
  792. package/sincpro_mobile_ui/Dialog/BottomSheet/index.ts +0 -1
  793. package/sincpro_mobile_ui/Dialog/Confirmation.context.tsx +0 -148
  794. package/sincpro_mobile_ui/Dialog/Dialog.Confirmation.tsx +0 -68
  795. package/sincpro_mobile_ui/Dialog/Dialog.EditValue.tsx +0 -134
  796. package/sincpro_mobile_ui/Dialog/index.ts +0 -23
  797. package/sincpro_mobile_ui/Display/Display.Avatar.tsx +0 -60
  798. package/sincpro_mobile_ui/Display/Display.Badge.tsx +0 -72
  799. package/sincpro_mobile_ui/Display/Display.CopyableText.tsx +0 -38
  800. package/sincpro_mobile_ui/Display/Display.CountRecords.tsx +0 -26
  801. package/sincpro_mobile_ui/Display/Display.Date.tsx +0 -59
  802. package/sincpro_mobile_ui/Display/Display.Divider.tsx +0 -40
  803. package/sincpro_mobile_ui/Display/Display.Icon.tsx +0 -69
  804. package/sincpro_mobile_ui/Display/Display.Logo.tsx +0 -51
  805. package/sincpro_mobile_ui/Display/Display.MenuButton.tsx +0 -103
  806. package/sincpro_mobile_ui/Display/Display.Monetary.tsx +0 -60
  807. package/sincpro_mobile_ui/Display/index.ts +0 -28
  808. package/sincpro_mobile_ui/Feedback/ErrorBoundary.tsx +0 -51
  809. package/sincpro_mobile_ui/Feedback/Feedback.DomainSplashScreen.tsx +0 -135
  810. package/sincpro_mobile_ui/Feedback/Feedback.Empty.tsx +0 -29
  811. package/sincpro_mobile_ui/Feedback/Feedback.Error.tsx +0 -47
  812. package/sincpro_mobile_ui/Feedback/Feedback.Loading.tsx +0 -27
  813. package/sincpro_mobile_ui/Feedback/Feedback.Spinner.tsx +0 -34
  814. package/sincpro_mobile_ui/Feedback/Feedback.Splash.tsx +0 -68
  815. package/sincpro_mobile_ui/Feedback/index.ts +0 -17
  816. package/sincpro_mobile_ui/Form/Form.Button.tsx +0 -461
  817. package/sincpro_mobile_ui/Form/Form.Checkbox.tsx +0 -89
  818. package/sincpro_mobile_ui/Form/Form.ControlledCheckbox.tsx +0 -34
  819. package/sincpro_mobile_ui/Form/Form.ControlledDropdown.tsx +0 -22
  820. package/sincpro_mobile_ui/Form/Form.ControlledInput.tsx +0 -53
  821. package/sincpro_mobile_ui/Form/Form.ControlledMonetaryInput.tsx +0 -41
  822. package/sincpro_mobile_ui/Form/Form.ControlledRadioButton.tsx +0 -33
  823. package/sincpro_mobile_ui/Form/Form.Dropdown.tsx +0 -171
  824. package/sincpro_mobile_ui/Form/Form.FilterButton.tsx +0 -59
  825. package/sincpro_mobile_ui/Form/Form.FractionalQuantityInput.tsx +0 -190
  826. package/sincpro_mobile_ui/Form/Form.IconButton.tsx +0 -102
  827. package/sincpro_mobile_ui/Form/Form.Input.tsx +0 -88
  828. package/sincpro_mobile_ui/Form/Form.InputField.tsx +0 -66
  829. package/sincpro_mobile_ui/Form/Form.MonetaryInput.tsx +0 -66
  830. package/sincpro_mobile_ui/Form/Form.PasswordInput.tsx +0 -42
  831. package/sincpro_mobile_ui/Form/Form.QuantitySelector.tsx +0 -81
  832. package/sincpro_mobile_ui/Form/Form.RadioButton.tsx +0 -52
  833. package/sincpro_mobile_ui/Form/Form.SearchBar.tsx +0 -64
  834. package/sincpro_mobile_ui/Form/Form.TextInput.tsx +0 -26
  835. package/sincpro_mobile_ui/Form/index.ts +0 -46
  836. package/sincpro_mobile_ui/Navigation/Navigation.Header.tsx +0 -50
  837. package/sincpro_mobile_ui/Navigation/Navigation.HeaderToolbar.tsx +0 -111
  838. package/sincpro_mobile_ui/Navigation/Navigation.RowItem.tsx +0 -33
  839. package/sincpro_mobile_ui/Navigation/Navigation.TabIcon.tsx +0 -45
  840. package/sincpro_mobile_ui/Navigation/Navigation.TabItem.tsx +0 -43
  841. package/sincpro_mobile_ui/Navigation/index.ts +0 -15
  842. package/sincpro_mobile_ui/Typography/Typography.Heading.tsx +0 -20
  843. package/sincpro_mobile_ui/Typography/Typography.Text.tsx +0 -78
  844. package/sincpro_mobile_ui/Typography/index.ts +0 -11
  845. package/sincpro_mobile_ui/icons/AddItemIcon.tsx +0 -46
  846. package/sincpro_mobile_ui/icons/ArrangeCircle.tsx +0 -50
  847. package/sincpro_mobile_ui/icons/ArrowDownIcon.tsx +0 -33
  848. package/sincpro_mobile_ui/icons/ArrowUpIcon.tsx +0 -33
  849. package/sincpro_mobile_ui/icons/BoxIcon.tsx +0 -32
  850. package/sincpro_mobile_ui/icons/BoxTimeIcon.tsx +0 -27
  851. package/sincpro_mobile_ui/icons/CalendarIcon.tsx +0 -85
  852. package/sincpro_mobile_ui/icons/CardIcon.tsx +0 -44
  853. package/sincpro_mobile_ui/icons/CashierIcon.tsx +0 -15
  854. package/sincpro_mobile_ui/icons/CreditIcon.tsx +0 -44
  855. package/sincpro_mobile_ui/icons/DuoIcon.tsx +0 -39
  856. package/sincpro_mobile_ui/icons/HomeIcon.tsx +0 -15
  857. package/sincpro_mobile_ui/icons/HomeIconOutlined.tsx +0 -24
  858. package/sincpro_mobile_ui/icons/LogoIcon.tsx +0 -39
  859. package/sincpro_mobile_ui/icons/MoneyReceiveIcon.tsx +0 -46
  860. package/sincpro_mobile_ui/icons/OdooIcon.tsx +0 -23
  861. package/sincpro_mobile_ui/icons/PinIcon.tsx +0 -15
  862. package/sincpro_mobile_ui/icons/PrinterIcon.tsx +0 -46
  863. package/sincpro_mobile_ui/icons/ProfileIcon.tsx +0 -19
  864. package/sincpro_mobile_ui/icons/SettingsIcon.tsx +0 -66
  865. package/sincpro_mobile_ui/icons/SinpeIcon.tsx +0 -29
  866. package/sincpro_mobile_ui/icons/ToggleOffIcon.tsx +0 -25
  867. package/sincpro_mobile_ui/icons/WalletMoneyIcon.tsx +0 -41
  868. package/sincpro_mobile_ui/icons/icon_getters.tsx +0 -27
  869. package/sincpro_mobile_ui/icons/props.ts +0 -4
  870. package/sincpro_mobile_ui/index.ts +0 -38
  871. package/sincpro_mobile_ui/layouts/AuthContainer.tsx +0 -73
  872. package/sincpro_mobile_ui/layouts/Container.tsx +0 -40
  873. package/sincpro_mobile_ui/layouts/GradientContainer.tsx +0 -22
  874. package/sincpro_mobile_ui/layouts/PlainLayout.tsx +0 -14
  875. package/sincpro_mobile_ui/layouts/ScrollContainer.tsx +0 -37
  876. package/sincpro_mobile_ui/layouts/TabNavigatorLayout.tsx +0 -154
  877. package/sincpro_mobile_ui/lib/date.ts +0 -149
  878. package/sincpro_mobile_ui/lib/icon.ts +0 -10
  879. package/sincpro_mobile_ui/lib/monetary.ts +0 -33
  880. package/sincpro_mobile_ui/lib/quantity.ts +0 -52
  881. package/sincpro_mobile_ui/lib/serializer.ts +0 -59
  882. package/sincpro_mobile_ui/lib/timezone.ts +0 -4
  883. package/sincpro_mobile_ui/nativewind-env.d.ts +0 -1
  884. package/sincpro_mobile_ui/notifications/index.ts +0 -2
  885. package/sincpro_mobile_ui/primitives/BaseButton.tsx +0 -404
  886. package/sincpro_mobile_ui/primitives/Box.tsx +0 -14
  887. package/sincpro_mobile_ui/primitives/Row.tsx +0 -55
  888. package/sincpro_mobile_ui/primitives/Stack.tsx +0 -29
  889. package/sincpro_mobile_ui/primitives/index.ts +0 -3
  890. package/sincpro_mobile_ui/providers/index.ts +0 -1
  891. package/sincpro_mobile_ui/theme/active.ts +0 -12
  892. package/sincpro_mobile_ui/theme/components/ThemedActivityIndicator.tsx +0 -29
  893. package/sincpro_mobile_ui/theme/components/index.ts +0 -10
  894. package/sincpro_mobile_ui/theme/default.ts +0 -81
  895. package/sincpro_mobile_ui/theme/globals.css +0 -67
  896. package/sincpro_mobile_ui/theme/index.ts +0 -4
  897. package/sincpro_mobile_ui/theme/theme.ts +0 -16
  898. package/sincpro_mobile_ui/theme/tw.ts +0 -16
  899. package/sincpro_mobile_ui/theme/types.ts +0 -109
  900. package/sincpro_mobile_ui/theme/typography.ts +0 -271
  901. package/sincpro_mobile_ui/theme/useTheme.ts +0 -3
  902. package/sincpro_mobile_ui/views/AuthFormView.tsx +0 -46
  903. package/sincpro_mobile_ui/views/FormViewV2.context.tsx +0 -79
  904. package/sincpro_mobile_ui/views/FormViewV2.tsx +0 -248
  905. package/sincpro_mobile_ui/views/ListViewV2.context.tsx +0 -87
  906. package/sincpro_mobile_ui/views/ListViewV2.tsx +0 -575
  907. package/sincpro_mobile_ui/views/Wizard/Wizard.context.tsx +0 -164
  908. package/sincpro_mobile_ui/views/Wizard/Wizard.tsx +0 -147
  909. package/sincpro_mobile_ui/views/Wizard/index.ts +0 -11
  910. package/sincpro_mobile_ui/views/types/IFormView.ts +0 -24
  911. package/sincpro_mobile_ui/views/types/IListView.ts +0 -78
  912. package/sincpro_mobile_ui/views/types/UIItem.ts +0 -23
  913. package/sincpro_mobile_ui/widgets/CircleButton.tsx +0 -63
  914. package/sincpro_mobile_ui/widgets/GeoPermissionCard.tsx +0 -62
  915. package/sincpro_mobile_ui/widgets/HomeHeader.tsx +0 -50
  916. package/sincpro_mobile_ui/widgets/JSONViewer.tsx +0 -192
  917. package/sincpro_mobile_ui/widgets/MenuCard.tsx +0 -37
  918. package/sincpro_mobile_ui/widgets/MenuGrid.tsx +0 -33
  919. package/sincpro_mobile_ui/widgets/ScreenHeader.tsx +0 -72
  920. package/sincpro_mobile_ui/widgets/TimeZoneSelector.tsx +0 -83
  921. package/sincpro_mobile_ui/widgets/TimeZoneSelectorModal.tsx +0 -179
  922. package/sincpro_mobile_ui/widgets/index.ts +0 -7
  923. /package/lib/{module/theme → theme}/globals.css +0 -0
@@ -1,33 +0,0 @@
1
- import { Control, Controller, FieldValues, Path } from "react-hook-form";
2
-
3
- import RadioButton from "./Form.RadioButton";
4
-
5
- interface ControlledRadioButtonProps<T extends FieldValues> {
6
- control: Control<T>;
7
- name: Path<T>;
8
- label: string;
9
- value: any;
10
- }
11
-
12
- function ControlledRadioButton<T extends FieldValues>({
13
- control,
14
- name,
15
- label,
16
- value,
17
- }: ControlledRadioButtonProps<T>) {
18
- return (
19
- <Controller
20
- control={control}
21
- name={name}
22
- render={({ field: { onChange, value: selectedValue } }) => (
23
- <RadioButton
24
- label={label}
25
- onPress={() => onChange(value)}
26
- selected={selectedValue === value}
27
- />
28
- )}
29
- />
30
- );
31
- }
32
-
33
- export default ControlledRadioButton;
@@ -1,171 +0,0 @@
1
- import { useState } from "react";
2
- import { Modal, TouchableOpacity, TouchableWithoutFeedback, View } from "react-native";
3
- import { tv } from "tailwind-variants";
4
-
5
- import { Display } from "../Display";
6
- import { theme } from "../theme";
7
- import { Typography } from "../Typography";
8
-
9
- const dropdown = tv({
10
- slots: {
11
- button: "flex-row justify-between items-center rounded-lg px-3",
12
- overlay: "flex-1 bg-black/40 justify-center items-center",
13
- dropdownContainer: "rounded-xl mx-5 max-w-[320px] w-[90%] max-h-[70%]",
14
- header: "flex-row justify-between items-center px-4 py-3 border-b border-border-default",
15
- optionsList: "p-1",
16
- option: "py-3 px-3 rounded-lg my-0.5",
17
- separator: "h-[1px] bg-border-light mx-3",
18
- },
19
- variants: {
20
- variant: {
21
- primary: {
22
- button: "bg-primary",
23
- },
24
- secondary: {
25
- button: "bg-bg-card border border-primary",
26
- },
27
- outline: {
28
- button: "bg-transparent border border-primary",
29
- },
30
- },
31
- size: {
32
- xs: {
33
- button: "py-1.5 min-h-[32px]",
34
- },
35
- small: {
36
- button: "py-2 min-h-[36px]",
37
- },
38
- medium: {
39
- button: "py-2.5 min-h-[40px]",
40
- },
41
- large: {
42
- button: "py-3 min-h-[44px]",
43
- },
44
- },
45
- disabled: {
46
- true: {
47
- option: "opacity-50",
48
- },
49
- },
50
- },
51
- defaultVariants: {
52
- variant: "secondary",
53
- size: "small",
54
- },
55
- });
56
-
57
- export interface DropdownOption {
58
- id: string;
59
- title: string;
60
- onPress: () => void;
61
- disabled?: boolean;
62
- }
63
-
64
- interface DropdownButtonProps {
65
- title: string;
66
- options: DropdownOption[];
67
- variant?: "primary" | "secondary" | "outline";
68
- size?: "xs" | "small" | "medium" | "large";
69
- }
70
-
71
- function DropdownButton({
72
- title,
73
- options,
74
- variant = "secondary",
75
- size = "small",
76
- }: DropdownButtonProps) {
77
- const [isOpen, setIsOpen] = useState(false);
78
-
79
- const handleOptionPress = (option: DropdownOption) => {
80
- if (!option.disabled) {
81
- option.onPress();
82
- setIsOpen(false);
83
- }
84
- };
85
-
86
- const styles = dropdown({ variant, size });
87
-
88
- const textColorClass = {
89
- primary: "text-text-on-primary",
90
- outline: "text-primary",
91
- secondary: "text-primary",
92
- }[variant];
93
-
94
- const iconColor = {
95
- primary: theme.text.onPrimary,
96
- outline: theme.primary,
97
- secondary: theme.primary,
98
- }[variant];
99
-
100
- const textVariant = {
101
- large: "body" as const,
102
- medium: "body" as const,
103
- xs: "bodySmall" as const,
104
- small: "bodySmall" as const,
105
- }[size];
106
-
107
- return (
108
- <>
109
- <TouchableOpacity
110
- activeOpacity={0.7}
111
- className={styles.button()}
112
- onPress={() => setIsOpen(true)}
113
- >
114
- <Typography.Text className={textColorClass} variant={textVariant}>
115
- {title}
116
- </Typography.Text>
117
- <Display.Icon color={iconColor} name="chevron-down" size={16} type="feather" />
118
- </TouchableOpacity>
119
-
120
- <Modal animationType="fade" transparent visible={isOpen}>
121
- <TouchableWithoutFeedback onPress={() => setIsOpen(false)}>
122
- <View className={styles.overlay()}>
123
- <TouchableWithoutFeedback>
124
- <View
125
- className={styles.dropdownContainer()}
126
- style={{
127
- backgroundColor: theme.bg.popover,
128
- ...theme.shadow.lg,
129
- }}
130
- >
131
- <View className={styles.header()}>
132
- <Typography.Text className="text-text-primary" semibold variant="bodyLarge">
133
- {title}
134
- </Typography.Text>
135
- <TouchableOpacity onPress={() => setIsOpen(false)}>
136
- <Display.Icon name="x" size={20} type="feather" />
137
- </TouchableOpacity>
138
- </View>
139
-
140
- <View className={styles.optionsList()}>
141
- {options.map((option, index) => (
142
- <View key={option.id}>
143
- <TouchableOpacity
144
- activeOpacity={0.7}
145
- className={dropdown({ disabled: option.disabled }).option()}
146
- disabled={option.disabled}
147
- onPress={() => handleOptionPress(option)}
148
- >
149
- <Typography.Text
150
- className={
151
- option.disabled ? "text-text-disabled" : "text-text-primary"
152
- }
153
- variant="body"
154
- >
155
- {option.title}
156
- </Typography.Text>
157
- </TouchableOpacity>
158
- {index < options.length - 1 && <View className={styles.separator()} />}
159
- </View>
160
- ))}
161
- </View>
162
- </View>
163
- </TouchableWithoutFeedback>
164
- </View>
165
- </TouchableWithoutFeedback>
166
- </Modal>
167
- </>
168
- );
169
- }
170
-
171
- export default DropdownButton;
@@ -1,59 +0,0 @@
1
- import { FC } from "react";
2
- import { TouchableOpacity, View } from "react-native";
3
-
4
- import { tv } from "../theme/tw";
5
- import { Typography } from "../Typography";
6
-
7
- const filterButton = tv({
8
- base: "rounded-lg items-center justify-center py-2 px-3 min-h-[36px]",
9
- variants: {
10
- active: {
11
- true: "bg-primary border-0",
12
- false: "bg-transparent border border-brand-primary",
13
- },
14
- },
15
- defaultVariants: {
16
- active: false,
17
- },
18
- });
19
-
20
- const filterText = tv({
21
- base: "font-bold",
22
- variants: {
23
- active: {
24
- true: "text-white",
25
- false: "text-primary",
26
- },
27
- },
28
- defaultVariants: {
29
- active: false,
30
- },
31
- });
32
-
33
- export interface FilterButtonProps {
34
- title: string;
35
- active: boolean;
36
- onPress: () => void;
37
- }
38
-
39
- export const FilterButton: FC<FilterButtonProps> = ({ title, active, onPress }) => {
40
- return (
41
- <TouchableOpacity
42
- activeOpacity={0.8}
43
- className={filterButton({ active })}
44
- onPress={onPress}
45
- >
46
- <Typography.Text className={filterText({ active })} variant="buttonSmall">
47
- {title}
48
- </Typography.Text>
49
- </TouchableOpacity>
50
- );
51
- };
52
-
53
- interface FilterButtonGroupProps {
54
- children: React.ReactNode;
55
- }
56
-
57
- export function FilterButtonGroup({ children }: FilterButtonGroupProps) {
58
- return <View className="flex-row gap-2 p-3">{children}</View>;
59
- }
@@ -1,190 +0,0 @@
1
- import { useCallback, useMemo, useState } from "react";
2
- import { StyleProp, TouchableOpacity, View, ViewStyle } from "react-native";
3
- import { tv } from "tailwind-variants";
4
-
5
- import { Dialog, type EditableValueModalChip } from "../Dialog";
6
- import { Display } from "../Display";
7
- import { normalizeQuantity, roundTo } from "../lib/quantity";
8
- import { Typography } from "../Typography";
9
-
10
- const fractionalQuantityInput = tv({
11
- slots: {
12
- container: "flex-row items-center border border-brand-accent rounded-full px-1",
13
- button: "w-9 h-9 rounded-full justify-center items-center",
14
- valueContainer: "min-w-[60px] items-center px-3",
15
- },
16
- variants: {
17
- disabled: {
18
- true: {
19
- button: "opacity-40",
20
- },
21
- },
22
- },
23
- });
24
-
25
- interface FractionalQuantityInputProps {
26
- value: number;
27
- onChange: (value: number) => void;
28
- precision?: number;
29
- minIncrement?: number;
30
- maxValue?: number;
31
- style?: StyleProp<ViewStyle>;
32
- disabled?: boolean;
33
- quickAddIncrements?: number[];
34
- }
35
-
36
- function parseLocalizedNumber(raw: string): number {
37
- let s = raw.trim();
38
- if (s === "") return 0;
39
- s = s.replace(/[^0-9.,+-]/g, "");
40
- const hasComma = s.includes(",");
41
- const hasDot = s.includes(".");
42
- if (hasComma && (!hasDot || s.lastIndexOf(",") > s.lastIndexOf("."))) {
43
- s = s.replace(/\./g, "").replace(/,/g, ".");
44
- } else {
45
- if (!hasComma && hasDot) {
46
- if (/^\d{1,3}(\.\d{3})+$/.test(s)) {
47
- s = s.replace(/\./g, "");
48
- } else if (s.split(".").length - 1 > 1) {
49
- const parts = s.split(".");
50
- const decimal = parts.pop();
51
- s = parts.join("") + "." + decimal;
52
- }
53
- } else if (hasComma && hasDot) {
54
- s = s.replace(/,/g, "");
55
- }
56
- s = s.replace(/,/g, "");
57
- }
58
- const n = parseFloat(s);
59
- if (isNaN(n)) return 0;
60
- return n;
61
- }
62
-
63
- function FractionalQuantityInput({
64
- value,
65
- onChange,
66
- precision = 2,
67
- minIncrement,
68
- maxValue = 999999,
69
- style,
70
- disabled,
71
- quickAddIncrements,
72
- }: FractionalQuantityInputProps) {
73
- const [modalVisible, setModalVisible] = useState(false);
74
- const [draft, setDraft] = useState(String(value));
75
-
76
- const effectiveIncrement = useMemo(() => {
77
- if (minIncrement && minIncrement > 0) return minIncrement;
78
- return 1 / Math.pow(10, precision);
79
- }, [minIncrement, precision]);
80
-
81
- const chips = useMemo(() => {
82
- if (quickAddIncrements && quickAddIncrements.length > 0) return quickAddIncrements;
83
- const base = effectiveIncrement;
84
- if (base >= 1) return [1, 2, 5];
85
- if (base >= 0.5) return [0.5, 1, 2];
86
- if (base >= 0.25) return [0.25, 0.5, 1];
87
- if (base >= 0.1) return [0.1, 0.25, 0.5];
88
- return [base, base * 2, base * 5];
89
- }, [effectiveIncrement, quickAddIncrements]);
90
-
91
- const applyValue = useCallback(
92
- (next: number) => {
93
- if (next < 0) next = 0;
94
- if (next > maxValue) next = maxValue;
95
- next = normalizeQuantity(next, effectiveIncrement, precision);
96
- onChange(next);
97
- },
98
- [onChange, maxValue, effectiveIncrement, precision],
99
- );
100
-
101
- function handleDecrement() {
102
- applyValue(value - 1);
103
- }
104
-
105
- function handleIncrement() {
106
- applyValue(value + 1);
107
- }
108
-
109
- function openModal() {
110
- setDraft(String(value));
111
- setModalVisible(true);
112
- }
113
-
114
- function confirmDraft() {
115
- let parsed = parseLocalizedNumber(draft);
116
- parsed = roundTo(parsed, precision);
117
- if (parsed < 0) parsed = 0;
118
- if (parsed > maxValue) parsed = maxValue;
119
- onChange(parsed);
120
- setModalVisible(false);
121
- }
122
-
123
- const formatted = useMemo(() => value.toFixed(precision), [value, precision]);
124
-
125
- const modalChips: EditableValueModalChip[] = (chips as number[]).map((item) => ({
126
- label: `+${item}`,
127
- onPress: () => {
128
- const base = parseLocalizedNumber(draft) || 0;
129
- const next = roundTo(base + item, precision);
130
- setDraft(String(next));
131
- },
132
- }));
133
-
134
- const decrementStyles = fractionalQuantityInput({ disabled: disabled || value <= 0 });
135
- const incrementStyles = fractionalQuantityInput({ disabled });
136
- const containerStyles = fractionalQuantityInput();
137
-
138
- return (
139
- <View
140
- accessibilityLabel={`Cantidad ${formatted}`}
141
- className={containerStyles.container()}
142
- style={style}
143
- >
144
- <TouchableOpacity
145
- className={decrementStyles.button()}
146
- disabled={disabled || value <= 0}
147
- onPress={handleDecrement}
148
- >
149
- <Display.Icon name="minus" size={16} type="feather" />
150
- </TouchableOpacity>
151
-
152
- <TouchableOpacity
153
- className={containerStyles.valueContainer()}
154
- disabled={disabled}
155
- onPress={openModal}
156
- >
157
- <Typography.Text semibold variant="body">
158
- {formatted}
159
- </Typography.Text>
160
- </TouchableOpacity>
161
-
162
- <TouchableOpacity
163
- className={incrementStyles.button()}
164
- disabled={disabled}
165
- onPress={handleIncrement}
166
- >
167
- <Display.Icon name="plus" size={16} type="feather" />
168
- </TouchableOpacity>
169
-
170
- <Dialog.EditValue
171
- chips={modalChips}
172
- keyboardType="decimal-pad"
173
- onCancel={() => setModalVisible(false)}
174
- onChangeValue={setDraft}
175
- onConfirm={confirmDraft}
176
- placeholder={`0${precision > 0 ? ",".padEnd(precision + 1, "0") : ""}`}
177
- rightAdornment={
178
- <Typography.Text className="ml-1" variant="body">
179
- (mín {effectiveIncrement})
180
- </Typography.Text>
181
- }
182
- title="Editar cantidad"
183
- value={draft}
184
- visible={modalVisible}
185
- />
186
- </View>
187
- );
188
- }
189
-
190
- export default FractionalQuantityInput;
@@ -1,102 +0,0 @@
1
- import { ActivityIndicator, TouchableOpacity } from "react-native";
2
-
3
- import { Display } from "../Display";
4
- import { IconType } from "../lib/icon";
5
- import { theme } from "../theme";
6
- import { tv, type VariantProps } from "../theme/tw";
7
-
8
- const iconButton = tv({
9
- base: "rounded-lg items-center justify-center",
10
- variants: {
11
- variant: {
12
- primary: "bg-primary",
13
- secondary: "bg-bg-card border border-primary",
14
- tertiary: "bg-accent",
15
- ghost: "bg-transparent",
16
- },
17
- size: {
18
- small: "w-8 h-8",
19
- medium: "w-10 h-10",
20
- large: "w-12 h-12",
21
- },
22
- rounded: {
23
- true: "rounded-full",
24
- },
25
- disabled: {
26
- true: "opacity-50",
27
- },
28
- },
29
- defaultVariants: {
30
- variant: "ghost",
31
- size: "medium",
32
- rounded: false,
33
- disabled: false,
34
- },
35
- });
36
-
37
- interface IconButtonProps extends VariantProps<typeof iconButton> {
38
- icon?: string;
39
- type?: IconType;
40
- onPress: () => void;
41
- loading?: boolean;
42
- iconColor?: string;
43
- className?: string;
44
- }
45
-
46
- function IconButton({
47
- icon,
48
- type = "feather",
49
- onPress,
50
- variant = "ghost",
51
- size = "medium",
52
- loading = false,
53
- disabled = false,
54
- rounded = false,
55
- iconColor,
56
- className,
57
- }: IconButtonProps) {
58
- const getLoadingColor = () => {
59
- switch (variant) {
60
- case "primary":
61
- case "tertiary":
62
- return theme.primary;
63
- case "secondary":
64
- case "ghost":
65
- return theme.primary;
66
- default:
67
- return theme.primary;
68
- }
69
- };
70
-
71
- const getIconColor = () => {
72
- if (iconColor) return iconColor;
73
- switch (variant) {
74
- case "primary":
75
- case "tertiary":
76
- return theme.primary;
77
- case "secondary":
78
- return theme.primary;
79
- case "ghost":
80
- return theme.primary;
81
- default:
82
- return theme.primary;
83
- }
84
- };
85
-
86
- return (
87
- <TouchableOpacity
88
- activeOpacity={0.7}
89
- className={iconButton({ variant, size, rounded, disabled, className })}
90
- disabled={disabled || loading}
91
- onPress={onPress}
92
- >
93
- {loading ? (
94
- <ActivityIndicator color={getLoadingColor()} size="small" />
95
- ) : (
96
- <Display.Icon color={getIconColor()} name={icon} size={24} type={type} />
97
- )}
98
- </TouchableOpacity>
99
- );
100
- }
101
-
102
- export default IconButton;
@@ -1,88 +0,0 @@
1
- import type React from "react";
2
- import { useState } from "react";
3
- import { TextInput, type TextInputProps, View } from "react-native";
4
-
5
- import { theme } from "../theme";
6
- import { cn, tv } from "../theme/tw";
7
- import { Typography } from "../Typography";
8
-
9
- const inputContainer = tv({
10
- base: "rounded-lg bg-bg-card shadow-sm",
11
- variants: {
12
- state: {
13
- error: "border-2 border-danger",
14
- focused: "border-2 border-ring",
15
- default: "border border-input",
16
- },
17
- },
18
- defaultVariants: { state: "default" },
19
- });
20
-
21
- interface FormInputProps extends TextInputProps {
22
- label: string;
23
- error?: string;
24
- tooltip?: string;
25
- className?: string;
26
- }
27
-
28
- function FormInput({
29
- label,
30
- error,
31
- tooltip,
32
- style,
33
- multiline = false,
34
- numberOfLines = 1,
35
- onFocus,
36
- onBlur,
37
- className,
38
- ...props
39
- }: FormInputProps) {
40
- const [isFocused, setIsFocused] = useState(false);
41
- const hasError = Boolean(error);
42
-
43
- const handleFocus = (e: any) => {
44
- setIsFocused(true);
45
- onFocus?.(e);
46
- };
47
-
48
- const handleBlur = (e: any) => {
49
- setIsFocused(false);
50
- onBlur?.(e);
51
- };
52
-
53
- const getState = () => {
54
- if (hasError) return "error";
55
- if (isFocused) return "focused";
56
- return "default";
57
- };
58
-
59
- return (
60
- <View className={cn("mb-2", className)}>
61
- <Typography.Text className="mb-1 font-medium text-text-primary" variant="bodySmall">
62
- {label}
63
- </Typography.Text>
64
- <View className={inputContainer({ state: getState() })}>
65
- <TextInput
66
- className={cn(
67
- "px-3 py-2.5 text-sm min-h-[44px] text-text-primary",
68
- multiline && "min-h-[64px] pt-2.5",
69
- )}
70
- multiline={multiline}
71
- numberOfLines={numberOfLines}
72
- onBlur={handleBlur}
73
- onFocus={handleFocus}
74
- placeholderTextColor={theme.text.tertiary}
75
- textAlignVertical={multiline ? "top" : "center"}
76
- {...props}
77
- />
78
- </View>
79
- {hasError && (
80
- <Typography.Text className="mt-0.5 text-danger" variant="bodySmall">
81
- {error}
82
- </Typography.Text>
83
- )}
84
- </View>
85
- );
86
- }
87
-
88
- export default FormInput;
@@ -1,66 +0,0 @@
1
- import React, { FC, useState } from "react";
2
- import { TextInputProps, View } from "react-native";
3
-
4
- import { tv } from "../theme/tw";
5
- import { Typography } from "../Typography";
6
- import TextInputF from "./Form.TextInput";
7
-
8
- const inputFieldBorder = tv({
9
- base: "rounded p-2",
10
- variants: {
11
- state: {
12
- error: "border-2 border-danger",
13
- focused: "border-2 border-ring",
14
- default: "border border-input",
15
- },
16
- },
17
- defaultVariants: { state: "default" },
18
- });
19
-
20
- export interface InputFieldProps extends TextInputProps {
21
- label: string;
22
- inputProps: React.ComponentProps<typeof TextInputF>;
23
- error?: string;
24
- }
25
-
26
- const InputField: FC<InputFieldProps> = ({ label, inputProps, error }) => {
27
- const [isFocused, setIsFocused] = useState(false);
28
- const hasError = Boolean(error);
29
-
30
- const handleFocus = (e: any) => {
31
- setIsFocused(true);
32
- inputProps?.onFocus?.(e);
33
- };
34
-
35
- const handleBlur = (e: any) => {
36
- setIsFocused(false);
37
- inputProps?.onBlur?.(e);
38
- };
39
-
40
- const getState = () => {
41
- if (hasError) return "error";
42
- if (isFocused) return "focused";
43
- return "default";
44
- };
45
-
46
- return (
47
- <View className="mb-4">
48
- <Typography.Text className="mb-1" variant="bodyLarge">
49
- {label}
50
- </Typography.Text>
51
- <TextInputF
52
- className={inputFieldBorder({ state: getState() })}
53
- {...inputProps}
54
- onBlur={handleBlur}
55
- onFocus={handleFocus}
56
- />
57
- {error && (
58
- <Typography.Text className="mt-1 text-danger" variant="bodySmall">
59
- {error}
60
- </Typography.Text>
61
- )}
62
- </View>
63
- );
64
- };
65
-
66
- export default InputField;