@trilogy-ds/react 0.0.1-beta-99 → 0.0.1-beta-103

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 (843) hide show
  1. package/lib/components/accordion/Accordion.d.ts +1 -1
  2. package/lib/components/accordion/Accordion.example.d.ts +3 -0
  3. package/lib/components/accordion/Accordion.example.js +19 -0
  4. package/lib/components/accordion/Accordion.example.js.map +1 -0
  5. package/lib/components/accordion/Accordion.js +3 -4
  6. package/lib/components/accordion/Accordion.js.map +1 -1
  7. package/lib/components/accordion/body/AccordionBody.d.ts +1 -0
  8. package/lib/components/accordion/body/AccordionBody.js +1 -0
  9. package/lib/components/accordion/body/AccordionBody.js.map +1 -1
  10. package/lib/components/accordion/body/AccordionBodyProps.d.ts +1 -0
  11. package/lib/components/accordion/header/AccordionHeader.js +1 -1
  12. package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
  13. package/lib/components/accordion/index.d.ts +2 -1
  14. package/lib/components/accordion/index.js +2 -1
  15. package/lib/components/accordion/index.js.map +1 -1
  16. package/lib/components/accordion/item/AccordionItem.js +1 -2
  17. package/lib/components/accordion/item/AccordionItem.js.map +1 -1
  18. package/lib/components/accordion/item/AccordionItem.native.js +4 -4
  19. package/lib/components/accordion/item/AccordionItem.native.js.map +1 -1
  20. package/lib/components/alert/Alert.d.ts +5 -4
  21. package/lib/components/alert/Alert.example.d.ts +3 -0
  22. package/lib/components/alert/Alert.example.js +14 -0
  23. package/lib/components/alert/Alert.example.js.map +1 -0
  24. package/lib/components/alert/Alert.js +12 -11
  25. package/lib/components/alert/Alert.js.map +1 -1
  26. package/lib/components/alert/Alert.native.d.ts +6 -6
  27. package/lib/components/alert/Alert.native.js +15 -13
  28. package/lib/components/alert/Alert.native.js.map +1 -1
  29. package/lib/components/alert/AlertProps.d.ts +4 -3
  30. package/lib/components/alert/context/ToasterContextProps.d.ts +3 -3
  31. package/lib/components/alert/index.d.ts +2 -1
  32. package/lib/components/alert/index.js +2 -1
  33. package/lib/components/alert/index.js.map +1 -1
  34. package/lib/components/autolayout/AutoLayout.native.js +1 -1
  35. package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
  36. package/lib/components/autolayout/DefaultSpacingMatrix.js +74 -31
  37. package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
  38. package/lib/components/badge/Badge.d.ts +3 -2
  39. package/lib/components/badge/Badge.example.d.ts +3 -0
  40. package/lib/components/badge/Badge.example.js +5 -0
  41. package/lib/components/badge/Badge.example.js.map +1 -0
  42. package/lib/components/badge/Badge.js +12 -6
  43. package/lib/components/badge/Badge.js.map +1 -1
  44. package/lib/components/badge/Badge.native.d.ts +3 -2
  45. package/lib/components/badge/Badge.native.js +10 -6
  46. package/lib/components/badge/Badge.native.js.map +1 -1
  47. package/lib/components/badge/BadgeEnum.d.ts +5 -0
  48. package/lib/components/badge/BadgeEnum.js +5 -0
  49. package/lib/components/badge/BadgeEnum.js.map +1 -1
  50. package/lib/components/badge/BadgeProps.d.ts +3 -1
  51. package/lib/components/badge/index.d.ts +2 -1
  52. package/lib/components/badge/index.js +2 -1
  53. package/lib/components/badge/index.js.map +1 -1
  54. package/lib/components/box/Box.d.ts +3 -3
  55. package/lib/components/box/Box.example.d.ts +3 -0
  56. package/lib/components/box/Box.example.js +31 -0
  57. package/lib/components/box/Box.example.js.map +1 -0
  58. package/lib/components/box/Box.js +4 -4
  59. package/lib/components/box/Box.js.map +1 -1
  60. package/lib/components/box/Box.native.d.ts +3 -3
  61. package/lib/components/box/Box.native.js +14 -13
  62. package/lib/components/box/Box.native.js.map +1 -1
  63. package/lib/components/box/BoxProps.d.ts +1 -1
  64. package/lib/components/box/content/BoxContent.d.ts +2 -2
  65. package/lib/components/box/content/BoxContent.js +3 -3
  66. package/lib/components/box/content/BoxContent.js.map +1 -1
  67. package/lib/components/box/content/BoxContent.native.d.ts +2 -2
  68. package/lib/components/box/content/BoxContent.native.js +6 -4
  69. package/lib/components/box/content/BoxContent.native.js.map +1 -1
  70. package/lib/components/box/index.d.ts +2 -1
  71. package/lib/components/box/index.js +2 -1
  72. package/lib/components/box/index.js.map +1 -1
  73. package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -2
  74. package/lib/components/breadcrumb/Breadcrumb.example.d.ts +3 -0
  75. package/lib/components/breadcrumb/Breadcrumb.example.js +9 -0
  76. package/lib/components/breadcrumb/Breadcrumb.example.js.map +1 -0
  77. package/lib/components/breadcrumb/Breadcrumb.js +3 -4
  78. package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
  79. package/lib/components/breadcrumb/index.d.ts +2 -1
  80. package/lib/components/breadcrumb/index.js +2 -1
  81. package/lib/components/breadcrumb/index.js.map +1 -1
  82. package/lib/components/button/Button.example.d.ts +3 -0
  83. package/lib/components/button/Button.example.js +10 -0
  84. package/lib/components/button/Button.example.js.map +1 -0
  85. package/lib/components/button/Button.native.js +10 -10
  86. package/lib/components/button/Button.native.js.map +1 -1
  87. package/lib/components/button/index.d.ts +2 -1
  88. package/lib/components/button/index.js +2 -1
  89. package/lib/components/button/index.js.map +1 -1
  90. package/lib/components/button/list/ButtonList.native.js +4 -4
  91. package/lib/components/button/list/ButtonList.native.js.map +1 -1
  92. package/lib/components/card/Card.d.ts +3 -6
  93. package/lib/components/card/Card.example.d.ts +3 -0
  94. package/lib/components/card/Card.example.js +25 -0
  95. package/lib/components/card/Card.example.js.map +1 -0
  96. package/lib/components/card/Card.js +7 -9
  97. package/lib/components/card/Card.js.map +1 -1
  98. package/lib/components/card/Card.native.d.ts +2 -2
  99. package/lib/components/card/Card.native.js +7 -6
  100. package/lib/components/card/Card.native.js.map +1 -1
  101. package/lib/components/card/content/CardContent.native.d.ts +1 -0
  102. package/lib/components/card/content/CardContent.native.js +1 -0
  103. package/lib/components/card/content/CardContent.native.js.map +1 -1
  104. package/lib/components/card/content/CardContentProps.d.ts +1 -0
  105. package/lib/components/card/image/CardImage.d.ts +1 -0
  106. package/lib/components/card/image/CardImage.js +1 -0
  107. package/lib/components/card/image/CardImage.js.map +1 -1
  108. package/lib/components/card/image/CardImage.native.d.ts +1 -1
  109. package/lib/components/card/image/CardImage.native.js +8 -11
  110. package/lib/components/card/image/CardImage.native.js.map +1 -1
  111. package/lib/components/card/image/CardImageProps.d.ts +2 -0
  112. package/lib/components/card/index.d.ts +2 -1
  113. package/lib/components/card/index.js +2 -1
  114. package/lib/components/card/index.js.map +1 -1
  115. package/lib/components/checkbox/Checkbox.example.d.ts +3 -0
  116. package/lib/components/checkbox/Checkbox.example.js +18 -0
  117. package/lib/components/checkbox/Checkbox.example.js.map +1 -0
  118. package/lib/components/checkbox/Checkbox.native.js +8 -8
  119. package/lib/components/checkbox/Checkbox.native.js.map +1 -1
  120. package/lib/components/checkbox/index.d.ts +2 -1
  121. package/lib/components/checkbox/index.js +2 -1
  122. package/lib/components/checkbox/index.js.map +1 -1
  123. package/lib/components/chips/Chips.d.ts +2 -1
  124. package/lib/components/chips/Chips.example.d.ts +3 -0
  125. package/lib/components/chips/Chips.example.js +13 -0
  126. package/lib/components/chips/Chips.example.js.map +1 -0
  127. package/lib/components/chips/Chips.js +6 -4
  128. package/lib/components/chips/Chips.js.map +1 -1
  129. package/lib/components/chips/Chips.native.d.ts +2 -1
  130. package/lib/components/chips/Chips.native.js +8 -6
  131. package/lib/components/chips/Chips.native.js.map +1 -1
  132. package/lib/components/chips/ChipsProps.d.ts +1 -0
  133. package/lib/components/chips/index.d.ts +2 -1
  134. package/lib/components/chips/index.js +2 -1
  135. package/lib/components/chips/index.js.map +1 -1
  136. package/lib/components/chips/list/ChipsList.d.ts +2 -2
  137. package/lib/components/chips/list/ChipsList.js +3 -4
  138. package/lib/components/chips/list/ChipsList.js.map +1 -1
  139. package/lib/components/columns/Columns.d.ts +3 -2
  140. package/lib/components/columns/Columns.example.d.ts +3 -0
  141. package/lib/components/columns/Columns.example.js +16 -0
  142. package/lib/components/columns/Columns.example.js.map +1 -0
  143. package/lib/components/columns/Columns.js +5 -5
  144. package/lib/components/columns/Columns.js.map +1 -1
  145. package/lib/components/columns/ColumnsProps.d.ts +3 -1
  146. package/lib/components/columns/index.d.ts +2 -1
  147. package/lib/components/columns/index.js +2 -1
  148. package/lib/components/columns/index.js.map +1 -1
  149. package/lib/components/columns/item/ColumnsItem.d.ts +2 -2
  150. package/lib/components/columns/item/ColumnsItem.js +3 -4
  151. package/lib/components/columns/item/ColumnsItem.js.map +1 -1
  152. package/lib/components/columns/item/ColumnsItem.native.js +0 -3
  153. package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
  154. package/lib/components/container/Container.d.ts +2 -2
  155. package/lib/components/container/Container.example.d.ts +3 -0
  156. package/lib/components/container/Container.example.js +9 -0
  157. package/lib/components/container/Container.example.js.map +1 -0
  158. package/lib/components/container/Container.js +3 -3
  159. package/lib/components/container/Container.js.map +1 -1
  160. package/lib/components/container/Container.native.d.ts +2 -2
  161. package/lib/components/container/Container.native.js +8 -8
  162. package/lib/components/container/Container.native.js.map +1 -1
  163. package/lib/components/container/index.d.ts +2 -1
  164. package/lib/components/container/index.js +2 -1
  165. package/lib/components/container/index.js.map +1 -1
  166. package/lib/components/countdown/Countdown.d.ts +1 -2
  167. package/lib/components/countdown/Countdown.example.d.ts +3 -0
  168. package/lib/components/countdown/Countdown.example.js +10 -0
  169. package/lib/components/countdown/Countdown.example.js.map +1 -0
  170. package/lib/components/countdown/Countdown.js +2 -3
  171. package/lib/components/countdown/Countdown.js.map +1 -1
  172. package/lib/components/countdown/Countdown.native.d.ts +1 -2
  173. package/lib/components/countdown/Countdown.native.js +3 -4
  174. package/lib/components/countdown/Countdown.native.js.map +1 -1
  175. package/lib/components/countdown/CountdownProps.d.ts +0 -1
  176. package/lib/components/countdown/index.d.ts +2 -1
  177. package/lib/components/countdown/index.js +2 -1
  178. package/lib/components/countdown/index.js.map +1 -1
  179. package/lib/components/divider/Divider.example.d.ts +3 -0
  180. package/lib/components/divider/Divider.example.js +5 -0
  181. package/lib/components/divider/Divider.example.js.map +1 -0
  182. package/lib/components/divider/Divider.native.js +2 -2
  183. package/lib/components/divider/Divider.native.js.map +1 -1
  184. package/lib/components/divider/index.d.ts +2 -1
  185. package/lib/components/divider/index.js +2 -1
  186. package/lib/components/divider/index.js.map +1 -1
  187. package/lib/components/enumsComponentsName.d.ts +1 -2
  188. package/lib/components/enumsComponentsName.js +1 -2
  189. package/lib/components/enumsComponentsName.js.map +1 -1
  190. package/lib/components/fab/Fab.example.d.ts +3 -0
  191. package/lib/components/fab/Fab.example.js +10 -0
  192. package/lib/components/fab/Fab.example.js.map +1 -0
  193. package/lib/components/fab/FabProps.d.ts +2 -2
  194. package/lib/components/fab/index.d.ts +2 -1
  195. package/lib/components/fab/index.js +2 -1
  196. package/lib/components/fab/index.js.map +1 -1
  197. package/lib/components/hero/Hero.d.ts +1 -2
  198. package/lib/components/hero/Hero.example.d.ts +3 -0
  199. package/lib/components/hero/Hero.example.js +14 -0
  200. package/lib/components/hero/Hero.example.js.map +1 -0
  201. package/lib/components/hero/Hero.js +2 -3
  202. package/lib/components/hero/Hero.js.map +1 -1
  203. package/lib/components/hero/Hero.native.d.ts +2 -2
  204. package/lib/components/hero/Hero.native.js +8 -8
  205. package/lib/components/hero/Hero.native.js.map +1 -1
  206. package/lib/components/hero/index.d.ts +2 -1
  207. package/lib/components/hero/index.js +2 -1
  208. package/lib/components/hero/index.js.map +1 -1
  209. package/lib/components/icon/Icon.example.d.ts +3 -0
  210. package/lib/components/icon/Icon.example.js +8 -0
  211. package/lib/components/icon/Icon.example.js.map +1 -0
  212. package/lib/components/icon/Icon.js +1 -1
  213. package/lib/components/icon/Icon.js.map +1 -1
  214. package/lib/components/icon/Icon.native.js +1 -1
  215. package/lib/components/icon/Icon.native.js.map +1 -1
  216. package/lib/components/icon/index.d.ts +2 -1
  217. package/lib/components/icon/index.js +2 -1
  218. package/lib/components/icon/index.js.map +1 -1
  219. package/lib/components/icon/text/TextIcon.d.ts +2 -4
  220. package/lib/components/icon/text/TextIcon.js +17 -15
  221. package/lib/components/icon/text/TextIcon.js.map +1 -1
  222. package/lib/components/image/Image.example.d.ts +3 -0
  223. package/lib/components/image/Image.example.js +5 -0
  224. package/lib/components/image/Image.example.js.map +1 -0
  225. package/lib/components/image/index.d.ts +2 -1
  226. package/lib/components/image/index.js +2 -1
  227. package/lib/components/image/index.js.map +1 -1
  228. package/lib/components/index.d.ts +0 -1
  229. package/lib/components/index.js +0 -1
  230. package/lib/components/index.js.map +1 -1
  231. package/lib/components/input/Input.d.ts +72 -2
  232. package/lib/components/input/Input.example.d.ts +3 -0
  233. package/lib/components/input/Input.example.js +5 -0
  234. package/lib/components/input/Input.example.js.map +1 -0
  235. package/lib/components/input/Input.js +34 -19
  236. package/lib/components/input/Input.js.map +1 -1
  237. package/lib/components/input/Input.native.d.ts +4 -4
  238. package/lib/components/input/Input.native.js +40 -47
  239. package/lib/components/input/Input.native.js.map +1 -1
  240. package/lib/components/input/InputProps.d.ts +12 -21
  241. package/lib/components/input/autocomplete/AutoComplete.d.ts +24 -0
  242. package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.js +9 -10
  243. package/lib/components/input/autocomplete/AutoComplete.js.map +1 -0
  244. package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.native.d.ts +2 -2
  245. package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.native.js +1 -1
  246. package/lib/components/input/autocomplete/AutoComplete.native.js.map +1 -0
  247. package/lib/components/input/autocomplete/AutoCompleteProps.d.ts +29 -0
  248. package/lib/components/input/autocomplete/AutoCompleteProps.js.map +1 -0
  249. package/lib/components/input/autocomplete/Autocomplete.helpers.js.map +1 -0
  250. package/lib/components/input/autocomplete/index.js.map +1 -0
  251. package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteIem.native.js +2 -2
  252. package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js.map +1 -0
  253. package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItem.js +3 -3
  254. package/lib/components/input/autocomplete/item/AutoCompleteItem.js.map +1 -0
  255. package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItemProps.d.ts +1 -1
  256. package/lib/components/input/autocomplete/item/AutoCompleteItemProps.js.map +1 -0
  257. package/lib/components/input/autocomplete/item/index.js.map +1 -0
  258. package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.js +3 -3
  259. package/lib/components/input/autocomplete/menu/AutoCompleteMenu.js.map +1 -0
  260. package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.native.js +3 -3
  261. package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -0
  262. package/lib/components/input/autocomplete/menu/AutoCompleteMenuProps.js.map +1 -0
  263. package/lib/components/input/autocomplete/menu/index.js.map +1 -0
  264. package/lib/components/input/autocomplete/utils/debounce.js.map +1 -0
  265. package/lib/components/input/autocomplete/utils/index.js.map +1 -0
  266. package/lib/components/input/gauge/InputGauge.native.js +1 -1
  267. package/lib/components/input/gauge/InputGauge.native.js.map +1 -1
  268. package/lib/components/input/gauge/hook/useGauge.js +1 -1
  269. package/lib/components/input/gauge/hook/useGauge.js.map +1 -1
  270. package/lib/components/input/index.d.ts +2 -1
  271. package/lib/components/input/index.js +2 -1
  272. package/lib/components/input/index.js.map +1 -1
  273. package/lib/components/link/Link.example.d.ts +3 -0
  274. package/lib/components/link/Link.example.js +15 -0
  275. package/lib/components/link/Link.example.js.map +1 -0
  276. package/lib/components/link/Link.js +2 -2
  277. package/lib/components/link/Link.js.map +1 -1
  278. package/lib/components/link/Link.native.d.ts +1 -0
  279. package/lib/components/link/Link.native.js +10 -10
  280. package/lib/components/link/Link.native.js.map +1 -1
  281. package/lib/components/link/LinkProps.d.ts +1 -0
  282. package/lib/components/link/index.d.ts +2 -1
  283. package/lib/components/link/index.js +2 -1
  284. package/lib/components/link/index.js.map +1 -1
  285. package/lib/components/list/List.d.ts +2 -2
  286. package/lib/components/list/List.example.d.ts +3 -0
  287. package/lib/components/list/List.example.js +17 -0
  288. package/lib/components/list/List.example.js.map +1 -0
  289. package/lib/components/list/List.js +3 -4
  290. package/lib/components/list/List.js.map +1 -1
  291. package/lib/components/list/index.d.ts +2 -1
  292. package/lib/components/list/index.js +2 -1
  293. package/lib/components/list/index.js.map +1 -1
  294. package/lib/components/list/item/ListItem.native.js +1 -1
  295. package/lib/components/list/item/ListItem.native.js.map +1 -1
  296. package/lib/components/modal/Modal.d.ts +6 -1
  297. package/lib/components/modal/Modal.example.d.ts +3 -0
  298. package/lib/components/modal/Modal.example.js +5 -0
  299. package/lib/components/modal/Modal.example.js.map +1 -0
  300. package/lib/components/modal/Modal.js +19 -14
  301. package/lib/components/modal/Modal.js.map +1 -1
  302. package/lib/components/modal/ModalProps.d.ts +5 -1
  303. package/lib/components/modal/index.d.ts +2 -1
  304. package/lib/components/modal/index.js +2 -1
  305. package/lib/components/modal/index.js.map +1 -1
  306. package/lib/components/modal/title/ModalTitle.js +1 -1
  307. package/lib/components/modal/title/ModalTitle.js.map +1 -1
  308. package/lib/components/otp/Otp.d.ts +12 -0
  309. package/lib/components/otp/Otp.example.d.ts +3 -0
  310. package/lib/components/otp/Otp.example.js +13 -0
  311. package/lib/components/otp/Otp.example.js.map +1 -0
  312. package/lib/components/otp/Otp.js +98 -77
  313. package/lib/components/otp/Otp.js.map +1 -1
  314. package/lib/components/otp/Otp.native.js +1 -1
  315. package/lib/components/otp/Otp.native.js.map +1 -1
  316. package/lib/components/otp/index.d.ts +2 -1
  317. package/lib/components/otp/index.js +2 -1
  318. package/lib/components/otp/index.js.map +1 -1
  319. package/lib/components/pagination/Pagination.example.d.ts +3 -0
  320. package/lib/components/pagination/Pagination.example.js +5 -0
  321. package/lib/components/pagination/Pagination.example.js.map +1 -0
  322. package/lib/components/pagination/index.d.ts +2 -1
  323. package/lib/components/pagination/index.js +2 -1
  324. package/lib/components/pagination/index.js.map +1 -1
  325. package/lib/components/popover/Popover.example.d.ts +3 -0
  326. package/lib/components/popover/Popover.example.js +7 -0
  327. package/lib/components/popover/Popover.example.js.map +1 -0
  328. package/lib/components/popover/index.d.ts +2 -1
  329. package/lib/components/popover/index.js +2 -1
  330. package/lib/components/popover/index.js.map +1 -1
  331. package/lib/components/price/Price.d.ts +3 -3
  332. package/lib/components/price/Price.example.d.ts +3 -0
  333. package/lib/components/price/Price.example.js +12 -0
  334. package/lib/components/price/Price.example.js.map +1 -0
  335. package/lib/components/price/Price.js +9 -28
  336. package/lib/components/price/Price.js.map +1 -1
  337. package/lib/components/price/Price.native.d.ts +3 -2
  338. package/lib/components/price/Price.native.js +88 -128
  339. package/lib/components/price/Price.native.js.map +1 -1
  340. package/lib/components/price/PriceEnum.d.ts +8 -8
  341. package/lib/components/price/PriceEnum.js +7 -7
  342. package/lib/components/price/PriceEnum.js.map +1 -1
  343. package/lib/components/price/PriceProps.d.ts +7 -7
  344. package/lib/components/price/index.d.ts +2 -1
  345. package/lib/components/price/index.js +2 -1
  346. package/lib/components/price/index.js.map +1 -1
  347. package/lib/components/progress/Progress.d.ts +3 -3
  348. package/lib/components/progress/Progress.example.d.ts +3 -0
  349. package/lib/components/progress/Progress.example.js +7 -0
  350. package/lib/components/progress/Progress.example.js.map +1 -0
  351. package/lib/components/progress/Progress.js +6 -7
  352. package/lib/components/progress/Progress.js.map +1 -1
  353. package/lib/components/progress/Progress.native.d.ts +2 -2
  354. package/lib/components/progress/Progress.native.js +6 -6
  355. package/lib/components/progress/Progress.native.js.map +1 -1
  356. package/lib/components/progress/ProgressProps.d.ts +2 -2
  357. package/lib/components/progress/index.d.ts +2 -1
  358. package/lib/components/progress/index.js +2 -1
  359. package/lib/components/progress/index.js.map +1 -1
  360. package/lib/components/progress/item/ProgressItem.d.ts +3 -3
  361. package/lib/components/progress/item/ProgressItem.js +6 -7
  362. package/lib/components/progress/item/ProgressItem.js.map +1 -1
  363. package/lib/components/progress/item/ProgressItem.native.d.ts +2 -2
  364. package/lib/components/progress/item/ProgressItem.native.js +2 -2
  365. package/lib/components/progress/item/ProgressItem.native.js.map +1 -1
  366. package/lib/components/progress/item/ProgressItemProps.d.ts +2 -2
  367. package/lib/components/progress/radial/ProgressRadial.js +1 -2
  368. package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
  369. package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -3
  370. package/lib/components/progress/radial/ProgressRadial.native.js +12 -10
  371. package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
  372. package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
  373. package/lib/components/radio/Radio.example.d.ts +3 -0
  374. package/lib/components/radio/Radio.example.js +18 -0
  375. package/lib/components/radio/Radio.example.js.map +1 -0
  376. package/lib/components/radio/Radio.native.js +11 -12
  377. package/lib/components/radio/Radio.native.js.map +1 -1
  378. package/lib/components/radio/index.d.ts +2 -1
  379. package/lib/components/radio/index.js +2 -1
  380. package/lib/components/radio/index.js.map +1 -1
  381. package/lib/components/radio/list/RadioList.native.js +4 -4
  382. package/lib/components/radio/list/RadioList.native.js.map +1 -1
  383. package/lib/components/range/Range.example.d.ts +3 -0
  384. package/lib/components/range/Range.example.js +5 -0
  385. package/lib/components/range/Range.example.js.map +1 -0
  386. package/lib/components/range/Range.js +1 -1
  387. package/lib/components/range/Range.js.map +1 -1
  388. package/lib/components/range/index.d.ts +2 -1
  389. package/lib/components/range/index.js +2 -1
  390. package/lib/components/range/index.js.map +1 -1
  391. package/lib/components/rows/Rows.d.ts +2 -3
  392. package/lib/components/rows/Rows.example.d.ts +3 -0
  393. package/lib/components/rows/Rows.example.js +16 -0
  394. package/lib/components/rows/Rows.example.js.map +1 -0
  395. package/lib/components/rows/Rows.js +3 -6
  396. package/lib/components/rows/Rows.js.map +1 -1
  397. package/lib/components/rows/Rows.native.d.ts +2 -5
  398. package/lib/components/rows/Rows.native.js +2 -4
  399. package/lib/components/rows/Rows.native.js.map +1 -1
  400. package/lib/components/rows/RowsProps.d.ts +0 -1
  401. package/lib/components/rows/index.d.ts +2 -1
  402. package/lib/components/rows/index.js +2 -1
  403. package/lib/components/rows/index.js.map +1 -1
  404. package/lib/components/rows/item/RowItem.d.ts +2 -2
  405. package/lib/components/rows/item/RowItem.js +3 -4
  406. package/lib/components/rows/item/RowItem.js.map +1 -1
  407. package/lib/components/rows/item/RowItem.native.js +1 -3
  408. package/lib/components/rows/item/RowItem.native.js.map +1 -1
  409. package/lib/components/section/Section.d.ts +3 -3
  410. package/lib/components/section/Section.example.d.ts +3 -0
  411. package/lib/components/section/Section.example.js +12 -0
  412. package/lib/components/section/Section.example.js.map +1 -0
  413. package/lib/components/section/Section.js +6 -7
  414. package/lib/components/section/Section.js.map +1 -1
  415. package/lib/components/section/Section.native.d.ts +2 -2
  416. package/lib/components/section/Section.native.js +4 -4
  417. package/lib/components/section/Section.native.js.map +1 -1
  418. package/lib/components/section/SectionProps.d.ts +2 -2
  419. package/lib/components/section/index.d.ts +2 -1
  420. package/lib/components/section/index.js +2 -1
  421. package/lib/components/section/index.js.map +1 -1
  422. package/lib/components/segment-control/SegmentControl.example.d.ts +3 -0
  423. package/lib/components/segment-control/SegmentControl.example.js +9 -0
  424. package/lib/components/segment-control/SegmentControl.example.js.map +1 -0
  425. package/lib/components/segment-control/SegmentControl.native.js +1 -1
  426. package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
  427. package/lib/components/segment-control/SegmentControlProps.d.ts +4 -1
  428. package/lib/components/segment-control/index.d.ts +2 -1
  429. package/lib/components/segment-control/index.js +2 -1
  430. package/lib/components/segment-control/index.js.map +1 -1
  431. package/lib/components/segment-control/item/SegmentControlItem.native.js +2 -2
  432. package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
  433. package/lib/components/select/Select.example.d.ts +3 -0
  434. package/lib/components/select/Select.example.js +8 -0
  435. package/lib/components/select/Select.example.js.map +1 -0
  436. package/lib/components/select/index.d.ts +2 -1
  437. package/lib/components/select/index.js +2 -1
  438. package/lib/components/select/index.js.map +1 -1
  439. package/lib/components/select/option/SelectOption.d.ts +2 -2
  440. package/lib/components/select/option/SelectOption.js +3 -4
  441. package/lib/components/select/option/SelectOption.js.map +1 -1
  442. package/lib/components/select/option/SelectOption.native.js +1 -1
  443. package/lib/components/select/option/SelectOption.native.js.map +1 -1
  444. package/lib/components/selector/item/SelectorItem.native.js +1 -1
  445. package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
  446. package/lib/components/spacer/Spacer.d.ts +1 -1
  447. package/lib/components/spacer/Spacer.js +1 -1
  448. package/lib/components/spacer/Spacer.native.d.ts +2 -1
  449. package/lib/components/spacer/Spacer.native.js +2 -1
  450. package/lib/components/spacer/Spacer.native.js.map +1 -1
  451. package/lib/components/spacer/SpacerEnum.d.ts +6 -11
  452. package/lib/components/spacer/SpacerEnum.js +7 -11
  453. package/lib/components/spacer/SpacerEnum.js.map +1 -1
  454. package/lib/components/stepper/Stepper.d.ts +2 -2
  455. package/lib/components/stepper/Stepper.example.d.ts +3 -0
  456. package/lib/components/stepper/Stepper.example.js +10 -0
  457. package/lib/components/stepper/Stepper.example.js.map +1 -0
  458. package/lib/components/stepper/Stepper.js +5 -7
  459. package/lib/components/stepper/Stepper.js.map +1 -1
  460. package/lib/components/stepper/Stepper.native.js +2 -1
  461. package/lib/components/stepper/Stepper.native.js.map +1 -1
  462. package/lib/components/stepper/index.d.ts +2 -1
  463. package/lib/components/stepper/index.js +2 -1
  464. package/lib/components/stepper/index.js.map +1 -1
  465. package/lib/components/stepper/step/StepperStep.d.ts +2 -2
  466. package/lib/components/stepper/step/StepperStep.js +3 -4
  467. package/lib/components/stepper/step/StepperStep.js.map +1 -1
  468. package/lib/components/stepper/step/StepperStep.native.js +1 -1
  469. package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
  470. package/lib/components/sticker/Sticker.d.ts +2 -2
  471. package/lib/components/sticker/Sticker.example.d.ts +3 -0
  472. package/lib/components/sticker/Sticker.example.js +10 -0
  473. package/lib/components/sticker/Sticker.example.js.map +1 -0
  474. package/lib/components/sticker/Sticker.js +3 -3
  475. package/lib/components/sticker/Sticker.js.map +1 -1
  476. package/lib/components/sticker/index.d.ts +2 -1
  477. package/lib/components/sticker/index.js +2 -1
  478. package/lib/components/sticker/index.js.map +1 -1
  479. package/lib/components/switch/Switch.d.ts +2 -2
  480. package/lib/components/switch/Switch.example.d.ts +3 -0
  481. package/lib/components/switch/Switch.example.js +12 -0
  482. package/lib/components/switch/Switch.example.js.map +1 -0
  483. package/lib/components/switch/Switch.js +4 -4
  484. package/lib/components/switch/Switch.js.map +1 -1
  485. package/lib/components/switch/Switch.native.d.ts +2 -2
  486. package/lib/components/switch/Switch.native.js +7 -6
  487. package/lib/components/switch/Switch.native.js.map +1 -1
  488. package/lib/components/switch/SwitchProps.d.ts +2 -2
  489. package/lib/components/switch/index.d.ts +2 -1
  490. package/lib/components/switch/index.js +2 -1
  491. package/lib/components/switch/index.js.map +1 -1
  492. package/lib/components/table/Table.example.d.ts +3 -0
  493. package/lib/components/table/Table.example.js +19 -0
  494. package/lib/components/table/Table.example.js.map +1 -0
  495. package/lib/components/table/Table.native.js +1 -1
  496. package/lib/components/table/Table.native.js.map +1 -1
  497. package/lib/components/table/index.d.ts +2 -1
  498. package/lib/components/table/index.js +2 -1
  499. package/lib/components/table/index.js.map +1 -1
  500. package/lib/components/table/td/TableTd.native.js +2 -2
  501. package/lib/components/table/td/TableTd.native.js.map +1 -1
  502. package/lib/components/table/th/TableTh.native.js +2 -2
  503. package/lib/components/table/th/TableTh.native.js.map +1 -1
  504. package/lib/components/table/tr/TableTr.native.js +1 -1
  505. package/lib/components/table/tr/TableTr.native.js.map +1 -1
  506. package/lib/components/tabs/Tabs.d.ts +2 -2
  507. package/lib/components/tabs/Tabs.example.d.ts +3 -0
  508. package/lib/components/tabs/Tabs.example.js +16 -0
  509. package/lib/components/tabs/Tabs.example.js.map +1 -0
  510. package/lib/components/tabs/Tabs.js +3 -4
  511. package/lib/components/tabs/Tabs.js.map +1 -1
  512. package/lib/components/tabs/index.d.ts +2 -1
  513. package/lib/components/tabs/index.js +2 -1
  514. package/lib/components/tabs/index.js.map +1 -1
  515. package/lib/components/tabs/item/TabsItem.d.ts +2 -2
  516. package/lib/components/tabs/item/TabsItem.js +4 -5
  517. package/lib/components/tabs/item/TabsItem.js.map +1 -1
  518. package/lib/components/tabs/item/TabsItem.native.js +1 -1
  519. package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
  520. package/lib/components/tag/Tag.example.d.ts +3 -0
  521. package/lib/components/tag/Tag.example.js +13 -0
  522. package/lib/components/tag/Tag.example.js.map +1 -0
  523. package/lib/components/tag/Tag.native.js +2 -3
  524. package/lib/components/tag/Tag.native.js.map +1 -1
  525. package/lib/components/tag/index.d.ts +2 -1
  526. package/lib/components/tag/index.js +2 -1
  527. package/lib/components/tag/index.js.map +1 -1
  528. package/lib/components/tag/list/TagList.d.ts +2 -2
  529. package/lib/components/tag/list/TagList.js +3 -4
  530. package/lib/components/tag/list/TagList.js.map +1 -1
  531. package/lib/components/text/Text.example.d.ts +3 -0
  532. package/lib/components/text/Text.example.js +5 -0
  533. package/lib/components/text/Text.example.js.map +1 -0
  534. package/lib/components/text/Text.native.js +8 -9
  535. package/lib/components/text/Text.native.js.map +1 -1
  536. package/lib/components/text/TextEnum.d.ts +5 -5
  537. package/lib/components/text/TextEnum.js +4 -4
  538. package/lib/components/text/TextEnum.js.map +1 -1
  539. package/lib/components/text/index.d.ts +2 -1
  540. package/lib/components/text/index.js +2 -1
  541. package/lib/components/text/index.js.map +1 -1
  542. package/lib/components/textarea/Textarea.d.ts +3 -3
  543. package/lib/components/textarea/Textarea.example.d.ts +3 -0
  544. package/lib/components/textarea/Textarea.example.js +12 -0
  545. package/lib/components/textarea/Textarea.example.js.map +1 -0
  546. package/lib/components/textarea/Textarea.js +6 -11
  547. package/lib/components/textarea/Textarea.js.map +1 -1
  548. package/lib/components/textarea/Textarea.native.js +14 -28
  549. package/lib/components/textarea/Textarea.native.js.map +1 -1
  550. package/lib/components/textarea/TextareaProps.d.ts +0 -2
  551. package/lib/components/textarea/index.d.ts +2 -1
  552. package/lib/components/textarea/index.js +2 -1
  553. package/lib/components/textarea/index.js.map +1 -1
  554. package/lib/components/timeline/Timeline.d.ts +2 -2
  555. package/lib/components/timeline/Timeline.example.d.ts +3 -0
  556. package/lib/components/timeline/Timeline.example.js +34 -0
  557. package/lib/components/timeline/Timeline.example.js.map +1 -0
  558. package/lib/components/timeline/Timeline.js +4 -4
  559. package/lib/components/timeline/Timeline.js.map +1 -1
  560. package/lib/components/timeline/content/TimelineContent.js +1 -1
  561. package/lib/components/timeline/content/TimelineContent.js.map +1 -1
  562. package/lib/components/timeline/index.d.ts +2 -1
  563. package/lib/components/timeline/index.js +2 -1
  564. package/lib/components/timeline/index.js.map +1 -1
  565. package/lib/components/timeline/item/TimelineItem.d.ts +2 -2
  566. package/lib/components/timeline/item/TimelineItem.js +3 -4
  567. package/lib/components/timeline/item/TimelineItem.js.map +1 -1
  568. package/lib/components/timeline/marker/TimelineMarker.native.js +7 -7
  569. package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
  570. package/lib/components/title/Title.example.d.ts +3 -0
  571. package/lib/components/title/Title.example.js +8 -0
  572. package/lib/components/title/Title.example.js.map +1 -0
  573. package/lib/components/title/Title.js +2 -2
  574. package/lib/components/title/Title.js.map +1 -1
  575. package/lib/components/title/Title.native.js +9 -10
  576. package/lib/components/title/Title.native.js.map +1 -1
  577. package/lib/components/title/TitleEnum.d.ts +7 -7
  578. package/lib/components/title/TitleEnum.js +6 -6
  579. package/lib/components/title/TitleEnum.js.map +1 -1
  580. package/lib/components/title/index.d.ts +2 -1
  581. package/lib/components/title/index.js +2 -1
  582. package/lib/components/title/index.js.map +1 -1
  583. package/lib/components/toaster/Toaster.d.ts +11 -0
  584. package/lib/components/toaster/Toaster.js +93 -0
  585. package/lib/components/toaster/Toaster.js.map +1 -0
  586. package/lib/components/toaster/Toaster.native.d.ts +15 -0
  587. package/lib/components/toaster/Toaster.native.js +93 -0
  588. package/lib/components/toaster/Toaster.native.js.map +1 -0
  589. package/lib/components/toaster/ToasterEnum.d.ts +1 -0
  590. package/lib/components/toaster/ToasterEnum.js +16 -0
  591. package/lib/components/toaster/ToasterEnum.js.map +1 -0
  592. package/lib/components/toaster/ToasterProps.d.ts +27 -0
  593. package/lib/components/toaster/ToasterProps.js +6 -0
  594. package/lib/components/toaster/ToasterProps.js.map +1 -0
  595. package/lib/components/toaster/context/ToasterContext.d.ts +7 -0
  596. package/lib/components/toaster/context/ToasterContext.js +8 -0
  597. package/lib/components/toaster/context/ToasterContext.js.map +1 -0
  598. package/lib/components/toaster/context/ToasterContextProps.d.ts +27 -0
  599. package/lib/components/toaster/context/ToasterContextProps.js +2 -0
  600. package/lib/components/toaster/context/ToasterContextProps.js.map +1 -0
  601. package/lib/components/toaster/context/index.d.ts +2 -0
  602. package/lib/components/toaster/context/index.js +3 -0
  603. package/lib/components/toaster/context/index.js.map +1 -0
  604. package/lib/components/toaster/index.d.ts +3 -0
  605. package/lib/components/toaster/index.js +4 -0
  606. package/lib/components/toaster/index.js.map +1 -0
  607. package/lib/components/view/View.d.ts +2 -2
  608. package/lib/components/view/View.js +3 -3
  609. package/lib/components/view/View.js.map +1 -1
  610. package/lib/components/view/View.native.d.ts +2 -2
  611. package/lib/components/view/View.native.js +3 -3
  612. package/lib/components/view/View.native.js.map +1 -1
  613. package/lib/context/index.d.ts +1 -3
  614. package/lib/context/index.js +2 -2
  615. package/lib/context/index.js.map +1 -1
  616. package/lib/context/provider.native.d.ts +1 -4
  617. package/lib/context/provider.native.js +2 -2
  618. package/lib/context/provider.native.js.map +1 -1
  619. package/lib/context/providerStyled.d.ts +4 -6
  620. package/lib/context/providerStyled.js +20 -23
  621. package/lib/context/providerStyled.js.map +1 -1
  622. package/lib/context/providerStyled.native.d.ts +1 -4
  623. package/lib/context/providerStyled.native.js +2 -2
  624. package/lib/context/providerStyled.native.js.map +1 -1
  625. package/lib/context/providerStyledMangled.d.ts +10 -0
  626. package/lib/context/providerStyledMangled.js +14 -0
  627. package/lib/context/providerStyledMangled.js.map +1 -0
  628. package/lib/context/providerStyledMangled.native.d.ts +1 -0
  629. package/lib/context/providerStyledMangled.native.js +4 -0
  630. package/lib/context/providerStyledMangled.native.js.map +1 -0
  631. package/lib/context/providerTheme.d.ts +3 -5
  632. package/lib/context/providerTheme.js +5 -4
  633. package/lib/context/providerTheme.js.map +1 -1
  634. package/lib/hash.json +1 -1
  635. package/lib/helpers/hashClassesHelpers.js +2 -3
  636. package/lib/helpers/hashClassesHelpers.js.map +1 -1
  637. package/lib/objects/Typography/TypographyColor.d.ts +1 -0
  638. package/lib/objects/Typography/TypographyColor.js +23 -18
  639. package/lib/objects/Typography/TypographyColor.js.map +1 -1
  640. package/lib/objects/atoms/Background.d.ts +17 -2
  641. package/lib/objects/atoms/Background.js +14 -1
  642. package/lib/objects/atoms/Background.js.map +1 -1
  643. package/lib/objects/atoms/Text.js +3 -1
  644. package/lib/objects/atoms/Text.js.map +1 -1
  645. package/lib/objects/facets/Alert.d.ts +36 -0
  646. package/lib/objects/facets/Alert.js +70 -0
  647. package/lib/objects/facets/Alert.js.map +1 -0
  648. package/lib/objects/facets/Color.d.ts +5 -9
  649. package/lib/objects/facets/Color.js +53 -54
  650. package/lib/objects/facets/Color.js.map +1 -1
  651. package/lib/objects/facets/Variant.js +1 -1
  652. package/lib/objects/facets/Variant.js.map +1 -1
  653. package/lib/objects/facets/index.d.ts +1 -1
  654. package/lib/objects/facets/index.js +1 -1
  655. package/lib/objects/facets/index.js.map +1 -1
  656. package/lib/version.d.ts +1 -1
  657. package/lib/version.js +1 -1
  658. package/lib/version.js.map +1 -1
  659. package/package.json +1 -1
  660. package/lib/components/accordion/AccordionPropsDefaults.js +0 -45
  661. package/lib/components/accordion/body/AccordionBodyPropsDefaults.js +0 -52
  662. package/lib/components/accordion/header/AccordionHeaderPropsDefaults.js +0 -60
  663. package/lib/components/accordion/item/AccordionItemPropsDefaults.js +0 -68
  664. package/lib/components/accordion/item/OnClickCallbackDefaults.js +0 -1
  665. package/lib/components/alert/AlertPropsDefaults.js +0 -155
  666. package/lib/components/alert/ToasterStatusPropsDefaults.js +0 -227
  667. package/lib/components/alert/context/ToastConfigDefaults.js +0 -24
  668. package/lib/components/alert/context/ToastPropsDefaults.js +0 -129
  669. package/lib/components/autocomplete/AutoComplete.d.ts +0 -4
  670. package/lib/components/autocomplete/AutoComplete.js.map +0 -1
  671. package/lib/components/autocomplete/AutoComplete.native.js.map +0 -1
  672. package/lib/components/autocomplete/AutoCompleteProps.d.ts +0 -49
  673. package/lib/components/autocomplete/AutoCompleteProps.js.map +0 -1
  674. package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +0 -752
  675. package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +0 -752
  676. package/lib/components/autocomplete/Autocomplete.helpers.js.map +0 -1
  677. package/lib/components/autocomplete/ItemDefaults.js +0 -10
  678. package/lib/components/autocomplete/ItemSelectedEventDefaults.js +0 -10
  679. package/lib/components/autocomplete/index.js.map +0 -1
  680. package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +0 -1
  681. package/lib/components/autocomplete/item/AutoCompleteItem.js.map +0 -1
  682. package/lib/components/autocomplete/item/AutoCompleteItemProps.js.map +0 -1
  683. package/lib/components/autocomplete/item/AutoCompleteItemPropsDefaults.js +0 -56
  684. package/lib/components/autocomplete/item/index.js.map +0 -1
  685. package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +0 -1
  686. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +0 -1
  687. package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js.map +0 -1
  688. package/lib/components/autocomplete/menu/AutoCompleteMenuPropsDefaults.js +0 -60
  689. package/lib/components/autocomplete/menu/index.js.map +0 -1
  690. package/lib/components/autocomplete/utils/debounce.js.map +0 -1
  691. package/lib/components/autocomplete/utils/index.js.map +0 -1
  692. package/lib/components/badge/BadgePropsDefaults.js +0 -75
  693. package/lib/components/box/BoxPropsDefaults.js +0 -212
  694. package/lib/components/box/content/BoxContentPropsDefaults.js +0 -100
  695. package/lib/components/box/footer/BoxFooterPropsDefaults.js +0 -85
  696. package/lib/components/box/header/BoxHeaderPropsDefaults.js +0 -116
  697. package/lib/components/box/item/BoxItemPropsDefaults.js +0 -35
  698. package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +0 -45
  699. package/lib/components/breadcrumb/BreadcrumbPropsDefaults.js +0 -38
  700. package/lib/components/breadcrumb/BreadcrumbWebPropsDefaults.js +0 -45
  701. package/lib/components/breadcrumb/item/BreadcrumbItemPropsDefaults.js +0 -53
  702. package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +0 -253
  703. package/lib/components/button/ButtonPropsDefaults.js +0 -380
  704. package/lib/components/button/list/ButtonListPropsDefaults.js +0 -19
  705. package/lib/components/button/list/ButtonListWebPropsDefaults.js +0 -50
  706. package/lib/components/card/CardPropsDefaults.js +0 -218
  707. package/lib/components/card/content/CardContentPropsDefaults.js +0 -153
  708. package/lib/components/card/image/CardImagePropsDefaults.js +0 -52
  709. package/lib/components/checkbox/CheckboxChangeEventDefaults.js +0 -21
  710. package/lib/components/checkbox/CheckboxClickEventDefaults.js +0 -21
  711. package/lib/components/checkbox/CheckboxPropsDefaults.js +0 -200
  712. package/lib/components/chips/ChipsPropsDefaults.js +0 -75
  713. package/lib/components/chips/list/ChipsListPropsDefaults.js +0 -25
  714. package/lib/components/columns/ColumnsPropsDefaults.js +0 -89
  715. package/lib/components/columns/item/ColumnsItemPropsDefaults.js +0 -323
  716. package/lib/components/container/ContainerPropsDefaults.js +0 -183
  717. package/lib/components/countdown/CountdownPropsDefaults.js +0 -57
  718. package/lib/components/divider/DividerPropsDefaults.js +0 -204
  719. package/lib/components/fab/FabPropsDefaults.js +0 -171
  720. package/lib/components/hero/HeroPropsDefaults.js +0 -142
  721. package/lib/components/icon/IconPropsDefaults.js +0 -305
  722. package/lib/components/icon/circle/CircleIconPropsDefaults.js +0 -166
  723. package/lib/components/icon/status/StatusIconPropsDefaults.js +0 -126
  724. package/lib/components/icon/text/TextIconPropsDefaults.js +0 -160
  725. package/lib/components/image/ImagePropsDefaults.js +0 -75
  726. package/lib/components/input/ILengthVerifyDefaults.js +0 -16
  727. package/lib/components/input/IValidationRulesDefaults.js +0 -41
  728. package/lib/components/input/InputChangeEventNativeDefaults.js +0 -17
  729. package/lib/components/input/InputChangeEventWebDefaults.js +0 -21
  730. package/lib/components/input/InputClickEventDefaults.js +0 -19
  731. package/lib/components/input/InputKeyboardEventDefaults.js +0 -27
  732. package/lib/components/input/InputNativeEventsDefaults.js +0 -37
  733. package/lib/components/input/InputPropsDefaults.js +0 -654
  734. package/lib/components/input/InputWebEventsDefaults.js +0 -51
  735. package/lib/components/link/LinkPropsDefaults.js +0 -367
  736. package/lib/components/list/ListPropsDefaults.js +0 -53
  737. package/lib/components/list/item/ListItemPropsDefaults.js +0 -119
  738. package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +0 -23
  739. package/lib/components/modal/CloseButtonPropsDefaults.js +0 -9
  740. package/lib/components/modal/ModalContentButtonPropsDefaults.js +0 -16
  741. package/lib/components/modal/ModalPropsDefaults.js +0 -325
  742. package/lib/components/modal/footer/ModalFooterPropsDefaults.js +0 -23
  743. package/lib/components/modal/title/ModalTitlePropsDefaults.js +0 -92
  744. package/lib/components/otp/OtpPropsDefaults.js +0 -97
  745. package/lib/components/pagination/PaginationPropsDefaults.js +0 -63
  746. package/lib/components/popover/PopoverPropsDefaults.js +0 -60
  747. package/lib/components/popover/PopoverWebPropsDefaults.js +0 -89
  748. package/lib/components/price/PricePropsDefaults.js +0 -159
  749. package/lib/components/product-tour/ProductTourPropsDefaults.js +0 -85
  750. package/lib/components/product-tour/ProductTourWebPropsDefaults.js +0 -92
  751. package/lib/components/progress/ProgressPropsDefaults.js +0 -95
  752. package/lib/components/progress/item/ProgressItemPropsDefaults.js +0 -84
  753. package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +0 -165
  754. package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +0 -53
  755. package/lib/components/radio/RadioPropsDefaults.js +0 -216
  756. package/lib/components/radio/list/RadioListPropsDefaults.js +0 -19
  757. package/lib/components/radio/list/RadioListWebPropsDefaults.js +0 -50
  758. package/lib/components/range/RangePropsDefaults.js +0 -123
  759. package/lib/components/rows/RowsPropsDefaults.js +0 -31
  760. package/lib/components/rows/item/RowsItemPropsDefaults.js +0 -31
  761. package/lib/components/scroll-view/ScrollViewPropsDefaults.js +0 -125
  762. package/lib/components/section/SectionPropsDefaults.js +0 -116
  763. package/lib/components/segment-control/SegmentControlPropsDefaults.js +0 -61
  764. package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +0 -55
  765. package/lib/components/select/ISelectOptionDefaults.js +0 -23
  766. package/lib/components/select/SelectChangeEventDefaults.js +0 -37
  767. package/lib/components/select/SelectPropsDefaults.js +0 -187
  768. package/lib/components/select/option/SelectOptionPropsDefaults.js +0 -134
  769. package/lib/components/selector/SelectorEndDefaults.js +0 -10
  770. package/lib/components/selector/SelectorPropsDefaults.js +0 -128
  771. package/lib/components/selector/item/SelectorItemPropsDefaults.js +0 -84
  772. package/lib/components/spacer/SpacerPropsDefaults.js +0 -37
  773. package/lib/components/stepper/StepperPropsDefaults.js +0 -31
  774. package/lib/components/stepper/step/StepperStepPropsDefaults.js +0 -136
  775. package/lib/components/sticker/StickerPropsDefaults.js +0 -71
  776. package/lib/components/styleComponent/default/index.d.ts +0 -1
  777. package/lib/components/styleComponent/default/index.js +0 -2
  778. package/lib/components/styleComponent/default/index.js.map +0 -1
  779. package/lib/components/styleComponent/default/styleComponent.d.ts +0 -6
  780. package/lib/components/styleComponent/default/styleComponent.js +0 -7
  781. package/lib/components/styleComponent/default/styleComponent.js.map +0 -1
  782. package/lib/components/styleComponent/default/styleComponent.native.d.ts +0 -5
  783. package/lib/components/styleComponent/default/styleComponent.native.js +0 -6
  784. package/lib/components/styleComponent/default/styleComponent.native.js.map +0 -1
  785. package/lib/components/styleComponent/index.d.ts +0 -2
  786. package/lib/components/styleComponent/index.js +0 -3
  787. package/lib/components/styleComponent/index.js.map +0 -1
  788. package/lib/components/styleComponent/mangled/index.d.ts +0 -1
  789. package/lib/components/styleComponent/mangled/index.js +0 -2
  790. package/lib/components/styleComponent/mangled/index.js.map +0 -1
  791. package/lib/components/styleComponent/mangled/styleComponentMangled.d.ts +0 -6
  792. package/lib/components/styleComponent/mangled/styleComponentMangled.js +0 -7
  793. package/lib/components/styleComponent/mangled/styleComponentMangled.js.map +0 -1
  794. package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +0 -5
  795. package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +0 -6
  796. package/lib/components/styleComponent/mangled/styleComponentMangled.native.js.map +0 -1
  797. package/lib/components/switch/SwitchChangeEventDefaults.js +0 -13
  798. package/lib/components/switch/SwitchPropsDefaults.js +0 -105
  799. package/lib/components/table/TablePropsDefaults.js +0 -63
  800. package/lib/components/table/body/TableBodyPropsDefaults.js +0 -103
  801. package/lib/components/table/head/TableHeadPropsDefaults.js +0 -103
  802. package/lib/components/table/td/TableTdPropsDefaults.js +0 -44
  803. package/lib/components/table/th/TableThPropsDefaults.js +0 -44
  804. package/lib/components/table/tr/TableTrPropsWebDefaults.js +0 -100
  805. package/lib/components/tabs/TabsPropsDefaults.js +0 -160
  806. package/lib/components/tabs/item/TabsItemPropsDefaults.js +0 -336
  807. package/lib/components/tag/TagClickEventDefaults.js +0 -1
  808. package/lib/components/tag/TagPropsDefaults.js +0 -119
  809. package/lib/components/tag/list/TagListPropsDefaults.js +0 -47
  810. package/lib/components/text/TextPropsDefaults.js +0 -192
  811. package/lib/components/textarea/TextareaChangeEventDefaults.js +0 -10
  812. package/lib/components/timeline/TimelinePropsDefaults.js +0 -39
  813. package/lib/components/timeline/content/TimelineContentPropsDefaults.js +0 -51
  814. package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +0 -58
  815. package/lib/components/timeline/item/TimelineItemPropsDefaults.js +0 -48
  816. package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +0 -55
  817. package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +0 -113
  818. package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +0 -127
  819. package/lib/components/title/TitlePropsDefaults.js +0 -165
  820. package/lib/components/view/ViewPropsDefaults.js +0 -219
  821. package/lib/objects/facets/Status.d.ts +0 -63
  822. package/lib/objects/facets/Status.js +0 -70
  823. package/lib/objects/facets/Status.js.map +0 -1
  824. /package/lib/components/{autocomplete → input/autocomplete}/AutoCompleteProps.js +0 -0
  825. /package/lib/components/{autocomplete → input/autocomplete}/Autocomplete.helpers.d.ts +0 -0
  826. /package/lib/components/{autocomplete → input/autocomplete}/Autocomplete.helpers.js +0 -0
  827. /package/lib/components/{autocomplete → input/autocomplete}/index.d.ts +0 -0
  828. /package/lib/components/{autocomplete → input/autocomplete}/index.js +0 -0
  829. /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteIem.native.d.ts +0 -0
  830. /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItem.d.ts +0 -0
  831. /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItemProps.js +0 -0
  832. /package/lib/components/{autocomplete → input/autocomplete}/item/index.d.ts +0 -0
  833. /package/lib/components/{autocomplete → input/autocomplete}/item/index.js +0 -0
  834. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.d.ts +0 -0
  835. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.native.d.ts +0 -0
  836. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenuProps.d.ts +0 -0
  837. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenuProps.js +0 -0
  838. /package/lib/components/{autocomplete → input/autocomplete}/menu/index.d.ts +0 -0
  839. /package/lib/components/{autocomplete → input/autocomplete}/menu/index.js +0 -0
  840. /package/lib/components/{autocomplete → input/autocomplete}/utils/debounce.d.ts +0 -0
  841. /package/lib/components/{autocomplete → input/autocomplete}/utils/debounce.js +0 -0
  842. /package/lib/components/{autocomplete → input/autocomplete}/utils/index.d.ts +0 -0
  843. /package/lib/components/{autocomplete → input/autocomplete}/utils/index.js +0 -0
@@ -1,9 +1,8 @@
1
1
  import React, { useContext, useMemo } from "react";
2
2
  import { StyleSheet, Text, View } from "react-native";
3
3
  import { Text as TrilogyText } from '../../components/text';
4
- import { Spacer, SpacerSize } from "../../components/spacer";
5
4
  import { PriceLevel } from "./PriceEnum";
6
- import { Alignable, getColorStyle, TrilogyColor, TypographyBold, TypographyColor, getTypographyBoldStyle } from "../../objects";
5
+ import { Alignable, getAlertStyle, getColorStyle, TrilogyColor, TypographyBold, TypographyColor, getTypographyBoldStyle } from "../../objects";
7
6
  import { checkCents } from "./PriceHelpers";
8
7
  import { ComponentName } from "../../components/enumsComponentsName";
9
8
  import { StatesContext } from "../../context/providerStates";
@@ -18,83 +17,76 @@ import { StatesContext } from "../../context/providerStates";
18
17
  * @param inverted {boolean} Inverted Price Color
19
18
  * @param children {React.ReactNode}
20
19
  * @param align {Alignable} Price alignement
20
+ * @param alert {AlertState} Alert Variant (INFO|SUCCESS|WARNING|ERROR)
21
21
  * @param inline {boolean} Inline display Price
22
22
  * @param testId {string} id for test
23
23
  * @param accessibilityLabel {string}
24
- * @param overline {string} Price overline
24
+ * @param suptitle {string} Price Suptitle
25
25
  * @param tagAmount {number} Tag amount
26
26
  * @param tagSymbol {number} Tag symbol
27
27
  */
28
- const Price = ({ amount, mention, period, showCents = true, level, inverted, align, inline, testId, accessibilityLabel, strikedAmount, overline, style, tagAmount, tagSymbol, ...others }) => {
29
- var _a, _b;
28
+ const Price = ({ amount, mention, period, showCents, level, inverted, align, alert, inline, testId, accessibilityLabel, striked, suptitle, style, tagAmount, tagSymbol, ...others }) => {
29
+ var _a;
30
30
  const statesContext = useContext(StatesContext);
31
31
  const isNegative = amount < 0;
32
32
  const absoluteAmount = Math.abs(amount);
33
33
  const absoluteWhole = Math.floor(absoluteAmount);
34
34
  const whole = isNegative ? -absoluteWhole : absoluteWhole;
35
35
  const cents = checkCents(((_a = absoluteAmount.toString().split(/[.,]/)[1]) === null || _a === void 0 ? void 0 : _a.substring(0, 2)) || "");
36
- const isNegativeStriked = strikedAmount && strikedAmount < 0;
37
- const absoluteAmountStriked = strikedAmount && Math.abs(strikedAmount);
38
- const absoluteWholeStriked = absoluteAmountStriked && Math.floor(absoluteAmountStriked);
39
- const wholeStriked = absoluteWholeStriked && isNegativeStriked ? -absoluteWholeStriked : absoluteWholeStriked;
40
- const centsStriked = absoluteAmountStriked && checkCents(((_b = absoluteAmountStriked.toString().split(/[.,]/)[1]) === null || _b === void 0 ? void 0 : _b.substring(0, 2)) || "");
41
36
  const primaryColor = getColorStyle(TrilogyColor.MAIN);
42
37
  const secondaryColor = getColorStyle(TrilogyColor.MAIN);
43
38
  const invertedColor = getColorStyle(TrilogyColor.BACKGROUND);
44
- const priceLevel = (level == PriceLevel.ONE && 64) ||
45
- (level == PriceLevel.TWO && 56) ||
46
- (level == PriceLevel.THREE && 44) ||
47
- (level == PriceLevel.FOUR && 32) ||
48
- (level == PriceLevel.FIVE && 28) ||
49
- (level == PriceLevel.SIX && 24) ||
50
- (level == PriceLevel.SEVEN && 20) ||
39
+ const priceLevel = (level == PriceLevel.LEVEL1 && 64) ||
40
+ (level == PriceLevel.LEVEL2 && 56) ||
41
+ (level == PriceLevel.LEVEL3 && 44) ||
42
+ (level == PriceLevel.LEVEL4 && 32) ||
43
+ (level == PriceLevel.LEVEL5 && 28) ||
44
+ (level == PriceLevel.LEVEL6 && 24) ||
45
+ (level == PriceLevel.LEVEL7 && 20) ||
51
46
  44;
52
47
  const centsLevel = priceLevel * 0.4;
53
48
  const suptitleLevel = priceLevel * 0.2;
54
- const priceLevelStriked = (level == PriceLevel.ONE && 44) ||
55
- (level == PriceLevel.TWO && 32) ||
56
- (level == PriceLevel.THREE && 28) ||
57
- (level == PriceLevel.FOUR && 24) ||
58
- 20;
59
- const centsLevelStriked = priceLevelStriked * 0.4;
60
- const color = useMemo(() => (inverted && invertedColor) ||
61
- statesContext.inverted && invertedColor ||
62
- primaryColor ||
63
- !inverted && secondaryColor ||
64
- primaryColor, [inverted, invertedColor, statesContext.inverted, primaryColor, secondaryColor]);
49
+ const color = useMemo(() => (inverted && !striked && invertedColor) ||
50
+ (statesContext.inverted && invertedColor) ||
51
+ (inverted && striked && getColorStyle(TrilogyColor.FONT, 1)) ||
52
+ (alert && getAlertStyle(alert)) ||
53
+ (!striked && !inverted && primaryColor) ||
54
+ (!striked && !inverted && secondaryColor) ||
55
+ (striked && !inverted && getColorStyle(TrilogyColor.FONT, 1)) ||
56
+ primaryColor, [inverted, striked, alert]);
65
57
  const strikedRotateByLevel = () => {
66
- return ((level == PriceLevel.SEVEN && (showCents || period) && "-18deg") ||
67
- (level == PriceLevel.SIX && (showCents || period) && "-19deg") ||
68
- (level == PriceLevel.FIVE && (showCents || period) && "-18deg") ||
69
- (level == PriceLevel.FOUR && (showCents || period) && "-16deg") ||
70
- (level == PriceLevel.THREE && (showCents || period) && "-16deg") ||
71
- (level == PriceLevel.TWO && (showCents || period) && "-16deg") ||
72
- (level == PriceLevel.ONE && (showCents || period) && "-15deg") ||
73
- (level == PriceLevel.ONE && "-17deg") ||
74
- (level == PriceLevel.TWO && "-18deg") ||
75
- (level == PriceLevel.THREE && "-20deg") ||
76
- (level == PriceLevel.FOUR && "-18deg") ||
77
- (level == PriceLevel.FIVE && "-18deg") ||
78
- (level == PriceLevel.SIX && "-22deg") ||
79
- (level == PriceLevel.SEVEN && "-22deg") ||
58
+ return ((level == PriceLevel.LEVEL7 && (showCents || period) && "-18deg") ||
59
+ (level == PriceLevel.LEVEL6 && (showCents || period) && "-19deg") ||
60
+ (level == PriceLevel.LEVEL5 && (showCents || period) && "-18deg") ||
61
+ (level == PriceLevel.LEVEL4 && (showCents || period) && "-16deg") ||
62
+ (level == PriceLevel.LEVEL3 && (showCents || period) && "-16deg") ||
63
+ (level == PriceLevel.LEVEL2 && (showCents || period) && "-16deg") ||
64
+ (level == PriceLevel.LEVEL1 && (showCents || period) && "-15deg") ||
65
+ (level == PriceLevel.LEVEL1 && "-17deg") ||
66
+ (level == PriceLevel.LEVEL2 && "-18deg") ||
67
+ (level == PriceLevel.LEVEL3 && "-20deg") ||
68
+ (level == PriceLevel.LEVEL4 && "-18deg") ||
69
+ (level == PriceLevel.LEVEL5 && "-18deg") ||
70
+ (level == PriceLevel.LEVEL6 && "-22deg") ||
71
+ (level == PriceLevel.LEVEL7 && "-22deg") ||
80
72
  (!level && (showCents || period) && "-15deg") ||
81
73
  "-20deg");
82
74
  };
83
75
  const strikedBottomByLevel = () => {
84
- return ((level == PriceLevel.SEVEN && (showCents || period) && 12) ||
85
- (level == PriceLevel.SIX && (showCents || period) && 15) ||
86
- (level == PriceLevel.FIVE && (showCents || period) && 18) ||
87
- (level == PriceLevel.FOUR && (showCents || period) && 19) ||
88
- (level == PriceLevel.THREE && (showCents || period) && 26) ||
89
- (level == PriceLevel.TWO && (showCents || period) && 33) ||
90
- (level == PriceLevel.ONE && (showCents || period) && 37) ||
91
- (level == PriceLevel.ONE && 34) ||
92
- (level == PriceLevel.TWO && 30) ||
93
- (level == PriceLevel.THREE && 24) ||
94
- (level == PriceLevel.FOUR && 18) ||
95
- (level == PriceLevel.FIVE && 16) ||
96
- (level == PriceLevel.SIX && 14) ||
97
- (level == PriceLevel.SEVEN && 12) ||
76
+ return ((level == PriceLevel.LEVEL7 && (showCents || period) && 12) ||
77
+ (level == PriceLevel.LEVEL6 && (showCents || period) && 15) ||
78
+ (level == PriceLevel.LEVEL5 && (showCents || period) && 18) ||
79
+ (level == PriceLevel.LEVEL4 && (showCents || period) && 19) ||
80
+ (level == PriceLevel.LEVEL3 && (showCents || period) && 26) ||
81
+ (level == PriceLevel.LEVEL2 && (showCents || period) && 33) ||
82
+ (level == PriceLevel.LEVEL1 && (showCents || period) && 37) ||
83
+ (level == PriceLevel.LEVEL1 && 34) ||
84
+ (level == PriceLevel.LEVEL2 && 30) ||
85
+ (level == PriceLevel.LEVEL3 && 24) ||
86
+ (level == PriceLevel.LEVEL4 && 18) ||
87
+ (level == PriceLevel.LEVEL5 && 16) ||
88
+ (level == PriceLevel.LEVEL6 && 14) ||
89
+ (level == PriceLevel.LEVEL7 && 12) ||
98
90
  (!level && (showCents || period) && 25) ||
99
91
  25);
100
92
  };
@@ -109,9 +101,9 @@ const Price = ({ amount, mention, period, showCents = true, level, inverted, ali
109
101
  priceContainer: {
110
102
  padding: 0,
111
103
  paddingLeft: (inline && 0) ||
112
- (level == PriceLevel.FIVE && 2) ||
113
- (level == PriceLevel.SIX && 2) ||
114
- (level == PriceLevel.SEVEN && 2) ||
104
+ (level == PriceLevel.LEVEL5 && 2) ||
105
+ (level == PriceLevel.LEVEL6 && 2) ||
106
+ (level == PriceLevel.LEVEL7 && 2) ||
115
107
  4,
116
108
  flexDirection: "column",
117
109
  justifyContent: "center",
@@ -119,43 +111,23 @@ const Price = ({ amount, mention, period, showCents = true, level, inverted, ali
119
111
  position: "relative",
120
112
  },
121
113
  price: {
122
- fontWeight: (level == PriceLevel.SIX && "normal") ||
123
- (level == PriceLevel.SEVEN && "normal") ||
114
+ fontSize: priceLevel,
115
+ fontWeight: (level == PriceLevel.LEVEL6 && "normal") ||
116
+ (level == PriceLevel.LEVEL7 && "normal") ||
124
117
  "bold",
118
+ color: color,
125
119
  fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
126
120
  },
127
- priceFontSize: {
128
- fontSize: priceLevel,
129
- },
130
- priceFontSizeStriked: {
131
- fontSize: priceLevelStriked,
132
- },
133
- priceColor: {
134
- color: color
135
- },
136
- priceStrikedColor: {
137
- color: getColorStyle(TrilogyColor.MAIN_FADE)
138
- },
139
121
  cents: {
140
122
  fontWeight: "bold",
141
123
  color: color,
142
- fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
143
- },
144
- centsFontSize: {
145
124
  fontSize: centsLevel,
146
- },
147
- centsFontSizeStriked: {
148
- fontSize: centsLevelStriked,
125
+ fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
149
126
  },
150
127
  period: {
151
128
  color: color,
152
- fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
153
- },
154
- periodFontSize: {
155
129
  fontSize: centsLevel,
156
- },
157
- periodFontSizeStriked: {
158
- fontSize: centsLevelStriked,
130
+ fontFamily: getTypographyBoldStyle(TypographyBold.TEXT_WEIGHT_SEMIBOLD)
159
131
  },
160
132
  inlinePeriod: {
161
133
  color: color,
@@ -177,8 +149,8 @@ const Price = ({ amount, mention, period, showCents = true, level, inverted, ali
177
149
  paddingLeft: 4,
178
150
  marginBottom: -3,
179
151
  color: color,
180
- fontWeight: (level == PriceLevel.SIX && "normal") ||
181
- (level == PriceLevel.SEVEN && "normal") ||
152
+ fontWeight: (level == PriceLevel.LEVEL6 && "normal") ||
153
+ (level == PriceLevel.LEVEL7 && "normal") ||
182
154
  "bold",
183
155
  },
184
156
  tag: {
@@ -217,48 +189,36 @@ const Price = ({ amount, mention, period, showCents = true, level, inverted, ali
217
189
  : priceText
218
190
  ? priceText
219
191
  : "NotSpecified";
220
- return (React.createElement(View, null,
221
- overline && React.createElement(Text, { style: [styles.suptitle, style === null || style === void 0 ? void 0 : style.suptitle] }, overline),
222
- React.createElement(View, { style: tagAmount ? { flexDirection: 'row', alignItems: 'center' } : {} },
223
- React.createElement(View, { style: [styles.container, style === null || style === void 0 ? void 0 : style.container], accessible: !!priceAccessibilityLabel, accessibilityLabel: priceAccessibilityLabel, testID: priceTestId, ...others }, inline ? (React.createElement(View, { style: [styles.priceContainer, { flexDirection: "row" }] },
224
- strikedAmount && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
225
- React.createElement(Text, { style: [styles.price, styles.priceFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.price] },
226
- whole,
192
+ return (React.createElement(View, { style: tagAmount ? { flexDirection: 'row', alignItems: 'center' } : {} },
193
+ suptitle && React.createElement(Text, { style: [styles.suptitle, style === null || style === void 0 ? void 0 : style.suptitle] }, suptitle),
194
+ React.createElement(View, { style: [styles.container, style === null || style === void 0 ? void 0 : style.container], accessible: !!priceAccessibilityLabel, accessibilityLabel: priceAccessibilityLabel, testID: priceTestId, ...others }, inline ? (React.createElement(View, { style: [styles.priceContainer, { flexDirection: "row" }] },
195
+ striked && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
196
+ React.createElement(Text, { style: [styles.price, style === null || style === void 0 ? void 0 : style.price] },
197
+ whole,
198
+ "\u20AC",
199
+ showCents && cents),
200
+ React.createElement(Text, { style: [styles.inlinePeriod, style === null || style === void 0 ? void 0 : style.inlinePeriod] },
201
+ mention,
202
+ period && ` / ${period}`))) : (React.createElement(View, { style: [{ flexDirection: "row" }] },
203
+ striked && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
204
+ React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
205
+ React.createElement(Text, { style: [styles.price, style === null || style === void 0 ? void 0 : style.price] }, `${whole}`)),
206
+ React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
207
+ React.createElement(Text, { style: [styles.cents, style === null || style === void 0 ? void 0 : style.cents] },
227
208
  "\u20AC",
228
- showCents && cents),
229
- React.createElement(Text, { style: [styles.inlinePeriod, styles.priceColor, style === null || style === void 0 ? void 0 : style.inlinePeriod] },
230
- mention,
231
- period && ` / ${period}`))) : (React.createElement(React.Fragment, null,
232
- strikedAmount && (React.createElement(View, { style: [{ flexDirection: "row" }] },
233
- strikedAmount && React.createElement(Text, { style: [styles.striked, style === null || style === void 0 ? void 0 : style.striked] }),
234
- React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
235
- React.createElement(Text, { style: [styles.price, styles.priceFontSizeStriked, styles.priceStrikedColor, style === null || style === void 0 ? void 0 : style.price] }, `${wholeStriked}`)),
236
- React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
237
- React.createElement(Text, { style: [styles.cents, styles.centsFontSizeStriked, styles.priceStrikedColor, style === null || style === void 0 ? void 0 : style.cents] },
238
- "\u20AC",
239
- showCents && (centsStriked || "00"),
240
- mention && mention),
241
- React.createElement(Text, { style: [styles.period, styles.periodFontSizeStriked, styles.priceStrikedColor, style === null || style === void 0 ? void 0 : style.period] }, period && `/${period}`)))),
242
- amount && strikedAmount && React.createElement(Spacer, { horizontal: true, size: SpacerSize.ONE }),
243
- amount && (React.createElement(View, { style: [{ flexDirection: "row" }] },
244
- React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
245
- React.createElement(Text, { style: [styles.price, styles.priceFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.price] }, `${whole}`)),
246
- React.createElement(View, { style: [styles.priceContainer, style === null || style === void 0 ? void 0 : style.priceContainer] },
247
- React.createElement(Text, { style: [styles.cents, styles.centsFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.cents] },
248
- "\u20AC",
249
- showCents && (cents || "00"),
250
- mention && mention),
251
- React.createElement(Text, { style: [styles.period, styles.periodFontSize, styles.priceColor, style === null || style === void 0 ? void 0 : style.period] }, period && `/${period}`))))))),
252
- tagAmount && (React.createElement(View, { style: { flexDirection: 'row', alignItems: 'center', marginLeft: 5 } },
253
- React.createElement(View, { style: [styles.tagArrow, style === null || style === void 0 ? void 0 : style.tagArrow] }),
254
- React.createElement(View, { style: [styles.tag, style === null || style === void 0 ? void 0 : style.tag] },
255
- React.createElement(TrilogyText, { style: [styles.tagTextAmount, style === null || style === void 0 ? void 0 : style.tagTextAmount], typo: [TypographyBold.TEXT_WEIGHT_SEMIBOLD, TypographyColor.TEXT_WHITE] },
256
- tagAmount,
257
- " ",
258
- tagSymbol ? tagSymbol : '€'),
259
- tagSymbol === '€' && period && React.createElement(TrilogyText, { style: [styles.tagTextPeriod, style === null || style === void 0 ? void 0 : style.tagTextPeriod], typo: [TypographyBold.TEXT_WEIGHT_NORMAL, TypographyColor.TEXT_WHITE] },
260
- " /",
261
- period)))))));
209
+ showCents && (cents || "00"),
210
+ mention && mention),
211
+ React.createElement(Text, { style: [styles.period, style === null || style === void 0 ? void 0 : style.period] }, period && `/${period}`))))),
212
+ tagAmount && (React.createElement(View, { style: { flexDirection: 'row', alignItems: 'center', marginLeft: 5 } },
213
+ React.createElement(View, { style: [styles.tagArrow, style === null || style === void 0 ? void 0 : style.tagArrow] }),
214
+ React.createElement(View, { style: [styles.tag, style === null || style === void 0 ? void 0 : style.tag] },
215
+ React.createElement(TrilogyText, { style: [styles.tagTextAmount, style === null || style === void 0 ? void 0 : style.tagTextAmount], typo: [TypographyBold.TEXT_WEIGHT_SEMIBOLD, TypographyColor.TEXT_WHITE] },
216
+ tagAmount,
217
+ " ",
218
+ tagSymbol ? tagSymbol : '€'),
219
+ tagSymbol === '€' && period && React.createElement(TrilogyText, { style: [styles.tagTextPeriod, style === null || style === void 0 ? void 0 : style.tagTextPeriod], typo: [TypographyBold.TEXT_WEIGHT_NORMAL, TypographyColor.TEXT_WHITE] },
220
+ " /",
221
+ period))))));
262
222
  };
263
223
  Price.displayName = ComponentName.Price;
264
224
  export default Price;
@@ -1 +1 @@
1
- {"version":3,"file":"Price.native.js","sourceRoot":"","sources":["../../../components/price/Price.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACvD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM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C,WAAW,IAAC,KAAK,EAAE,CAAC,MAAM,CAAC,aAAa,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,CAAC,EAAE,IAAI,EAAE,CAAC,cAAc,CAAC,kBAAkB,EAAE,eAAe,CAAC,UAAU,CAAC;;wBAAK,MAAM,CAAe,CAC5L,CACF,CACR,CACI,CACF,CACR,CAAA;AACH,CAAC,CAAA;AAED,KAAK,CAAC,WAAW,GAAG,aAAa,CAAC,KAAK,CAAA;AAEvC,eAAe,KAAK,CAAA"}
1
+ {"version":3,"file":"Price.native.js","sourceRoot":"","sources":["../../../components/price/Price.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACxC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAA;AAC9I,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAExD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,KAAK,GAAG,CAAC,EACE,MAAM,EACN,OAAO,EACP,MAAM,EACN,SAAS,EACT,KAAK,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,kBAAkB,EAClB,OAAO,EACP,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,GAAG,MAAM,EACE,EAAe,EAAE;;IAC3C,MAAM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= 7
2
+ LEVEL1 = 1,
3
+ LEVEL2 = 2,
4
+ LEVEL3 = 3,
5
+ LEVEL4 = 4,
6
+ LEVEL5 = 5,
7
+ LEVEL6 = 6,
8
+ LEVEL7 = 7
9
9
  }
10
- export type PriceLevelValues = PriceLevel;
10
+ export type PriceLevelValues = `${PriceLevel}`;
@@ -1,11 +1,11 @@
1
1
  export var PriceLevel;
2
2
  (function (PriceLevel) {
3
- PriceLevel[PriceLevel["ONE"] = 1] = "ONE";
4
- PriceLevel[PriceLevel["TWO"] = 2] = "TWO";
5
- PriceLevel[PriceLevel["THREE"] = 3] = "THREE";
6
- PriceLevel[PriceLevel["FOUR"] = 4] = "FOUR";
7
- PriceLevel[PriceLevel["FIVE"] = 5] = "FIVE";
8
- PriceLevel[PriceLevel["SIX"] = 6] = "SIX";
9
- PriceLevel[PriceLevel["SEVEN"] = 7] = "SEVEN";
3
+ PriceLevel[PriceLevel["LEVEL1"] = 1] = "LEVEL1";
4
+ PriceLevel[PriceLevel["LEVEL2"] = 2] = "LEVEL2";
5
+ PriceLevel[PriceLevel["LEVEL3"] = 3] = "LEVEL3";
6
+ PriceLevel[PriceLevel["LEVEL4"] = 4] = "LEVEL4";
7
+ PriceLevel[PriceLevel["LEVEL5"] = 5] = "LEVEL5";
8
+ PriceLevel[PriceLevel["LEVEL6"] = 6] = "LEVEL6";
9
+ PriceLevel[PriceLevel["LEVEL7"] = 7] = "LEVEL7";
10
10
  })(PriceLevel || (PriceLevel = {}));
11
11
  //# sourceMappingURL=PriceEnum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PriceEnum.js","sourceRoot":"","sources":["../../../components/price/PriceEnum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,yCAAO,CAAA;IACP,yCAAO,CAAA;IACP,6CAAS,CAAA;IACT,2CAAQ,CAAA;IACR,2CAAQ,CAAA;IACR,yCAAO,CAAA;IACP,6CAAS,CAAA;AACX,CAAC,EARW,UAAU,KAAV,UAAU,QAQrB"}
1
+ {"version":3,"file":"PriceEnum.js","sourceRoot":"","sources":["../../../components/price/PriceEnum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAQX;AARD,WAAY,UAAU;IACpB,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,+CAAU,CAAA;IACV,+CAAU,CAAA;AACZ,CAAC,EARW,UAAU,KAAV,UAAU,QAQrB"}
@@ -1,12 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { Accessibility, AlignableProps } from '../../objects';
3
- import { Invertable } from '../../objects/facets/Invertable';
4
- import { Styles } from '../../types';
5
- import { PriceLevel, PriceLevelValues } from './PriceEnum';
2
+ import { PriceLevel, PriceLevelValues } from "./PriceEnum";
3
+ import { Invertable } from "../../objects/facets/Invertable";
4
+ import { Accessibility, AlertProps, AlignableProps } from "../../objects";
5
+ import { Styles } from "../../types";
6
6
  /**
7
7
  * Price Interface
8
8
  */
9
- export interface PriceProps extends Invertable, Accessibility, AlignableProps {
9
+ export interface PriceProps extends Invertable, Accessibility, AlignableProps, AlertProps {
10
10
  children?: React.ReactNode;
11
11
  amount: number;
12
12
  mention?: string;
@@ -15,8 +15,8 @@ export interface PriceProps extends Invertable, Accessibility, AlignableProps {
15
15
  inline?: boolean;
16
16
  level?: PriceLevel | PriceLevelValues;
17
17
  className?: string;
18
- strikedAmount?: number;
19
- overline?: string;
18
+ striked?: boolean;
19
+ suptitle?: string;
20
20
  style?: Styles;
21
21
  tagAmount?: number;
22
22
  tagSymbol?: '€' | '%' | string;
@@ -1,3 +1,4 @@
1
1
  import Price from './Price';
2
+ import PriceExample from './Price.example';
2
3
  export * from './PriceEnum';
3
- export { Price };
4
+ export { Price, PriceExample };
@@ -1,4 +1,5 @@
1
1
  import Price from './Price';
2
+ import PriceExample from './Price.example';
2
3
  export * from './PriceEnum';
3
- export { Price };
4
+ export { Price, PriceExample };
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/price/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAE3B,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/price/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAE1C,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,CAAA"}
@@ -1,11 +1,11 @@
1
- import * as React from "react";
1
+ /// <reference types="react" />
2
2
  import { ProgressProps } from "./ProgressProps";
3
3
  /**
4
4
  * Progress component
5
5
  * @param children {ReactNode} Use Children it only if stacked progress
6
6
  * @param percent {number} Progress percent
7
7
  * @param maxPercent {number} Default max percent is 100
8
- * @param status {StatusState} Progress status variant (SUCCESS|INFO|WARNING|ERROR)
8
+ * @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
9
9
  * @param small {boolean} Small progress
10
10
  * @param stacked {boolean} Stacked progress
11
11
  * @param uniqueLegend {string} Unique legend
@@ -14,5 +14,5 @@ import { ProgressProps } from "./ProgressProps";
14
14
  * -------------------------- WEB PROPERTIES -------------------------------
15
15
  * @param className {string} Additionnal CSS classes
16
16
  */
17
- declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
17
+ declare const Progress: ({ children, className, percent, maxPercent, alert, small, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }: ProgressProps) => JSX.Element;
18
18
  export default Progress;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ProgressExample: React.ReactNode;
3
+ export default ProgressExample;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Progress } from './index';
3
+ const ProgressExample = React.createElement(React.Fragment, null,
4
+ React.createElement(Progress, { alert: 'INFO', percent: 30, uniqueLegend: 'My unique legend' }),
5
+ React.createElement(Progress, { alert: 'INFO', firstExtremLegend: '0 Go', percent: 15, secondExtremLegend: '5 Go' }));
6
+ export default ProgressExample;
7
+ //# sourceMappingURL=Progress.example.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Progress.example.js","sourceRoot":"","sources":["../../../components/progress/Progress.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,eAAe,GAEnB;IACE,oBAAC,QAAQ,IACP,KAAK,EAAC,MAAM,EACZ,OAAO,EAAE,EAAE,EACX,YAAY,EAAC,kBAAkB,GAC/B;IACF,oBAAC,QAAQ,IACP,KAAK,EAAC,MAAM,EACZ,iBAAiB,EAAC,MAAM,EACxB,OAAO,EAAE,EAAE,EACX,kBAAkB,EAAC,MAAM,GACzB,CACD,CAAA;AAEL,eAAe,eAAe,CAAA"}
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { is, has } from "../../services/index";
3
3
  import { Text, TextLevels } from "../text";
4
4
  import { Columns, ColumnsItem } from "../columns";
5
- import { getStatusClassName } from "../../objects";
5
+ import { getAlertClassName } from "../../objects";
6
6
  import { hashClass } from "../../helpers";
7
7
  import clsx from "clsx";
8
8
  import { useTrilogyContext } from "../../context";
@@ -11,7 +11,7 @@ import { useTrilogyContext } from "../../context";
11
11
  * @param children {ReactNode} Use Children it only if stacked progress
12
12
  * @param percent {number} Progress percent
13
13
  * @param maxPercent {number} Default max percent is 100
14
- * @param status {StatusState} Progress status variant (SUCCESS|INFO|WARNING|ERROR)
14
+ * @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
15
15
  * @param small {boolean} Small progress
16
16
  * @param stacked {boolean} Stacked progress
17
17
  * @param uniqueLegend {string} Unique legend
@@ -20,13 +20,12 @@ import { useTrilogyContext } from "../../context";
20
20
  * -------------------------- WEB PROPERTIES -------------------------------
21
21
  * @param className {string} Additionnal CSS classes
22
22
  */
23
- const Progress = React.forwardRef((props, ref) => {
24
- const { children, className, percent, maxPercent = 100, status, small, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others } = props;
23
+ const Progress = ({ children, className, percent, maxPercent = 100, alert, small, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }) => {
25
24
  const { styled } = useTrilogyContext();
26
- const classes = hashClass(styled, clsx("progress", status && is(getStatusClassName(status)), !status && is("primary"), small && is("small"), className));
25
+ const classes = hashClass(styled, clsx("progress", alert && is(getAlertClassName(alert)), !alert && is("primary"), small && is("small"), className));
27
26
  const stackedClasses = hashClass(styled, clsx("progress", stacked && is("stacked"), className));
28
27
  if (children && stacked) {
29
- return (React.createElement("div", { ref: ref, className: stackedClasses, ...others }, children));
28
+ return (React.createElement("div", { className: stackedClasses, ...others }, children));
30
29
  }
31
30
  return (React.createElement(React.Fragment, null,
32
31
  React.createElement("progress", { className: classes, value: percent, max: maxPercent, ...others }, percent),
@@ -36,6 +35,6 @@ const Progress = React.forwardRef((props, ref) => {
36
35
  React.createElement(Text, { level: TextLevels.TWO }, firstExtremLegend)),
37
36
  React.createElement(ColumnsItem, { narrow: true },
38
37
  React.createElement(Text, { level: TextLevels.TWO }, secondExtremLegend))))));
39
- });
38
+ };
40
39
  export default Progress;
41
40
  //# sourceMappingURL=Progress.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Progress.js","sourceRoot":"","sources":["../../../components/progress/Progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM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
6
  * @param children {ReactNode} Use Children it only if stacked progress
7
7
  * @param percent {number} Progress percent
8
- * @param status {StatusState} Progress status variant (SUCCESS|INFO|WARNING|ERROR)
8
+ * @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
9
9
  * @param stacked {boolean} Stacked progress
10
10
  * @param uniqueLegend {stringabsolute} Unique legend
11
11
  * @param firstExtremLegend {string} First extremity legend, only with secondExtremLegend property
12
12
  * @param secondExtremLegend {string} Second extremity legend, only with firstExtremLegend property
13
13
  */
14
14
  declare const Progress: {
15
- ({ children, percent, status, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }: ProgressProps): JSX.Element;
15
+ ({ children, percent, alert, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }: ProgressProps): JSX.Element;
16
16
  displayName: ComponentName;
17
17
  };
18
18
  export default Progress;
@@ -2,19 +2,19 @@ import React, { useEffect, useRef } from "react";
2
2
  import { Animated, StyleSheet } from "react-native";
3
3
  import { View } from "../../components/view";
4
4
  import { Text, TextLevels } from "../../components/text";
5
- import { getStatusStyle, getColorStyle, TrilogyColor } from "../../objects";
5
+ import { getAlertStyle, getColorStyle, TrilogyColor } from "../../objects";
6
6
  import { ComponentName } from "../../components/enumsComponentsName";
7
7
  /**
8
8
  * Progress component
9
9
  * @param children {ReactNode} Use Children it only if stacked progress
10
10
  * @param percent {number} Progress percent
11
- * @param status {StatusState} Progress status variant (SUCCESS|INFO|WARNING|ERROR)
11
+ * @param alert {AlertState} Progress alert variant (SUCCESS|INFO|WARNING|ERROR)
12
12
  * @param stacked {boolean} Stacked progress
13
13
  * @param uniqueLegend {stringabsolute} Unique legend
14
14
  * @param firstExtremLegend {string} First extremity legend, only with secondExtremLegend property
15
15
  * @param secondExtremLegend {string} Second extremity legend, only with firstExtremLegend property
16
16
  */
17
- const Progress = ({ children, percent, status, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }) => {
17
+ const Progress = ({ children, percent, alert, stacked, uniqueLegend, firstExtremLegend, secondExtremLegend, ...others }) => {
18
18
  const animation = useRef(new Animated.Value(0)).current;
19
19
  useEffect(() => {
20
20
  // eslint-disable-next-line no-unused-expressions
@@ -36,13 +36,13 @@ const Progress = ({ children, percent, status, stacked, uniqueLegend, firstExtre
36
36
  flexDirection: "row",
37
37
  width: "100%",
38
38
  height: height,
39
- backgroundColor: getColorStyle(TrilogyColor.MAIN_FADE),
39
+ backgroundColor: getColorStyle(TrilogyColor.FONT, 1),
40
40
  borderRadius: 15,
41
41
  },
42
42
  percent: {
43
43
  alignSelf: "flex-start",
44
44
  height: height,
45
- backgroundColor: getStatusStyle(status).color,
45
+ backgroundColor: getAlertStyle(alert) || getColorStyle(TrilogyColor.MAIN),
46
46
  borderRadius: 15,
47
47
  },
48
48
  progressItemFirst: {
@@ -83,7 +83,7 @@ const Progress = ({ children, percent, status, stacked, uniqueLegend, firstExtre
83
83
  index === 0 && styles.progressItemFirst,
84
84
  index === children.length - 1 && styles.progressItemSecond,
85
85
  {
86
- backgroundColor: getColorStyle(child.props.status),
86
+ backgroundColor: getAlertStyle(child.props.alert),
87
87
  height: height,
88
88
  },
89
89
  ],