@trilogy-ds/react 0.0.1-beta-3 → 0.0.1-beta.10

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 (888) hide show
  1. package/README.md +117 -0
  2. package/lib/components/accordion/Accordion.d.ts +3 -7
  3. package/lib/components/accordion/Accordion.js +7 -10
  4. package/lib/components/accordion/Accordion.js.map +1 -1
  5. package/lib/components/accordion/Accordion.native.d.ts +4 -7
  6. package/lib/components/accordion/Accordion.native.js +6 -8
  7. package/lib/components/accordion/Accordion.native.js.map +1 -1
  8. package/lib/components/accordion/AccordionProps.d.ts +0 -1
  9. package/lib/components/accordion/body/AccordionBody.d.ts +2 -2
  10. package/lib/components/accordion/body/AccordionBody.js +8 -6
  11. package/lib/components/accordion/body/AccordionBody.js.map +1 -1
  12. package/lib/components/accordion/body/AccordionBody.native.d.ts +2 -2
  13. package/lib/components/accordion/body/AccordionBody.native.js +3 -3
  14. package/lib/components/accordion/body/AccordionBody.native.js.map +1 -1
  15. package/lib/components/accordion/header/AccordionHeader.d.ts +2 -2
  16. package/lib/components/accordion/header/AccordionHeader.js +6 -6
  17. package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
  18. package/lib/components/accordion/header/AccordionHeader.native.d.ts +2 -2
  19. package/lib/components/accordion/header/AccordionHeader.native.js +6 -6
  20. package/lib/components/accordion/header/AccordionHeader.native.js.map +1 -1
  21. package/lib/components/accordion/item/AccordionItem.d.ts +1 -1
  22. package/lib/components/accordion/item/AccordionItem.js +9 -11
  23. package/lib/components/accordion/item/AccordionItem.js.map +1 -1
  24. package/lib/components/accordion/item/AccordionItem.native.d.ts +2 -2
  25. package/lib/components/accordion/item/AccordionItem.native.js +38 -36
  26. package/lib/components/accordion/item/AccordionItem.native.js.map +1 -1
  27. package/lib/components/alert/Alert.d.ts +1 -1
  28. package/lib/components/alert/Alert.js +13 -13
  29. package/lib/components/alert/Alert.js.map +1 -1
  30. package/lib/components/alert/Alert.native.d.ts +2 -2
  31. package/lib/components/alert/Alert.native.js +29 -22
  32. package/lib/components/alert/Alert.native.js.map +1 -1
  33. package/lib/components/autocomplete/AutoComplete.native.d.ts +2 -2
  34. package/lib/components/autocomplete/AutoComplete.native.js +19 -14
  35. package/lib/components/autocomplete/AutoComplete.native.js.map +1 -1
  36. package/lib/components/autocomplete/AutoCompleteProps.d.ts +2 -1
  37. package/lib/components/autocomplete/AutoCompleteProps.js +1 -1
  38. package/lib/components/autocomplete/AutoCompleteProps.js.map +1 -1
  39. package/lib/components/autocomplete/index.d.ts +1 -0
  40. package/lib/components/autocomplete/index.js +1 -0
  41. package/lib/components/autocomplete/index.js.map +1 -1
  42. package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +3 -3
  43. package/lib/components/autocomplete/item/AutoCompleteIem.native.js +6 -6
  44. package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +1 -1
  45. package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +2 -2
  46. package/lib/components/autocomplete/item/AutoCompleteItem.js +6 -6
  47. package/lib/components/autocomplete/item/AutoCompleteItem.js.map +1 -1
  48. package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +2 -2
  49. package/lib/components/autocomplete/menu/AutoCompleteMenu.js +7 -7
  50. package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +1 -1
  51. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +3 -3
  52. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +8 -8
  53. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -1
  54. package/lib/components/autolayout/AutoLayout.d.ts +2 -2
  55. package/lib/components/autolayout/AutoLayout.helpers.d.ts +6 -6
  56. package/lib/components/autolayout/AutoLayout.helpers.js +24 -14
  57. package/lib/components/autolayout/AutoLayout.helpers.js.map +1 -1
  58. package/lib/components/autolayout/AutoLayout.js +2 -2
  59. package/lib/components/autolayout/AutoLayout.js.map +1 -1
  60. package/lib/components/autolayout/AutoLayout.native.d.ts +2 -2
  61. package/lib/components/autolayout/AutoLayout.native.js +7 -7
  62. package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
  63. package/lib/components/autolayout/AutoLayoutProps.d.ts +4 -4
  64. package/lib/components/autolayout/AutoLayoutWrapper.d.ts +2 -2
  65. package/lib/components/autolayout/AutoLayoutWrapper.js +3 -3
  66. package/lib/components/autolayout/AutoLayoutWrapper.js.map +1 -1
  67. package/lib/components/autolayout/DefaultSpacingMatrix.d.ts +1 -1
  68. package/lib/components/autolayout/DefaultSpacingMatrix.js +6 -0
  69. package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
  70. package/lib/components/badge/Badge.d.ts +1 -1
  71. package/lib/components/badge/Badge.js +15 -13
  72. package/lib/components/badge/Badge.js.map +1 -1
  73. package/lib/components/badge/Badge.native.d.ts +2 -2
  74. package/lib/components/badge/Badge.native.js +15 -13
  75. package/lib/components/badge/Badge.native.js.map +1 -1
  76. package/lib/components/badge/BadgeEnum.d.ts +1 -2
  77. package/lib/components/badge/BadgeEnum.js +1 -2
  78. package/lib/components/badge/BadgeEnum.js.map +1 -1
  79. package/lib/components/box/Box.native.d.ts +2 -2
  80. package/lib/components/box/Box.native.js +34 -27
  81. package/lib/components/box/Box.native.js.map +1 -1
  82. package/lib/components/box/content/BoxContent.d.ts +1 -1
  83. package/lib/components/box/content/BoxContent.js +7 -7
  84. package/lib/components/box/content/BoxContent.js.map +1 -1
  85. package/lib/components/box/content/BoxContent.native.d.ts +2 -2
  86. package/lib/components/box/content/BoxContent.native.js +9 -7
  87. package/lib/components/box/content/BoxContent.native.js.map +1 -1
  88. package/lib/components/box/footer/BoxFooter.d.ts +1 -1
  89. package/lib/components/box/footer/BoxFooter.js +7 -7
  90. package/lib/components/box/footer/BoxFooter.js.map +1 -1
  91. package/lib/components/box/footer/BoxFooter.native.d.ts +2 -2
  92. package/lib/components/box/footer/BoxFooter.native.js +9 -7
  93. package/lib/components/box/footer/BoxFooter.native.js.map +1 -1
  94. package/lib/components/box/header/BoxHeader.d.ts +1 -1
  95. package/lib/components/box/header/BoxHeader.js +9 -9
  96. package/lib/components/box/header/BoxHeader.js.map +1 -1
  97. package/lib/components/box/header/BoxHeader.native.d.ts +2 -2
  98. package/lib/components/box/header/BoxHeader.native.js +18 -13
  99. package/lib/components/box/header/BoxHeader.native.js.map +1 -1
  100. package/lib/components/box/item/BoxItem.d.ts +1 -1
  101. package/lib/components/box/item/BoxItem.js +5 -5
  102. package/lib/components/box/item/BoxItem.js.map +1 -1
  103. package/lib/components/box/item/BoxItem.native.d.ts +2 -2
  104. package/lib/components/box/item/BoxItem.native.js +6 -6
  105. package/lib/components/box/item/BoxItem.native.js.map +1 -1
  106. package/lib/components/box/table-container/BoxTableContainer.d.ts +1 -1
  107. package/lib/components/box/table-container/BoxTableContainer.js +5 -5
  108. package/lib/components/box/table-container/BoxTableContainer.js.map +1 -1
  109. package/lib/components/box/table-container/BoxTableContainer.native.d.ts +2 -2
  110. package/lib/components/box/table-container/BoxTableContainer.native.js +3 -3
  111. package/lib/components/box/table-container/BoxTableContainer.native.js.map +1 -1
  112. package/lib/components/breadcrumb/Breadcrumb.d.ts +1 -1
  113. package/lib/components/breadcrumb/Breadcrumb.js +5 -5
  114. package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
  115. package/lib/components/breadcrumb/Breadcrumb.native.d.ts +2 -2
  116. package/lib/components/breadcrumb/Breadcrumb.native.js +6 -6
  117. package/lib/components/breadcrumb/Breadcrumb.native.js.map +1 -1
  118. package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +1 -1
  119. package/lib/components/breadcrumb/item/BreadcrumbItem.js +8 -8
  120. package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
  121. package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +2 -2
  122. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +8 -6
  123. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js.map +1 -1
  124. package/lib/components/button/Button.d.ts +2 -2
  125. package/lib/components/button/Button.js +20 -20
  126. package/lib/components/button/Button.js.map +1 -1
  127. package/lib/components/button/Button.native.d.ts +2 -2
  128. package/lib/components/button/Button.native.js +118 -82
  129. package/lib/components/button/Button.native.js.map +1 -1
  130. package/lib/components/button/ButtonEnum.d.ts +6 -5
  131. package/lib/components/button/ButtonEnum.js +8 -7
  132. package/lib/components/button/ButtonEnum.js.map +1 -1
  133. package/lib/components/button/ButtonProps.d.ts +2 -2
  134. package/lib/components/button/list/ButtonList.d.ts +1 -1
  135. package/lib/components/button/list/ButtonList.js +6 -6
  136. package/lib/components/button/list/ButtonList.js.map +1 -1
  137. package/lib/components/button/list/ButtonList.native.d.ts +3 -3
  138. package/lib/components/button/list/ButtonList.native.js +9 -9
  139. package/lib/components/button/list/ButtonList.native.js.map +1 -1
  140. package/lib/components/card/Card.native.d.ts +3 -3
  141. package/lib/components/card/Card.native.js +36 -26
  142. package/lib/components/card/Card.native.js.map +1 -1
  143. package/lib/components/card/content/CardContent.d.ts +2 -2
  144. package/lib/components/card/content/CardContent.js +12 -12
  145. package/lib/components/card/content/CardContent.js.map +1 -1
  146. package/lib/components/card/content/CardContent.native.d.ts +1 -1
  147. package/lib/components/card/content/CardContent.native.js +7 -7
  148. package/lib/components/card/content/CardContent.native.js.map +1 -1
  149. package/lib/components/card/content/CardContentProps.d.ts +2 -2
  150. package/lib/components/card/image/CardImage.d.ts +1 -1
  151. package/lib/components/card/image/CardImage.js +8 -8
  152. package/lib/components/card/image/CardImage.js.map +1 -1
  153. package/lib/components/checkbox/Checkbox.d.ts +2 -2
  154. package/lib/components/checkbox/Checkbox.js +16 -49
  155. package/lib/components/checkbox/Checkbox.js.map +1 -1
  156. package/lib/components/checkbox/Checkbox.native.d.ts +3 -6
  157. package/lib/components/checkbox/Checkbox.native.js +91 -79
  158. package/lib/components/checkbox/Checkbox.native.js.map +1 -1
  159. package/lib/components/checkbox/CheckboxProps.d.ts +1 -25
  160. package/lib/components/chips/Chips.d.ts +1 -1
  161. package/lib/components/chips/Chips.js +7 -7
  162. package/lib/components/chips/Chips.js.map +1 -1
  163. package/lib/components/chips/Chips.native.d.ts +2 -2
  164. package/lib/components/chips/Chips.native.js +16 -16
  165. package/lib/components/chips/Chips.native.js.map +1 -1
  166. package/lib/components/chips/list/ChipsList.d.ts +1 -1
  167. package/lib/components/chips/list/ChipsList.js +6 -6
  168. package/lib/components/chips/list/ChipsList.js.map +1 -1
  169. package/lib/components/columns/Columns.d.ts +1 -1
  170. package/lib/components/columns/Columns.js +6 -6
  171. package/lib/components/columns/Columns.js.map +1 -1
  172. package/lib/components/columns/item/ColumnsItem.d.ts +1 -1
  173. package/lib/components/columns/item/ColumnsItem.js +7 -7
  174. package/lib/components/columns/item/ColumnsItem.js.map +1 -1
  175. package/lib/components/container/Container.d.ts +1 -1
  176. package/lib/components/container/Container.js +10 -10
  177. package/lib/components/container/Container.js.map +1 -1
  178. package/lib/components/container/Container.native.d.ts +2 -2
  179. package/lib/components/container/Container.native.js +19 -12
  180. package/lib/components/container/Container.native.js.map +1 -1
  181. package/lib/components/countdown/Countdown.native.js +1 -1
  182. package/lib/components/countdown/Countdown.native.js.map +1 -1
  183. package/lib/components/disclaimer/Disclaimer.d.ts +1 -1
  184. package/lib/components/disclaimer/Disclaimer.js +13 -13
  185. package/lib/components/disclaimer/Disclaimer.js.map +1 -1
  186. package/lib/components/disclaimer/Disclaimer.native.d.ts +2 -2
  187. package/lib/components/disclaimer/Disclaimer.native.js +6 -6
  188. package/lib/components/disclaimer/Disclaimer.native.js.map +1 -1
  189. package/lib/components/disclaimer/item/DisclaimerItem.d.ts +1 -1
  190. package/lib/components/disclaimer/item/DisclaimerItem.js +5 -5
  191. package/lib/components/disclaimer/item/DisclaimerItem.js.map +1 -1
  192. package/lib/components/disclaimer/item/DisclaimerItem.native.d.ts +2 -2
  193. package/lib/components/disclaimer/item/DisclaimerItem.native.js +5 -5
  194. package/lib/components/disclaimer/item/DisclaimerItem.native.js.map +1 -1
  195. package/lib/components/divider/Divider.d.ts +1 -1
  196. package/lib/components/divider/Divider.js +9 -9
  197. package/lib/components/divider/Divider.js.map +1 -1
  198. package/lib/components/divider/Divider.native.d.ts +2 -2
  199. package/lib/components/divider/Divider.native.js +24 -20
  200. package/lib/components/divider/Divider.native.js.map +1 -1
  201. package/lib/components/dropdown/divider/DropdownDivider.d.ts +1 -1
  202. package/lib/components/dropdown/divider/DropdownDivider.js +6 -6
  203. package/lib/components/dropdown/divider/DropdownDivider.js.map +1 -1
  204. package/lib/components/dropdown/divider/DropdownDivider.native.d.ts +1 -1
  205. package/lib/components/dropdown/divider/DropdownDivider.native.js +3 -3
  206. package/lib/components/dropdown/divider/DropdownDivider.native.js.map +1 -1
  207. package/lib/components/dropdown/item/DropdownItem.native.d.ts +3 -3
  208. package/lib/components/dropdown/item/DropdownItem.native.js +3 -3
  209. package/lib/components/dropdown/item/DropdownItem.native.js.map +1 -1
  210. package/lib/components/dropdown/menu/DropdownMenu.d.ts +1 -1
  211. package/lib/components/dropdown/menu/DropdownMenu.js +6 -6
  212. package/lib/components/dropdown/menu/DropdownMenu.js.map +1 -1
  213. package/lib/components/dropdown/menu/DropdownMenu.native.d.ts +1 -1
  214. package/lib/components/dropdown/menu/DropdownMenu.native.js +2 -2
  215. package/lib/components/dropdown/menu/DropdownMenu.native.js.map +1 -1
  216. package/lib/components/enumsComponentsName.d.ts +1 -22
  217. package/lib/components/enumsComponentsName.js +1 -22
  218. package/lib/components/enumsComponentsName.js.map +1 -1
  219. package/lib/components/fab/Fab.d.ts +3 -2
  220. package/lib/components/fab/Fab.js +16 -15
  221. package/lib/components/fab/Fab.js.map +1 -1
  222. package/lib/components/fab/Fab.native.d.ts +4 -3
  223. package/lib/components/fab/Fab.native.js +22 -21
  224. package/lib/components/fab/Fab.native.js.map +1 -1
  225. package/lib/components/fab/FabProps.d.ts +4 -3
  226. package/lib/components/hero/Hero.d.ts +2 -2
  227. package/lib/components/hero/Hero.js +13 -11
  228. package/lib/components/hero/Hero.js.map +1 -1
  229. package/lib/components/hero/Hero.native.d.ts +3 -3
  230. package/lib/components/hero/Hero.native.js +28 -20
  231. package/lib/components/hero/Hero.native.js.map +1 -1
  232. package/lib/components/icon/Icon.d.ts +1 -1
  233. package/lib/components/icon/Icon.js +22 -18
  234. package/lib/components/icon/Icon.js.map +1 -1
  235. package/lib/components/icon/Icon.native.d.ts +2 -2
  236. package/lib/components/icon/Icon.native.js +33 -27
  237. package/lib/components/icon/Icon.native.js.map +1 -1
  238. package/lib/components/icon/IconEnum.d.ts +4 -7
  239. package/lib/components/icon/IconEnum.js +3 -6
  240. package/lib/components/icon/IconEnum.js.map +1 -1
  241. package/lib/components/icon/IconNameEnum.d.ts +1 -0
  242. package/lib/components/icon/IconNameEnum.js +1 -0
  243. package/lib/components/icon/IconNameEnum.js.map +1 -1
  244. package/lib/components/icon/circle/CircleIcon.d.ts +2 -2
  245. package/lib/components/icon/circle/CircleIcon.js +11 -11
  246. package/lib/components/icon/circle/CircleIcon.js.map +1 -1
  247. package/lib/components/icon/circle/CircleIcon.native.d.ts +2 -2
  248. package/lib/components/icon/circle/CircleIcon.native.js +22 -18
  249. package/lib/components/icon/circle/CircleIcon.native.js.map +1 -1
  250. package/lib/components/icon/status/StatusIcon.d.ts +2 -2
  251. package/lib/components/icon/status/StatusIcon.js +11 -13
  252. package/lib/components/icon/status/StatusIcon.js.map +1 -1
  253. package/lib/components/icon/text/TextIcon.d.ts +1 -1
  254. package/lib/components/icon/text/TextIcon.js +16 -14
  255. package/lib/components/icon/text/TextIcon.js.map +1 -1
  256. package/lib/components/image/Image.d.ts +1 -1
  257. package/lib/components/image/Image.js +7 -7
  258. package/lib/components/image/Image.js.map +1 -1
  259. package/lib/components/image/Image.native.d.ts +2 -2
  260. package/lib/components/image/Image.native.js +10 -9
  261. package/lib/components/image/Image.native.js.map +1 -1
  262. package/lib/components/index.d.ts +55 -60
  263. package/lib/components/index.js +55 -60
  264. package/lib/components/index.js.map +1 -1
  265. package/lib/components/input/Input.d.ts +3 -2
  266. package/lib/components/input/Input.js +76 -66
  267. package/lib/components/input/Input.js.map +1 -1
  268. package/lib/components/input/Input.native.d.ts +5 -3
  269. package/lib/components/input/Input.native.js +216 -131
  270. package/lib/components/input/Input.native.js.map +1 -1
  271. package/lib/components/input/InputProps.d.ts +6 -7
  272. package/lib/components/input/index.d.ts +1 -0
  273. package/lib/components/input/index.js +1 -0
  274. package/lib/components/input/index.js.map +1 -1
  275. package/lib/components/link/Link.d.ts +2 -4
  276. package/lib/components/link/Link.js +13 -15
  277. package/lib/components/link/Link.js.map +1 -1
  278. package/lib/components/link/Link.native.d.ts +3 -4
  279. package/lib/components/link/Link.native.js +75 -49
  280. package/lib/components/link/Link.native.js.map +1 -1
  281. package/lib/components/link/LinkProps.d.ts +0 -5
  282. package/lib/components/list/List.d.ts +1 -1
  283. package/lib/components/list/List.js +5 -5
  284. package/lib/components/list/List.js.map +1 -1
  285. package/lib/components/list/List.native.d.ts +2 -2
  286. package/lib/components/list/List.native.js +3 -3
  287. package/lib/components/list/List.native.js.map +1 -1
  288. package/lib/components/list/item/ListItem.d.ts +1 -1
  289. package/lib/components/list/item/ListItem.js +8 -8
  290. package/lib/components/list/item/ListItem.js.map +1 -1
  291. package/lib/components/list/item/ListItem.native.d.ts +3 -3
  292. package/lib/components/list/item/ListItem.native.js +20 -20
  293. package/lib/components/list/item/ListItem.native.js.map +1 -1
  294. package/lib/components/list/item/description/ListItemDescription.d.ts +2 -2
  295. package/lib/components/list/item/description/ListItemDescription.js +5 -5
  296. package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
  297. package/lib/components/list/item/description/ListItemDescription.native.d.ts +3 -3
  298. package/lib/components/list/item/description/ListItemDescription.native.js +6 -6
  299. package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
  300. package/lib/components/modal/Modal.d.ts +1 -1
  301. package/lib/components/modal/Modal.js +31 -28
  302. package/lib/components/modal/Modal.js.map +1 -1
  303. package/lib/components/modal/Modal.native.d.ts +2 -2
  304. package/lib/components/modal/Modal.native.js +57 -41
  305. package/lib/components/modal/Modal.native.js.map +1 -1
  306. package/lib/components/modal/ModalFooter.d.ts +2 -2
  307. package/lib/components/modal/ModalFooter.js +6 -6
  308. package/lib/components/modal/ModalFooter.js.map +1 -1
  309. package/lib/components/modal/ModalTitle.d.ts +2 -2
  310. package/lib/components/modal/ModalTitle.js +7 -7
  311. package/lib/components/modal/ModalTitle.js.map +1 -1
  312. package/lib/components/notification/Notification.d.ts +1 -1
  313. package/lib/components/notification/Notification.js +23 -18
  314. package/lib/components/notification/Notification.js.map +1 -1
  315. package/lib/components/notification/Notification.native.d.ts +2 -2
  316. package/lib/components/notification/Notification.native.js +40 -40
  317. package/lib/components/notification/Notification.native.js.map +1 -1
  318. package/lib/components/notification/NotificationEnum.js +10 -9
  319. package/lib/components/notification/NotificationEnum.js.map +1 -1
  320. package/lib/components/notification/deletable/DeletableNotification.d.ts +2 -2
  321. package/lib/components/notification/deletable/DeletableNotification.js +2 -2
  322. package/lib/components/notification/deletable/DeletableNotification.js.map +1 -1
  323. package/lib/components/notification/deletable/DeletableNotification.native.d.ts +3 -3
  324. package/lib/components/notification/deletable/DeletableNotification.native.js +33 -33
  325. package/lib/components/notification/deletable/DeletableNotification.native.js.map +1 -1
  326. package/lib/components/otp/Otp.d.ts +2 -3
  327. package/lib/components/otp/Otp.js +28 -27
  328. package/lib/components/otp/Otp.js.map +1 -1
  329. package/lib/components/otp/Otp.native.d.ts +2 -2
  330. package/lib/components/otp/Otp.native.js +38 -38
  331. package/lib/components/otp/Otp.native.js.map +1 -1
  332. package/lib/components/pagination/Pagination.native.d.ts +2 -2
  333. package/lib/components/pagination/Pagination.native.js +32 -32
  334. package/lib/components/pagination/Pagination.native.js.map +1 -1
  335. package/lib/components/popover/Popover.d.ts +1 -1
  336. package/lib/components/popover/Popover.js +7 -7
  337. package/lib/components/popover/Popover.js.map +1 -1
  338. package/lib/components/popover/Popover.native.d.ts +3 -3
  339. package/lib/components/popover/Popover.native.js +41 -29
  340. package/lib/components/popover/Popover.native.js.map +1 -1
  341. package/lib/components/price/Price.d.ts +3 -4
  342. package/lib/components/price/Price.js +32 -51
  343. package/lib/components/price/Price.js.map +1 -1
  344. package/lib/components/price/Price.native.d.ts +3 -5
  345. package/lib/components/price/Price.native.js +63 -74
  346. package/lib/components/price/Price.native.js.map +1 -1
  347. package/lib/components/price/PriceEnum.d.ts +0 -5
  348. package/lib/components/price/PriceEnum.js +0 -5
  349. package/lib/components/price/PriceEnum.js.map +1 -1
  350. package/lib/components/price/PriceProps.d.ts +3 -6
  351. package/lib/components/product-tour/ProductTour.native.d.ts +1 -1
  352. package/lib/components/product-tour/ProductTour.native.js +3 -3
  353. package/lib/components/product-tour/ProductTour.native.js.map +1 -1
  354. package/lib/components/progress/Progress.d.ts +1 -1
  355. package/lib/components/progress/Progress.js +11 -11
  356. package/lib/components/progress/Progress.js.map +1 -1
  357. package/lib/components/progress/Progress.native.d.ts +2 -2
  358. package/lib/components/progress/Progress.native.js +26 -23
  359. package/lib/components/progress/Progress.native.js.map +1 -1
  360. package/lib/components/progress/item/ProgressItem.d.ts +1 -1
  361. package/lib/components/progress/item/ProgressItem.js +7 -7
  362. package/lib/components/progress/item/ProgressItem.js.map +1 -1
  363. package/lib/components/progress/radial/ProgressRadial.d.ts +1 -1
  364. package/lib/components/progress/radial/ProgressRadial.js +26 -19
  365. package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
  366. package/lib/components/progress/radial/ProgressRadial.native.d.ts +2 -2
  367. package/lib/components/progress/radial/ProgressRadial.native.js +31 -28
  368. package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
  369. package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
  370. package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +2 -2
  371. package/lib/components/progress/radial/item/ProgressRadialtem.js +5 -5
  372. package/lib/components/progress/radial/item/ProgressRadialtem.js.map +1 -1
  373. package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.ts +1 -1
  374. package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +5 -5
  375. package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js.map +1 -1
  376. package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.d.ts +1 -1
  377. package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +47 -21
  378. package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js.map +1 -1
  379. package/lib/components/radio/Radio.d.ts +2 -2
  380. package/lib/components/radio/Radio.js +18 -49
  381. package/lib/components/radio/Radio.js.map +1 -1
  382. package/lib/components/radio/Radio.native.d.ts +4 -6
  383. package/lib/components/radio/Radio.native.js +86 -76
  384. package/lib/components/radio/Radio.native.js.map +1 -1
  385. package/lib/components/radio/RadioProps.d.ts +0 -16
  386. package/lib/components/radio/list/RadioList.d.ts +1 -1
  387. package/lib/components/radio/list/RadioList.js +6 -6
  388. package/lib/components/radio/list/RadioList.js.map +1 -1
  389. package/lib/components/radio/list/RadioList.native.d.ts +3 -3
  390. package/lib/components/radio/list/RadioList.native.js +9 -9
  391. package/lib/components/radio/list/RadioList.native.js.map +1 -1
  392. package/lib/components/range/Range.d.ts +4 -2
  393. package/lib/components/range/Range.js +31 -29
  394. package/lib/components/range/Range.js.map +1 -1
  395. package/lib/components/range/Range.native.d.ts +3 -3
  396. package/lib/components/range/Range.native.js +19 -15
  397. package/lib/components/range/Range.native.js.map +1 -1
  398. package/lib/components/range/RangeProps.d.ts +10 -7
  399. package/lib/components/rows/Rows.d.ts +1 -1
  400. package/lib/components/rows/Rows.js +5 -5
  401. package/lib/components/rows/Rows.js.map +1 -1
  402. package/lib/components/rows/Rows.native.d.ts +2 -2
  403. package/lib/components/rows/Rows.native.js +5 -5
  404. package/lib/components/rows/Rows.native.js.map +1 -1
  405. package/lib/components/rows/item/RowItem.d.ts +1 -1
  406. package/lib/components/rows/item/RowItem.js +6 -6
  407. package/lib/components/rows/item/RowItem.js.map +1 -1
  408. package/lib/components/rows/item/RowItem.native.d.ts +2 -2
  409. package/lib/components/rows/item/RowItem.native.js +3 -3
  410. package/lib/components/rows/item/RowItem.native.js.map +1 -1
  411. package/lib/components/scroll-view/ScrollView.d.ts +2 -2
  412. package/lib/components/scroll-view/ScrollView.js +7 -7
  413. package/lib/components/scroll-view/ScrollView.js.map +1 -1
  414. package/lib/components/scroll-view/ScrollView.native.d.ts +3 -3
  415. package/lib/components/scroll-view/ScrollView.native.js +17 -10
  416. package/lib/components/scroll-view/ScrollView.native.js.map +1 -1
  417. package/lib/components/section/Section.native.d.ts +2 -2
  418. package/lib/components/section/Section.native.js +11 -9
  419. package/lib/components/section/Section.native.js.map +1 -1
  420. package/lib/components/segment-control/SegmentControl.native.d.ts +2 -2
  421. package/lib/components/segment-control/SegmentControl.native.js +14 -15
  422. package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
  423. package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +2 -2
  424. package/lib/components/segment-control/item/SegmentControlItem.native.js +18 -15
  425. package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
  426. package/lib/components/select/Select.d.ts +1 -1
  427. package/lib/components/select/Select.js +7 -7
  428. package/lib/components/select/Select.js.map +1 -1
  429. package/lib/components/select/Select.native.d.ts +2 -2
  430. package/lib/components/select/Select.native.js +37 -29
  431. package/lib/components/select/Select.native.js.map +1 -1
  432. package/lib/components/select/option/SelectNativeOption.d.ts +1 -1
  433. package/lib/components/select/option/SelectNativeOption.js +1 -1
  434. package/lib/components/select/option/SelectNativeOption.js.map +1 -1
  435. package/lib/components/select/option/SelectOption.d.ts +1 -1
  436. package/lib/components/select/option/SelectOption.js +7 -7
  437. package/lib/components/select/option/SelectOption.js.map +1 -1
  438. package/lib/components/select/option/SelectOption.native.d.ts +2 -2
  439. package/lib/components/select/option/SelectOption.native.js +4 -4
  440. package/lib/components/select/option/SelectOption.native.js.map +1 -1
  441. package/lib/components/select/web/SelectDynamic.d.ts +2 -2
  442. package/lib/components/select/web/SelectDynamic.js +15 -15
  443. package/lib/components/select/web/SelectDynamic.js.map +1 -1
  444. package/lib/components/select/web/SelectNative.d.ts +1 -1
  445. package/lib/components/select/web/SelectNative.js +8 -8
  446. package/lib/components/select/web/SelectNative.js.map +1 -1
  447. package/lib/components/selector/item/SelectorItem.native.js +7 -7
  448. package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
  449. package/lib/components/slider/Slider.d.ts +1 -2
  450. package/lib/components/slider/Slider.js +15 -16
  451. package/lib/components/slider/Slider.js.map +1 -1
  452. package/lib/components/slider/Slider.native.d.ts +2 -2
  453. package/lib/components/slider/Slider.native.js +33 -26
  454. package/lib/components/slider/Slider.native.js.map +1 -1
  455. package/lib/components/slider/index.d.ts +2 -0
  456. package/lib/components/slider/index.js +1 -0
  457. package/lib/components/slider/index.js.map +1 -1
  458. package/lib/components/slider/item/SliderItem.d.ts +1 -1
  459. package/lib/components/slider/item/SliderItem.js +7 -7
  460. package/lib/components/slider/item/SliderItem.js.map +1 -1
  461. package/lib/components/slider/item/SliderItem.native.d.ts +2 -2
  462. package/lib/components/slider/item/SliderItem.native.js +4 -4
  463. package/lib/components/slider/item/SliderItem.native.js.map +1 -1
  464. package/lib/components/spacer/Spacer.d.ts +1 -1
  465. package/lib/components/spacer/Spacer.js +3 -3
  466. package/lib/components/spacer/Spacer.js.map +1 -1
  467. package/lib/components/spacer/Spacer.native.d.ts +2 -2
  468. package/lib/components/spacer/Spacer.native.js +3 -3
  469. package/lib/components/spacer/Spacer.native.js.map +1 -1
  470. package/lib/components/stepper/Stepper.d.ts +1 -1
  471. package/lib/components/stepper/Stepper.js +7 -7
  472. package/lib/components/stepper/Stepper.js.map +1 -1
  473. package/lib/components/stepper/Stepper.native.d.ts +2 -2
  474. package/lib/components/stepper/Stepper.native.js +30 -19
  475. package/lib/components/stepper/Stepper.native.js.map +1 -1
  476. package/lib/components/stepper/step/StepperStep.native.d.ts +2 -2
  477. package/lib/components/stepper/step/StepperStep.native.js +9 -9
  478. package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
  479. package/lib/components/sticker/Sticker.d.ts +2 -3
  480. package/lib/components/sticker/Sticker.js +12 -12
  481. package/lib/components/sticker/Sticker.js.map +1 -1
  482. package/lib/components/sticker/Sticker.native.d.ts +2 -2
  483. package/lib/components/sticker/Sticker.native.js +36 -26
  484. package/lib/components/sticker/Sticker.native.js.map +1 -1
  485. package/lib/components/switch/Switch.d.ts +1 -1
  486. package/lib/components/switch/Switch.js +16 -10
  487. package/lib/components/switch/Switch.js.map +1 -1
  488. package/lib/components/switch/Switch.native.d.ts +2 -2
  489. package/lib/components/switch/Switch.native.js +14 -12
  490. package/lib/components/switch/Switch.native.js.map +1 -1
  491. package/lib/components/table/Table.d.ts +1 -1
  492. package/lib/components/table/Table.js +6 -6
  493. package/lib/components/table/Table.js.map +1 -1
  494. package/lib/components/table/Table.native.d.ts +2 -2
  495. package/lib/components/table/Table.native.js +13 -9
  496. package/lib/components/table/Table.native.js.map +1 -1
  497. package/lib/components/table/body/TableBody.d.ts +1 -1
  498. package/lib/components/table/body/TableBody.js +7 -8
  499. package/lib/components/table/body/TableBody.js.map +1 -1
  500. package/lib/components/table/body/TableBody.native.d.ts +2 -2
  501. package/lib/components/table/body/TableBody.native.js +6 -6
  502. package/lib/components/table/body/TableBody.native.js.map +1 -1
  503. package/lib/components/table/head/TableHead.d.ts +1 -1
  504. package/lib/components/table/head/TableHead.js +7 -7
  505. package/lib/components/table/head/TableHead.js.map +1 -1
  506. package/lib/components/table/head/TableHead.native.d.ts +2 -2
  507. package/lib/components/table/head/TableHead.native.js +6 -6
  508. package/lib/components/table/head/TableHead.native.js.map +1 -1
  509. package/lib/components/table/td/TableTd.d.ts +1 -1
  510. package/lib/components/table/td/TableTd.js +5 -5
  511. package/lib/components/table/td/TableTd.js.map +1 -1
  512. package/lib/components/table/td/TableTd.native.d.ts +2 -2
  513. package/lib/components/table/td/TableTd.native.js +9 -9
  514. package/lib/components/table/td/TableTd.native.js.map +1 -1
  515. package/lib/components/table/th/TableTh.d.ts +1 -1
  516. package/lib/components/table/th/TableTh.js +5 -5
  517. package/lib/components/table/th/TableTh.js.map +1 -1
  518. package/lib/components/table/th/TableTh.native.d.ts +2 -2
  519. package/lib/components/table/th/TableTh.native.js +10 -10
  520. package/lib/components/table/th/TableTh.native.js.map +1 -1
  521. package/lib/components/table/tr/TableTr.d.ts +1 -1
  522. package/lib/components/table/tr/TableTr.js +7 -7
  523. package/lib/components/table/tr/TableTr.js.map +1 -1
  524. package/lib/components/table/tr/TableTr.native.js +6 -5
  525. package/lib/components/table/tr/TableTr.native.js.map +1 -1
  526. package/lib/components/tabs/Tabs.native.js +1 -1
  527. package/lib/components/tabs/Tabs.native.js.map +1 -1
  528. package/lib/components/tabs/item/TabsItem.d.ts +1 -1
  529. package/lib/components/tabs/item/TabsItem.js +12 -13
  530. package/lib/components/tabs/item/TabsItem.js.map +1 -1
  531. package/lib/components/tabs/item/TabsItem.native.d.ts +2 -2
  532. package/lib/components/tabs/item/TabsItem.native.js +26 -20
  533. package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
  534. package/lib/components/tag/Tag.d.ts +1 -1
  535. package/lib/components/tag/Tag.js +14 -10
  536. package/lib/components/tag/Tag.js.map +1 -1
  537. package/lib/components/tag/Tag.native.d.ts +2 -2
  538. package/lib/components/tag/Tag.native.js +22 -18
  539. package/lib/components/tag/Tag.native.js.map +1 -1
  540. package/lib/components/tag/TagEnum.d.ts +0 -1
  541. package/lib/components/tag/TagEnum.js +0 -1
  542. package/lib/components/tag/TagEnum.js.map +1 -1
  543. package/lib/components/tag/list/TagList.d.ts +1 -1
  544. package/lib/components/tag/list/TagList.js +6 -6
  545. package/lib/components/tag/list/TagList.js.map +1 -1
  546. package/lib/components/tag/list/TagList.native.d.ts +2 -2
  547. package/lib/components/tag/list/TagList.native.js +12 -8
  548. package/lib/components/tag/list/TagList.native.js.map +1 -1
  549. package/lib/components/text/Text.d.ts +1 -1
  550. package/lib/components/text/Text.js +14 -13
  551. package/lib/components/text/Text.js.map +1 -1
  552. package/lib/components/text/Text.native.d.ts +2 -2
  553. package/lib/components/text/Text.native.js +35 -28
  554. package/lib/components/text/Text.native.js.map +1 -1
  555. package/lib/components/textarea/Textarea.native.d.ts +2 -2
  556. package/lib/components/textarea/Textarea.native.js +43 -36
  557. package/lib/components/textarea/Textarea.native.js.map +1 -1
  558. package/lib/components/timeline/Timeline.d.ts +1 -1
  559. package/lib/components/timeline/Timeline.js +6 -6
  560. package/lib/components/timeline/Timeline.js.map +1 -1
  561. package/lib/components/timeline/Timeline.native.d.ts +3 -3
  562. package/lib/components/timeline/Timeline.native.js +4 -4
  563. package/lib/components/timeline/Timeline.native.js.map +1 -1
  564. package/lib/components/timeline/content/TimelineContent.d.ts +1 -1
  565. package/lib/components/timeline/content/TimelineContent.js +7 -7
  566. package/lib/components/timeline/content/TimelineContent.js.map +1 -1
  567. package/lib/components/timeline/content/TimelineContent.native.d.ts +2 -2
  568. package/lib/components/timeline/content/TimelineContent.native.js +13 -11
  569. package/lib/components/timeline/content/TimelineContent.native.js.map +1 -1
  570. package/lib/components/timeline/item/TimelineItem.d.ts +1 -1
  571. package/lib/components/timeline/item/TimelineItem.js +5 -5
  572. package/lib/components/timeline/item/TimelineItem.js.map +1 -1
  573. package/lib/components/timeline/marker/TimelineMarker.d.ts +1 -1
  574. package/lib/components/timeline/marker/TimelineMarker.js +8 -8
  575. package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
  576. package/lib/components/timeline/marker/TimelineMarker.native.d.ts +3 -3
  577. package/lib/components/timeline/marker/TimelineMarker.native.js +26 -26
  578. package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
  579. package/lib/components/title/Title.native.d.ts +2 -2
  580. package/lib/components/title/Title.native.js +37 -31
  581. package/lib/components/title/Title.native.js.map +1 -1
  582. package/lib/components/toaster/Toaster.native.d.ts +2 -2
  583. package/lib/components/toaster/Toaster.native.js +17 -17
  584. package/lib/components/toaster/Toaster.native.js.map +1 -1
  585. package/lib/components/toaster/ToasterEnum.js +10 -9
  586. package/lib/components/toaster/ToasterEnum.js.map +1 -1
  587. package/lib/components/toaster/context/ToasterContext.d.ts +2 -2
  588. package/lib/components/toaster/context/ToasterContext.js +5 -2
  589. package/lib/components/toaster/context/ToasterContext.js.map +1 -1
  590. package/lib/components/toolbar/Toolbar.d.ts +1 -1
  591. package/lib/components/toolbar/Toolbar.js +7 -7
  592. package/lib/components/toolbar/Toolbar.js.map +1 -1
  593. package/lib/components/toolbar/group/ToolbarGroup.d.ts +1 -1
  594. package/lib/components/toolbar/group/ToolbarGroup.js +6 -6
  595. package/lib/components/toolbar/group/ToolbarGroup.js.map +1 -1
  596. package/lib/components/toolbar/item/ToolbarItem.d.ts +1 -1
  597. package/lib/components/toolbar/item/ToolbarItem.js +6 -6
  598. package/lib/components/toolbar/item/ToolbarItem.js.map +1 -1
  599. package/lib/components/toolbar/space/ToolbarSpace.d.ts +1 -1
  600. package/lib/components/toolbar/space/ToolbarSpace.js +5 -5
  601. package/lib/components/toolbar/space/ToolbarSpace.js.map +1 -1
  602. package/lib/components/view/View.d.ts +1 -1
  603. package/lib/components/view/View.js +16 -11
  604. package/lib/components/view/View.js.map +1 -1
  605. package/lib/components/view/View.native.d.ts +2 -2
  606. package/lib/components/view/View.native.js +14 -12
  607. package/lib/components/view/View.native.js.map +1 -1
  608. package/lib/context/index.d.ts +1 -1
  609. package/lib/context/index.js +2 -2
  610. package/lib/context/index.js.map +1 -1
  611. package/lib/context/interfaces.d.ts +1 -3
  612. package/lib/context/providerStyled.d.ts +2 -2
  613. package/lib/context/providerStyled.js +10 -10
  614. package/lib/context/providerStyled.js.map +1 -1
  615. package/lib/context/providerStyledMangled.d.ts +3 -2
  616. package/lib/context/providerStyledMangled.js +6 -6
  617. package/lib/context/providerStyledMangled.js.map +1 -1
  618. package/lib/context/providerTheme.js +1 -0
  619. package/lib/context/providerTheme.js.map +1 -1
  620. package/lib/context/providerTheme.native.d.ts +3 -23
  621. package/lib/context/providerTheme.native.js +8 -24
  622. package/lib/context/providerTheme.native.js.map +1 -1
  623. package/lib/objects/Typography/TypographyBold.d.ts +2 -1
  624. package/lib/objects/Typography/TypographyBold.js +1 -0
  625. package/lib/objects/Typography/TypographyBold.js.map +1 -1
  626. package/lib/objects/Typography/TypographyColor.d.ts +4 -8
  627. package/lib/objects/Typography/TypographyColor.js +33 -40
  628. package/lib/objects/Typography/TypographyColor.js.map +1 -1
  629. package/lib/objects/atoms/Background.d.ts +3 -3
  630. package/lib/objects/atoms/Background.js +1 -1
  631. package/lib/objects/atoms/Background.js.map +1 -1
  632. package/lib/objects/atoms/Text.d.ts +3 -9
  633. package/lib/objects/atoms/Text.js +22 -44
  634. package/lib/objects/atoms/Text.js.map +1 -1
  635. package/lib/objects/facets/Color.d.ts +25 -25
  636. package/lib/objects/facets/Color.js +75 -116
  637. package/lib/objects/facets/Color.js.map +1 -1
  638. package/lib/objects/facets/Color.native.d.ts +19 -18
  639. package/lib/objects/facets/Color.native.js +51 -75
  640. package/lib/objects/facets/Color.native.js.map +1 -1
  641. package/lib/objects/facets/Variant.d.ts +2 -3
  642. package/lib/objects/facets/Variant.js +28 -19
  643. package/lib/objects/facets/Variant.js.map +1 -1
  644. package/lib/tsconfig.json +1 -1
  645. package/lib/version.d.ts +1 -1
  646. package/lib/version.js +1 -1
  647. package/lib/version.js.map +1 -1
  648. package/package.json +7 -3
  649. package/lib/components/info-block/InfoBlock.d.ts +0 -12
  650. package/lib/components/info-block/InfoBlock.js +0 -25
  651. package/lib/components/info-block/InfoBlock.js.map +0 -1
  652. package/lib/components/info-block/InfoBlock.native.d.ts +0 -14
  653. package/lib/components/info-block/InfoBlock.native.js +0 -51
  654. package/lib/components/info-block/InfoBlock.native.js.map +0 -1
  655. package/lib/components/info-block/InfoBlockEnum.d.ts +0 -6
  656. package/lib/components/info-block/InfoBlockEnum.js +0 -7
  657. package/lib/components/info-block/InfoBlockEnum.js.map +0 -1
  658. package/lib/components/info-block/InfoBlockProps.d.ts +0 -7
  659. package/lib/components/info-block/InfoBlockProps.js +0 -2
  660. package/lib/components/info-block/InfoBlockProps.js.map +0 -1
  661. package/lib/components/info-block/action/InfoBlockAction.d.ts +0 -11
  662. package/lib/components/info-block/action/InfoBlockAction.js +0 -20
  663. package/lib/components/info-block/action/InfoBlockAction.js.map +0 -1
  664. package/lib/components/info-block/action/InfoBlockAction.native.d.ts +0 -12
  665. package/lib/components/info-block/action/InfoBlockAction.native.js +0 -20
  666. package/lib/components/info-block/action/InfoBlockAction.native.js.map +0 -1
  667. package/lib/components/info-block/action/InfoBlockActionProps.d.ts +0 -6
  668. package/lib/components/info-block/action/InfoBlockActionProps.js +0 -2
  669. package/lib/components/info-block/action/InfoBlockActionProps.js.map +0 -1
  670. package/lib/components/info-block/action/index.d.ts +0 -2
  671. package/lib/components/info-block/action/index.js +0 -3
  672. package/lib/components/info-block/action/index.js.map +0 -1
  673. package/lib/components/info-block/content/InfoBlockContent.d.ts +0 -11
  674. package/lib/components/info-block/content/InfoBlockContent.js +0 -24
  675. package/lib/components/info-block/content/InfoBlockContent.js.map +0 -1
  676. package/lib/components/info-block/content/InfoBlockContent.native.d.ts +0 -12
  677. package/lib/components/info-block/content/InfoBlockContent.native.js +0 -21
  678. package/lib/components/info-block/content/InfoBlockContent.native.js.map +0 -1
  679. package/lib/components/info-block/content/InfoBlockContentProps.d.ts +0 -7
  680. package/lib/components/info-block/content/InfoBlockContentProps.js +0 -2
  681. package/lib/components/info-block/content/InfoBlockContentProps.js.map +0 -1
  682. package/lib/components/info-block/content/index.d.ts +0 -2
  683. package/lib/components/info-block/content/index.js +0 -3
  684. package/lib/components/info-block/content/index.js.map +0 -1
  685. package/lib/components/info-block/header/InfoBlockHeader.d.ts +0 -12
  686. package/lib/components/info-block/header/InfoBlockHeader.js +0 -36
  687. package/lib/components/info-block/header/InfoBlockHeader.js.map +0 -1
  688. package/lib/components/info-block/header/InfoBlockHeader.native.d.ts +0 -13
  689. package/lib/components/info-block/header/InfoBlockHeader.native.js +0 -43
  690. package/lib/components/info-block/header/InfoBlockHeader.native.js.map +0 -1
  691. package/lib/components/info-block/header/InfoBlockHeaderProps.d.ts +0 -9
  692. package/lib/components/info-block/header/InfoBlockHeaderProps.js +0 -2
  693. package/lib/components/info-block/header/InfoBlockHeaderProps.js.map +0 -1
  694. package/lib/components/info-block/header/index.d.ts +0 -2
  695. package/lib/components/info-block/header/index.js +0 -3
  696. package/lib/components/info-block/header/index.js.map +0 -1
  697. package/lib/components/info-block/index.d.ts +0 -6
  698. package/lib/components/info-block/index.js +0 -7
  699. package/lib/components/info-block/index.js.map +0 -1
  700. package/lib/components/menu/Menu.d.ts +0 -11
  701. package/lib/components/menu/Menu.js +0 -18
  702. package/lib/components/menu/Menu.js.map +0 -1
  703. package/lib/components/menu/Menu.native.d.ts +0 -12
  704. package/lib/components/menu/Menu.native.js +0 -30
  705. package/lib/components/menu/Menu.native.js.map +0 -1
  706. package/lib/components/menu/MenuProps.d.ts +0 -11
  707. package/lib/components/menu/MenuProps.js +0 -2
  708. package/lib/components/menu/MenuProps.js.map +0 -1
  709. package/lib/components/menu/index.d.ts +0 -6
  710. package/lib/components/menu/index.js +0 -7
  711. package/lib/components/menu/index.js.map +0 -1
  712. package/lib/components/menu/item/MenuItem.d.ts +0 -15
  713. package/lib/components/menu/item/MenuItem.js +0 -34
  714. package/lib/components/menu/item/MenuItem.js.map +0 -1
  715. package/lib/components/menu/item/MenuItem.native.d.ts +0 -12
  716. package/lib/components/menu/item/MenuItem.native.js +0 -49
  717. package/lib/components/menu/item/MenuItem.native.js.map +0 -1
  718. package/lib/components/menu/item/MenuItemProps.d.ts +0 -27
  719. package/lib/components/menu/item/MenuItemProps.js +0 -2
  720. package/lib/components/menu/item/MenuItemProps.js.map +0 -1
  721. package/lib/components/menu/item/index.d.ts +0 -2
  722. package/lib/components/menu/item/index.js +0 -3
  723. package/lib/components/menu/item/index.js.map +0 -1
  724. package/lib/components/menu/link/MenuLink.d.ts +0 -10
  725. package/lib/components/menu/link/MenuLink.js +0 -17
  726. package/lib/components/menu/link/MenuLink.js.map +0 -1
  727. package/lib/components/menu/link/MenuLink.native.d.ts +0 -14
  728. package/lib/components/menu/link/MenuLink.native.js +0 -37
  729. package/lib/components/menu/link/MenuLink.native.js.map +0 -1
  730. package/lib/components/menu/link/MenuLinkProps.d.ts +0 -7
  731. package/lib/components/menu/link/MenuLinkProps.js +0 -2
  732. package/lib/components/menu/link/MenuLinkProps.js.map +0 -1
  733. package/lib/components/menu/link/index.d.ts +0 -2
  734. package/lib/components/menu/link/index.js +0 -3
  735. package/lib/components/menu/link/index.js.map +0 -1
  736. package/lib/components/menu/scrolling/MenuScrolling.d.ts +0 -11
  737. package/lib/components/menu/scrolling/MenuScrolling.js +0 -25
  738. package/lib/components/menu/scrolling/MenuScrolling.js.map +0 -1
  739. package/lib/components/menu/scrolling/MenuScrolling.native.d.ts +0 -12
  740. package/lib/components/menu/scrolling/MenuScrolling.native.js +0 -13
  741. package/lib/components/menu/scrolling/MenuScrolling.native.js.map +0 -1
  742. package/lib/components/menu/scrolling/MenuScrollingProps.d.ts +0 -9
  743. package/lib/components/menu/scrolling/MenuScrollingProps.js +0 -2
  744. package/lib/components/menu/scrolling/MenuScrollingProps.js.map +0 -1
  745. package/lib/components/menu/scrolling/index.d.ts +0 -2
  746. package/lib/components/menu/scrolling/index.js +0 -3
  747. package/lib/components/menu/scrolling/index.js.map +0 -1
  748. package/lib/components/menu/subItem/SubMenuItem.d.ts +0 -9
  749. package/lib/components/menu/subItem/SubMenuItem.js +0 -15
  750. package/lib/components/menu/subItem/SubMenuItem.js.map +0 -1
  751. package/lib/components/menu/subItem/SubMenuItem.native.d.ts +0 -12
  752. package/lib/components/menu/subItem/SubMenuItem.native.js +0 -13
  753. package/lib/components/menu/subItem/SubMenuItem.native.js.map +0 -1
  754. package/lib/components/menu/subItem/SubMenuItemProps.d.ts +0 -14
  755. package/lib/components/menu/subItem/SubMenuItemProps.js +0 -2
  756. package/lib/components/menu/subItem/SubMenuItemProps.js.map +0 -1
  757. package/lib/components/menu/subItem/index.d.ts +0 -2
  758. package/lib/components/menu/subItem/index.js +0 -3
  759. package/lib/components/menu/subItem/index.js.map +0 -1
  760. package/lib/components/options/Options.d.ts +0 -10
  761. package/lib/components/options/Options.js +0 -18
  762. package/lib/components/options/Options.js.map +0 -1
  763. package/lib/components/options/Options.native.d.ts +0 -12
  764. package/lib/components/options/Options.native.js +0 -19
  765. package/lib/components/options/Options.native.js.map +0 -1
  766. package/lib/components/options/OptionsEnum.d.ts +0 -5
  767. package/lib/components/options/OptionsEnum.js +0 -6
  768. package/lib/components/options/OptionsEnum.js.map +0 -1
  769. package/lib/components/options/OptionsProps.d.ts +0 -10
  770. package/lib/components/options/OptionsProps.js +0 -2
  771. package/lib/components/options/OptionsProps.js.map +0 -1
  772. package/lib/components/options/index.d.ts +0 -4
  773. package/lib/components/options/index.js +0 -5
  774. package/lib/components/options/index.js.map +0 -1
  775. package/lib/components/options/item/OptionsItem.d.ts +0 -21
  776. package/lib/components/options/item/OptionsItem.js +0 -71
  777. package/lib/components/options/item/OptionsItem.js.map +0 -1
  778. package/lib/components/options/item/OptionsItem.native.d.ts +0 -22
  779. package/lib/components/options/item/OptionsItem.native.js +0 -150
  780. package/lib/components/options/item/OptionsItem.native.js.map +0 -1
  781. package/lib/components/options/item/OptionsItemProps.d.ts +0 -38
  782. package/lib/components/options/item/OptionsItemProps.js +0 -2
  783. package/lib/components/options/item/OptionsItemProps.js.map +0 -1
  784. package/lib/components/options/item/index.d.ts +0 -3
  785. package/lib/components/options/item/index.js +0 -4
  786. package/lib/components/options/item/index.js.map +0 -1
  787. package/lib/components/slice/Slice.d.ts +0 -14
  788. package/lib/components/slice/Slice.js +0 -27
  789. package/lib/components/slice/Slice.js.map +0 -1
  790. package/lib/components/slice/Slice.native.d.ts +0 -13
  791. package/lib/components/slice/Slice.native.js +0 -23
  792. package/lib/components/slice/Slice.native.js.map +0 -1
  793. package/lib/components/slice/SliceProps.d.ts +0 -9
  794. package/lib/components/slice/SliceProps.js +0 -2
  795. package/lib/components/slice/SliceProps.js.map +0 -1
  796. package/lib/components/slice/body/SliceBody.d.ts +0 -9
  797. package/lib/components/slice/body/SliceBody.js +0 -16
  798. package/lib/components/slice/body/SliceBody.js.map +0 -1
  799. package/lib/components/slice/body/SliceBody.native.d.ts +0 -13
  800. package/lib/components/slice/body/SliceBody.native.js +0 -14
  801. package/lib/components/slice/body/SliceBody.native.js.map +0 -1
  802. package/lib/components/slice/body/SliceBodyProps.d.ts +0 -5
  803. package/lib/components/slice/body/SliceBodyProps.js +0 -2
  804. package/lib/components/slice/body/SliceBodyProps.js.map +0 -1
  805. package/lib/components/slice/body/index.d.ts +0 -2
  806. package/lib/components/slice/body/index.js +0 -3
  807. package/lib/components/slice/body/index.js.map +0 -1
  808. package/lib/components/slice/content/SliceContent.d.ts +0 -10
  809. package/lib/components/slice/content/SliceContent.js +0 -17
  810. package/lib/components/slice/content/SliceContent.js.map +0 -1
  811. package/lib/components/slice/content/SliceContent.native.d.ts +0 -12
  812. package/lib/components/slice/content/SliceContent.native.js +0 -19
  813. package/lib/components/slice/content/SliceContent.native.js.map +0 -1
  814. package/lib/components/slice/content/SliceContentProps.d.ts +0 -5
  815. package/lib/components/slice/content/SliceContentProps.js +0 -2
  816. package/lib/components/slice/content/SliceContentProps.js.map +0 -1
  817. package/lib/components/slice/content/index.d.ts +0 -2
  818. package/lib/components/slice/content/index.js +0 -3
  819. package/lib/components/slice/content/index.js.map +0 -1
  820. package/lib/components/slice/cta/SliceCta.d.ts +0 -10
  821. package/lib/components/slice/cta/SliceCta.js +0 -17
  822. package/lib/components/slice/cta/SliceCta.js.map +0 -1
  823. package/lib/components/slice/cta/SliceCta.native.d.ts +0 -12
  824. package/lib/components/slice/cta/SliceCta.native.js +0 -19
  825. package/lib/components/slice/cta/SliceCta.native.js.map +0 -1
  826. package/lib/components/slice/cta/SliceCtaProps.d.ts +0 -5
  827. package/lib/components/slice/cta/SliceCtaProps.js +0 -2
  828. package/lib/components/slice/cta/SliceCtaProps.js.map +0 -1
  829. package/lib/components/slice/cta/index.d.ts +0 -2
  830. package/lib/components/slice/cta/index.js +0 -3
  831. package/lib/components/slice/cta/index.js.map +0 -1
  832. package/lib/components/slice/icon/SliceIcon.d.ts +0 -13
  833. package/lib/components/slice/icon/SliceIcon.js +0 -22
  834. package/lib/components/slice/icon/SliceIcon.js.map +0 -1
  835. package/lib/components/slice/icon/SliceIcon.native.d.ts +0 -15
  836. package/lib/components/slice/icon/SliceIcon.native.js +0 -23
  837. package/lib/components/slice/icon/SliceIcon.native.js.map +0 -1
  838. package/lib/components/slice/icon/SliceIconProps.d.ts +0 -9
  839. package/lib/components/slice/icon/SliceIconProps.js +0 -2
  840. package/lib/components/slice/icon/SliceIconProps.js.map +0 -1
  841. package/lib/components/slice/icon/index.d.ts +0 -2
  842. package/lib/components/slice/icon/index.js +0 -3
  843. package/lib/components/slice/icon/index.js.map +0 -1
  844. package/lib/components/slice/image/SliceImage.d.ts +0 -13
  845. package/lib/components/slice/image/SliceImage.js +0 -26
  846. package/lib/components/slice/image/SliceImage.js.map +0 -1
  847. package/lib/components/slice/image/SliceImage.native.d.ts +0 -14
  848. package/lib/components/slice/image/SliceImage.native.js +0 -22
  849. package/lib/components/slice/image/SliceImage.native.js.map +0 -1
  850. package/lib/components/slice/image/SliceImageProps.d.ts +0 -8
  851. package/lib/components/slice/image/SliceImageProps.js +0 -2
  852. package/lib/components/slice/image/SliceImageProps.js.map +0 -1
  853. package/lib/components/slice/image/index.d.ts +0 -2
  854. package/lib/components/slice/image/index.js +0 -3
  855. package/lib/components/slice/image/index.js.map +0 -1
  856. package/lib/components/slice/index.d.ts +0 -8
  857. package/lib/components/slice/index.js +0 -9
  858. package/lib/components/slice/index.js.map +0 -1
  859. package/lib/components/slice/list/SliceList.d.ts +0 -11
  860. package/lib/components/slice/list/SliceList.js +0 -19
  861. package/lib/components/slice/list/SliceList.js.map +0 -1
  862. package/lib/components/slice/list/SliceList.native.d.ts +0 -13
  863. package/lib/components/slice/list/SliceList.native.js +0 -14
  864. package/lib/components/slice/list/SliceList.native.js.map +0 -1
  865. package/lib/components/slice/list/SliceListProps.d.ts +0 -7
  866. package/lib/components/slice/list/SliceListProps.js +0 -2
  867. package/lib/components/slice/list/SliceListProps.js.map +0 -1
  868. package/lib/components/slice/list/index.d.ts +0 -2
  869. package/lib/components/slice/list/index.js +0 -3
  870. package/lib/components/slice/list/index.js.map +0 -1
  871. package/lib/components/slider/utils/slider.d.ts +0 -0
  872. package/lib/components/slider/utils/slider.js +0 -153
  873. package/lib/components/slider/utils/slider.js.map +0 -1
  874. package/lib/components/tile/Tile.d.ts +0 -17
  875. package/lib/components/tile/Tile.js +0 -35
  876. package/lib/components/tile/Tile.js.map +0 -1
  877. package/lib/components/tile/Tile.native.d.ts +0 -13
  878. package/lib/components/tile/Tile.native.js +0 -22
  879. package/lib/components/tile/Tile.native.js.map +0 -1
  880. package/lib/components/tile/TileEnum.d.ts +0 -5
  881. package/lib/components/tile/TileEnum.js +0 -6
  882. package/lib/components/tile/TileEnum.js.map +0 -1
  883. package/lib/components/tile/TileProps.d.ts +0 -17
  884. package/lib/components/tile/TileProps.js +0 -2
  885. package/lib/components/tile/TileProps.js.map +0 -1
  886. package/lib/components/tile/index.d.ts +0 -2
  887. package/lib/components/tile/index.js +0 -3
  888. package/lib/components/tile/index.js.map +0 -1
@@ -1,12 +1,12 @@
1
- import React, { useCallback, useEffect, useRef, useState } from 'react';
2
- import { Animated, Keyboard, Platform, StyleSheet, TextInput, TouchableOpacity, View, } from 'react-native';
3
- import { AlertState, getAlertStyle } from '../../objects/facets/Alert';
4
- import { InputAutoCapitalize, InputKeyboardAppearance, InputKeyboardType, InputStatus, InputTextContentType, InputType, } from './InputEnum';
5
- import { Icon, IconColor, IconName, IconSize } from '../icon';
6
- import { Text } from '../text';
7
- import { getColorStyle, TrilogyColor } from '../../objects/facets/Color';
8
- import { Alignable } from '../../objects/facets/Alignable';
9
- import { ComponentName } from '../enumsComponentsName';
1
+ import React, { useCallback, useEffect, useRef, useState } from "react";
2
+ import { Animated, Keyboard, Platform, StyleSheet, TextInput, TouchableOpacity, View, } from "react-native";
3
+ import { AlertState, getAlertStyle } from "../../objects/facets/Alert";
4
+ import { InputAutoCapitalize, InputKeyboardAppearance, InputKeyboardType, InputStatus, InputTextContentType, InputType, } from "./InputEnum";
5
+ import { Icon, IconColor, IconName, IconSize } from "../icon";
6
+ import { Text } from "../text";
7
+ import { getColorStyle, TrilogyColor } from "../../objects/facets/Color";
8
+ import { Alignable } from "../../objects/facets/Alignable";
9
+ import { ComponentName } from "../enumsComponentsName";
10
10
  /**
11
11
  * Input Native Component
12
12
  * @param name {string} Input name
@@ -34,17 +34,21 @@ import { ComponentName } from '../enumsComponentsName';
34
34
  * @param maxLength {number} Textarea max length
35
35
  * @param accessibilityLabel {string} Accessibility label
36
36
  * @param testId {string} Test Id for Test Integration
37
+ * @param required {boolean} Required input
38
+ * @param accessibilityActivate {boolean}
37
39
  */
38
- const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status, help, placeholder, type, hasIcon, customIcon, search, reference, keyboardStyle, autoCapitalize, autoCorrect, autoCompleteType, textContentType, keyboardType, keyType, onSubmit, maxLength, testId, accessibilityLabel, customIconRight, customIconLeft, securityGauge, validationRules, onIconClick, ...others }) => {
39
- const [value, setValue] = useState(defaultValue || '');
40
- const [email, setEmail] = useState('');
40
+ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status, help, placeholder, type, hasIcon, customIcon, search, reference, keyboardStyle, autoCapitalize, autoCorrect, autoCompleteType, textContentType, keyboardType, keyType, onSubmit, maxLength, testId, accessibilityLabel, customIconRight, customIconLeft, securityGauge, validationRules, onIconClick,
41
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
42
+ required, ...others }) => {
43
+ const [value, setValue] = useState(defaultValue || "");
44
+ const [email, setEmail] = useState("");
41
45
  const [dynamicPlaceholder, setDynamicPlaceholder] = useState(false);
42
46
  const animationDuration = 200;
43
47
  const placeholderDefaultSize = 20;
44
48
  const animation = useRef(new Animated.Value(25)).current;
45
49
  const sizeAnimation = useRef(new Animated.Value(placeholderDefaultSize)).current;
46
50
  useEffect(() => {
47
- setValue(defaultValue || '');
51
+ setValue(defaultValue || "");
48
52
  }, [defaultValue, placeholder]);
49
53
  useEffect(() => {
50
54
  if (value && value.length > 0 && placeholder && placeholder.length > 0) {
@@ -55,7 +59,7 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
55
59
  }
56
60
  }, [placeholder, value]);
57
61
  useEffect(() => {
58
- if (dynamicPlaceholder) {
62
+ if (dynamicPlaceholder && !search) {
59
63
  Animated.timing(animation, {
60
64
  toValue: 3,
61
65
  duration: animationDuration,
@@ -84,30 +88,37 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
84
88
  inputIcon.set(InputStatus.SUCCESS, IconName.CHECK_CIRCLE);
85
89
  inputIcon.set(InputStatus.WARNING, IconName.EXCLAMATION_CIRCLE);
86
90
  inputIcon.set(InputStatus.ERROR, IconName.EXCLAMATION_CIRCLE);
87
- const placeholderColor = getColorStyle(TrilogyColor.GREY);
88
- const inputColor = getColorStyle(TrilogyColor.TERTIARY);
91
+ const inputColor = getColorStyle(TrilogyColor.MAIN);
89
92
  const [iconPassword, setIconPassword] = useState(IconName.EYE);
90
93
  const paddingTopByPlatform = (os, dynamicPlaceholder) => {
91
- if (dynamicPlaceholder && os === 'ios') {
94
+ if (dynamicPlaceholder && !search && os === "ios") {
92
95
  return 10;
93
96
  }
94
- if (dynamicPlaceholder && os === 'android') {
97
+ if (dynamicPlaceholder && !search && os === "android") {
95
98
  return 15;
96
99
  }
97
100
  return 0;
98
101
  };
99
- const inputTestId = testId ? testId : placeholder ? placeholder : 'NotSpecified';
100
- const inputAccessibilityLabel = accessibilityLabel ? accessibilityLabel : placeholder ? placeholder : 'NotSpecified';
102
+ const inputTestId = testId
103
+ ? testId
104
+ : placeholder
105
+ ? placeholder
106
+ : "NotSpecified";
107
+ const inputAccessibilityLabel = accessibilityLabel
108
+ ? accessibilityLabel
109
+ : placeholder
110
+ ? placeholder
111
+ : "NotSpecified";
101
112
  const handleChange = useCallback((text) => {
102
113
  var _a;
103
114
  setValue(text);
104
- setEmail('');
105
- const domain = (_a = text.split('@')) === null || _a === void 0 ? void 0 : _a[1];
115
+ setEmail("");
116
+ const domain = (_a = text.split("@")) === null || _a === void 0 ? void 0 : _a[1];
106
117
  if (domain) {
107
- const domains = ['gmail.com', 'bbox.fr'];
118
+ const domains = ["gmail.com", "bbox.fr"];
108
119
  domains.forEach((item) => {
109
- const domainSplit = domain.split('');
110
- const itemSplit = item.split('').slice(0, domainSplit.length);
120
+ const domainSplit = domain.split("");
121
+ const itemSplit = item.split("").slice(0, domainSplit.length);
111
122
  if (JSON.stringify(domainSplit) == JSON.stringify(itemSplit))
112
123
  setEmail(item.slice(domain.length));
113
124
  });
@@ -115,7 +126,7 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
115
126
  }, []);
116
127
  const handleClick = () => {
117
128
  setValue(value + email);
118
- setEmail('');
129
+ setEmail("");
119
130
  };
120
131
  const handleSubmit = (e) => {
121
132
  onSubmit === null || onSubmit === void 0 ? void 0 : onSubmit(e);
@@ -123,8 +134,8 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
123
134
  };
124
135
  const [isKeyboardVisible, setKeyboardVisible] = useState(null);
125
136
  useEffect(() => {
126
- const keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', () => setKeyboardVisible(true));
127
- const keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', () => setKeyboardVisible(false));
137
+ const keyboardDidShowListener = Keyboard.addListener("keyboardDidShow", () => setKeyboardVisible(true));
138
+ const keyboardDidHideListener = Keyboard.addListener("keyboardDidHide", () => setKeyboardVisible(false));
128
139
  return () => {
129
140
  keyboardDidHideListener.remove();
130
141
  keyboardDidShowListener.remove();
@@ -133,7 +144,7 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
133
144
  useEffect(() => {
134
145
  handleClick();
135
146
  }, [isKeyboardVisible]);
136
- const initStateVerifies = { isVerify: false, color: IconColor.GREY };
147
+ const initStateVerifies = { isVerify: false, color: IconColor.NEUTRAL };
137
148
  const [points, setPoints] = React.useState(0);
138
149
  const [isLengthVerify, setIsLengthVerify] = React.useState(initStateVerifies);
139
150
  const [isSpecialCharsVerify, setIsSpecialCharsVerify] = React.useState(initStateVerifies);
@@ -152,7 +163,8 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
152
163
  return e.length >= validationRules.length.min;
153
164
  }
154
165
  if (((_d = validationRules === null || validationRules === void 0 ? void 0 : validationRules.length) === null || _d === void 0 ? void 0 : _d.max) && validationRules.length.min) {
155
- return e.length >= validationRules.length.min && e.length <= validationRules.length.max;
166
+ return (e.length >= validationRules.length.min &&
167
+ e.length <= validationRules.length.max);
156
168
  }
157
169
  return false;
158
170
  },
@@ -182,15 +194,15 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
182
194
  const data = {};
183
195
  validationRules &&
184
196
  Object.keys(validationRules).map((key) => {
185
- if (key === 'number')
197
+ if (key === "number")
186
198
  Object.assign(data, { numberVerify });
187
- if (key === 'length')
199
+ if (key === "length")
188
200
  Object.assign(data, { lengthVerify });
189
- if (key === 'lowercase')
201
+ if (key === "lowercase")
190
202
  Object.assign(data, { lowercaseVerify });
191
- if (key === 'uppercase')
203
+ if (key === "uppercase")
192
204
  Object.assign(data, { uppercaseVerify });
193
- if (key === 'specialChars')
205
+ if (key === "specialChars")
194
206
  Object.assign(data, { specialCharsverify });
195
207
  });
196
208
  setVerifies(data);
@@ -213,12 +225,12 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
213
225
  const widthGauge = React.useMemo(() => {
214
226
  const calc = Number(((points / nbAllVerifies) * 100).toFixed(0));
215
227
  if (calc <= 50 && calc > 0)
216
- return '50%';
228
+ return "50%";
217
229
  if (calc <= 99 && calc > 50)
218
- return '75%';
230
+ return "75%";
219
231
  if (calc === 100)
220
- return '100%';
221
- return '0%';
232
+ return "100%";
233
+ return "0%";
222
234
  }, [points, nbAllVerifies]);
223
235
  const errorColor = getColorStyle(TrilogyColor.ERROR);
224
236
  const warningColor = getColorStyle(TrilogyColor.WARNING);
@@ -231,79 +243,102 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
231
243
  return warningColor;
232
244
  if (calc === 100)
233
245
  return successColor;
234
- return '#D1D1D1';
246
+ return getColorStyle(TrilogyColor.FONT, 1);
235
247
  }, [points, nbAllVerifies]);
236
248
  const styles = StyleSheet.create({
237
249
  input: {
238
- paddingLeft: customIconLeft ? 40 : 10,
239
- paddingRight: customIcon || customIconRight ? 21 : 0,
250
+ paddingLeft: customIconLeft || search ? 40 : 10,
251
+ paddingRight: customIcon || customIconRight || search ? 32 : 0,
240
252
  marginTop: paddingTopByPlatform(Platform.OS, dynamicPlaceholder),
241
- width: hasIcon && (status || customIcon) ? '85%' : '95%',
253
+ width: hasIcon && (status || customIcon) ? "85%" : "95%",
242
254
  height: 46,
243
- color: inputColor,
255
+ color: disabled ? getColorStyle(TrilogyColor.DISABLED) : inputColor,
244
256
  },
245
257
  dynamicPlaceholder: {
246
- position: 'absolute',
258
+ position: "absolute",
247
259
  left: customIconLeft ? 40 : 10,
248
- color: getColorStyle(TrilogyColor.GREY),
260
+ color: getColorStyle(TrilogyColor.MAIN),
249
261
  },
250
262
  help: {
251
263
  fontSize: 12,
252
- color: (status && status === 'success' && getAlertStyle(AlertState.SUCCESS)) ||
253
- (status && status === 'warning' && getAlertStyle(AlertState.WARNING)) ||
254
- (status && status === 'error' && getAlertStyle(AlertState.ERROR)) ||
255
- (status && status === 'default' && inputColor) ||
264
+ color: (status && status === "success" && getAlertStyle(AlertState.SUCCESS)) ||
265
+ (status && status === "warning" && getAlertStyle(AlertState.WARNING)) ||
266
+ (status && status === "error" && getAlertStyle(AlertState.ERROR)) ||
267
+ (status && status === "default" && inputColor) ||
268
+ (disabled && getColorStyle(TrilogyColor.DISABLED)) ||
256
269
  inputColor,
257
270
  paddingLeft: 4,
258
271
  paddingTop: 2,
259
272
  },
260
273
  inputWrapper: {
261
- position: 'relative',
262
- justifyContent: 'center',
263
- alignSelf: 'stretch',
264
- backgroundColor: getColorStyle(TrilogyColor.WHITE),
274
+ position: "relative",
275
+ justifyContent: "center",
276
+ alignSelf: "stretch",
277
+ backgroundColor: disabled
278
+ ? getColorStyle(TrilogyColor.DISABLED, 1)
279
+ : getColorStyle(TrilogyColor.WHITE),
265
280
  borderWidth: 1,
266
281
  borderRadius: 3,
267
- borderColor: (status && status === 'success' && getAlertStyle(AlertState.SUCCESS)) ||
268
- (status && status === 'warning' && getAlertStyle(AlertState.WARNING)) ||
269
- (status && status === 'error' && getAlertStyle(AlertState.ERROR)) ||
270
- (status && status === 'default' && inputColor) ||
271
- inputColor,
282
+ borderColor: (status && status === "success" && getAlertStyle(AlertState.SUCCESS)) ||
283
+ (status && status === "warning" && getAlertStyle(AlertState.WARNING)) ||
284
+ (status && status === "error" && getAlertStyle(AlertState.ERROR)) ||
285
+ (status && status === "default" && inputColor) ||
286
+ getColorStyle(TrilogyColor.FONT, 1),
272
287
  height: 46,
273
- width: '100%',
288
+ width: "100%",
274
289
  },
275
290
  inputContainer: {
276
291
  height: 46,
277
292
  width: 46,
278
- position: 'absolute',
293
+ position: "absolute",
294
+ right: 0,
295
+ justifyContent: "center",
296
+ },
297
+ inputContainerLeft: {
298
+ height: 46,
299
+ width: 46,
300
+ position: "absolute",
301
+ left: 0,
302
+ justifyContent: "center",
303
+ },
304
+ inputContainerRight: {
305
+ height: 46,
306
+ width: 46,
307
+ position: "absolute",
279
308
  right: 0,
280
- justifyContent: 'center',
309
+ justifyContent: "center",
281
310
  },
282
311
  inputIcon: {
283
- position: 'absolute',
312
+ position: "absolute",
284
313
  right: 10,
285
314
  top: !value ? -33 : -38,
286
315
  },
287
316
  inputIconLeft: {
288
- position: 'absolute',
317
+ position: "absolute",
289
318
  left: 10,
290
319
  top: !value ? -33 : -38,
291
320
  },
292
321
  textWhitte: {
293
322
  zIndex: -1,
294
- position: 'absolute',
323
+ position: "absolute",
295
324
  fontSize: 14,
296
- color: '#ffffff00',
297
- bottom: Platform.OS === 'ios' ? 9 : 5,
298
- left: customIconLeft ? (Platform.OS === 'ios' ? 38 : 37.5) : Platform.OS === 'ios' ? 8 : 7.5,
325
+ color: getColorStyle(TrilogyColor.WHITE),
326
+ bottom: Platform.OS === "ios" ? 9 : 5,
327
+ left: customIconLeft
328
+ ? Platform.OS === "ios"
329
+ ? 38
330
+ : 37.5
331
+ : Platform.OS === "ios"
332
+ ? 8
333
+ : 7.5,
299
334
  },
300
335
  domain: {
301
336
  zIndex: 1,
302
- color: getColorStyle(TrilogyColor.GREY),
337
+ color: getColorStyle(TrilogyColor.NEUTRAL),
303
338
  fontSize: 13,
304
- height: '100%',
339
+ height: "100%",
305
340
  marginTop: 3,
306
- marginBottom: Platform.OS === 'ios' ? 0 : -3,
341
+ marginBottom: Platform.OS === "ios" ? 0 : -3,
307
342
  },
308
343
  gauge: {
309
344
  backgroundColor: colorGauge,
@@ -312,33 +347,38 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
312
347
  borderRadius: 4,
313
348
  },
314
349
  verifies: {
315
- flexDirection: 'row',
316
- justifyContent: 'space-between',
350
+ flexDirection: "row",
351
+ justifyContent: "space-between",
317
352
  },
318
353
  containerGauge: {
319
- backgroundColor: '#D1D1D1',
354
+ backgroundColor: getColorStyle(TrilogyColor.FONT, 1),
320
355
  height: 4,
321
- width: '100%',
356
+ width: "100%",
322
357
  borderRadius: 4,
323
358
  marginVertical: 8,
324
359
  },
325
360
  verify: {
326
- flexDirection: 'row',
327
- alignItems: 'center',
361
+ flexDirection: "row",
362
+ alignItems: "center",
328
363
  marginBottom: 4,
329
364
  },
330
365
  textVerify: {
331
366
  marginLeft: 8,
332
367
  },
333
368
  });
334
- return (React.createElement(View, { style: { width: '100%' }, accessible: !!inputAccessibilityLabel, accessibilityLabel: inputAccessibilityLabel, testID: inputTestId },
369
+ return (React.createElement(View, { style: { width: "100%" }, accessible: !!inputAccessibilityLabel, accessibilityLabel: inputAccessibilityLabel, testID: inputTestId },
335
370
  React.createElement(View, { testID: 'input-wrapper-id', style: styles.inputWrapper },
336
- dynamicPlaceholder && (React.createElement(Animated.Text, { style: [styles.dynamicPlaceholder, { top: animation, fontSize: sizeAnimation }] }, placeholder)),
337
- React.createElement(TextInput, { testID: 'input-id', clearTextOnFocus: false, secureTextEntry: !!(type && type === InputType.PASSWORD && iconPassword === IconName.EYE), value: value, editable: !disabled, ref: reference, maxLength: maxLength, autoCapitalize: autoCapitalize || InputAutoCapitalize.NONE, keyboardAppearance: keyboardStyle || InputKeyboardAppearance.DEFAULT, autoCorrect: autoCorrect || false, autoComplete: autoCompleteType, returnKeyType: keyType, textContentType: textContentType || InputTextContentType.NONE, keyboardType: keyboardType || InputKeyboardType.DEFAULT, onSubmitEditing: handleSubmit, onChangeText: (text) => {
371
+ dynamicPlaceholder && !search && (React.createElement(Animated.Text, { style: [
372
+ styles.dynamicPlaceholder,
373
+ { top: animation, fontSize: sizeAnimation },
374
+ ] }, placeholder)),
375
+ React.createElement(TextInput, { testID: 'input-id', clearTextOnFocus: false, secureTextEntry: !!(type &&
376
+ type === InputType.PASSWORD &&
377
+ iconPassword === IconName.EYE), value: value, editable: !disabled, ref: reference, maxLength: maxLength, autoCapitalize: autoCapitalize || InputAutoCapitalize.NONE, keyboardAppearance: keyboardStyle || InputKeyboardAppearance.DEFAULT, autoCorrect: autoCorrect || false, autoComplete: autoCompleteType, returnKeyType: keyType, textContentType: textContentType || InputTextContentType.NONE, keyboardType: keyboardType || InputKeyboardType.DEFAULT, onSubmitEditing: handleSubmit, onChangeText: (text) => {
338
378
  handleChange(text);
339
379
  if (onChange) {
340
380
  onChange({
341
- inputName: (name && name) || '',
381
+ inputName: (name && name) || "",
342
382
  inputValue: text,
343
383
  inputSelectionStart: null,
344
384
  });
@@ -350,64 +390,99 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
350
390
  onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
351
391
  }, onBlur: (e) => {
352
392
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
353
- }, placeholder: placeholder, placeholderTextColor: placeholderColor, style: styles.input, ...others }),
354
- type === 'email' && (React.createElement(Text, { style: styles.textWhitte },
393
+ }, placeholder: placeholder, placeholderTextColor: disabled
394
+ ? getColorStyle(TrilogyColor.DISABLED)
395
+ : getColorStyle(TrilogyColor.MAIN), style: styles.input, ...others }),
396
+ type === "email" && (React.createElement(Text, { style: styles.textWhitte },
355
397
  value,
356
398
  React.createElement(Text, { style: styles.domain }, email))),
357
399
  hasIcon &&
358
400
  ((status && status !== InputStatus.DEFAULT) || customIconLeft) &&
359
401
  type !== InputType.PASSWORD &&
360
- !customIcon && (React.createElement(Icon, { style: styles.inputIconLeft, align: Alignable.ALIGNED_START, name: (customIconLeft && customIconLeft.replace('tri-', '').replace('ui-', '')) ||
361
- inputIcon.get(status).replace('tri-', '').replace('ui-', ''), size: IconSize.SMALL, color: (status && status === 'success' && getAlertStyle(AlertState.SUCCESS)) ||
362
- (status && status === 'warning' && getAlertStyle(AlertState.WARNING)) ||
363
- (status && status === 'error' && getAlertStyle(AlertState.ERROR)) ||
364
- (status && status === 'default' && inputColor) ||
402
+ !customIcon && (React.createElement(Icon, { style: styles.inputIconLeft, align: Alignable.ALIGNED_START, name: (customIconLeft &&
403
+ customIconLeft.replace("tri-", "").replace("ui-", "")) ||
404
+ inputIcon.get(status).replace("tri-", "").replace("ui-", ""), size: IconSize.SMALL, color: (status &&
405
+ status === "success" &&
406
+ getAlertStyle(AlertState.SUCCESS)) ||
407
+ (status &&
408
+ status === "warning" &&
409
+ getAlertStyle(AlertState.WARNING)) ||
410
+ (status &&
411
+ status === "error" &&
412
+ getAlertStyle(AlertState.ERROR)) ||
413
+ (status && status === "default" && inputColor) ||
414
+ (disabled && getColorStyle(TrilogyColor.DISABLED)) ||
365
415
  inputColor })),
366
416
  hasIcon &&
367
- ((status && status !== InputStatus.DEFAULT) || customIcon || customIconRight) &&
417
+ !search &&
418
+ ((status && status !== InputStatus.DEFAULT) ||
419
+ customIcon ||
420
+ customIconRight) &&
368
421
  type !== InputType.PASSWORD && (React.createElement(TouchableOpacity, { style: styles.inputContainer, activeOpacity: onIconClick ? 0.2 : 1, onPress: () => {
369
422
  onIconClick === null || onIconClick === void 0 ? void 0 : onIconClick({
370
- inputName: (name && name) || '',
423
+ inputName: (name && name) || "",
371
424
  inputValue: value,
372
425
  });
373
426
  } },
374
- React.createElement(Icon, { testId: 'icon-status-id', align: Alignable.ALIGNED_CENTER, name: (customIcon && customIcon.replace('tri-', '').replace('ui-', '')) ||
375
- (customIconRight && customIconRight.replace('tri-', '').replace('ui-', '')) ||
376
- inputIcon.get(status).replace('tri-', '').replace('ui-', ''), size: IconSize.SMALL, color: (status && status === 'success' && getAlertStyle(AlertState.SUCCESS)) ||
377
- (status && status === 'warning' && getAlertStyle(AlertState.WARNING)) ||
378
- (status && status === 'error' && getAlertStyle(AlertState.ERROR)) ||
379
- (status && status === 'default' && inputColor) ||
427
+ React.createElement(Icon, { testId: 'icon-status-id', align: Alignable.ALIGNED_CENTER, name: (customIcon &&
428
+ customIcon.replace("tri-", "").replace("ui-", "")) ||
429
+ (customIconRight &&
430
+ customIconRight.replace("tri-", "").replace("ui-", "")) ||
431
+ inputIcon.get(status).replace("tri-", "").replace("ui-", ""), size: IconSize.SMALL, color: (status &&
432
+ status === "success" &&
433
+ getAlertStyle(AlertState.SUCCESS)) ||
434
+ (status &&
435
+ status === "warning" &&
436
+ getAlertStyle(AlertState.WARNING)) ||
437
+ (status &&
438
+ status === "error" &&
439
+ getAlertStyle(AlertState.ERROR)) ||
440
+ (status && status === "default" && inputColor) ||
441
+ (disabled && getColorStyle(TrilogyColor.DISABLED)) ||
380
442
  inputColor }))),
381
- hasIcon && type === InputType.PASSWORD && (React.createElement(TouchableOpacity, { style: styles.inputContainer, onPress: () => {
382
- onIconClick === null || onIconClick === void 0 ? void 0 : onIconClick({
383
- inputName: (name && name) || '',
384
- inputValue: value,
385
- });
386
- if (iconPassword === IconName.EYE) {
387
- setIconPassword(IconName.EYE_SLASH);
388
- }
389
- else {
390
- setIconPassword(IconName.EYE);
391
- }
392
- } },
393
- React.createElement(Icon, { testId: 'password-id', align: Alignable.ALIGNED_CENTER, name: iconPassword, size: IconSize.SMALL, color: (status && status === 'success' && getAlertStyle(AlertState.SUCCESS)) ||
394
- (status && status === 'warning' && getAlertStyle(AlertState.WARNING)) ||
395
- (status && status === 'error' && getAlertStyle(AlertState.ERROR)) ||
396
- (status && status === 'default' && inputColor) ||
397
- inputColor }))),
398
- search && !status && (React.createElement(TouchableOpacity, { testID: 'search-id', style: styles.inputContainer, onPressIn: () => {
399
- onChange === null || onChange === void 0 ? void 0 : onChange({
400
- inputName: (name && name) || '',
401
- inputValue: '',
402
- inputSelectionStart: null,
403
- });
404
- onIconClick === null || onIconClick === void 0 ? void 0 : onIconClick({
405
- inputName: (name && name) || '',
406
- inputValue: '',
407
- });
408
- setValue('');
409
- } },
410
- React.createElement(Icon, { align: Alignable.ALIGNED_CENTER, name: value ? IconName.TIMES : IconName.SEARCH, size: IconSize.SMALL, color: getColorStyle(TrilogyColor.GREY) })))),
443
+ hasIcon && type === InputType.PASSWORD && (React.createElement(React.Fragment, null,
444
+ hasIcon && customIconLeft && (React.createElement(View, { style: [{ paddingLeft: 10 }, styles.inputContainerLeft] },
445
+ React.createElement(Icon, { name: customIconLeft }))),
446
+ React.createElement(TouchableOpacity, { style: styles.inputContainerRight, onPress: () => {
447
+ onIconClick === null || onIconClick === void 0 ? void 0 : onIconClick({
448
+ inputName: (name && name) || "",
449
+ inputValue: value,
450
+ });
451
+ if (iconPassword === IconName.EYE) {
452
+ setIconPassword(IconName.EYE_SLASH);
453
+ }
454
+ else {
455
+ setIconPassword(IconName.EYE);
456
+ }
457
+ } },
458
+ React.createElement(Icon, { testId: 'password-id', align: Alignable.ALIGNED_CENTER, name: iconPassword, size: IconSize.SMALL, color: (status &&
459
+ status === "success" &&
460
+ getAlertStyle(AlertState.SUCCESS)) ||
461
+ (status &&
462
+ status === "warning" &&
463
+ getAlertStyle(AlertState.WARNING)) ||
464
+ (status &&
465
+ status === "error" &&
466
+ getAlertStyle(AlertState.ERROR)) ||
467
+ (status && status === "default" && inputColor) ||
468
+ (disabled && getColorStyle(TrilogyColor.DISABLED)) ||
469
+ inputColor })))),
470
+ search && !status && (React.createElement(React.Fragment, null,
471
+ React.createElement(View, { style: styles.inputContainerLeft },
472
+ React.createElement(Icon, { align: Alignable.ALIGNED_CENTER, name: IconName.SEARCH, size: IconSize.SMALL, color: getColorStyle(TrilogyColor.NEUTRAL) })),
473
+ value.length > 0 && (React.createElement(TouchableOpacity, { testID: 'search-id', style: styles.inputContainerRight, onPressIn: () => {
474
+ onChange === null || onChange === void 0 ? void 0 : onChange({
475
+ inputName: (name && name) || "",
476
+ inputValue: "",
477
+ inputSelectionStart: null,
478
+ });
479
+ onIconClick === null || onIconClick === void 0 ? void 0 : onIconClick({
480
+ inputName: (name && name) || "",
481
+ inputValue: "",
482
+ });
483
+ setValue("");
484
+ } },
485
+ React.createElement(Icon, { align: Alignable.ALIGNED_CENTER, name: IconName.TIMES_CIRCLE, size: IconSize.SMALL, color: getColorStyle(TrilogyColor.NEUTRAL) })))))),
411
486
  help && (React.createElement(Text, { testId: 'help-id', style: styles.help }, help)),
412
487
  type === InputType.PASSWORD && securityGauge && (React.createElement(View, null,
413
488
  React.createElement(View, { style: styles.containerGauge },
@@ -415,7 +490,9 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
415
490
  React.createElement(View, { style: styles.verifies },
416
491
  React.createElement(View, null,
417
492
  validationRules && validationRules.length && (React.createElement(View, { style: styles.verify },
418
- React.createElement(Icon, { color: isLengthVerify.color, name: isLengthVerify.isVerify ? IconName.CHECK_CIRCLE : IconName.TIMES, size: IconSize.SMALLER }),
493
+ React.createElement(Icon, { color: isLengthVerify.color, name: isLengthVerify.isVerify
494
+ ? IconName.CHECK_CIRCLE
495
+ : IconName.TIMES, size: IconSize.SMALLER }),
419
496
  React.createElement(Text, { style: styles.textVerify },
420
497
  validationRules.length.min &&
421
498
  validationRules.length.max &&
@@ -427,17 +504,25 @@ const Input = ({ defaultValue, name, onChange, onFocus, onBlur, disabled, status
427
504
  !validationRules.length.min &&
428
505
  `Maximum ${validationRules.length.max} caractères`))),
429
506
  validationRules && validationRules.specialChars && (React.createElement(View, { style: styles.verify },
430
- React.createElement(Icon, { color: isSpecialCharsVerify.color, name: isSpecialCharsVerify.isVerify ? IconName.CHECK_CIRCLE : IconName.TIMES, size: IconSize.SMALLER }),
507
+ React.createElement(Icon, { color: isSpecialCharsVerify.color, name: isSpecialCharsVerify.isVerify
508
+ ? IconName.CHECK_CIRCLE
509
+ : IconName.TIMES, size: IconSize.SMALLER }),
431
510
  React.createElement(Text, { style: styles.textVerify }, "Caract\u00E8res sp\u00E9ciaux"))),
432
511
  validationRules && validationRules.number && (React.createElement(View, { style: styles.verify },
433
- React.createElement(Icon, { color: isNumberVerify.color, name: isNumberVerify.isVerify ? IconName.CHECK_CIRCLE : IconName.TIMES, size: IconSize.SMALLER }),
512
+ React.createElement(Icon, { color: isNumberVerify.color, name: isNumberVerify.isVerify
513
+ ? IconName.CHECK_CIRCLE
514
+ : IconName.TIMES, size: IconSize.SMALLER }),
434
515
  React.createElement(Text, { style: styles.textVerify }, "Chiffre")))),
435
516
  React.createElement(View, null,
436
517
  validationRules && validationRules.uppercase && (React.createElement(View, { style: styles.verify },
437
- React.createElement(Icon, { color: isUppercaseVerify.color, name: isUppercaseVerify.isVerify ? IconName.CHECK_CIRCLE : IconName.TIMES, size: IconSize.SMALLER }),
518
+ React.createElement(Icon, { color: isUppercaseVerify.color, name: isUppercaseVerify.isVerify
519
+ ? IconName.CHECK_CIRCLE
520
+ : IconName.TIMES, size: IconSize.SMALLER }),
438
521
  React.createElement(Text, { style: styles.textVerify }, "Majuscule"))),
439
522
  validationRules && validationRules.lowercase && (React.createElement(View, { style: styles.verify },
440
- React.createElement(Icon, { color: isLowerercaseVerify.color, name: isLowerercaseVerify.isVerify ? IconName.CHECK_CIRCLE : IconName.TIMES, size: IconSize.SMALLER }),
523
+ React.createElement(Icon, { color: isLowerercaseVerify.color, name: isLowerercaseVerify.isVerify
524
+ ? IconName.CHECK_CIRCLE
525
+ : IconName.TIMES, size: IconSize.SMALLER }),
441
526
  React.createElement(Text, { style: styles.textVerify }, "Minuscule")))))))));
442
527
  };
443
528
  Input.displayName = ComponentName.Input;