@trilogy-ds/react 0.0.1-beta-110 → 0.0.1-beta-112

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 (999) 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 -2
  8. package/lib/components/accordion/body/AccordionBody.js +1 -2
  9. package/lib/components/accordion/body/AccordionBody.js.map +1 -1
  10. package/lib/components/accordion/body/AccordionBody.native.d.ts +1 -1
  11. package/lib/components/accordion/body/AccordionBody.native.js +1 -1
  12. package/lib/components/accordion/body/AccordionBodyProps.d.ts +1 -0
  13. package/lib/components/accordion/header/AccordionHeader.js +1 -1
  14. package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
  15. package/lib/components/accordion/index.d.ts +2 -1
  16. package/lib/components/accordion/index.js +2 -1
  17. package/lib/components/accordion/index.js.map +1 -1
  18. package/lib/components/accordion/item/AccordionItem.js +1 -2
  19. package/lib/components/accordion/item/AccordionItem.js.map +1 -1
  20. package/lib/components/accordion/item/AccordionItem.native.js +4 -4
  21. package/lib/components/accordion/item/AccordionItem.native.js.map +1 -1
  22. package/lib/components/alert/Alert.d.ts +7 -7
  23. package/lib/components/alert/Alert.example.d.ts +3 -0
  24. package/lib/components/alert/Alert.example.js +14 -0
  25. package/lib/components/alert/Alert.example.js.map +1 -0
  26. package/lib/components/alert/Alert.js +14 -14
  27. package/lib/components/alert/Alert.js.map +1 -1
  28. package/lib/components/alert/Alert.native.d.ts +6 -7
  29. package/lib/components/alert/Alert.native.js +15 -14
  30. package/lib/components/alert/Alert.native.js.map +1 -1
  31. package/lib/components/alert/AlertProps.d.ts +4 -3
  32. package/lib/components/alert/context/ToasterContextProps.d.ts +3 -3
  33. package/lib/components/alert/index.d.ts +2 -1
  34. package/lib/components/alert/index.js +2 -1
  35. package/lib/components/alert/index.js.map +1 -1
  36. package/lib/components/autolayout/AutoLayout.native.js +1 -1
  37. package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
  38. package/lib/components/autolayout/DefaultSpacingMatrix.js +74 -31
  39. package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
  40. package/lib/components/badge/Badge.d.ts +3 -4
  41. package/lib/components/badge/Badge.example.d.ts +3 -0
  42. package/lib/components/badge/Badge.example.js +5 -0
  43. package/lib/components/badge/Badge.example.js.map +1 -0
  44. package/lib/components/badge/Badge.js +12 -9
  45. package/lib/components/badge/Badge.js.map +1 -1
  46. package/lib/components/badge/Badge.native.d.ts +3 -4
  47. package/lib/components/badge/Badge.native.js +11 -9
  48. package/lib/components/badge/Badge.native.js.map +1 -1
  49. package/lib/components/badge/BadgeEnum.d.ts +5 -0
  50. package/lib/components/badge/BadgeEnum.js +5 -0
  51. package/lib/components/badge/BadgeEnum.js.map +1 -1
  52. package/lib/components/badge/BadgeProps.d.ts +4 -3
  53. package/lib/components/badge/index.d.ts +2 -1
  54. package/lib/components/badge/index.js +2 -1
  55. package/lib/components/badge/index.js.map +1 -1
  56. package/lib/components/box/Box.d.ts +3 -3
  57. package/lib/components/box/Box.example.d.ts +3 -0
  58. package/lib/components/box/Box.example.js +31 -0
  59. package/lib/components/box/Box.example.js.map +1 -0
  60. package/lib/components/box/Box.js +4 -4
  61. package/lib/components/box/Box.js.map +1 -1
  62. package/lib/components/box/Box.native.d.ts +3 -3
  63. package/lib/components/box/Box.native.js +14 -13
  64. package/lib/components/box/Box.native.js.map +1 -1
  65. package/lib/components/box/BoxProps.d.ts +1 -1
  66. package/lib/components/box/content/BoxContent.d.ts +2 -2
  67. package/lib/components/box/content/BoxContent.js +3 -3
  68. package/lib/components/box/content/BoxContent.js.map +1 -1
  69. package/lib/components/box/content/BoxContent.native.d.ts +2 -2
  70. package/lib/components/box/content/BoxContent.native.js +6 -4
  71. package/lib/components/box/content/BoxContent.native.js.map +1 -1
  72. package/lib/components/box/footer/BoxFooter.d.ts +1 -2
  73. package/lib/components/box/footer/BoxFooter.js +1 -2
  74. package/lib/components/box/footer/BoxFooter.js.map +1 -1
  75. package/lib/components/box/footer/BoxFooter.native.d.ts +1 -1
  76. package/lib/components/box/footer/BoxFooter.native.js +1 -1
  77. package/lib/components/box/header/BoxHeader.d.ts +1 -3
  78. package/lib/components/box/header/BoxHeader.js +1 -3
  79. package/lib/components/box/header/BoxHeader.js.map +1 -1
  80. package/lib/components/box/header/BoxHeader.native.d.ts +1 -1
  81. package/lib/components/box/header/BoxHeader.native.js +1 -1
  82. package/lib/components/box/index.d.ts +2 -1
  83. package/lib/components/box/index.js +2 -1
  84. package/lib/components/box/index.js.map +1 -1
  85. package/lib/components/box/item/BoxItem.d.ts +1 -2
  86. package/lib/components/box/item/BoxItem.js +1 -2
  87. package/lib/components/box/item/BoxItem.js.map +1 -1
  88. package/lib/components/box/item/BoxItem.native.d.ts +1 -1
  89. package/lib/components/box/item/BoxItem.native.js +1 -1
  90. package/lib/components/box/table-container/BoxTableContainer.d.ts +1 -3
  91. package/lib/components/box/table-container/BoxTableContainer.js +1 -3
  92. package/lib/components/box/table-container/BoxTableContainer.js.map +1 -1
  93. package/lib/components/box/table-container/BoxTableContainer.native.d.ts +1 -1
  94. package/lib/components/box/table-container/BoxTableContainer.native.js +1 -1
  95. package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -3
  96. package/lib/components/breadcrumb/Breadcrumb.example.d.ts +3 -0
  97. package/lib/components/breadcrumb/Breadcrumb.example.js +9 -0
  98. package/lib/components/breadcrumb/Breadcrumb.example.js.map +1 -0
  99. package/lib/components/breadcrumb/Breadcrumb.js +3 -5
  100. package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
  101. package/lib/components/breadcrumb/index.d.ts +2 -1
  102. package/lib/components/breadcrumb/index.js +2 -1
  103. package/lib/components/breadcrumb/index.js.map +1 -1
  104. package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +0 -1
  105. package/lib/components/breadcrumb/item/BreadcrumbItem.js +0 -1
  106. package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
  107. package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +0 -1
  108. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +0 -1
  109. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js.map +1 -1
  110. package/lib/components/button/Button.d.ts +1 -1
  111. package/lib/components/button/Button.example.d.ts +3 -0
  112. package/lib/components/button/Button.example.js +10 -0
  113. package/lib/components/button/Button.example.js.map +1 -0
  114. package/lib/components/button/Button.js +1 -1
  115. package/lib/components/button/Button.native.js +10 -10
  116. package/lib/components/button/Button.native.js.map +1 -1
  117. package/lib/components/button/index.d.ts +2 -1
  118. package/lib/components/button/index.js +2 -1
  119. package/lib/components/button/index.js.map +1 -1
  120. package/lib/components/button/list/ButtonList.native.js +4 -4
  121. package/lib/components/button/list/ButtonList.native.js.map +1 -1
  122. package/lib/components/card/Card.d.ts +3 -10
  123. package/lib/components/card/Card.example.d.ts +3 -0
  124. package/lib/components/card/Card.example.js +25 -0
  125. package/lib/components/card/Card.example.js.map +1 -0
  126. package/lib/components/card/Card.js +7 -13
  127. package/lib/components/card/Card.js.map +1 -1
  128. package/lib/components/card/Card.native.d.ts +3 -2
  129. package/lib/components/card/Card.native.js +8 -7
  130. package/lib/components/card/Card.native.js.map +1 -1
  131. package/lib/components/card/content/CardContent.d.ts +0 -1
  132. package/lib/components/card/content/CardContent.js +0 -1
  133. package/lib/components/card/content/CardContent.js.map +1 -1
  134. package/lib/components/card/content/CardContent.native.d.ts +1 -0
  135. package/lib/components/card/content/CardContent.native.js +1 -0
  136. package/lib/components/card/content/CardContent.native.js.map +1 -1
  137. package/lib/components/card/content/CardContentProps.d.ts +1 -0
  138. package/lib/components/card/image/CardImage.d.ts +2 -2
  139. package/lib/components/card/image/CardImage.js +2 -2
  140. package/lib/components/card/image/CardImage.native.d.ts +1 -1
  141. package/lib/components/card/image/CardImage.native.js +8 -11
  142. package/lib/components/card/image/CardImage.native.js.map +1 -1
  143. package/lib/components/card/image/CardImageProps.d.ts +2 -0
  144. package/lib/components/card/index.d.ts +2 -1
  145. package/lib/components/card/index.js +2 -1
  146. package/lib/components/card/index.js.map +1 -1
  147. package/lib/components/checkbox/Checkbox.d.ts +0 -3
  148. package/lib/components/checkbox/Checkbox.example.d.ts +3 -0
  149. package/lib/components/checkbox/Checkbox.example.js +18 -0
  150. package/lib/components/checkbox/Checkbox.example.js.map +1 -0
  151. package/lib/components/checkbox/Checkbox.js +0 -3
  152. package/lib/components/checkbox/Checkbox.js.map +1 -1
  153. package/lib/components/checkbox/Checkbox.native.d.ts +0 -5
  154. package/lib/components/checkbox/Checkbox.native.js +8 -13
  155. package/lib/components/checkbox/Checkbox.native.js.map +1 -1
  156. package/lib/components/checkbox/index.d.ts +2 -1
  157. package/lib/components/checkbox/index.js +2 -1
  158. package/lib/components/checkbox/index.js.map +1 -1
  159. package/lib/components/chips/Chips.d.ts +2 -2
  160. package/lib/components/chips/Chips.example.d.ts +3 -0
  161. package/lib/components/chips/Chips.example.js +13 -0
  162. package/lib/components/chips/Chips.example.js.map +1 -0
  163. package/lib/components/chips/Chips.js +6 -5
  164. package/lib/components/chips/Chips.js.map +1 -1
  165. package/lib/components/chips/Chips.native.d.ts +2 -1
  166. package/lib/components/chips/Chips.native.js +8 -6
  167. package/lib/components/chips/Chips.native.js.map +1 -1
  168. package/lib/components/chips/ChipsProps.d.ts +1 -0
  169. package/lib/components/chips/index.d.ts +2 -1
  170. package/lib/components/chips/index.js +2 -1
  171. package/lib/components/chips/index.js.map +1 -1
  172. package/lib/components/chips/list/ChipsList.d.ts +2 -2
  173. package/lib/components/chips/list/ChipsList.js +3 -4
  174. package/lib/components/chips/list/ChipsList.js.map +1 -1
  175. package/lib/components/columns/Columns.d.ts +7 -5
  176. package/lib/components/columns/Columns.example.d.ts +3 -0
  177. package/lib/components/columns/Columns.example.js +16 -0
  178. package/lib/components/columns/Columns.example.js.map +1 -0
  179. package/lib/components/columns/Columns.js +10 -9
  180. package/lib/components/columns/Columns.js.map +1 -1
  181. package/lib/components/columns/Columns.native.d.ts +5 -5
  182. package/lib/components/columns/Columns.native.js +49 -63
  183. package/lib/components/columns/Columns.native.js.map +1 -1
  184. package/lib/components/columns/ColumnsProps.d.ts +6 -6
  185. package/lib/components/columns/ColumnsTypes.d.ts +0 -3
  186. package/lib/components/columns/ColumnsTypes.js +1 -1
  187. package/lib/components/columns/ColumnsTypes.js.map +1 -1
  188. package/lib/components/columns/index.d.ts +2 -1
  189. package/lib/components/columns/index.js +2 -1
  190. package/lib/components/columns/index.js.map +1 -1
  191. package/lib/components/columns/item/ColumnsItem.d.ts +3 -3
  192. package/lib/components/columns/item/ColumnsItem.js +5 -6
  193. package/lib/components/columns/item/ColumnsItem.js.map +1 -1
  194. package/lib/components/columns/item/ColumnsItem.native.d.ts +2 -4
  195. package/lib/components/columns/item/ColumnsItem.native.js +11 -12
  196. package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
  197. package/lib/components/columns/item/ColumnsItemProps.d.ts +1 -1
  198. package/lib/components/container/Container.d.ts +2 -7
  199. package/lib/components/container/Container.example.d.ts +3 -0
  200. package/lib/components/container/Container.example.js +9 -0
  201. package/lib/components/container/Container.example.js.map +1 -0
  202. package/lib/components/container/Container.js +3 -8
  203. package/lib/components/container/Container.js.map +1 -1
  204. package/lib/components/container/Container.native.d.ts +2 -4
  205. package/lib/components/container/Container.native.js +8 -10
  206. package/lib/components/container/Container.native.js.map +1 -1
  207. package/lib/components/container/index.d.ts +2 -1
  208. package/lib/components/container/index.js +2 -1
  209. package/lib/components/container/index.js.map +1 -1
  210. package/lib/components/countdown/Countdown.d.ts +2 -4
  211. package/lib/components/countdown/Countdown.example.d.ts +3 -0
  212. package/lib/components/countdown/Countdown.example.js +10 -0
  213. package/lib/components/countdown/Countdown.example.js.map +1 -0
  214. package/lib/components/countdown/Countdown.js +3 -5
  215. package/lib/components/countdown/Countdown.js.map +1 -1
  216. package/lib/components/countdown/Countdown.native.d.ts +1 -2
  217. package/lib/components/countdown/Countdown.native.js +3 -4
  218. package/lib/components/countdown/Countdown.native.js.map +1 -1
  219. package/lib/components/countdown/CountdownProps.d.ts +0 -1
  220. package/lib/components/countdown/index.d.ts +2 -1
  221. package/lib/components/countdown/index.js +2 -1
  222. package/lib/components/countdown/index.js.map +1 -1
  223. package/lib/components/divider/Divider.d.ts +1 -1
  224. package/lib/components/divider/Divider.example.d.ts +3 -0
  225. package/lib/components/divider/Divider.example.js +5 -0
  226. package/lib/components/divider/Divider.example.js.map +1 -0
  227. package/lib/components/divider/Divider.js +1 -1
  228. package/lib/components/divider/Divider.native.d.ts +1 -1
  229. package/lib/components/divider/Divider.native.js +3 -3
  230. package/lib/components/divider/Divider.native.js.map +1 -1
  231. package/lib/components/divider/index.d.ts +2 -1
  232. package/lib/components/divider/index.js +2 -1
  233. package/lib/components/divider/index.js.map +1 -1
  234. package/lib/components/enumsComponentsName.d.ts +1 -2
  235. package/lib/components/enumsComponentsName.js +1 -2
  236. package/lib/components/enumsComponentsName.js.map +1 -1
  237. package/lib/components/fab/Fab.d.ts +0 -1
  238. package/lib/components/fab/Fab.example.d.ts +3 -0
  239. package/lib/components/fab/Fab.example.js +10 -0
  240. package/lib/components/fab/Fab.example.js.map +1 -0
  241. package/lib/components/fab/Fab.js +0 -1
  242. package/lib/components/fab/Fab.js.map +1 -1
  243. package/lib/components/fab/FabProps.d.ts +2 -2
  244. package/lib/components/fab/index.d.ts +2 -1
  245. package/lib/components/fab/index.js +2 -1
  246. package/lib/components/fab/index.js.map +1 -1
  247. package/lib/components/hero/Hero.d.ts +1 -5
  248. package/lib/components/hero/Hero.example.d.ts +3 -0
  249. package/lib/components/hero/Hero.example.js +21 -0
  250. package/lib/components/hero/Hero.example.js.map +1 -0
  251. package/lib/components/hero/Hero.js +2 -6
  252. package/lib/components/hero/Hero.js.map +1 -1
  253. package/lib/components/hero/Hero.native.d.ts +2 -2
  254. package/lib/components/hero/Hero.native.js +8 -8
  255. package/lib/components/hero/Hero.native.js.map +1 -1
  256. package/lib/components/hero/index.d.ts +2 -1
  257. package/lib/components/hero/index.js +2 -1
  258. package/lib/components/hero/index.js.map +1 -1
  259. package/lib/components/icon/Icon.d.ts +2 -4
  260. package/lib/components/icon/Icon.example.d.ts +3 -0
  261. package/lib/components/icon/Icon.example.js +12 -0
  262. package/lib/components/icon/Icon.example.js.map +1 -0
  263. package/lib/components/icon/Icon.js +3 -5
  264. package/lib/components/icon/Icon.js.map +1 -1
  265. package/lib/components/icon/Icon.native.d.ts +1 -1
  266. package/lib/components/icon/Icon.native.js +2 -2
  267. package/lib/components/icon/Icon.native.js.map +1 -1
  268. package/lib/components/icon/index.d.ts +2 -1
  269. package/lib/components/icon/index.js +2 -1
  270. package/lib/components/icon/index.js.map +1 -1
  271. package/lib/components/icon/text/TextIcon.d.ts +2 -4
  272. package/lib/components/icon/text/TextIcon.js +17 -15
  273. package/lib/components/icon/text/TextIcon.js.map +1 -1
  274. package/lib/components/image/Image.example.d.ts +3 -0
  275. package/lib/components/image/Image.example.js +5 -0
  276. package/lib/components/image/Image.example.js.map +1 -0
  277. package/lib/components/image/index.d.ts +2 -1
  278. package/lib/components/image/index.js +2 -1
  279. package/lib/components/image/index.js.map +1 -1
  280. package/lib/components/index.d.ts +0 -1
  281. package/lib/components/index.js +0 -1
  282. package/lib/components/index.js.map +1 -1
  283. package/lib/components/input/Input.d.ts +72 -2
  284. package/lib/components/input/Input.example.d.ts +3 -0
  285. package/lib/components/input/Input.example.js +5 -0
  286. package/lib/components/input/Input.example.js.map +1 -0
  287. package/lib/components/input/Input.js +34 -19
  288. package/lib/components/input/Input.js.map +1 -1
  289. package/lib/components/input/Input.native.d.ts +4 -4
  290. package/lib/components/input/Input.native.js +42 -49
  291. package/lib/components/input/Input.native.js.map +1 -1
  292. package/lib/components/input/InputProps.d.ts +12 -21
  293. package/lib/components/input/autocomplete/AutoComplete.d.ts +24 -0
  294. package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.js +12 -22
  295. package/lib/components/input/autocomplete/AutoComplete.js.map +1 -0
  296. package/lib/components/input/autocomplete/AutoComplete.native.d.ts +4 -0
  297. package/lib/components/{autocomplete → input/autocomplete}/AutoComplete.native.js +3 -24
  298. package/lib/components/input/autocomplete/AutoComplete.native.js.map +1 -0
  299. package/lib/components/input/autocomplete/AutoCompleteProps.d.ts +29 -0
  300. package/lib/components/input/autocomplete/AutoCompleteProps.js.map +1 -0
  301. package/lib/components/input/autocomplete/Autocomplete.helpers.js.map +1 -0
  302. package/lib/components/input/autocomplete/index.js.map +1 -0
  303. package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteIem.native.js +2 -2
  304. package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js.map +1 -0
  305. package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItem.js +3 -3
  306. package/lib/components/input/autocomplete/item/AutoCompleteItem.js.map +1 -0
  307. package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItemProps.d.ts +1 -1
  308. package/lib/components/input/autocomplete/item/AutoCompleteItemProps.js.map +1 -0
  309. package/lib/components/input/autocomplete/item/index.js.map +1 -0
  310. package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.js +3 -3
  311. package/lib/components/input/autocomplete/menu/AutoCompleteMenu.js.map +1 -0
  312. package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.native.js +3 -3
  313. package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -0
  314. package/lib/components/input/autocomplete/menu/AutoCompleteMenuProps.js.map +1 -0
  315. package/lib/components/input/autocomplete/menu/index.js.map +1 -0
  316. package/lib/components/input/autocomplete/utils/debounce.js.map +1 -0
  317. package/lib/components/input/autocomplete/utils/index.js.map +1 -0
  318. package/lib/components/input/gauge/InputGauge.native.js +1 -1
  319. package/lib/components/input/gauge/InputGauge.native.js.map +1 -1
  320. package/lib/components/input/gauge/hook/useGauge.js +1 -1
  321. package/lib/components/input/gauge/hook/useGauge.js.map +1 -1
  322. package/lib/components/input/index.d.ts +2 -1
  323. package/lib/components/input/index.js +2 -1
  324. package/lib/components/input/index.js.map +1 -1
  325. package/lib/components/link/Link.d.ts +0 -2
  326. package/lib/components/link/Link.example.d.ts +3 -0
  327. package/lib/components/link/Link.example.js +15 -0
  328. package/lib/components/link/Link.example.js.map +1 -0
  329. package/lib/components/link/Link.js +2 -4
  330. package/lib/components/link/Link.js.map +1 -1
  331. package/lib/components/link/Link.native.d.ts +1 -2
  332. package/lib/components/link/Link.native.js +10 -12
  333. package/lib/components/link/Link.native.js.map +1 -1
  334. package/lib/components/link/LinkProps.d.ts +1 -0
  335. package/lib/components/link/index.d.ts +2 -1
  336. package/lib/components/link/index.js +2 -1
  337. package/lib/components/link/index.js.map +1 -1
  338. package/lib/components/list/List.d.ts +4 -6
  339. package/lib/components/list/List.example.d.ts +3 -0
  340. package/lib/components/list/List.example.js +17 -0
  341. package/lib/components/list/List.example.js.map +1 -0
  342. package/lib/components/list/List.js +5 -8
  343. package/lib/components/list/List.js.map +1 -1
  344. package/lib/components/list/List.native.d.ts +0 -4
  345. package/lib/components/list/List.native.js +0 -4
  346. package/lib/components/list/List.native.js.map +1 -1
  347. package/lib/components/list/index.d.ts +2 -1
  348. package/lib/components/list/index.js +2 -1
  349. package/lib/components/list/index.js.map +1 -1
  350. package/lib/components/list/item/ListItem.d.ts +1 -3
  351. package/lib/components/list/item/ListItem.js +1 -3
  352. package/lib/components/list/item/ListItem.js.map +1 -1
  353. package/lib/components/list/item/ListItem.native.d.ts +0 -11
  354. package/lib/components/list/item/ListItem.native.js +1 -12
  355. package/lib/components/list/item/ListItem.native.js.map +1 -1
  356. package/lib/components/list/item/description/ListItemDescription.d.ts +2 -3
  357. package/lib/components/list/item/description/ListItemDescription.js +2 -3
  358. package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
  359. package/lib/components/list/item/description/ListItemDescription.native.d.ts +0 -4
  360. package/lib/components/list/item/description/ListItemDescription.native.js +0 -4
  361. package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
  362. package/lib/components/modal/Modal.d.ts +6 -6
  363. package/lib/components/modal/Modal.example.d.ts +3 -0
  364. package/lib/components/modal/Modal.example.js +5 -0
  365. package/lib/components/modal/Modal.example.js.map +1 -0
  366. package/lib/components/modal/Modal.js +19 -19
  367. package/lib/components/modal/Modal.js.map +1 -1
  368. package/lib/components/modal/ModalProps.d.ts +5 -1
  369. package/lib/components/modal/footer/ModalFooter.d.ts +2 -3
  370. package/lib/components/modal/footer/ModalFooter.js +2 -3
  371. package/lib/components/modal/footer/ModalFooter.js.map +1 -1
  372. package/lib/components/modal/footer/ModalFooter.native.d.ts +0 -4
  373. package/lib/components/modal/footer/ModalFooter.native.js +0 -4
  374. package/lib/components/modal/footer/ModalFooter.native.js.map +1 -1
  375. package/lib/components/modal/index.d.ts +2 -1
  376. package/lib/components/modal/index.js +2 -1
  377. package/lib/components/modal/index.js.map +1 -1
  378. package/lib/components/modal/title/ModalTitle.d.ts +1 -2
  379. package/lib/components/modal/title/ModalTitle.js +2 -3
  380. package/lib/components/modal/title/ModalTitle.js.map +1 -1
  381. package/lib/components/modal/title/ModalTitle.native.d.ts +0 -6
  382. package/lib/components/modal/title/ModalTitle.native.js +0 -6
  383. package/lib/components/modal/title/ModalTitle.native.js.map +1 -1
  384. package/lib/components/otp/Otp.d.ts +1 -4
  385. package/lib/components/otp/Otp.example.d.ts +3 -0
  386. package/lib/components/otp/Otp.example.js +13 -0
  387. package/lib/components/otp/Otp.example.js.map +1 -0
  388. package/lib/components/otp/Otp.js +87 -81
  389. package/lib/components/otp/Otp.js.map +1 -1
  390. package/lib/components/otp/Otp.native.d.ts +0 -2
  391. package/lib/components/otp/Otp.native.js +1 -3
  392. package/lib/components/otp/Otp.native.js.map +1 -1
  393. package/lib/components/otp/index.d.ts +2 -1
  394. package/lib/components/otp/index.js +2 -1
  395. package/lib/components/otp/index.js.map +1 -1
  396. package/lib/components/pagination/Pagination.d.ts +0 -1
  397. package/lib/components/pagination/Pagination.example.d.ts +3 -0
  398. package/lib/components/pagination/Pagination.example.js +5 -0
  399. package/lib/components/pagination/Pagination.example.js.map +1 -0
  400. package/lib/components/pagination/Pagination.js +6 -6
  401. package/lib/components/pagination/Pagination.js.map +1 -1
  402. package/lib/components/pagination/index.d.ts +2 -1
  403. package/lib/components/pagination/index.js +2 -1
  404. package/lib/components/pagination/index.js.map +1 -1
  405. package/lib/components/popover/Popover.d.ts +1 -3
  406. package/lib/components/popover/Popover.example.d.ts +3 -0
  407. package/lib/components/popover/Popover.example.js +7 -0
  408. package/lib/components/popover/Popover.example.js.map +1 -0
  409. package/lib/components/popover/Popover.js +1 -3
  410. package/lib/components/popover/Popover.js.map +1 -1
  411. package/lib/components/popover/Popover.native.d.ts +2 -0
  412. package/lib/components/popover/Popover.native.js +2 -0
  413. package/lib/components/popover/Popover.native.js.map +1 -1
  414. package/lib/components/popover/index.d.ts +2 -1
  415. package/lib/components/popover/index.js +2 -1
  416. package/lib/components/popover/index.js.map +1 -1
  417. package/lib/components/price/Price.d.ts +4 -4
  418. package/lib/components/price/Price.example.d.ts +3 -0
  419. package/lib/components/price/Price.example.js +12 -0
  420. package/lib/components/price/Price.example.js.map +1 -0
  421. package/lib/components/price/Price.js +10 -29
  422. package/lib/components/price/Price.js.map +1 -1
  423. package/lib/components/price/Price.native.d.ts +3 -3
  424. package/lib/components/price/Price.native.js +88 -129
  425. package/lib/components/price/Price.native.js.map +1 -1
  426. package/lib/components/price/PriceEnum.d.ts +8 -8
  427. package/lib/components/price/PriceEnum.js +7 -7
  428. package/lib/components/price/PriceEnum.js.map +1 -1
  429. package/lib/components/price/PriceProps.d.ts +7 -7
  430. package/lib/components/price/index.d.ts +2 -1
  431. package/lib/components/price/index.js +2 -1
  432. package/lib/components/price/index.js.map +1 -1
  433. package/lib/components/product-tour/ProductTour.d.ts +3 -3
  434. package/lib/components/product-tour/ProductTour.js +3 -3
  435. package/lib/components/progress/Progress.d.ts +3 -3
  436. package/lib/components/progress/Progress.example.d.ts +3 -0
  437. package/lib/components/progress/Progress.example.js +7 -0
  438. package/lib/components/progress/Progress.example.js.map +1 -0
  439. package/lib/components/progress/Progress.js +6 -7
  440. package/lib/components/progress/Progress.js.map +1 -1
  441. package/lib/components/progress/Progress.native.d.ts +2 -2
  442. package/lib/components/progress/Progress.native.js +6 -6
  443. package/lib/components/progress/Progress.native.js.map +1 -1
  444. package/lib/components/progress/ProgressProps.d.ts +2 -2
  445. package/lib/components/progress/index.d.ts +2 -1
  446. package/lib/components/progress/index.js +2 -1
  447. package/lib/components/progress/index.js.map +1 -1
  448. package/lib/components/progress/item/ProgressItem.d.ts +6 -6
  449. package/lib/components/progress/item/ProgressItem.js +9 -10
  450. package/lib/components/progress/item/ProgressItem.js.map +1 -1
  451. package/lib/components/progress/item/ProgressItem.native.d.ts +3 -2
  452. package/lib/components/progress/item/ProgressItem.native.js +3 -2
  453. package/lib/components/progress/item/ProgressItem.native.js.map +1 -1
  454. package/lib/components/progress/item/ProgressItemProps.d.ts +2 -2
  455. package/lib/components/progress/radial/ProgressRadial.d.ts +0 -18
  456. package/lib/components/progress/radial/ProgressRadial.js +1 -20
  457. package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
  458. package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -3
  459. package/lib/components/progress/radial/ProgressRadial.native.js +12 -10
  460. package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
  461. package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
  462. package/lib/components/radio/Radio.d.ts +2 -7
  463. package/lib/components/radio/Radio.example.d.ts +3 -0
  464. package/lib/components/radio/Radio.example.js +18 -0
  465. package/lib/components/radio/Radio.example.js.map +1 -0
  466. package/lib/components/radio/Radio.js +2 -7
  467. package/lib/components/radio/Radio.js.map +1 -1
  468. package/lib/components/radio/Radio.native.d.ts +7 -9
  469. package/lib/components/radio/Radio.native.js +18 -21
  470. package/lib/components/radio/Radio.native.js.map +1 -1
  471. package/lib/components/radio/index.d.ts +2 -1
  472. package/lib/components/radio/index.js +2 -1
  473. package/lib/components/radio/index.js.map +1 -1
  474. package/lib/components/radio/list/RadioList.js.map +1 -1
  475. package/lib/components/radio/list/RadioList.native.js +4 -4
  476. package/lib/components/radio/list/RadioList.native.js.map +1 -1
  477. package/lib/components/range/Range.d.ts +3 -6
  478. package/lib/components/range/Range.example.d.ts +3 -0
  479. package/lib/components/range/Range.example.js +5 -0
  480. package/lib/components/range/Range.example.js.map +1 -0
  481. package/lib/components/range/Range.js +4 -7
  482. package/lib/components/range/Range.js.map +1 -1
  483. package/lib/components/range/Range.native.d.ts +0 -3
  484. package/lib/components/range/Range.native.js +0 -3
  485. package/lib/components/range/Range.native.js.map +1 -1
  486. package/lib/components/range/index.d.ts +2 -1
  487. package/lib/components/range/index.js +2 -1
  488. package/lib/components/range/index.js.map +1 -1
  489. package/lib/components/rows/Rows.d.ts +2 -3
  490. package/lib/components/rows/Rows.example.d.ts +3 -0
  491. package/lib/components/rows/Rows.example.js +16 -0
  492. package/lib/components/rows/Rows.example.js.map +1 -0
  493. package/lib/components/rows/Rows.js +3 -6
  494. package/lib/components/rows/Rows.js.map +1 -1
  495. package/lib/components/rows/Rows.native.d.ts +2 -6
  496. package/lib/components/rows/Rows.native.js +2 -5
  497. package/lib/components/rows/Rows.native.js.map +1 -1
  498. package/lib/components/rows/RowsProps.d.ts +0 -1
  499. package/lib/components/rows/index.d.ts +2 -1
  500. package/lib/components/rows/index.js +2 -1
  501. package/lib/components/rows/index.js.map +1 -1
  502. package/lib/components/rows/item/RowItem.d.ts +2 -2
  503. package/lib/components/rows/item/RowItem.js +3 -4
  504. package/lib/components/rows/item/RowItem.js.map +1 -1
  505. package/lib/components/rows/item/RowItem.native.js +1 -3
  506. package/lib/components/rows/item/RowItem.native.js.map +1 -1
  507. package/lib/components/scroll-view/ScrollView.d.ts +1 -3
  508. package/lib/components/scroll-view/ScrollView.js +1 -3
  509. package/lib/components/scroll-view/ScrollView.js.map +1 -1
  510. package/lib/components/section/Section.d.ts +5 -10
  511. package/lib/components/section/Section.example.d.ts +3 -0
  512. package/lib/components/section/Section.example.js +16 -0
  513. package/lib/components/section/Section.example.js.map +1 -0
  514. package/lib/components/section/Section.js +8 -14
  515. package/lib/components/section/Section.js.map +1 -1
  516. package/lib/components/section/Section.native.d.ts +6 -6
  517. package/lib/components/section/Section.native.js +8 -8
  518. package/lib/components/section/Section.native.js.map +1 -1
  519. package/lib/components/section/SectionProps.d.ts +2 -2
  520. package/lib/components/section/index.d.ts +2 -1
  521. package/lib/components/section/index.js +2 -1
  522. package/lib/components/section/index.js.map +1 -1
  523. package/lib/components/segment-control/SegmentControl.d.ts +1 -4
  524. package/lib/components/segment-control/SegmentControl.example.d.ts +3 -0
  525. package/lib/components/segment-control/SegmentControl.example.js +9 -0
  526. package/lib/components/segment-control/SegmentControl.example.js.map +1 -0
  527. package/lib/components/segment-control/SegmentControl.js +1 -4
  528. package/lib/components/segment-control/SegmentControl.js.map +1 -1
  529. package/lib/components/segment-control/SegmentControl.native.d.ts +4 -4
  530. package/lib/components/segment-control/SegmentControl.native.js +5 -5
  531. package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
  532. package/lib/components/segment-control/SegmentControlProps.d.ts +4 -1
  533. package/lib/components/segment-control/index.d.ts +2 -1
  534. package/lib/components/segment-control/index.js +2 -1
  535. package/lib/components/segment-control/index.js.map +1 -1
  536. package/lib/components/segment-control/item/SegmentControlItem.d.ts +0 -2
  537. package/lib/components/segment-control/item/SegmentControlItem.js +0 -2
  538. package/lib/components/segment-control/item/SegmentControlItem.js.map +1 -1
  539. package/lib/components/segment-control/item/SegmentControlItem.native.js +2 -2
  540. package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
  541. package/lib/components/select/Select.d.ts +3 -3
  542. package/lib/components/select/Select.example.d.ts +3 -0
  543. package/lib/components/select/Select.example.js +8 -0
  544. package/lib/components/select/Select.example.js.map +1 -0
  545. package/lib/components/select/Select.js +3 -3
  546. package/lib/components/select/Select.native.d.ts +1 -4
  547. package/lib/components/select/Select.native.js +1 -4
  548. package/lib/components/select/Select.native.js.map +1 -1
  549. package/lib/components/select/index.d.ts +2 -1
  550. package/lib/components/select/index.js +2 -1
  551. package/lib/components/select/index.js.map +1 -1
  552. package/lib/components/select/option/SelectOption.d.ts +2 -2
  553. package/lib/components/select/option/SelectOption.js +3 -4
  554. package/lib/components/select/option/SelectOption.js.map +1 -1
  555. package/lib/components/select/option/SelectOption.native.js +14 -18
  556. package/lib/components/select/option/SelectOption.native.js.map +1 -1
  557. package/lib/components/select/web/SelectDynamic.js +2 -3
  558. package/lib/components/select/web/SelectDynamic.js.map +1 -1
  559. package/lib/components/selector/Selector.d.ts +0 -7
  560. package/lib/components/selector/Selector.js +0 -7
  561. package/lib/components/selector/Selector.js.map +1 -1
  562. package/lib/components/selector/Selector.native.d.ts +3 -7
  563. package/lib/components/selector/Selector.native.js +3 -7
  564. package/lib/components/selector/Selector.native.js.map +1 -1
  565. package/lib/components/selector/item/SelectorItem.d.ts +1 -6
  566. package/lib/components/selector/item/SelectorItem.js +1 -6
  567. package/lib/components/selector/item/SelectorItem.js.map +1 -1
  568. package/lib/components/selector/item/SelectorItem.native.d.ts +0 -4
  569. package/lib/components/selector/item/SelectorItem.native.js +1 -5
  570. package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
  571. package/lib/components/spacer/Spacer.d.ts +1 -1
  572. package/lib/components/spacer/Spacer.js +1 -1
  573. package/lib/components/spacer/Spacer.native.d.ts +2 -1
  574. package/lib/components/spacer/Spacer.native.js +2 -1
  575. package/lib/components/spacer/Spacer.native.js.map +1 -1
  576. package/lib/components/spacer/SpacerEnum.d.ts +7 -12
  577. package/lib/components/spacer/SpacerEnum.js +7 -12
  578. package/lib/components/spacer/SpacerEnum.js.map +1 -1
  579. package/lib/components/spacer/SpacerProps.d.ts +2 -2
  580. package/lib/components/stepper/Stepper.d.ts +3 -4
  581. package/lib/components/stepper/Stepper.example.d.ts +3 -0
  582. package/lib/components/stepper/Stepper.example.js +10 -0
  583. package/lib/components/stepper/Stepper.example.js.map +1 -0
  584. package/lib/components/stepper/Stepper.js +6 -9
  585. package/lib/components/stepper/Stepper.js.map +1 -1
  586. package/lib/components/stepper/Stepper.native.js +2 -1
  587. package/lib/components/stepper/Stepper.native.js.map +1 -1
  588. package/lib/components/stepper/index.d.ts +2 -1
  589. package/lib/components/stepper/index.js +2 -1
  590. package/lib/components/stepper/index.js.map +1 -1
  591. package/lib/components/stepper/step/StepperStep.d.ts +5 -8
  592. package/lib/components/stepper/step/StepperStep.js +6 -10
  593. package/lib/components/stepper/step/StepperStep.js.map +1 -1
  594. package/lib/components/stepper/step/StepperStep.native.d.ts +3 -2
  595. package/lib/components/stepper/step/StepperStep.native.js +4 -3
  596. package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
  597. package/lib/components/sticker/Sticker.d.ts +2 -3
  598. package/lib/components/sticker/Sticker.example.d.ts +3 -0
  599. package/lib/components/sticker/Sticker.example.js +10 -0
  600. package/lib/components/sticker/Sticker.example.js.map +1 -0
  601. package/lib/components/sticker/Sticker.js +3 -4
  602. package/lib/components/sticker/Sticker.js.map +1 -1
  603. package/lib/components/sticker/Sticker.native.d.ts +3 -3
  604. package/lib/components/sticker/Sticker.native.js +3 -3
  605. package/lib/components/sticker/index.d.ts +2 -1
  606. package/lib/components/sticker/index.js +2 -1
  607. package/lib/components/sticker/index.js.map +1 -1
  608. package/lib/components/switch/Switch.d.ts +5 -5
  609. package/lib/components/switch/Switch.example.d.ts +3 -0
  610. package/lib/components/switch/Switch.example.js +12 -0
  611. package/lib/components/switch/Switch.example.js.map +1 -0
  612. package/lib/components/switch/Switch.js +7 -7
  613. package/lib/components/switch/Switch.js.map +1 -1
  614. package/lib/components/switch/Switch.native.d.ts +3 -3
  615. package/lib/components/switch/Switch.native.js +8 -7
  616. package/lib/components/switch/Switch.native.js.map +1 -1
  617. package/lib/components/switch/SwitchProps.d.ts +2 -2
  618. package/lib/components/switch/index.d.ts +2 -1
  619. package/lib/components/switch/index.js +2 -1
  620. package/lib/components/switch/index.js.map +1 -1
  621. package/lib/components/table/Table.example.d.ts +3 -0
  622. package/lib/components/table/Table.example.js +19 -0
  623. package/lib/components/table/Table.example.js.map +1 -0
  624. package/lib/components/table/Table.native.js +1 -1
  625. package/lib/components/table/Table.native.js.map +1 -1
  626. package/lib/components/table/index.d.ts +2 -1
  627. package/lib/components/table/index.js +2 -1
  628. package/lib/components/table/index.js.map +1 -1
  629. package/lib/components/table/td/TableTd.native.js +2 -2
  630. package/lib/components/table/td/TableTd.native.js.map +1 -1
  631. package/lib/components/table/th/TableTh.native.js +2 -2
  632. package/lib/components/table/th/TableTh.native.js.map +1 -1
  633. package/lib/components/table/tr/TableTr.native.js +1 -1
  634. package/lib/components/table/tr/TableTr.native.js.map +1 -1
  635. package/lib/components/tabs/Tabs.d.ts +5 -7
  636. package/lib/components/tabs/Tabs.example.d.ts +3 -0
  637. package/lib/components/tabs/Tabs.example.js +16 -0
  638. package/lib/components/tabs/Tabs.example.js.map +1 -0
  639. package/lib/components/tabs/Tabs.js +7 -10
  640. package/lib/components/tabs/Tabs.js.map +1 -1
  641. package/lib/components/tabs/Tabs.native.d.ts +1 -2
  642. package/lib/components/tabs/Tabs.native.js +1 -2
  643. package/lib/components/tabs/Tabs.native.js.map +1 -1
  644. package/lib/components/tabs/TabsProps.d.ts +4 -0
  645. package/lib/components/tabs/index.d.ts +2 -1
  646. package/lib/components/tabs/index.js +2 -1
  647. package/lib/components/tabs/index.js.map +1 -1
  648. package/lib/components/tabs/item/TabsItem.d.ts +5 -6
  649. package/lib/components/tabs/item/TabsItem.js +7 -9
  650. package/lib/components/tabs/item/TabsItem.js.map +1 -1
  651. package/lib/components/tabs/item/TabsItem.native.d.ts +0 -1
  652. package/lib/components/tabs/item/TabsItem.native.js +1 -2
  653. package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
  654. package/lib/components/tag/Tag.d.ts +4 -6
  655. package/lib/components/tag/Tag.example.d.ts +3 -0
  656. package/lib/components/tag/Tag.example.js +13 -0
  657. package/lib/components/tag/Tag.example.js.map +1 -0
  658. package/lib/components/tag/Tag.js +32 -15
  659. package/lib/components/tag/Tag.js.map +1 -1
  660. package/lib/components/tag/Tag.native.d.ts +10 -8
  661. package/lib/components/tag/Tag.native.js +57 -27
  662. package/lib/components/tag/Tag.native.js.map +1 -1
  663. package/lib/components/tag/TagProps.d.ts +4 -0
  664. package/lib/components/tag/index.d.ts +2 -1
  665. package/lib/components/tag/index.js +2 -1
  666. package/lib/components/tag/index.js.map +1 -1
  667. package/lib/components/tag/list/TagList.d.ts +3 -3
  668. package/lib/components/tag/list/TagList.js +4 -5
  669. package/lib/components/tag/list/TagList.js.map +1 -1
  670. package/lib/components/text/Text.example.d.ts +3 -0
  671. package/lib/components/text/Text.example.js +5 -0
  672. package/lib/components/text/Text.example.js.map +1 -0
  673. package/lib/components/text/Text.native.js +8 -9
  674. package/lib/components/text/Text.native.js.map +1 -1
  675. package/lib/components/text/TextEnum.d.ts +5 -5
  676. package/lib/components/text/TextEnum.js +4 -4
  677. package/lib/components/text/TextEnum.js.map +1 -1
  678. package/lib/components/text/index.d.ts +2 -1
  679. package/lib/components/text/index.js +2 -1
  680. package/lib/components/text/index.js.map +1 -1
  681. package/lib/components/textarea/Textarea.d.ts +4 -12
  682. package/lib/components/textarea/Textarea.example.d.ts +3 -0
  683. package/lib/components/textarea/Textarea.example.js +12 -0
  684. package/lib/components/textarea/Textarea.example.js.map +1 -0
  685. package/lib/components/textarea/Textarea.js +7 -20
  686. package/lib/components/textarea/Textarea.js.map +1 -1
  687. package/lib/components/textarea/Textarea.native.d.ts +2 -2
  688. package/lib/components/textarea/Textarea.native.js +51 -67
  689. package/lib/components/textarea/Textarea.native.js.map +1 -1
  690. package/lib/components/textarea/TextareaProps.d.ts +4 -2
  691. package/lib/components/textarea/index.d.ts +2 -1
  692. package/lib/components/textarea/index.js +2 -1
  693. package/lib/components/textarea/index.js.map +1 -1
  694. package/lib/components/timeline/Timeline.d.ts +2 -2
  695. package/lib/components/timeline/Timeline.example.d.ts +3 -0
  696. package/lib/components/timeline/Timeline.example.js +34 -0
  697. package/lib/components/timeline/Timeline.example.js.map +1 -0
  698. package/lib/components/timeline/Timeline.js +4 -4
  699. package/lib/components/timeline/Timeline.js.map +1 -1
  700. package/lib/components/timeline/content/TimelineContent.d.ts +1 -2
  701. package/lib/components/timeline/content/TimelineContent.js +2 -3
  702. package/lib/components/timeline/content/TimelineContent.js.map +1 -1
  703. package/lib/components/timeline/content/TimelineContent.native.d.ts +3 -3
  704. package/lib/components/timeline/content/TimelineContent.native.js +3 -3
  705. package/lib/components/timeline/index.d.ts +2 -1
  706. package/lib/components/timeline/index.js +2 -1
  707. package/lib/components/timeline/index.js.map +1 -1
  708. package/lib/components/timeline/item/TimelineItem.d.ts +3 -4
  709. package/lib/components/timeline/item/TimelineItem.js +4 -6
  710. package/lib/components/timeline/item/TimelineItem.js.map +1 -1
  711. package/lib/components/timeline/item/TimelineItem.native.d.ts +4 -8
  712. package/lib/components/timeline/item/TimelineItem.native.js +3 -7
  713. package/lib/components/timeline/item/TimelineItem.native.js.map +1 -1
  714. package/lib/components/timeline/marker/TimelineMarker.d.ts +3 -4
  715. package/lib/components/timeline/marker/TimelineMarker.js +3 -4
  716. package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
  717. package/lib/components/timeline/marker/TimelineMarker.native.d.ts +1 -3
  718. package/lib/components/timeline/marker/TimelineMarker.native.js +8 -10
  719. package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
  720. package/lib/components/title/Title.d.ts +2 -4
  721. package/lib/components/title/Title.example.d.ts +3 -0
  722. package/lib/components/title/Title.example.js +10 -0
  723. package/lib/components/title/Title.example.js.map +1 -0
  724. package/lib/components/title/Title.js +4 -6
  725. package/lib/components/title/Title.js.map +1 -1
  726. package/lib/components/title/Title.native.d.ts +5 -7
  727. package/lib/components/title/Title.native.js +14 -17
  728. package/lib/components/title/Title.native.js.map +1 -1
  729. package/lib/components/title/TitleEnum.d.ts +7 -7
  730. package/lib/components/title/TitleEnum.js +6 -6
  731. package/lib/components/title/TitleEnum.js.map +1 -1
  732. package/lib/components/title/index.d.ts +2 -1
  733. package/lib/components/title/index.js +2 -1
  734. package/lib/components/title/index.js.map +1 -1
  735. package/lib/components/toaster/Toaster.d.ts +11 -0
  736. package/lib/components/toaster/Toaster.js +93 -0
  737. package/lib/components/toaster/Toaster.js.map +1 -0
  738. package/lib/components/toaster/Toaster.native.d.ts +15 -0
  739. package/lib/components/toaster/Toaster.native.js +93 -0
  740. package/lib/components/toaster/Toaster.native.js.map +1 -0
  741. package/lib/components/toaster/ToasterEnum.d.ts +1 -0
  742. package/lib/components/toaster/ToasterEnum.js +16 -0
  743. package/lib/components/toaster/ToasterEnum.js.map +1 -0
  744. package/lib/components/toaster/ToasterProps.d.ts +27 -0
  745. package/lib/components/toaster/ToasterProps.js +6 -0
  746. package/lib/components/toaster/ToasterProps.js.map +1 -0
  747. package/lib/components/toaster/context/ToasterContext.d.ts +7 -0
  748. package/lib/components/toaster/context/ToasterContext.js +8 -0
  749. package/lib/components/toaster/context/ToasterContext.js.map +1 -0
  750. package/lib/components/toaster/context/ToasterContextProps.d.ts +27 -0
  751. package/lib/components/toaster/context/ToasterContextProps.js +2 -0
  752. package/lib/components/toaster/context/ToasterContextProps.js.map +1 -0
  753. package/lib/components/toaster/context/index.d.ts +2 -0
  754. package/lib/components/toaster/context/index.js +3 -0
  755. package/lib/components/toaster/context/index.js.map +1 -0
  756. package/lib/components/toaster/index.d.ts +3 -0
  757. package/lib/components/toaster/index.js +4 -0
  758. package/lib/components/toaster/index.js.map +1 -0
  759. package/lib/components/view/View.d.ts +2 -3
  760. package/lib/components/view/View.js +3 -4
  761. package/lib/components/view/View.js.map +1 -1
  762. package/lib/components/view/View.native.d.ts +8 -7
  763. package/lib/components/view/View.native.js +9 -8
  764. package/lib/components/view/View.native.js.map +1 -1
  765. package/lib/components/view/ViewProps.d.ts +1 -2
  766. package/lib/components/view/ViewProps.js +0 -1
  767. package/lib/components/view/ViewProps.js.map +1 -1
  768. package/lib/context/index.d.ts +1 -3
  769. package/lib/context/index.js +2 -2
  770. package/lib/context/index.js.map +1 -1
  771. package/lib/context/provider.native.d.ts +1 -4
  772. package/lib/context/provider.native.js +2 -2
  773. package/lib/context/provider.native.js.map +1 -1
  774. package/lib/context/providerStyled.d.ts +4 -6
  775. package/lib/context/providerStyled.js +20 -23
  776. package/lib/context/providerStyled.js.map +1 -1
  777. package/lib/context/providerStyled.native.d.ts +1 -4
  778. package/lib/context/providerStyled.native.js +2 -2
  779. package/lib/context/providerStyled.native.js.map +1 -1
  780. package/lib/context/providerStyledMangled.d.ts +10 -0
  781. package/lib/context/providerStyledMangled.js +14 -0
  782. package/lib/context/providerStyledMangled.js.map +1 -0
  783. package/lib/context/providerStyledMangled.native.d.ts +1 -0
  784. package/lib/context/providerStyledMangled.native.js +4 -0
  785. package/lib/context/providerStyledMangled.native.js.map +1 -0
  786. package/lib/context/providerTheme.d.ts +3 -5
  787. package/lib/context/providerTheme.js +5 -4
  788. package/lib/context/providerTheme.js.map +1 -1
  789. package/lib/hash.json +1 -1
  790. package/lib/helpers/hashClassesHelpers.js +2 -3
  791. package/lib/helpers/hashClassesHelpers.js.map +1 -1
  792. package/lib/objects/Typography/TypographyColor.d.ts +1 -0
  793. package/lib/objects/Typography/TypographyColor.js +23 -18
  794. package/lib/objects/Typography/TypographyColor.js.map +1 -1
  795. package/lib/objects/atoms/Background.d.ts +17 -2
  796. package/lib/objects/atoms/Background.js +14 -1
  797. package/lib/objects/atoms/Background.js.map +1 -1
  798. package/lib/objects/atoms/Text.js +3 -1
  799. package/lib/objects/atoms/Text.js.map +1 -1
  800. package/lib/objects/facets/Alert.d.ts +36 -0
  801. package/lib/objects/facets/Alert.js +70 -0
  802. package/lib/objects/facets/Alert.js.map +1 -0
  803. package/lib/objects/facets/Color.d.ts +5 -10
  804. package/lib/objects/facets/Color.js +53 -56
  805. package/lib/objects/facets/Color.js.map +1 -1
  806. package/lib/objects/facets/Justifiable.d.ts +1 -1
  807. package/lib/objects/facets/Status.d.ts +2 -29
  808. package/lib/objects/facets/Status.js +14 -14
  809. package/lib/objects/facets/Status.js.map +1 -1
  810. package/lib/objects/facets/Variant.js +1 -1
  811. package/lib/objects/facets/Variant.js.map +1 -1
  812. package/lib/objects/facets/index.d.ts +1 -1
  813. package/lib/objects/facets/index.js +1 -1
  814. package/lib/objects/facets/index.js.map +1 -1
  815. package/lib/version.d.ts +1 -1
  816. package/lib/version.js +1 -1
  817. package/package.json +1 -1
  818. package/lib/components/accordion/AccordionPropsDefaults.js +0 -45
  819. package/lib/components/accordion/body/AccordionBodyPropsDefaults.js +0 -52
  820. package/lib/components/accordion/header/AccordionHeaderPropsDefaults.js +0 -60
  821. package/lib/components/accordion/item/AccordionItemPropsDefaults.js +0 -68
  822. package/lib/components/accordion/item/OnClickCallbackDefaults.js +0 -1
  823. package/lib/components/alert/AlertPropsDefaults.js +0 -155
  824. package/lib/components/alert/ToasterStatusPropsDefaults.js +0 -227
  825. package/lib/components/alert/context/ToastConfigDefaults.js +0 -24
  826. package/lib/components/alert/context/ToastPropsDefaults.js +0 -129
  827. package/lib/components/autocomplete/AutoComplete.d.ts +0 -4
  828. package/lib/components/autocomplete/AutoComplete.js.map +0 -1
  829. package/lib/components/autocomplete/AutoComplete.native.d.ts +0 -25
  830. package/lib/components/autocomplete/AutoComplete.native.js.map +0 -1
  831. package/lib/components/autocomplete/AutoCompleteProps.d.ts +0 -49
  832. package/lib/components/autocomplete/AutoCompleteProps.js.map +0 -1
  833. package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +0 -752
  834. package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +0 -752
  835. package/lib/components/autocomplete/Autocomplete.helpers.js.map +0 -1
  836. package/lib/components/autocomplete/ItemDefaults.js +0 -10
  837. package/lib/components/autocomplete/ItemSelectedEventDefaults.js +0 -10
  838. package/lib/components/autocomplete/index.js.map +0 -1
  839. package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +0 -1
  840. package/lib/components/autocomplete/item/AutoCompleteItem.js.map +0 -1
  841. package/lib/components/autocomplete/item/AutoCompleteItemProps.js.map +0 -1
  842. package/lib/components/autocomplete/item/AutoCompleteItemPropsDefaults.js +0 -56
  843. package/lib/components/autocomplete/item/index.js.map +0 -1
  844. package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +0 -1
  845. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +0 -1
  846. package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js.map +0 -1
  847. package/lib/components/autocomplete/menu/AutoCompleteMenuPropsDefaults.js +0 -60
  848. package/lib/components/autocomplete/menu/index.js.map +0 -1
  849. package/lib/components/autocomplete/utils/debounce.js.map +0 -1
  850. package/lib/components/autocomplete/utils/index.js.map +0 -1
  851. package/lib/components/badge/BadgePropsDefaults.js +0 -83
  852. package/lib/components/box/BoxPropsDefaults.js +0 -216
  853. package/lib/components/box/content/BoxContentPropsDefaults.js +0 -102
  854. package/lib/components/box/footer/BoxFooterPropsDefaults.js +0 -87
  855. package/lib/components/box/header/BoxHeaderPropsDefaults.js +0 -118
  856. package/lib/components/box/item/BoxItemPropsDefaults.js +0 -35
  857. package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +0 -45
  858. package/lib/components/breadcrumb/BreadcrumbPropsDefaults.js +0 -38
  859. package/lib/components/breadcrumb/BreadcrumbWebPropsDefaults.js +0 -45
  860. package/lib/components/breadcrumb/item/BreadcrumbItemPropsDefaults.js +0 -53
  861. package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +0 -253
  862. package/lib/components/button/ButtonPropsDefaults.js +0 -380
  863. package/lib/components/button/list/ButtonListPropsDefaults.js +0 -19
  864. package/lib/components/button/list/ButtonListWebPropsDefaults.js +0 -50
  865. package/lib/components/card/CardPropsDefaults.js +0 -220
  866. package/lib/components/card/content/CardContentPropsDefaults.js +0 -153
  867. package/lib/components/card/image/CardImagePropsDefaults.js +0 -52
  868. package/lib/components/checkbox/CheckboxChangeEventDefaults.js +0 -21
  869. package/lib/components/checkbox/CheckboxClickEventDefaults.js +0 -21
  870. package/lib/components/checkbox/CheckboxPropsDefaults.js +0 -200
  871. package/lib/components/chips/ChipsPropsDefaults.js +0 -75
  872. package/lib/components/chips/list/ChipsListPropsDefaults.js +0 -25
  873. package/lib/components/columns/ColumnsPropsDefaults.js +0 -124
  874. package/lib/components/columns/item/ColumnsItemPropsDefaults.js +0 -323
  875. package/lib/components/container/ContainerPropsDefaults.js +0 -185
  876. package/lib/components/countdown/CountdownPropsDefaults.js +0 -57
  877. package/lib/components/divider/DividerPropsDefaults.js +0 -210
  878. package/lib/components/fab/FabPropsDefaults.js +0 -171
  879. package/lib/components/hero/HeroPropsDefaults.js +0 -144
  880. package/lib/components/icon/IconPropsDefaults.js +0 -307
  881. package/lib/components/icon/circle/CircleIconPropsDefaults.js +0 -168
  882. package/lib/components/icon/status/StatusIconPropsDefaults.js +0 -126
  883. package/lib/components/icon/text/TextIconPropsDefaults.js +0 -160
  884. package/lib/components/image/ImagePropsDefaults.js +0 -75
  885. package/lib/components/input/ILengthVerifyDefaults.js +0 -16
  886. package/lib/components/input/IValidationRulesDefaults.js +0 -41
  887. package/lib/components/input/InputChangeEventNativeDefaults.js +0 -17
  888. package/lib/components/input/InputChangeEventWebDefaults.js +0 -21
  889. package/lib/components/input/InputClickEventDefaults.js +0 -19
  890. package/lib/components/input/InputKeyboardEventDefaults.js +0 -27
  891. package/lib/components/input/InputNativeEventsDefaults.js +0 -37
  892. package/lib/components/input/InputPropsDefaults.js +0 -654
  893. package/lib/components/input/InputWebEventsDefaults.js +0 -51
  894. package/lib/components/link/LinkPropsDefaults.js +0 -367
  895. package/lib/components/list/ListPropsDefaults.js +0 -53
  896. package/lib/components/list/item/ListItemPropsDefaults.js +0 -119
  897. package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +0 -23
  898. package/lib/components/modal/CloseButtonPropsDefaults.js +0 -9
  899. package/lib/components/modal/ModalContentButtonPropsDefaults.js +0 -16
  900. package/lib/components/modal/ModalPropsDefaults.js +0 -325
  901. package/lib/components/modal/footer/ModalFooterPropsDefaults.js +0 -23
  902. package/lib/components/modal/title/ModalTitlePropsDefaults.js +0 -92
  903. package/lib/components/otp/OtpPropsDefaults.js +0 -97
  904. package/lib/components/pagination/PaginationPropsDefaults.js +0 -63
  905. package/lib/components/popover/PopoverPropsDefaults.js +0 -60
  906. package/lib/components/popover/PopoverWebPropsDefaults.js +0 -89
  907. package/lib/components/price/PricePropsDefaults.js +0 -159
  908. package/lib/components/product-tour/ProductTourPropsDefaults.js +0 -85
  909. package/lib/components/product-tour/ProductTourWebPropsDefaults.js +0 -92
  910. package/lib/components/progress/ProgressPropsDefaults.js +0 -95
  911. package/lib/components/progress/item/ProgressItemPropsDefaults.js +0 -84
  912. package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +0 -165
  913. package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +0 -54
  914. package/lib/components/radio/RadioPropsDefaults.js +0 -216
  915. package/lib/components/radio/list/RadioListPropsDefaults.js +0 -19
  916. package/lib/components/radio/list/RadioListWebPropsDefaults.js +0 -50
  917. package/lib/components/range/RangePropsDefaults.js +0 -123
  918. package/lib/components/rows/RowsPropsDefaults.js +0 -31
  919. package/lib/components/rows/item/RowsItemPropsDefaults.js +0 -31
  920. package/lib/components/scroll-view/ScrollViewPropsDefaults.js +0 -127
  921. package/lib/components/section/SectionPropsDefaults.js +0 -118
  922. package/lib/components/segment-control/SegmentControlPropsDefaults.js +0 -61
  923. package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +0 -55
  924. package/lib/components/select/ISelectOptionDefaults.js +0 -23
  925. package/lib/components/select/SelectChangeEventDefaults.js +0 -37
  926. package/lib/components/select/SelectPropsDefaults.js +0 -187
  927. package/lib/components/select/option/SelectOptionPropsDefaults.js +0 -134
  928. package/lib/components/selector/SelectorEndDefaults.js +0 -10
  929. package/lib/components/selector/SelectorPropsDefaults.js +0 -128
  930. package/lib/components/selector/item/SelectorItemPropsDefaults.js +0 -84
  931. package/lib/components/spacer/SpacerPropsDefaults.js +0 -27
  932. package/lib/components/stepper/StepperPropsDefaults.js +0 -31
  933. package/lib/components/stepper/step/StepperStepPropsDefaults.js +0 -136
  934. package/lib/components/sticker/StickerPropsDefaults.js +0 -71
  935. package/lib/components/styleComponent/default/index.d.ts +0 -1
  936. package/lib/components/styleComponent/default/index.js +0 -2
  937. package/lib/components/styleComponent/default/index.js.map +0 -1
  938. package/lib/components/styleComponent/default/styleComponent.d.ts +0 -6
  939. package/lib/components/styleComponent/default/styleComponent.js +0 -7
  940. package/lib/components/styleComponent/default/styleComponent.js.map +0 -1
  941. package/lib/components/styleComponent/default/styleComponent.native.d.ts +0 -5
  942. package/lib/components/styleComponent/default/styleComponent.native.js +0 -6
  943. package/lib/components/styleComponent/default/styleComponent.native.js.map +0 -1
  944. package/lib/components/styleComponent/index.d.ts +0 -2
  945. package/lib/components/styleComponent/index.js +0 -3
  946. package/lib/components/styleComponent/index.js.map +0 -1
  947. package/lib/components/styleComponent/mangled/index.d.ts +0 -1
  948. package/lib/components/styleComponent/mangled/index.js +0 -2
  949. package/lib/components/styleComponent/mangled/index.js.map +0 -1
  950. package/lib/components/styleComponent/mangled/styleComponentMangled.d.ts +0 -6
  951. package/lib/components/styleComponent/mangled/styleComponentMangled.js +0 -7
  952. package/lib/components/styleComponent/mangled/styleComponentMangled.js.map +0 -1
  953. package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +0 -5
  954. package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +0 -6
  955. package/lib/components/styleComponent/mangled/styleComponentMangled.native.js.map +0 -1
  956. package/lib/components/switch/SwitchChangeEventDefaults.js +0 -13
  957. package/lib/components/switch/SwitchPropsDefaults.js +0 -105
  958. package/lib/components/table/TablePropsDefaults.js +0 -63
  959. package/lib/components/table/body/TableBodyPropsDefaults.js +0 -107
  960. package/lib/components/table/head/TableHeadPropsDefaults.js +0 -107
  961. package/lib/components/table/td/TableTdPropsDefaults.js +0 -44
  962. package/lib/components/table/th/TableThPropsDefaults.js +0 -44
  963. package/lib/components/table/tr/TableTrPropsWebDefaults.js +0 -102
  964. package/lib/components/tabs/TabsPropsDefaults.js +0 -144
  965. package/lib/components/tabs/item/TabsItemPropsDefaults.js +0 -336
  966. package/lib/components/tag/TagClickEventDefaults.js +0 -1
  967. package/lib/components/tag/TagPropsDefaults.js +0 -104
  968. package/lib/components/tag/list/TagListPropsDefaults.js +0 -47
  969. package/lib/components/text/TextPropsDefaults.js +0 -192
  970. package/lib/components/textarea/TextareaChangeEventDefaults.js +0 -10
  971. package/lib/components/timeline/TimelinePropsDefaults.js +0 -39
  972. package/lib/components/timeline/content/TimelineContentPropsDefaults.js +0 -51
  973. package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +0 -58
  974. package/lib/components/timeline/item/TimelineItemPropsDefaults.js +0 -48
  975. package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +0 -55
  976. package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +0 -113
  977. package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +0 -127
  978. package/lib/components/title/TitlePropsDefaults.js +0 -165
  979. package/lib/components/view/ViewPropsDefaults.js +0 -223
  980. /package/lib/components/{autocomplete → input/autocomplete}/AutoCompleteProps.js +0 -0
  981. /package/lib/components/{autocomplete → input/autocomplete}/Autocomplete.helpers.d.ts +0 -0
  982. /package/lib/components/{autocomplete → input/autocomplete}/Autocomplete.helpers.js +0 -0
  983. /package/lib/components/{autocomplete → input/autocomplete}/index.d.ts +0 -0
  984. /package/lib/components/{autocomplete → input/autocomplete}/index.js +0 -0
  985. /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteIem.native.d.ts +0 -0
  986. /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItem.d.ts +0 -0
  987. /package/lib/components/{autocomplete → input/autocomplete}/item/AutoCompleteItemProps.js +0 -0
  988. /package/lib/components/{autocomplete → input/autocomplete}/item/index.d.ts +0 -0
  989. /package/lib/components/{autocomplete → input/autocomplete}/item/index.js +0 -0
  990. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.d.ts +0 -0
  991. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenu.native.d.ts +0 -0
  992. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenuProps.d.ts +0 -0
  993. /package/lib/components/{autocomplete → input/autocomplete}/menu/AutoCompleteMenuProps.js +0 -0
  994. /package/lib/components/{autocomplete → input/autocomplete}/menu/index.d.ts +0 -0
  995. /package/lib/components/{autocomplete → input/autocomplete}/menu/index.js +0 -0
  996. /package/lib/components/{autocomplete → input/autocomplete}/utils/debounce.d.ts +0 -0
  997. /package/lib/components/{autocomplete → input/autocomplete}/utils/debounce.js +0 -0
  998. /package/lib/components/{autocomplete → input/autocomplete}/utils/index.d.ts +0 -0
  999. /package/lib/components/{autocomplete → input/autocomplete}/utils/index.js +0 -0
@@ -2,6 +2,7 @@
2
2
  import { ListItemProps } from './ListItemProps';
3
3
  /**
4
4
  * ListItem Component
5
+ * @param className {string} Additionnal CSS Classes
5
6
  * @param children {React.ReactNode}
6
7
  * @param customIcon {IconName | React.ReactNode } Icon name | children
7
8
  * @param status {ListIconStatus} Status success|error
@@ -10,9 +11,6 @@ import { ListItemProps } from './ListItemProps';
10
11
  * @param action {React.ReactNode} children
11
12
  * @param divider {boolean} Display divider
12
13
  * @param deletable {boolean}
13
- * - -------------------------- WEB PROPERTIES -------------------------------
14
- * @param className {string} Additionnal CSS Classes
15
- * @param testId {string} Test Id for Test Integration
16
14
  */
17
15
  declare const ListItem: ({ className, children, customIcon, status, title, description, testId, action, divider, deletable, }: ListItemProps) => JSX.Element;
18
16
  export default ListItem;
@@ -8,6 +8,7 @@ import { Divider } from '../../../components/divider';
8
8
  import { Icon, IconSize } from '../../../components/icon';
9
9
  /**
10
10
  * ListItem Component
11
+ * @param className {string} Additionnal CSS Classes
11
12
  * @param children {React.ReactNode}
12
13
  * @param customIcon {IconName | React.ReactNode } Icon name | children
13
14
  * @param status {ListIconStatus} Status success|error
@@ -16,9 +17,6 @@ import { Icon, IconSize } from '../../../components/icon';
16
17
  * @param action {React.ReactNode} children
17
18
  * @param divider {boolean} Display divider
18
19
  * @param deletable {boolean}
19
- * - -------------------------- WEB PROPERTIES -------------------------------
20
- * @param className {string} Additionnal CSS Classes
21
- * @param testId {string} Test Id for Test Integration
22
20
  */
23
21
  const ListItem = ({ className, children, customIcon, status, title, description, testId, action, divider, deletable, }) => {
24
22
  const { styled } = useTrilogyContext();
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../../../components/list/item/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAY,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAG5D;;;;;;;;;;;;;GAaG;AACH,MAAM,QAAQ,GAAG,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,M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CAAC,OAAO,EAAE,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,iBAAe,MAAM;QAC3F,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;YACzD,UAAU,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,CAC/C,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,wBAAwB,CAAC,CAAC;gBAC/D,oBAAC,IAAI,IACH,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAE,UAAuB,EACxD,IAAI,EAAE,QAAQ,CAAC,KAAK,GACpB,CACE,CACP;YAEA,UAAU,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,CAC/C,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,wBAAwB,CAAC,CAAC,IAAG,UAAU,CAAO,CACtF;YAED;gBACG,CAAC,KAAK,IAAI,WAAW,CAAC,IAAI,CACzB;oBACG,KAAK,IAAI,+BAAI,KAAK,CAAK;oBACvB,QAAQ,IAAI,CAAC,WAAW,IAAI,+BAAI,QAAQ,IAAI,WAAW,CAAK,CAAC,CAC7D,CACJ;gBACA,CAAC,KAAK,IAAI,CAAC,WAAW,IAAI,iCAAM,QAAQ,CAAO,CAC5C,CACF;QACL,MAAM,IAAI,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC,IAAG,MAAM,CAAO;QACrF,OAAO,IAAI,oBAAC,OAAO,OAAG,CACpB,CACN,CAAA;AACH,CAAC,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,17 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ComponentName } from '../../../components/enumsComponentsName';
3
3
  import { ListItemProps } from './ListItemProps';
4
- /**
5
- * ListItem Component
6
- * @param children {React.ReactNode}
7
- * @param customIcon {IconName | React.ReactNode } Icon name | children
8
- * @param status {ListIconStatus} Status success|error
9
- * @param title {string} List item title
10
- * @param description {string} List item description
11
- * @param action {React.ReactNode} children
12
- * @param divider {boolean} Display divider
13
- * @param deletable {boolean}
14
- */
15
4
  declare const ListItem: {
16
5
  ({ children, customIcon, status, title, description, divider, action, deletable, }: ListItemProps): JSX.Element;
17
6
  displayName: ComponentName;
@@ -7,17 +7,6 @@ import { ComponentName } from '../../../components/enumsComponentsName';
7
7
  import { Icon, IconColor } from '../../../components/icon';
8
8
  import { Text, TextLevels } from '../../../components/text';
9
9
  import { Title, TitleLevels } from '../../../components/title';
10
- /**
11
- * ListItem Component
12
- * @param children {React.ReactNode}
13
- * @param customIcon {IconName | React.ReactNode } Icon name | children
14
- * @param status {ListIconStatus} Status success|error
15
- * @param title {string} List item title
16
- * @param description {string} List item description
17
- * @param action {React.ReactNode} children
18
- * @param divider {boolean} Display divider
19
- * @param deletable {boolean}
20
- */
21
10
  const ListItem = ({ children, customIcon, status, title, description, divider, action, deletable, }) => {
22
11
  const styles = StyleSheet.create({
23
12
  item: {
@@ -56,7 +45,7 @@ const ListItem = ({ children, customIcon, status, title, description, divider, a
56
45
  borderRadius: 30,
57
46
  },
58
47
  swipeInfo: {
59
- backgroundColor: getColorStyle(TrilogyColor.NEUTRAL_FADE),
48
+ backgroundColor: getColorStyle(TrilogyColor.NEUTRAL_LIGHT),
60
49
  width: 2,
61
50
  height: 20,
62
51
  borderRadius: 6,
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.native.js","sourceRoot":"","sources":["../../../../components/list/item/ListItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,IAAI,IAAI,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5E,OAAO,SAAS,MAAM,wCAAwC,CAAA;AAC9D,OAAO,E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A6B,EAAE,KAAiC,EAAE,EAAE;YACxF,MAAM,KAAK,GAAG,KAAK,CAAC,WAAW,CAAC;gBAC9B,UAAU,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC;gBACrB,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;gBACvB,WAAW,EAAE,OAAO;aACrB,CAAC,CAAA;YAEF,OAAO,CACL,oBAAC,IAAI;gBACH,oBAAC,QAAQ,CAAC,IAAI,IAAC,KAAK,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,IACnE,MAAM,CACO,CACX,CACR,CAAA;QACH,CAAC,CAAA;QAED,OAAO,CACL;YACE,oBAAC,SAAS,IAAC,kBAAkB,EAAE,YAAY,IAAG,OAAO,CAAa;YACjE,OAAO,IAAI,oBAAC,OAAO,OAAG,CACtB,CACJ,CAAA;KACF;IAED,OAAO,CACL;QACG,OAAO;QACP,OAAO,IAAI,oBAAC,OAAO,OAAG,CACtB,CACJ,CAAA;AACH,CAAC,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,aAAa,CAAC,QAAQ,CAAA;AAE7C,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"ListItem.native.js","sourceRoot":"","sources":["../../../../components/list/item/ListItem.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,IAAI,IAAI,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5E,OAAO,SAAS,MAAM,wCAAwC,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,IA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,WAAW,EAAE,OAAO;aACrB,CAAC,CAAA;YAEF,OAAO,CACL,oBAAC,IAAI;gBACH,oBAAC,QAAQ,CAAC,IAAI,IAAC,KAAK,EAAE,CAAC,MAAM,CAAC,WAAW,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,IACnE,MAAM,CACO,CACX,CACR,CAAA;QACH,CAAC,CAAA;QAED,OAAO,CACL;YACE,oBAAC,SAAS,IAAC,kBAAkB,EAAE,YAAY,IAAG,OAAO,CAAa;YACjE,OAAO,IAAI,oBAAC,OAAO,OAAG,CACtB,CACJ,CAAA;KACF;IAED,OAAO,CACL;QACG,OAAO;QACP,OAAO,IAAI,oBAAC,OAAO,OAAG,CACtB,CACJ,CAAA;AACH,CAAC,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,aAAa,CAAC,QAAQ,CAAA;AAE7C,eAAe,QAAQ,CAAA"}
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ListItemDescriptionProps } from "./ListItemDescriptionProps";
3
3
  /**
4
- * ListItemDescription Component
5
- * @param children {React.ReactNode}
6
- * - -------------------------- WEB PROPERTIES -------------------------------
4
+ * ListItem Component
7
5
  * @param className {string} Additionnal CSS Classes
6
+ * @param children {React.ReactNode}
8
7
  */
9
8
  declare const ListItemDescription: ({ children, className, }: ListItemDescriptionProps) => JSX.Element;
10
9
  export default ListItemDescription;
@@ -3,10 +3,9 @@ import clsx from "clsx";
3
3
  import { hashClass } from "../../../../helpers";
4
4
  import { useTrilogyContext } from "../../../../context";
5
5
  /**
6
- * ListItemDescription Component
7
- * @param children {React.ReactNode}
8
- * - -------------------------- WEB PROPERTIES -------------------------------
6
+ * ListItem Component
9
7
  * @param className {string} Additionnal CSS Classes
8
+ * @param children {React.ReactNode}
10
9
  */
11
10
  const ListItemDescription = ({ children, className, }) => {
12
11
  const { styled } = useTrilogyContext();
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemDescription.js","sourceRoot":"","sources":["../../../../../components/list/item/description/ListItemDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,CAAC,EAC3B,QAAQ,EACR,SAAS,GACgB,EAAe,EAAE;IAC1C,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,4BAAI,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAG,QAAQ,CAAM,CAAA;AAC3E,CAAC,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"ListItemDescription.js","sourceRoot":"","sources":["../../../../../components/list/item/description/ListItemDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;GAIG;AAEH,MAAM,mBAAmB,GAAG,CAAC,EAC3B,QAAQ,EACR,SAAS,GACgB,EAAe,EAAE;IAC1C,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IAEtC,OAAO,4BAAI,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAG,QAAQ,CAAM,CAAA;AAC3E,CAAC,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,10 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ListItemDescriptionProps } from "./ListItemDescriptionProps";
3
3
  import { ComponentName } from "../../../../components/enumsComponentsName";
4
- /**
5
- * ListItemDescription Component
6
- * @param children {React.ReactNode}
7
- */
8
4
  declare const ListItemDescription: {
9
5
  ({ children, }: ListItemDescriptionProps): JSX.Element;
10
6
  displayName: ComponentName;
@@ -2,10 +2,6 @@ import * as React from "react";
2
2
  import { Text } from "../../../../components/text";
3
3
  import { View } from "../../../../components/view";
4
4
  import { ComponentName } from "../../../../components/enumsComponentsName";
5
- /**
6
- * ListItemDescription Component
7
- * @param children {React.ReactNode}
8
- */
9
5
  const ListItemDescription = ({ children, }) => {
10
6
  if (["string", "number"].includes(typeof children)) {
11
7
  return React.createElement(Text, null, children);
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemDescription.native.js","sourceRoot":"","sources":["../../../../../components/list/item/description/ListItemDescription.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE;;;GAGG;AACH,MAAM,mBAAmB,GAAG,CAAC,EAC3B,QAAQ,GACiB,EAAe,EAAE;IAC1C,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,QAAQ,CAAC,EAAE;QAClD,OAAO,oBAAC,IAAI,QAAE,QAAQ,CAAQ,CAAA;KAC/B;IAED,OAAO,oBAAC,IAAI,QAAE,QAAQ,CAAQ,CAAA;AAChC,CAAC,CAAA;AAED,mBAAmB,CAAC,WAAW,GAAG,aAAa,CAAC,mBAAmB,CAAA;AAEnE,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"ListItemDescription.native.js","sourceRoot":"","sources":["../../../../../components/list/item/description/ListItemDescription.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAEhE,MAAM,mBAAmB,GAAG,CAAC,EAC3B,QAAQ,GACiB,EAAe,EAAE;IAC1C,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,QAAQ,CAAC,EAAE;QAClD,OAAO,oBAAC,IAAI,QAAE,QAAQ,CAAQ,CAAA;KAC/B;IAED,OAAO,oBAAC,IAAI,QAAE,QAAQ,CAAQ,CAAA;AAChC,CAAC,CAAA;AAED,mBAAmB,CAAC,WAAW,GAAG,aAAa,CAAC,mBAAmB,CAAA;AAEnE,eAAe,mBAAmB,CAAA"}
@@ -23,14 +23,14 @@ import { ModalProps } from './ModalProps';
23
23
  * @param triggerMarkup {ModalMarkup} h1|h2|h3|h4|h5|h6|p|span|div|button|a
24
24
  * @param triggerClassNames {string} Additionnal CSS Classes for trigger element
25
25
  * @param panel {boolean} Panel Side Modal
26
- * @param accessibilityLabel {string} Accessibility label
27
- * @param testId {string} Test id
28
- * @param ctaCancelContent {string} content of button close
29
- * @param footer {React.ReactNode}
30
- * @param footerClassNames {string} Additionnal CSS Classes for footer
26
+ * @param ariaLabelButtonClose {string} aria-label of button close
27
+ * @param ariaLabelCta {string} aria-label of button action
28
+ * @param titleButtonClose {string} title of button close
29
+ * @param ariaLabelButtonOpen {string} aria-label of open button modal
30
+ * @param titleButtonOpen {string} title of open button modal
31
31
  * - -------------------------- NATIVE PROPERTIES -------------------------------
32
32
  * @param bottom {boolean} If bottom
33
33
  * @param swipable {boolean} Swipable Native Modal
34
34
  */
35
- declare const Modal: ({ children, className, contentClassNames, accessibilityLabel, active, title, content, triggerMarkup, triggerContent, triggerClassNames, ctaContent, ctaCancelContent, ctaOnClick, onClose, onOpen, iconName, ctaCancelOnClick, closeIcon, iconColor, panel, footerClassNames, footer, fullwidth, disableHandlingClickOutside, testId, ...others }: ModalProps) => JSX.Element;
35
+ declare const Modal: ({ children, className, contentClassNames, active, title, content, triggerMarkup, triggerContent, triggerClassNames, ctaContent, ctaOnClick, onClose, onOpen, iconName, ctaCancelOnClick, closeIcon, iconColor, panel, footerClassNames, footer, fullwidth, disableHandlingClickOutside, testId, ariaLabelButtonClose, ariaLabelCta, titleButtonClose, ariaLabelButtonOpen, titleButtonOpen, ...others }: ModalProps) => JSX.Element;
36
36
  export default Modal;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ModalExample: React.ReactNode;
3
+ export default ModalExample;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { Modal } from './index';
3
+ const ModalExample = React.createElement(Modal, { closeIcon: true, content: 'Contenu de ma modal', ctaContent: 'Action', iconName: 'tri-alert', title: 'title modal', triggerClassNames: 'button is-primary', triggerContent: 'Open modal', triggerMarkup: 'a' });
4
+ export default ModalExample;
5
+ //# sourceMappingURL=Modal.example.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.example.js","sourceRoot":"","sources":["../../../components/modal/Modal.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,YAAY,GAChB,oBAAC,KAAK,IACN,SAAS,QACT,OAAO,EAAC,qBAAqB,EAC7B,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAC,WAAW,EACpB,KAAK,EAAC,aAAa,EACnB,iBAAiB,EAAC,mBAAmB,EACrC,cAAc,EAAC,YAAY,EAC3B,aAAa,EAAC,GAAG,GACjB,CAAA;AAEF,eAAe,YAAY,CAAA"}
@@ -11,6 +11,7 @@ import { ModalMarkup } from './ModalEnum';
11
11
  import ModalTitle from './title/ModalTitle';
12
12
  const idDescription = shortid.generate();
13
13
  const idTitle = shortid.generate();
14
+ const idModal = shortid.generate();
14
15
  /**
15
16
  * Modal Component
16
17
  * @param active {boolean} Activated Modal
@@ -34,19 +35,20 @@ const idTitle = shortid.generate();
34
35
  * @param triggerMarkup {ModalMarkup} h1|h2|h3|h4|h5|h6|p|span|div|button|a
35
36
  * @param triggerClassNames {string} Additionnal CSS Classes for trigger element
36
37
  * @param panel {boolean} Panel Side Modal
37
- * @param accessibilityLabel {string} Accessibility label
38
- * @param testId {string} Test id
39
- * @param ctaCancelContent {string} content of button close
40
- * @param footer {React.ReactNode}
41
- * @param footerClassNames {string} Additionnal CSS Classes for footer
38
+ * @param ariaLabelButtonClose {string} aria-label of button close
39
+ * @param ariaLabelCta {string} aria-label of button action
40
+ * @param titleButtonClose {string} title of button close
41
+ * @param ariaLabelButtonOpen {string} aria-label of open button modal
42
+ * @param titleButtonOpen {string} title of open button modal
42
43
  * - -------------------------- NATIVE PROPERTIES -------------------------------
43
44
  * @param bottom {boolean} If bottom
44
45
  * @param swipable {boolean} Swipable Native Modal
45
46
  */
46
- const Modal = ({ children, className, contentClassNames, accessibilityLabel = 'Close', active, title, content, triggerMarkup, triggerContent, triggerClassNames = 'button is-primary', ctaContent, ctaCancelContent = 'Close', ctaOnClick, onClose, onOpen, iconName, ctaCancelOnClick, closeIcon, iconColor, panel, footerClassNames, footer, fullwidth, disableHandlingClickOutside = false, testId, ...others }) => {
47
+ const Modal = ({ children, className, contentClassNames, active, title, content, triggerMarkup, triggerContent, triggerClassNames = 'button is-primary', ctaContent, ctaOnClick, onClose, onOpen, iconName, ctaCancelOnClick, closeIcon, iconColor, panel, footerClassNames, footer, fullwidth, disableHandlingClickOutside = false, testId, ariaLabelButtonClose, ariaLabelCta, titleButtonClose, ariaLabelButtonOpen, titleButtonOpen, ...others }) => {
47
48
  const modal = useRef(null);
48
49
  const [display, setDisplay] = useState(active || false);
49
50
  const { styled } = useTrilogyContext();
51
+ const ariaControls = `${idModal}-modal`;
50
52
  const refsActions = useRef([]);
51
53
  const refBtnModal = useRef(null);
52
54
  const [, setIndexFocusable] = useState(0);
@@ -76,7 +78,7 @@ const Modal = ({ children, className, contentClassNames, accessibilityLabel = 'C
76
78
  document.removeEventListener('mousedown', handleClickOutside);
77
79
  };
78
80
  }, [display, disableHandlingClickOutside]);
79
- const classes = React.useMemo(() => hashClass(styled, clsx('modal', display && is('active'), panel && is('panel'), fullwidth && is('fullwidth'), className)), [display, panel, className, styled]);
81
+ const classes = React.useMemo(() => hashClass(styled, clsx('modal', display && is('active'), panel && is('panel'), fullwidth && is('fullwidth'), className)), [active, display, panel, className, styled]);
80
82
  const contentClasses = React.useMemo(() => hashClass(styled, clsx('modal-content', contentClassNames)), [contentClassNames, styled]);
81
83
  const footerClasses = React.useMemo(() => clsx('modal-footer', footerClassNames), [footerClassNames, styled]);
82
84
  function handleClose(onCloseFunc, e) {
@@ -118,24 +120,22 @@ const Modal = ({ children, className, contentClassNames, accessibilityLabel = 'C
118
120
  }
119
121
  }, [refsActions.current.length, display]);
120
122
  return (React.createElement("div", { "data-testid": testId, onKeyDown: onKeyDown },
121
- triggerContent && (React.createElement(TriggerTag, { "aria-haspopup": 'dialog', ref: refBtnModal, onClick: (e) => {
123
+ triggerContent && (React.createElement(TriggerTag, { "aria-label": ariaLabelButtonOpen, title: titleButtonOpen, ref: refBtnModal, "aria-controls": ariaControls, onClick: (e) => {
122
124
  handleOpen(onOpen, e);
123
125
  }, className: hashClass(styled, clsx(triggerClassNames)) }, triggerContent)),
124
- React.createElement("div", { className: classes, role: 'dialog', "aria-modal": display ? 'true' : undefined, "aria-labelledby": title ? idTitle : undefined, ...others },
126
+ React.createElement("div", { className: classes, role: 'dialog', "aria-modal": display ? 'true' : undefined, "aria-labelledby": title ? idTitle : undefined, "aria-describedby": content ? idDescription : undefined, ...others },
125
127
  React.createElement("div", { ref: modal, className: contentClasses },
126
- (closeIcon || title || iconName) && (React.createElement("div", { className: hashClass(styled, clsx('modal-header')) },
127
- closeIcon && (React.createElement("button", { onClick: (e) => {
128
- handleClose(onClose, e);
129
- }, className: hashClass(styled, clsx('modal-close', is('large'))), type: ButtonType.BUTTON, ref: (el) => el && (refsActions.current[0] = el) }, accessibilityLabel && React.createElement("span", { className: 'sr-only' }, accessibilityLabel))),
130
- (title || iconName) && (React.createElement(ModalTitle, { iconColor: iconColor, iconName: iconName, ...{ textId: idTitle } }, title)))),
131
- (content || (children != null && children)) && (React.createElement("div", { className: hashClass(styled, clsx('modal-body')) },
132
- content && typeof content === 'string' ? React.createElement(Text, { ...{ id: idDescription } }, content) : content,
133
- children != null && children)),
128
+ closeIcon && (React.createElement("button", { onClick: (e) => {
129
+ handleClose(onClose, e);
130
+ }, className: hashClass(styled, clsx('modal-close', is('large'))), "aria-label": ariaLabelButtonClose, type: ButtonType.BUTTON, title: titleButtonClose, "aria-controls": ariaControls, ref: (el) => el && (refsActions.current[0] = el) })),
131
+ (title || iconName) && (React.createElement(ModalTitle, { iconColor: iconColor, iconName: iconName, ...{ textId: idTitle } }, title)),
132
+ content && typeof content === 'string' ? React.createElement(Text, { ...{ id: idDescription } }, content) : content,
133
+ children != null && children,
134
134
  React.createElement(ModalFooter, { className: footerClasses }, ((ctaOnClick != null || ctaCancelOnClick != null) && (React.createElement(ButtonList, { centered: true, className: is('flex') },
135
135
  ctaCancelOnClick && (React.createElement("button", { onClick: (e) => {
136
136
  handleClose(ctaCancelOnClick, e);
137
- }, className: hashClass(styled, clsx('button', is('secondary'))), ref: (el) => (refsActions.current[1] = el) }, ctaCancelContent)),
138
- ctaOnClick && (React.createElement("button", { className: hashClass(styled, clsx('button', is('primary'))), title: ctaContent, ref: (el) => (refsActions.current[2] = el), onClick: ctaOnClick }, ctaContent))))) ||
137
+ }, className: hashClass(styled, clsx('button', is('secondary'))), "aria-label": ariaLabelButtonClose, title: titleButtonClose, "aria-controls": ariaControls, ref: (el) => (refsActions.current[1] = el) }, "Anuuler")),
138
+ ctaOnClick && (React.createElement("button", { className: hashClass(styled, clsx('button', is('primary'))), "aria-label": ariaLabelCta, title: ctaContent, "aria-controls": ariaControls, ref: (el) => (refsActions.current[2] = el), onClick: ctaOnClick }, ctaContent))))) ||
139
139
  footer)))));
140
140
  };
141
141
  export default Modal;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../components/modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAC/B,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACvE,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,WAAW,MAAM,sBAAsB,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAqB,MAAM,aAAa,CAAA;AAE5D,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAE3C,MAAM,aAAa,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAA;AACxC,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAA;AAElC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,KAAK,GAAG,CAAC,EACb,QAAQ,EACR,SAAS,EACT,iBAAiB,EACjB,kBAAkB,GAAG,OAAO,EAC5B,MAAM,EACN,KAAK,EACL,OAAO,EACP,aAAa,EACb,cAAc,EACd,iBAAiB,GAAG,mBAAmB,EACvC,UAAU,EACV,gBAAgB,GAAG,OAAO,EAC1B,UAAU,EACV,OAAO,EACP,MAAM,EACN,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,MAAM,EACN,SAAS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C,CAAC,CAAC,gBAC/C,YAAY,EACxB,KAAK,EAAE,UAAU,mBACF,YAAY,EAC3B,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EAC1C,OAAO,EAAE,UAAU,IAElB,UAAU,CACJ,CACV,CACU,CACd,CAAC;oBACA,MAAM,CACI,CACV,CACF,CACF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -27,7 +27,6 @@ export interface ModalProps extends Clipped, Fullwidth, Accessibility {
27
27
  triggerClassNames?: string;
28
28
  triggerMarkup?: ModalMarkup | ModalMarkupValues;
29
29
  ctaContent?: string;
30
- ctaCancelContent?: string;
31
30
  closeIcon?: boolean;
32
31
  ctaOnClick?: ClickEvent;
33
32
  ctaCancelOnClick?: ClickEvent;
@@ -38,4 +37,9 @@ export interface ModalProps extends Clipped, Fullwidth, Accessibility {
38
37
  onModalHide?: () => void;
39
38
  disableHandlingClickOutside?: boolean;
40
39
  swipable?: boolean;
40
+ ariaLabelButtonClose?: string;
41
+ ariaLabelCta?: string;
42
+ titleButtonClose?: string;
43
+ ariaLabelButtonOpen?: string;
44
+ titleButtonOpen?: string;
41
45
  }
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ModalFooterProps } from "./ModalFooterProps";
3
3
  /**
4
- * Modal Footer Component
4
+ * Modal Title Component
5
5
  * @param children {React.ReactNode}
6
- * - -------------------------- WEB PROPERTIES -------------------------------
7
- * @param className {string} Additionnal css classes
6
+ * @param className {string}
8
7
  */
9
8
  declare const ModalFooter: ({ children, className, }: ModalFooterProps) => JSX.Element;
10
9
  export default ModalFooter;
@@ -3,10 +3,9 @@ import { hashClass } from "../../../helpers";
3
3
  import clsx from "clsx";
4
4
  import { useTrilogyContext } from "../../../context";
5
5
  /**
6
- * Modal Footer Component
6
+ * Modal Title Component
7
7
  * @param children {React.ReactNode}
8
- * - -------------------------- WEB PROPERTIES -------------------------------
9
- * @param className {string} Additionnal css classes
8
+ * @param className {string}
10
9
  */
11
10
  const ModalFooter = ({ children, className, }) => {
12
11
  const { styled } = useTrilogyContext();
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFooter.js","sourceRoot":"","sources":["../../../../components/modal/footer/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;;GAKG;AACH,MAAM,WAAW,GAAG,CAAC,EACnB,QAAQ,EACR,SAAS,GACQ,EAAe,EAAE;IAClC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,OAAO,CACL,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC,IAC/D,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"ModalFooter.js","sourceRoot":"","sources":["../../../../components/modal/footer/ModalFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE7C;;;;GAIG;AACH,MAAM,WAAW,GAAG,CAAC,EACnB,QAAQ,EACR,SAAS,GACQ,EAAe,EAAE;IAClC,MAAM,EAAE,MAAM,EAAE,GAAG,iBAAiB,EAAE,CAAA;IACtC,OAAO,CACL,6BAAK,SAAS,EAAE,SAAS,CAAC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC,IAC/D,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,10 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ModalFooterProps } from "./ModalFooterProps";
3
3
  import { ComponentName } from "../../../components/enumsComponentsName";
4
- /**
5
- * Modal Footer Component
6
- * @param children {React.ReactNode}
7
- */
8
4
  declare const ModalFooter: {
9
5
  ({ children, ...others }: ModalFooterProps): JSX.Element;
10
6
  displayName: ComponentName;
@@ -9,10 +9,6 @@ const styles = {
9
9
  textAlign: 'right',
10
10
  padding: 16,
11
11
  };
12
- /**
13
- * Modal Footer Component
14
- * @param children {React.ReactNode}
15
- */
16
12
  const ModalFooter = ({ children, ...others }) => {
17
13
  return React.createElement(View, { ...others, style: styles }, typeof children === "string" && (React.createElement(Title, { level: TitleLevels.THREE, style: { width: "100%", textAlign: 'center' } }, children)) || (children));
18
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModalFooter.native.js","sourceRoot":"","sources":["../../../../components/modal/footer/ModalFooter.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAEvD,MAAM,MAAM,GAAG;IACb,QAAQ,EAAE,QAAQ;IAClB,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,MAAM;IACb,SAAS,EAAE,OAAO;IAClB,OAAO,EAAE,EAAE;CACZ,CAAA;AAED;;;GAGG;AACH,MAAM,WAAW,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAoB,EAAe,EAAE;IAC7E,OAAO,oBAAC,IAAI,OAAK,MAAM,EAAE,KAAK,EAAE,MAAM,IAClC,OAAO,QAAQ,KAAK,QAAQ,IAA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
1
  import Modal from './Modal';
2
2
  import ModalFooter from './footer/ModalFooter';
3
3
  import ModalTitle from './title/ModalTitle';
4
+ import ModalExample from './Modal.example';
4
5
  export * from './ModalEnum';
5
- export { Modal, ModalFooter, ModalTitle };
6
+ export { Modal, ModalFooter, ModalTitle, ModalExample };
@@ -1,6 +1,7 @@
1
1
  import Modal from './Modal';
2
2
  import ModalFooter from './footer/ModalFooter';
3
3
  import ModalTitle from './title/ModalTitle';
4
+ import ModalExample from './Modal.example';
4
5
  export * from './ModalEnum';
5
- export { Modal, ModalFooter, ModalTitle };
6
+ export { Modal, ModalFooter, ModalTitle, ModalExample };
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,WAAW,MAAM,sBAAsB,CAAA;AAC9C,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAE3C,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,WAAW,MAAM,sBAAsB,CAAA;AAC9C,OAAO,UAAU,MAAM,oBAAoB,CAAA;AAC3C,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAE1C,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,CAAA"}
@@ -3,10 +3,9 @@ import { ModalTitleProps } from './ModalTitleProps';
3
3
  /**
4
4
  * Modal Title Component
5
5
  * @param children {string}
6
+ * @param className {string} clsx
6
7
  * @param iconName {IconName} IconName for icon title
7
8
  * @param iconColor {IconColor} IconColor for icon title
8
- * - -------------------------- WEB PROPERTIES -------------------------------
9
- * @param className {string} Additionnal css classes
10
9
  */
11
10
  declare const ModalTitle: ({ children, className, iconColor, iconName, ...others }: ModalTitleProps) => JSX.Element;
12
11
  export default ModalTitle;
@@ -6,15 +6,14 @@ import * as React from 'react';
6
6
  /**
7
7
  * Modal Title Component
8
8
  * @param children {string}
9
+ * @param className {string} clsx
9
10
  * @param iconName {IconName} IconName for icon title
10
11
  * @param iconColor {IconColor} IconColor for icon title
11
- * - -------------------------- WEB PROPERTIES -------------------------------
12
- * @param className {string} Additionnal css classes
13
12
  */
14
13
  const ModalTitle = ({ children, className, iconColor, iconName, ...others }) => {
15
14
  const { styled } = useTrilogyContext();
16
15
  const { textId } = others;
17
- return (React.createElement("div", { className: hashClass(styled, clsx('modal-title', className)) }, iconName ? (React.createElement(TextIcon, { markup: 'p', color: iconColor, size: 'large', name: iconName, content: children, position: 'up', textId: textId, textAriaLevel: 1, textRole: 'heading' })) : (children)));
16
+ return (React.createElement("div", { className: hashClass(styled, clsx('modal-title', className)), id: textId }, iconName ? (React.createElement(TextIcon, { color: iconColor, size: 'large', name: iconName, content: children, position: 'up' })) : (children)));
18
17
  };
19
18
  export default ModalTitle;
20
19
  //# sourceMappingURL=ModalTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalTitle.js","sourceRoot":"","sources":["../../../../components/modal/title/ModalTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,iCAAiC,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B;;;;;;;GAOG;AACH,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,MAAM,EAAmB,EAAe,EAAE;IAC3G,MAAM,EAAE,MAAM,EAAE,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,CAAC,CAAC,CAAC,CACV,oBAAC,QAAQ,IACP,KAAK,EAAE,SAAS,EAChB,IAAI,EAAE,OAAO,EACb,IAAI,EAAE,QAAQ,EACd,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAC,IAAI,GAEb,CACH,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,CACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,12 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ModalTitleProps } from "./ModalTitleProps";
3
3
  import { ComponentName } from "../../../components/enumsComponentsName";
4
- /**
5
- * Modal Title Component
6
- * @param children {string}
7
- * @param iconName {IconName} IconName for icon title
8
- * @param iconColor {IconColor} IconColor for icon title
9
- */
10
4
  declare const ModalTitle: {
11
5
  ({ children, iconName, iconColor, ...others }: ModalTitleProps): JSX.Element;
12
6
  displayName: ComponentName;
@@ -9,12 +9,6 @@ const styles = {
9
9
  top: "0px",
10
10
  width: "100%",
11
11
  };
12
- /**
13
- * Modal Title Component
14
- * @param children {string}
15
- * @param iconName {IconName} IconName for icon title
16
- * @param iconColor {IconColor} IconColor for icon title
17
- */
18
12
  const ModalTitle = ({ children, iconName, iconColor, ...others }) => {
19
13
  return React.createElement(View, { style: styles, ...others }, typeof children === "string" && (React.createElement(Title, { level: TitleLevels.THREE },
20
14
  iconName && React.createElement(Icon, { color: iconColor, size: "large", name: iconName }),
@@ -1 +1 @@
1
- {"version":3,"file":"ModalTitle.native.js","sourceRoot":"","sources":["../../../../components/modal/title/ModalTitle.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAo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GAAG,MAAM,EAAmB,EAAe,EAAE;IAChG,OAAO,oBAAC,IAAI,IAAC,KAAK,EAAE,MAAM,KAAM,MAAM,IAClC,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAClC,oBAAC,KAAK,IAAC,KAAK,EAAE,WAAW,CAAC,KAAK;QAC5B,QAAQ,IAAI,oBAAC,IAAI,IAChB,KAAK,EAAE,SAAS,EAChB,IAAI,EAAE,OAAO,EACb,IAAI,EAAE,QAAQ,GACd;QACD,QAAQ,CACH,CACL,IAAI,CACL,QAAQ,CACP,CACG,CAAA;AACV,CAAC,CAAA;AAED,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,UAAU,CAAA;AAEjD,eAAe,UAAU,CAAA"}
@@ -2,6 +2,7 @@
2
2
  import { OtpProps } from "./OtpProps";
3
3
  /**
4
4
  * OTP Code Component
5
+ * @param className {string} Additionnal css classes
5
6
  * @param code {string} Code Text Input
6
7
  * @param codeSize {number} Code Size Number
7
8
  * @param disabled {boolean} Disabled OTP Code Input
@@ -10,10 +11,6 @@ import { OtpProps } from "./OtpProps";
10
11
  * @param onChange {Function} onChange Input return current code
11
12
  * @param onFocus {Function} onFocus return if focused opt
12
13
  * @param autoFocus {boolean} Should auto focus otp
13
- * @param label {string} Label for OTP
14
- * @param errorMessage {string} error message to display
15
- * - -------------------------- WEB PROPERTIES -------------------------------
16
- * @param className {string} Additionnal css classes
17
14
  */
18
15
  declare const Otp: ({ className, code, codeSize, disabled, error, onCompleted, onChange, onFocus, label, errorMessage, autoFocus, ...others }: OtpProps) => JSX.Element;
19
16
  export default Otp;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const OtpExample: React.ReactNode;
3
+ export default OtpExample;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { Otp } from './index';
3
+ import { Columns, ColumnsItem } from '../columns';
4
+ const OtpExample = React.createElement("div", null,
5
+ React.createElement(Columns, null,
6
+ React.createElement(ColumnsItem, { size: 4 },
7
+ React.createElement(Otp, { error: true, errorMessage: 'Ceci est un message derreur', label: 'Saisir votre otp' })),
8
+ React.createElement(ColumnsItem, { size: 4 },
9
+ React.createElement(Otp, { label: 'Saisir votre otp' })),
10
+ React.createElement(ColumnsItem, { size: 4 },
11
+ React.createElement(Otp, { disabled: true, label: 'Saisir votre otp' }))));
12
+ export default OtpExample;
13
+ //# sourceMappingURL=Otp.example.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Otp.example.js","sourceRoot":"","sources":["../../../components/otp/Otp.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,UAAU,GACd;IACE,oBAAC,OAAO;QACN,oBAAC,WAAW,IAAC,IAAI,EAAE,CAAC;YAClB,oBAAC,GAAG,IACF,KAAK,QACL,YAAY,EAAC,8BAA8B,EAC3C,KAAK,EAAC,kBAAkB,GACxB,CACU;QACd,oBAAC,WAAW,IAAC,IAAI,EAAE,CAAC;YAClB,oBAAC,GAAG,IACF,KAAK,EAAC,kBAAkB,GACxB,CACU;QACd,oBAAC,WAAW,IAAC,IAAI,EAAE,CAAC;YAClB,oBAAC,GAAG,IACF,QAAQ,QACR,KAAK,EAAC,kBAAkB,GACxB,CACU,CACN,CACN,CAAA;AAER,eAAe,UAAU,CAAA"}