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

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.js +4 -3
  3. package/lib/components/accordion/Accordion.js.map +1 -1
  4. package/lib/components/accordion/AccordionPropsDefaults.js +45 -0
  5. package/lib/components/accordion/body/AccordionBody.d.ts +2 -1
  6. package/lib/components/accordion/body/AccordionBody.js +2 -1
  7. package/lib/components/accordion/body/AccordionBody.js.map +1 -1
  8. package/lib/components/accordion/body/AccordionBody.native.d.ts +1 -1
  9. package/lib/components/accordion/body/AccordionBody.native.js +1 -1
  10. package/lib/components/accordion/body/AccordionBodyProps.d.ts +0 -1
  11. package/lib/components/accordion/body/AccordionBodyPropsDefaults.js +52 -0
  12. package/lib/components/accordion/header/AccordionHeader.js +1 -1
  13. package/lib/components/accordion/header/AccordionHeader.js.map +1 -1
  14. package/lib/components/accordion/header/AccordionHeaderPropsDefaults.js +60 -0
  15. package/lib/components/accordion/index.d.ts +1 -2
  16. package/lib/components/accordion/index.js +1 -2
  17. package/lib/components/accordion/index.js.map +1 -1
  18. package/lib/components/accordion/item/AccordionItem.js +2 -1
  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/accordion/item/AccordionItemPropsDefaults.js +68 -0
  23. package/lib/components/accordion/item/OnClickCallbackDefaults.js +1 -0
  24. package/lib/components/alert/Alert.d.ts +7 -7
  25. package/lib/components/alert/Alert.js +14 -14
  26. package/lib/components/alert/Alert.js.map +1 -1
  27. package/lib/components/alert/Alert.native.d.ts +7 -6
  28. package/lib/components/alert/Alert.native.js +14 -15
  29. package/lib/components/alert/Alert.native.js.map +1 -1
  30. package/lib/components/alert/AlertProps.d.ts +3 -4
  31. package/lib/components/alert/AlertPropsDefaults.js +155 -0
  32. package/lib/components/alert/ToasterStatusPropsDefaults.js +227 -0
  33. package/lib/components/alert/context/ToastConfigDefaults.js +24 -0
  34. package/lib/components/alert/context/ToastPropsDefaults.js +129 -0
  35. package/lib/components/alert/context/ToasterContextProps.d.ts +3 -3
  36. package/lib/components/alert/index.d.ts +1 -2
  37. package/lib/components/alert/index.js +1 -2
  38. package/lib/components/alert/index.js.map +1 -1
  39. package/lib/components/autocomplete/AutoComplete.d.ts +4 -0
  40. package/lib/components/{input/autocomplete → autocomplete}/AutoComplete.js +22 -12
  41. package/lib/components/autocomplete/AutoComplete.js.map +1 -0
  42. package/lib/components/autocomplete/AutoComplete.native.d.ts +25 -0
  43. package/lib/components/{input/autocomplete → autocomplete}/AutoComplete.native.js +24 -3
  44. package/lib/components/autocomplete/AutoComplete.native.js.map +1 -0
  45. package/lib/components/autocomplete/AutoCompleteProps.d.ts +49 -0
  46. package/lib/components/autocomplete/AutoCompleteProps.js.map +1 -0
  47. package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +752 -0
  48. package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +752 -0
  49. package/lib/components/autocomplete/Autocomplete.helpers.js.map +1 -0
  50. package/lib/components/autocomplete/ItemDefaults.js +10 -0
  51. package/lib/components/autocomplete/ItemSelectedEventDefaults.js +10 -0
  52. package/lib/components/autocomplete/index.js.map +1 -0
  53. package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteIem.native.js +2 -2
  54. package/lib/components/autocomplete/item/AutoCompleteIem.native.js.map +1 -0
  55. package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItem.js +3 -3
  56. package/lib/components/autocomplete/item/AutoCompleteItem.js.map +1 -0
  57. package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItemProps.d.ts +1 -1
  58. package/lib/components/autocomplete/item/AutoCompleteItemProps.js.map +1 -0
  59. package/lib/components/autocomplete/item/AutoCompleteItemPropsDefaults.js +56 -0
  60. package/lib/components/autocomplete/item/index.js.map +1 -0
  61. package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.js +3 -3
  62. package/lib/components/autocomplete/menu/AutoCompleteMenu.js.map +1 -0
  63. package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.native.js +3 -3
  64. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js.map +1 -0
  65. package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js.map +1 -0
  66. package/lib/components/autocomplete/menu/AutoCompleteMenuPropsDefaults.js +60 -0
  67. package/lib/components/autocomplete/menu/index.js.map +1 -0
  68. package/lib/components/autocomplete/utils/debounce.js.map +1 -0
  69. package/lib/components/autocomplete/utils/index.js.map +1 -0
  70. package/lib/components/autolayout/AutoLayout.native.js +1 -1
  71. package/lib/components/autolayout/AutoLayout.native.js.map +1 -1
  72. package/lib/components/autolayout/DefaultSpacingMatrix.js +31 -74
  73. package/lib/components/autolayout/DefaultSpacingMatrix.js.map +1 -1
  74. package/lib/components/badge/Badge.d.ts +4 -3
  75. package/lib/components/badge/Badge.js +9 -12
  76. package/lib/components/badge/Badge.js.map +1 -1
  77. package/lib/components/badge/Badge.native.d.ts +4 -3
  78. package/lib/components/badge/Badge.native.js +9 -11
  79. package/lib/components/badge/Badge.native.js.map +1 -1
  80. package/lib/components/badge/BadgeEnum.d.ts +0 -5
  81. package/lib/components/badge/BadgeEnum.js +0 -5
  82. package/lib/components/badge/BadgeEnum.js.map +1 -1
  83. package/lib/components/badge/BadgeProps.d.ts +3 -4
  84. package/lib/components/badge/BadgePropsDefaults.js +83 -0
  85. package/lib/components/badge/index.d.ts +1 -2
  86. package/lib/components/badge/index.js +1 -2
  87. package/lib/components/badge/index.js.map +1 -1
  88. package/lib/components/box/Box.d.ts +3 -3
  89. package/lib/components/box/Box.js +4 -4
  90. package/lib/components/box/Box.js.map +1 -1
  91. package/lib/components/box/Box.native.d.ts +3 -3
  92. package/lib/components/box/Box.native.js +13 -14
  93. package/lib/components/box/Box.native.js.map +1 -1
  94. package/lib/components/box/BoxProps.d.ts +1 -1
  95. package/lib/components/box/BoxPropsDefaults.js +216 -0
  96. package/lib/components/box/content/BoxContent.d.ts +2 -2
  97. package/lib/components/box/content/BoxContent.js +3 -3
  98. package/lib/components/box/content/BoxContent.js.map +1 -1
  99. package/lib/components/box/content/BoxContent.native.d.ts +2 -2
  100. package/lib/components/box/content/BoxContent.native.js +4 -6
  101. package/lib/components/box/content/BoxContent.native.js.map +1 -1
  102. package/lib/components/box/content/BoxContentPropsDefaults.js +102 -0
  103. package/lib/components/box/footer/BoxFooter.d.ts +2 -1
  104. package/lib/components/box/footer/BoxFooter.js +2 -1
  105. package/lib/components/box/footer/BoxFooter.js.map +1 -1
  106. package/lib/components/box/footer/BoxFooter.native.d.ts +1 -1
  107. package/lib/components/box/footer/BoxFooter.native.js +1 -1
  108. package/lib/components/box/footer/BoxFooterPropsDefaults.js +87 -0
  109. package/lib/components/box/header/BoxHeader.d.ts +3 -1
  110. package/lib/components/box/header/BoxHeader.js +3 -1
  111. package/lib/components/box/header/BoxHeader.js.map +1 -1
  112. package/lib/components/box/header/BoxHeader.native.d.ts +1 -1
  113. package/lib/components/box/header/BoxHeader.native.js +1 -1
  114. package/lib/components/box/header/BoxHeaderPropsDefaults.js +118 -0
  115. package/lib/components/box/index.d.ts +1 -2
  116. package/lib/components/box/index.js +1 -2
  117. package/lib/components/box/index.js.map +1 -1
  118. package/lib/components/box/item/BoxItem.d.ts +2 -1
  119. package/lib/components/box/item/BoxItem.js +2 -1
  120. package/lib/components/box/item/BoxItem.js.map +1 -1
  121. package/lib/components/box/item/BoxItem.native.d.ts +1 -1
  122. package/lib/components/box/item/BoxItem.native.js +1 -1
  123. package/lib/components/box/item/BoxItemPropsDefaults.js +35 -0
  124. package/lib/components/box/table-container/BoxTableContainer.d.ts +3 -1
  125. package/lib/components/box/table-container/BoxTableContainer.js +3 -1
  126. package/lib/components/box/table-container/BoxTableContainer.js.map +1 -1
  127. package/lib/components/box/table-container/BoxTableContainer.native.d.ts +1 -1
  128. package/lib/components/box/table-container/BoxTableContainer.native.js +1 -1
  129. package/lib/components/box/table-container/BoxTableContainerPropsDefaults.js +45 -0
  130. package/lib/components/breadcrumb/Breadcrumb.d.ts +3 -2
  131. package/lib/components/breadcrumb/Breadcrumb.js +5 -3
  132. package/lib/components/breadcrumb/Breadcrumb.js.map +1 -1
  133. package/lib/components/breadcrumb/BreadcrumbPropsDefaults.js +38 -0
  134. package/lib/components/breadcrumb/BreadcrumbWebPropsDefaults.js +45 -0
  135. package/lib/components/breadcrumb/index.d.ts +1 -2
  136. package/lib/components/breadcrumb/index.js +1 -2
  137. package/lib/components/breadcrumb/index.js.map +1 -1
  138. package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +1 -0
  139. package/lib/components/breadcrumb/item/BreadcrumbItem.js +1 -0
  140. package/lib/components/breadcrumb/item/BreadcrumbItem.js.map +1 -1
  141. package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +1 -0
  142. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +1 -0
  143. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js.map +1 -1
  144. package/lib/components/breadcrumb/item/BreadcrumbItemPropsDefaults.js +53 -0
  145. package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +253 -0
  146. package/lib/components/button/Button.d.ts +1 -1
  147. package/lib/components/button/Button.js +1 -1
  148. package/lib/components/button/Button.native.js +10 -10
  149. package/lib/components/button/Button.native.js.map +1 -1
  150. package/lib/components/button/ButtonPropsDefaults.js +380 -0
  151. package/lib/components/button/index.d.ts +1 -2
  152. package/lib/components/button/index.js +1 -2
  153. package/lib/components/button/index.js.map +1 -1
  154. package/lib/components/button/list/ButtonList.native.js +4 -4
  155. package/lib/components/button/list/ButtonList.native.js.map +1 -1
  156. package/lib/components/button/list/ButtonListPropsDefaults.js +19 -0
  157. package/lib/components/button/list/ButtonListWebPropsDefaults.js +50 -0
  158. package/lib/components/card/Card.d.ts +10 -3
  159. package/lib/components/card/Card.js +13 -7
  160. package/lib/components/card/Card.js.map +1 -1
  161. package/lib/components/card/Card.native.d.ts +2 -3
  162. package/lib/components/card/Card.native.js +7 -8
  163. package/lib/components/card/Card.native.js.map +1 -1
  164. package/lib/components/card/CardPropsDefaults.js +220 -0
  165. package/lib/components/card/content/CardContent.d.ts +1 -0
  166. package/lib/components/card/content/CardContent.js +1 -0
  167. package/lib/components/card/content/CardContent.js.map +1 -1
  168. package/lib/components/card/content/CardContent.native.d.ts +0 -1
  169. package/lib/components/card/content/CardContent.native.js +0 -1
  170. package/lib/components/card/content/CardContent.native.js.map +1 -1
  171. package/lib/components/card/content/CardContentProps.d.ts +0 -1
  172. package/lib/components/card/content/CardContentPropsDefaults.js +153 -0
  173. package/lib/components/card/image/CardImage.d.ts +2 -2
  174. package/lib/components/card/image/CardImage.js +2 -2
  175. package/lib/components/card/image/CardImage.native.d.ts +1 -1
  176. package/lib/components/card/image/CardImage.native.js +11 -8
  177. package/lib/components/card/image/CardImage.native.js.map +1 -1
  178. package/lib/components/card/image/CardImageProps.d.ts +0 -2
  179. package/lib/components/card/image/CardImagePropsDefaults.js +52 -0
  180. package/lib/components/card/index.d.ts +1 -2
  181. package/lib/components/card/index.js +1 -2
  182. package/lib/components/card/index.js.map +1 -1
  183. package/lib/components/checkbox/Checkbox.d.ts +3 -0
  184. package/lib/components/checkbox/Checkbox.js +3 -0
  185. package/lib/components/checkbox/Checkbox.js.map +1 -1
  186. package/lib/components/checkbox/Checkbox.native.d.ts +5 -0
  187. package/lib/components/checkbox/Checkbox.native.js +13 -8
  188. package/lib/components/checkbox/Checkbox.native.js.map +1 -1
  189. package/lib/components/checkbox/CheckboxChangeEventDefaults.js +21 -0
  190. package/lib/components/checkbox/CheckboxClickEventDefaults.js +21 -0
  191. package/lib/components/checkbox/CheckboxPropsDefaults.js +200 -0
  192. package/lib/components/checkbox/index.d.ts +1 -2
  193. package/lib/components/checkbox/index.js +1 -2
  194. package/lib/components/checkbox/index.js.map +1 -1
  195. package/lib/components/chips/Chips.d.ts +2 -2
  196. package/lib/components/chips/Chips.js +5 -6
  197. package/lib/components/chips/Chips.js.map +1 -1
  198. package/lib/components/chips/Chips.native.d.ts +1 -2
  199. package/lib/components/chips/Chips.native.js +6 -8
  200. package/lib/components/chips/Chips.native.js.map +1 -1
  201. package/lib/components/chips/ChipsProps.d.ts +0 -1
  202. package/lib/components/chips/ChipsPropsDefaults.js +75 -0
  203. package/lib/components/chips/index.d.ts +1 -2
  204. package/lib/components/chips/index.js +1 -2
  205. package/lib/components/chips/index.js.map +1 -1
  206. package/lib/components/chips/list/ChipsList.d.ts +2 -2
  207. package/lib/components/chips/list/ChipsList.js +4 -3
  208. package/lib/components/chips/list/ChipsList.js.map +1 -1
  209. package/lib/components/chips/list/ChipsListPropsDefaults.js +25 -0
  210. package/lib/components/columns/Columns.d.ts +5 -7
  211. package/lib/components/columns/Columns.js +9 -10
  212. package/lib/components/columns/Columns.js.map +1 -1
  213. package/lib/components/columns/Columns.native.d.ts +5 -5
  214. package/lib/components/columns/Columns.native.js +63 -49
  215. package/lib/components/columns/Columns.native.js.map +1 -1
  216. package/lib/components/columns/ColumnsProps.d.ts +6 -6
  217. package/lib/components/columns/ColumnsPropsDefaults.js +124 -0
  218. package/lib/components/columns/ColumnsTypes.d.ts +3 -0
  219. package/lib/components/columns/ColumnsTypes.js +1 -1
  220. package/lib/components/columns/ColumnsTypes.js.map +1 -1
  221. package/lib/components/columns/index.d.ts +1 -2
  222. package/lib/components/columns/index.js +1 -2
  223. package/lib/components/columns/index.js.map +1 -1
  224. package/lib/components/columns/item/ColumnsItem.d.ts +3 -3
  225. package/lib/components/columns/item/ColumnsItem.js +6 -5
  226. package/lib/components/columns/item/ColumnsItem.js.map +1 -1
  227. package/lib/components/columns/item/ColumnsItem.native.d.ts +4 -2
  228. package/lib/components/columns/item/ColumnsItem.native.js +12 -11
  229. package/lib/components/columns/item/ColumnsItem.native.js.map +1 -1
  230. package/lib/components/columns/item/ColumnsItemProps.d.ts +1 -1
  231. package/lib/components/columns/item/ColumnsItemPropsDefaults.js +323 -0
  232. package/lib/components/container/Container.d.ts +7 -2
  233. package/lib/components/container/Container.js +8 -3
  234. package/lib/components/container/Container.js.map +1 -1
  235. package/lib/components/container/Container.native.d.ts +4 -2
  236. package/lib/components/container/Container.native.js +10 -8
  237. package/lib/components/container/Container.native.js.map +1 -1
  238. package/lib/components/container/ContainerPropsDefaults.js +185 -0
  239. package/lib/components/container/index.d.ts +1 -2
  240. package/lib/components/container/index.js +1 -2
  241. package/lib/components/container/index.js.map +1 -1
  242. package/lib/components/countdown/Countdown.d.ts +4 -2
  243. package/lib/components/countdown/Countdown.js +5 -3
  244. package/lib/components/countdown/Countdown.js.map +1 -1
  245. package/lib/components/countdown/Countdown.native.d.ts +2 -1
  246. package/lib/components/countdown/Countdown.native.js +4 -3
  247. package/lib/components/countdown/Countdown.native.js.map +1 -1
  248. package/lib/components/countdown/CountdownProps.d.ts +1 -0
  249. package/lib/components/countdown/CountdownPropsDefaults.js +57 -0
  250. package/lib/components/countdown/index.d.ts +1 -2
  251. package/lib/components/countdown/index.js +1 -2
  252. package/lib/components/countdown/index.js.map +1 -1
  253. package/lib/components/divider/Divider.d.ts +1 -1
  254. package/lib/components/divider/Divider.js +1 -1
  255. package/lib/components/divider/Divider.native.d.ts +1 -1
  256. package/lib/components/divider/Divider.native.js +3 -3
  257. package/lib/components/divider/Divider.native.js.map +1 -1
  258. package/lib/components/divider/DividerPropsDefaults.js +210 -0
  259. package/lib/components/divider/index.d.ts +1 -2
  260. package/lib/components/divider/index.js +1 -2
  261. package/lib/components/divider/index.js.map +1 -1
  262. package/lib/components/enumsComponentsName.d.ts +2 -1
  263. package/lib/components/enumsComponentsName.js +2 -1
  264. package/lib/components/enumsComponentsName.js.map +1 -1
  265. package/lib/components/fab/Fab.d.ts +1 -0
  266. package/lib/components/fab/Fab.js +1 -0
  267. package/lib/components/fab/Fab.js.map +1 -1
  268. package/lib/components/fab/FabProps.d.ts +2 -2
  269. package/lib/components/fab/FabPropsDefaults.js +171 -0
  270. package/lib/components/fab/index.d.ts +1 -2
  271. package/lib/components/fab/index.js +1 -2
  272. package/lib/components/fab/index.js.map +1 -1
  273. package/lib/components/hero/Hero.d.ts +5 -1
  274. package/lib/components/hero/Hero.js +6 -2
  275. package/lib/components/hero/Hero.js.map +1 -1
  276. package/lib/components/hero/Hero.native.d.ts +2 -2
  277. package/lib/components/hero/Hero.native.js +8 -8
  278. package/lib/components/hero/Hero.native.js.map +1 -1
  279. package/lib/components/hero/HeroPropsDefaults.js +144 -0
  280. package/lib/components/hero/index.d.ts +1 -2
  281. package/lib/components/hero/index.js +1 -2
  282. package/lib/components/hero/index.js.map +1 -1
  283. package/lib/components/icon/Icon.d.ts +4 -2
  284. package/lib/components/icon/Icon.js +5 -3
  285. package/lib/components/icon/Icon.js.map +1 -1
  286. package/lib/components/icon/Icon.native.d.ts +1 -1
  287. package/lib/components/icon/Icon.native.js +2 -2
  288. package/lib/components/icon/Icon.native.js.map +1 -1
  289. package/lib/components/icon/IconPropsDefaults.js +307 -0
  290. package/lib/components/icon/circle/CircleIconPropsDefaults.js +168 -0
  291. package/lib/components/icon/index.d.ts +1 -2
  292. package/lib/components/icon/index.js +1 -2
  293. package/lib/components/icon/index.js.map +1 -1
  294. package/lib/components/icon/status/StatusIconPropsDefaults.js +126 -0
  295. package/lib/components/icon/text/TextIcon.d.ts +4 -2
  296. package/lib/components/icon/text/TextIcon.js +15 -17
  297. package/lib/components/icon/text/TextIcon.js.map +1 -1
  298. package/lib/components/icon/text/TextIconPropsDefaults.js +160 -0
  299. package/lib/components/image/ImagePropsDefaults.js +75 -0
  300. package/lib/components/image/index.d.ts +1 -2
  301. package/lib/components/image/index.js +1 -2
  302. package/lib/components/image/index.js.map +1 -1
  303. package/lib/components/index.d.ts +1 -0
  304. package/lib/components/index.js +1 -0
  305. package/lib/components/index.js.map +1 -1
  306. package/lib/components/input/ILengthVerifyDefaults.js +16 -0
  307. package/lib/components/input/IValidationRulesDefaults.js +41 -0
  308. package/lib/components/input/Input.d.ts +2 -72
  309. package/lib/components/input/Input.js +19 -34
  310. package/lib/components/input/Input.js.map +1 -1
  311. package/lib/components/input/Input.native.d.ts +4 -4
  312. package/lib/components/input/Input.native.js +49 -42
  313. package/lib/components/input/Input.native.js.map +1 -1
  314. package/lib/components/input/InputChangeEventNativeDefaults.js +17 -0
  315. package/lib/components/input/InputChangeEventWebDefaults.js +21 -0
  316. package/lib/components/input/InputClickEventDefaults.js +19 -0
  317. package/lib/components/input/InputKeyboardEventDefaults.js +27 -0
  318. package/lib/components/input/InputNativeEventsDefaults.js +37 -0
  319. package/lib/components/input/InputProps.d.ts +21 -12
  320. package/lib/components/input/InputPropsDefaults.js +654 -0
  321. package/lib/components/input/InputWebEventsDefaults.js +51 -0
  322. package/lib/components/input/gauge/InputGauge.native.js +1 -1
  323. package/lib/components/input/gauge/InputGauge.native.js.map +1 -1
  324. package/lib/components/input/gauge/hook/useGauge.js +1 -1
  325. package/lib/components/input/gauge/hook/useGauge.js.map +1 -1
  326. package/lib/components/input/index.d.ts +1 -2
  327. package/lib/components/input/index.js +1 -2
  328. package/lib/components/input/index.js.map +1 -1
  329. package/lib/components/link/Link.d.ts +2 -0
  330. package/lib/components/link/Link.js +4 -2
  331. package/lib/components/link/Link.js.map +1 -1
  332. package/lib/components/link/Link.native.d.ts +2 -1
  333. package/lib/components/link/Link.native.js +12 -10
  334. package/lib/components/link/Link.native.js.map +1 -1
  335. package/lib/components/link/LinkProps.d.ts +0 -1
  336. package/lib/components/link/LinkPropsDefaults.js +367 -0
  337. package/lib/components/link/index.d.ts +1 -2
  338. package/lib/components/link/index.js +1 -2
  339. package/lib/components/link/index.js.map +1 -1
  340. package/lib/components/list/List.d.ts +6 -4
  341. package/lib/components/list/List.js +8 -5
  342. package/lib/components/list/List.js.map +1 -1
  343. package/lib/components/list/List.native.d.ts +4 -0
  344. package/lib/components/list/List.native.js +4 -0
  345. package/lib/components/list/List.native.js.map +1 -1
  346. package/lib/components/list/ListPropsDefaults.js +53 -0
  347. package/lib/components/list/index.d.ts +1 -2
  348. package/lib/components/list/index.js +1 -2
  349. package/lib/components/list/index.js.map +1 -1
  350. package/lib/components/list/item/ListItem.d.ts +3 -1
  351. package/lib/components/list/item/ListItem.js +3 -1
  352. package/lib/components/list/item/ListItem.js.map +1 -1
  353. package/lib/components/list/item/ListItem.native.d.ts +11 -0
  354. package/lib/components/list/item/ListItem.native.js +12 -1
  355. package/lib/components/list/item/ListItem.native.js.map +1 -1
  356. package/lib/components/list/item/ListItemPropsDefaults.js +119 -0
  357. package/lib/components/list/item/description/ListItemDescription.d.ts +3 -2
  358. package/lib/components/list/item/description/ListItemDescription.js +3 -2
  359. package/lib/components/list/item/description/ListItemDescription.js.map +1 -1
  360. package/lib/components/list/item/description/ListItemDescription.native.d.ts +4 -0
  361. package/lib/components/list/item/description/ListItemDescription.native.js +4 -0
  362. package/lib/components/list/item/description/ListItemDescription.native.js.map +1 -1
  363. package/lib/components/list/item/description/ListItemDescriptionPropsDefaults.js +23 -0
  364. package/lib/components/modal/CloseButtonPropsDefaults.js +9 -0
  365. package/lib/components/modal/Modal.d.ts +6 -6
  366. package/lib/components/modal/Modal.js +19 -19
  367. package/lib/components/modal/Modal.js.map +1 -1
  368. package/lib/components/modal/ModalContentButtonPropsDefaults.js +16 -0
  369. package/lib/components/modal/ModalProps.d.ts +1 -5
  370. package/lib/components/modal/ModalPropsDefaults.js +325 -0
  371. package/lib/components/modal/footer/ModalFooter.d.ts +3 -2
  372. package/lib/components/modal/footer/ModalFooter.js +3 -2
  373. package/lib/components/modal/footer/ModalFooter.js.map +1 -1
  374. package/lib/components/modal/footer/ModalFooter.native.d.ts +4 -0
  375. package/lib/components/modal/footer/ModalFooter.native.js +4 -0
  376. package/lib/components/modal/footer/ModalFooter.native.js.map +1 -1
  377. package/lib/components/modal/footer/ModalFooterPropsDefaults.js +23 -0
  378. package/lib/components/modal/index.d.ts +1 -2
  379. package/lib/components/modal/index.js +1 -2
  380. package/lib/components/modal/index.js.map +1 -1
  381. package/lib/components/modal/title/ModalTitle.d.ts +2 -1
  382. package/lib/components/modal/title/ModalTitle.js +3 -2
  383. package/lib/components/modal/title/ModalTitle.js.map +1 -1
  384. package/lib/components/modal/title/ModalTitle.native.d.ts +6 -0
  385. package/lib/components/modal/title/ModalTitle.native.js +6 -0
  386. package/lib/components/modal/title/ModalTitle.native.js.map +1 -1
  387. package/lib/components/modal/title/ModalTitlePropsDefaults.js +92 -0
  388. package/lib/components/otp/Otp.d.ts +4 -1
  389. package/lib/components/otp/Otp.js +81 -87
  390. package/lib/components/otp/Otp.js.map +1 -1
  391. package/lib/components/otp/Otp.native.d.ts +2 -0
  392. package/lib/components/otp/Otp.native.js +3 -1
  393. package/lib/components/otp/Otp.native.js.map +1 -1
  394. package/lib/components/otp/OtpPropsDefaults.js +97 -0
  395. package/lib/components/otp/index.d.ts +1 -2
  396. package/lib/components/otp/index.js +1 -2
  397. package/lib/components/otp/index.js.map +1 -1
  398. package/lib/components/pagination/Pagination.d.ts +1 -0
  399. package/lib/components/pagination/Pagination.js +6 -6
  400. package/lib/components/pagination/Pagination.js.map +1 -1
  401. package/lib/components/pagination/PaginationPropsDefaults.js +63 -0
  402. package/lib/components/pagination/index.d.ts +1 -2
  403. package/lib/components/pagination/index.js +1 -2
  404. package/lib/components/pagination/index.js.map +1 -1
  405. package/lib/components/popover/Popover.d.ts +3 -1
  406. package/lib/components/popover/Popover.js +3 -1
  407. package/lib/components/popover/Popover.js.map +1 -1
  408. package/lib/components/popover/Popover.native.d.ts +0 -2
  409. package/lib/components/popover/Popover.native.js +0 -2
  410. package/lib/components/popover/Popover.native.js.map +1 -1
  411. package/lib/components/popover/PopoverPropsDefaults.js +60 -0
  412. package/lib/components/popover/PopoverWebPropsDefaults.js +89 -0
  413. package/lib/components/popover/index.d.ts +1 -2
  414. package/lib/components/popover/index.js +1 -2
  415. package/lib/components/popover/index.js.map +1 -1
  416. package/lib/components/price/Price.d.ts +4 -4
  417. package/lib/components/price/Price.js +29 -10
  418. package/lib/components/price/Price.js.map +1 -1
  419. package/lib/components/price/Price.native.d.ts +3 -3
  420. package/lib/components/price/Price.native.js +129 -88
  421. package/lib/components/price/Price.native.js.map +1 -1
  422. package/lib/components/price/PriceEnum.d.ts +8 -8
  423. package/lib/components/price/PriceEnum.js +7 -7
  424. package/lib/components/price/PriceEnum.js.map +1 -1
  425. package/lib/components/price/PriceProps.d.ts +7 -7
  426. package/lib/components/price/PricePropsDefaults.js +159 -0
  427. package/lib/components/price/index.d.ts +1 -2
  428. package/lib/components/price/index.js +1 -2
  429. package/lib/components/price/index.js.map +1 -1
  430. package/lib/components/product-tour/ProductTour.d.ts +3 -3
  431. package/lib/components/product-tour/ProductTour.js +3 -3
  432. package/lib/components/product-tour/ProductTourPropsDefaults.js +85 -0
  433. package/lib/components/product-tour/ProductTourWebPropsDefaults.js +92 -0
  434. package/lib/components/progress/Progress.d.ts +3 -3
  435. package/lib/components/progress/Progress.js +7 -6
  436. package/lib/components/progress/Progress.js.map +1 -1
  437. package/lib/components/progress/Progress.native.d.ts +2 -2
  438. package/lib/components/progress/Progress.native.js +6 -6
  439. package/lib/components/progress/Progress.native.js.map +1 -1
  440. package/lib/components/progress/ProgressProps.d.ts +2 -2
  441. package/lib/components/progress/ProgressPropsDefaults.js +95 -0
  442. package/lib/components/progress/index.d.ts +1 -2
  443. package/lib/components/progress/index.js +1 -2
  444. package/lib/components/progress/index.js.map +1 -1
  445. package/lib/components/progress/item/ProgressItem.d.ts +6 -6
  446. package/lib/components/progress/item/ProgressItem.js +10 -9
  447. package/lib/components/progress/item/ProgressItem.js.map +1 -1
  448. package/lib/components/progress/item/ProgressItem.native.d.ts +2 -3
  449. package/lib/components/progress/item/ProgressItem.native.js +2 -3
  450. package/lib/components/progress/item/ProgressItem.native.js.map +1 -1
  451. package/lib/components/progress/item/ProgressItemProps.d.ts +2 -2
  452. package/lib/components/progress/item/ProgressItemPropsDefaults.js +84 -0
  453. package/lib/components/progress/radial/ProgressRadial.d.ts +18 -0
  454. package/lib/components/progress/radial/ProgressRadial.js +20 -1
  455. package/lib/components/progress/radial/ProgressRadial.js.map +1 -1
  456. package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -3
  457. package/lib/components/progress/radial/ProgressRadial.native.js +10 -12
  458. package/lib/components/progress/radial/ProgressRadial.native.js.map +1 -1
  459. package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -3
  460. package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +165 -0
  461. package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +54 -0
  462. package/lib/components/radio/Radio.d.ts +7 -2
  463. package/lib/components/radio/Radio.js +7 -2
  464. package/lib/components/radio/Radio.js.map +1 -1
  465. package/lib/components/radio/Radio.native.d.ts +9 -7
  466. package/lib/components/radio/Radio.native.js +21 -18
  467. package/lib/components/radio/Radio.native.js.map +1 -1
  468. package/lib/components/radio/RadioPropsDefaults.js +216 -0
  469. package/lib/components/radio/index.d.ts +1 -2
  470. package/lib/components/radio/index.js +1 -2
  471. package/lib/components/radio/index.js.map +1 -1
  472. package/lib/components/radio/list/RadioList.js.map +1 -1
  473. package/lib/components/radio/list/RadioList.native.js +4 -4
  474. package/lib/components/radio/list/RadioList.native.js.map +1 -1
  475. package/lib/components/radio/list/RadioListPropsDefaults.js +19 -0
  476. package/lib/components/radio/list/RadioListWebPropsDefaults.js +50 -0
  477. package/lib/components/range/Range.d.ts +6 -3
  478. package/lib/components/range/Range.js +7 -4
  479. package/lib/components/range/Range.js.map +1 -1
  480. package/lib/components/range/Range.native.d.ts +3 -0
  481. package/lib/components/range/Range.native.js +3 -0
  482. package/lib/components/range/Range.native.js.map +1 -1
  483. package/lib/components/range/RangePropsDefaults.js +123 -0
  484. package/lib/components/range/index.d.ts +1 -2
  485. package/lib/components/range/index.js +1 -2
  486. package/lib/components/range/index.js.map +1 -1
  487. package/lib/components/rows/Rows.d.ts +3 -2
  488. package/lib/components/rows/Rows.js +6 -3
  489. package/lib/components/rows/Rows.js.map +1 -1
  490. package/lib/components/rows/Rows.native.d.ts +6 -2
  491. package/lib/components/rows/Rows.native.js +5 -2
  492. package/lib/components/rows/Rows.native.js.map +1 -1
  493. package/lib/components/rows/RowsProps.d.ts +1 -0
  494. package/lib/components/rows/RowsPropsDefaults.js +31 -0
  495. package/lib/components/rows/index.d.ts +1 -2
  496. package/lib/components/rows/index.js +1 -2
  497. package/lib/components/rows/index.js.map +1 -1
  498. package/lib/components/rows/item/RowItem.d.ts +2 -2
  499. package/lib/components/rows/item/RowItem.js +4 -3
  500. package/lib/components/rows/item/RowItem.js.map +1 -1
  501. package/lib/components/rows/item/RowItem.native.js +3 -1
  502. package/lib/components/rows/item/RowItem.native.js.map +1 -1
  503. package/lib/components/rows/item/RowsItemPropsDefaults.js +31 -0
  504. package/lib/components/scroll-view/ScrollView.d.ts +3 -1
  505. package/lib/components/scroll-view/ScrollView.js +3 -1
  506. package/lib/components/scroll-view/ScrollView.js.map +1 -1
  507. package/lib/components/scroll-view/ScrollViewPropsDefaults.js +127 -0
  508. package/lib/components/section/Section.d.ts +10 -5
  509. package/lib/components/section/Section.js +14 -8
  510. package/lib/components/section/Section.js.map +1 -1
  511. package/lib/components/section/Section.native.d.ts +6 -6
  512. package/lib/components/section/Section.native.js +8 -8
  513. package/lib/components/section/Section.native.js.map +1 -1
  514. package/lib/components/section/SectionProps.d.ts +2 -2
  515. package/lib/components/section/SectionPropsDefaults.js +118 -0
  516. package/lib/components/section/index.d.ts +1 -2
  517. package/lib/components/section/index.js +1 -2
  518. package/lib/components/section/index.js.map +1 -1
  519. package/lib/components/segment-control/SegmentControl.d.ts +4 -1
  520. package/lib/components/segment-control/SegmentControl.js +4 -1
  521. package/lib/components/segment-control/SegmentControl.js.map +1 -1
  522. package/lib/components/segment-control/SegmentControl.native.d.ts +4 -4
  523. package/lib/components/segment-control/SegmentControl.native.js +5 -5
  524. package/lib/components/segment-control/SegmentControl.native.js.map +1 -1
  525. package/lib/components/segment-control/SegmentControlProps.d.ts +1 -4
  526. package/lib/components/segment-control/SegmentControlPropsDefaults.js +61 -0
  527. package/lib/components/segment-control/index.d.ts +1 -2
  528. package/lib/components/segment-control/index.js +1 -2
  529. package/lib/components/segment-control/index.js.map +1 -1
  530. package/lib/components/segment-control/item/SegmentControlItem.d.ts +2 -0
  531. package/lib/components/segment-control/item/SegmentControlItem.js +2 -0
  532. package/lib/components/segment-control/item/SegmentControlItem.js.map +1 -1
  533. package/lib/components/segment-control/item/SegmentControlItem.native.js +2 -2
  534. package/lib/components/segment-control/item/SegmentControlItem.native.js.map +1 -1
  535. package/lib/components/segment-control/item/SegmentControlItemPropsDefaults.js +55 -0
  536. package/lib/components/select/ISelectOptionDefaults.js +23 -0
  537. package/lib/components/select/Select.d.ts +3 -3
  538. package/lib/components/select/Select.js +3 -3
  539. package/lib/components/select/Select.native.d.ts +4 -1
  540. package/lib/components/select/Select.native.js +4 -1
  541. package/lib/components/select/Select.native.js.map +1 -1
  542. package/lib/components/select/SelectChangeEventDefaults.js +37 -0
  543. package/lib/components/select/SelectPropsDefaults.js +187 -0
  544. package/lib/components/select/index.d.ts +1 -2
  545. package/lib/components/select/index.js +1 -2
  546. package/lib/components/select/index.js.map +1 -1
  547. package/lib/components/select/option/SelectOption.d.ts +2 -2
  548. package/lib/components/select/option/SelectOption.js +4 -3
  549. package/lib/components/select/option/SelectOption.js.map +1 -1
  550. package/lib/components/select/option/SelectOption.native.js +18 -14
  551. package/lib/components/select/option/SelectOption.native.js.map +1 -1
  552. package/lib/components/select/option/SelectOptionPropsDefaults.js +134 -0
  553. package/lib/components/select/web/SelectDynamic.js +3 -2
  554. package/lib/components/select/web/SelectDynamic.js.map +1 -1
  555. package/lib/components/selector/Selector.d.ts +7 -0
  556. package/lib/components/selector/Selector.js +7 -0
  557. package/lib/components/selector/Selector.js.map +1 -1
  558. package/lib/components/selector/Selector.native.d.ts +7 -3
  559. package/lib/components/selector/Selector.native.js +7 -3
  560. package/lib/components/selector/Selector.native.js.map +1 -1
  561. package/lib/components/selector/SelectorEndDefaults.js +10 -0
  562. package/lib/components/selector/SelectorPropsDefaults.js +128 -0
  563. package/lib/components/selector/item/SelectorItem.d.ts +6 -1
  564. package/lib/components/selector/item/SelectorItem.js +6 -1
  565. package/lib/components/selector/item/SelectorItem.js.map +1 -1
  566. package/lib/components/selector/item/SelectorItem.native.d.ts +4 -0
  567. package/lib/components/selector/item/SelectorItem.native.js +5 -1
  568. package/lib/components/selector/item/SelectorItem.native.js.map +1 -1
  569. package/lib/components/selector/item/SelectorItemPropsDefaults.js +84 -0
  570. package/lib/components/spacer/Spacer.d.ts +1 -1
  571. package/lib/components/spacer/Spacer.js +1 -1
  572. package/lib/components/spacer/Spacer.native.d.ts +1 -2
  573. package/lib/components/spacer/Spacer.native.js +1 -2
  574. package/lib/components/spacer/Spacer.native.js.map +1 -1
  575. package/lib/components/spacer/SpacerEnum.d.ts +12 -7
  576. package/lib/components/spacer/SpacerEnum.js +12 -7
  577. package/lib/components/spacer/SpacerEnum.js.map +1 -1
  578. package/lib/components/spacer/SpacerProps.d.ts +2 -2
  579. package/lib/components/spacer/SpacerPropsDefaults.js +27 -0
  580. package/lib/components/stepper/Stepper.d.ts +4 -3
  581. package/lib/components/stepper/Stepper.js +9 -6
  582. package/lib/components/stepper/Stepper.js.map +1 -1
  583. package/lib/components/stepper/Stepper.native.js +1 -2
  584. package/lib/components/stepper/Stepper.native.js.map +1 -1
  585. package/lib/components/stepper/StepperPropsDefaults.js +31 -0
  586. package/lib/components/stepper/index.d.ts +1 -2
  587. package/lib/components/stepper/index.js +1 -2
  588. package/lib/components/stepper/index.js.map +1 -1
  589. package/lib/components/stepper/step/StepperStep.d.ts +8 -5
  590. package/lib/components/stepper/step/StepperStep.js +10 -6
  591. package/lib/components/stepper/step/StepperStep.js.map +1 -1
  592. package/lib/components/stepper/step/StepperStep.native.d.ts +2 -3
  593. package/lib/components/stepper/step/StepperStep.native.js +3 -4
  594. package/lib/components/stepper/step/StepperStep.native.js.map +1 -1
  595. package/lib/components/stepper/step/StepperStepPropsDefaults.js +136 -0
  596. package/lib/components/sticker/Sticker.d.ts +3 -2
  597. package/lib/components/sticker/Sticker.js +4 -3
  598. package/lib/components/sticker/Sticker.js.map +1 -1
  599. package/lib/components/sticker/Sticker.native.d.ts +3 -3
  600. package/lib/components/sticker/Sticker.native.js +3 -3
  601. package/lib/components/sticker/StickerPropsDefaults.js +71 -0
  602. package/lib/components/sticker/index.d.ts +1 -2
  603. package/lib/components/sticker/index.js +1 -2
  604. package/lib/components/sticker/index.js.map +1 -1
  605. package/lib/components/styleComponent/default/index.d.ts +1 -0
  606. package/lib/components/styleComponent/default/index.js +2 -0
  607. package/lib/components/styleComponent/default/index.js.map +1 -0
  608. package/lib/components/styleComponent/default/styleComponent.d.ts +6 -0
  609. package/lib/components/styleComponent/default/styleComponent.js +7 -0
  610. package/lib/components/styleComponent/default/styleComponent.js.map +1 -0
  611. package/lib/components/styleComponent/default/styleComponent.native.d.ts +5 -0
  612. package/lib/components/styleComponent/default/styleComponent.native.js +6 -0
  613. package/lib/components/styleComponent/default/styleComponent.native.js.map +1 -0
  614. package/lib/components/styleComponent/index.d.ts +2 -0
  615. package/lib/components/styleComponent/index.js +3 -0
  616. package/lib/components/styleComponent/index.js.map +1 -0
  617. package/lib/components/styleComponent/mangled/index.d.ts +1 -0
  618. package/lib/components/styleComponent/mangled/index.js +2 -0
  619. package/lib/components/styleComponent/mangled/index.js.map +1 -0
  620. package/lib/components/styleComponent/mangled/styleComponentMangled.d.ts +6 -0
  621. package/lib/components/styleComponent/mangled/styleComponentMangled.js +7 -0
  622. package/lib/components/styleComponent/mangled/styleComponentMangled.js.map +1 -0
  623. package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.ts +5 -0
  624. package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +6 -0
  625. package/lib/components/styleComponent/mangled/styleComponentMangled.native.js.map +1 -0
  626. package/lib/components/switch/Switch.d.ts +5 -5
  627. package/lib/components/switch/Switch.js +7 -7
  628. package/lib/components/switch/Switch.js.map +1 -1
  629. package/lib/components/switch/Switch.native.d.ts +3 -3
  630. package/lib/components/switch/Switch.native.js +7 -8
  631. package/lib/components/switch/Switch.native.js.map +1 -1
  632. package/lib/components/switch/SwitchChangeEventDefaults.js +13 -0
  633. package/lib/components/switch/SwitchProps.d.ts +2 -2
  634. package/lib/components/switch/SwitchPropsDefaults.js +105 -0
  635. package/lib/components/switch/index.d.ts +1 -2
  636. package/lib/components/switch/index.js +1 -2
  637. package/lib/components/switch/index.js.map +1 -1
  638. package/lib/components/table/Table.native.js +1 -1
  639. package/lib/components/table/Table.native.js.map +1 -1
  640. package/lib/components/table/TablePropsDefaults.js +63 -0
  641. package/lib/components/table/body/TableBodyPropsDefaults.js +107 -0
  642. package/lib/components/table/head/TableHeadPropsDefaults.js +107 -0
  643. package/lib/components/table/index.d.ts +1 -2
  644. package/lib/components/table/index.js +1 -2
  645. package/lib/components/table/index.js.map +1 -1
  646. package/lib/components/table/td/TableTd.native.js +2 -2
  647. package/lib/components/table/td/TableTd.native.js.map +1 -1
  648. package/lib/components/table/td/TableTdPropsDefaults.js +44 -0
  649. package/lib/components/table/th/TableTh.native.js +2 -2
  650. package/lib/components/table/th/TableTh.native.js.map +1 -1
  651. package/lib/components/table/th/TableThPropsDefaults.js +44 -0
  652. package/lib/components/table/tr/TableTr.native.js +1 -1
  653. package/lib/components/table/tr/TableTr.native.js.map +1 -1
  654. package/lib/components/table/tr/TableTrPropsWebDefaults.js +102 -0
  655. package/lib/components/tabs/Tabs.d.ts +7 -5
  656. package/lib/components/tabs/Tabs.js +10 -7
  657. package/lib/components/tabs/Tabs.js.map +1 -1
  658. package/lib/components/tabs/Tabs.native.d.ts +2 -1
  659. package/lib/components/tabs/Tabs.native.js +2 -1
  660. package/lib/components/tabs/Tabs.native.js.map +1 -1
  661. package/lib/components/tabs/TabsProps.d.ts +0 -4
  662. package/lib/components/tabs/TabsPropsDefaults.js +144 -0
  663. package/lib/components/tabs/index.d.ts +1 -2
  664. package/lib/components/tabs/index.js +1 -2
  665. package/lib/components/tabs/index.js.map +1 -1
  666. package/lib/components/tabs/item/TabsItem.d.ts +6 -5
  667. package/lib/components/tabs/item/TabsItem.js +9 -7
  668. package/lib/components/tabs/item/TabsItem.js.map +1 -1
  669. package/lib/components/tabs/item/TabsItem.native.d.ts +1 -0
  670. package/lib/components/tabs/item/TabsItem.native.js +2 -1
  671. package/lib/components/tabs/item/TabsItem.native.js.map +1 -1
  672. package/lib/components/tabs/item/TabsItemPropsDefaults.js +336 -0
  673. package/lib/components/tag/Tag.d.ts +6 -4
  674. package/lib/components/tag/Tag.js +15 -32
  675. package/lib/components/tag/Tag.js.map +1 -1
  676. package/lib/components/tag/Tag.native.d.ts +8 -10
  677. package/lib/components/tag/Tag.native.js +27 -57
  678. package/lib/components/tag/Tag.native.js.map +1 -1
  679. package/lib/components/tag/TagClickEventDefaults.js +1 -0
  680. package/lib/components/tag/TagProps.d.ts +0 -4
  681. package/lib/components/tag/TagPropsDefaults.js +104 -0
  682. package/lib/components/tag/index.d.ts +1 -2
  683. package/lib/components/tag/index.js +1 -2
  684. package/lib/components/tag/index.js.map +1 -1
  685. package/lib/components/tag/list/TagList.d.ts +3 -3
  686. package/lib/components/tag/list/TagList.js +5 -4
  687. package/lib/components/tag/list/TagList.js.map +1 -1
  688. package/lib/components/tag/list/TagListPropsDefaults.js +47 -0
  689. package/lib/components/text/Text.native.js +9 -8
  690. package/lib/components/text/Text.native.js.map +1 -1
  691. package/lib/components/text/TextEnum.d.ts +5 -5
  692. package/lib/components/text/TextEnum.js +4 -4
  693. package/lib/components/text/TextEnum.js.map +1 -1
  694. package/lib/components/text/TextPropsDefaults.js +192 -0
  695. package/lib/components/text/index.d.ts +1 -2
  696. package/lib/components/text/index.js +1 -2
  697. package/lib/components/text/index.js.map +1 -1
  698. package/lib/components/textarea/Textarea.d.ts +12 -4
  699. package/lib/components/textarea/Textarea.js +20 -7
  700. package/lib/components/textarea/Textarea.js.map +1 -1
  701. package/lib/components/textarea/Textarea.native.d.ts +2 -2
  702. package/lib/components/textarea/Textarea.native.js +67 -51
  703. package/lib/components/textarea/Textarea.native.js.map +1 -1
  704. package/lib/components/textarea/TextareaChangeEventDefaults.js +10 -0
  705. package/lib/components/textarea/TextareaProps.d.ts +2 -4
  706. package/lib/components/textarea/index.d.ts +1 -2
  707. package/lib/components/textarea/index.js +1 -2
  708. package/lib/components/textarea/index.js.map +1 -1
  709. package/lib/components/timeline/Timeline.d.ts +2 -2
  710. package/lib/components/timeline/Timeline.js +4 -4
  711. package/lib/components/timeline/Timeline.js.map +1 -1
  712. package/lib/components/timeline/TimelinePropsDefaults.js +39 -0
  713. package/lib/components/timeline/content/TimelineContent.d.ts +2 -1
  714. package/lib/components/timeline/content/TimelineContent.js +3 -2
  715. package/lib/components/timeline/content/TimelineContent.js.map +1 -1
  716. package/lib/components/timeline/content/TimelineContent.native.d.ts +3 -3
  717. package/lib/components/timeline/content/TimelineContent.native.js +3 -3
  718. package/lib/components/timeline/content/TimelineContentPropsDefaults.js +51 -0
  719. package/lib/components/timeline/content/TimelineContentWebPropsDefaults.js +58 -0
  720. package/lib/components/timeline/index.d.ts +1 -2
  721. package/lib/components/timeline/index.js +1 -2
  722. package/lib/components/timeline/index.js.map +1 -1
  723. package/lib/components/timeline/item/TimelineItem.d.ts +4 -3
  724. package/lib/components/timeline/item/TimelineItem.js +6 -4
  725. package/lib/components/timeline/item/TimelineItem.js.map +1 -1
  726. package/lib/components/timeline/item/TimelineItem.native.d.ts +8 -4
  727. package/lib/components/timeline/item/TimelineItem.native.js +7 -3
  728. package/lib/components/timeline/item/TimelineItem.native.js.map +1 -1
  729. package/lib/components/timeline/item/TimelineItemPropsDefaults.js +48 -0
  730. package/lib/components/timeline/item/TimelineItemWebPropsDefaults.js +55 -0
  731. package/lib/components/timeline/marker/TimelineMarker.d.ts +4 -3
  732. package/lib/components/timeline/marker/TimelineMarker.js +4 -3
  733. package/lib/components/timeline/marker/TimelineMarker.js.map +1 -1
  734. package/lib/components/timeline/marker/TimelineMarker.native.d.ts +3 -1
  735. package/lib/components/timeline/marker/TimelineMarker.native.js +10 -8
  736. package/lib/components/timeline/marker/TimelineMarker.native.js.map +1 -1
  737. package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +113 -0
  738. package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +127 -0
  739. package/lib/components/title/Title.d.ts +4 -2
  740. package/lib/components/title/Title.js +6 -4
  741. package/lib/components/title/Title.js.map +1 -1
  742. package/lib/components/title/Title.native.d.ts +7 -5
  743. package/lib/components/title/Title.native.js +17 -14
  744. package/lib/components/title/Title.native.js.map +1 -1
  745. package/lib/components/title/TitleEnum.d.ts +7 -7
  746. package/lib/components/title/TitleEnum.js +6 -6
  747. package/lib/components/title/TitleEnum.js.map +1 -1
  748. package/lib/components/title/TitlePropsDefaults.js +165 -0
  749. package/lib/components/title/index.d.ts +1 -2
  750. package/lib/components/title/index.js +1 -2
  751. package/lib/components/title/index.js.map +1 -1
  752. package/lib/components/view/View.d.ts +3 -2
  753. package/lib/components/view/View.js +4 -3
  754. package/lib/components/view/View.js.map +1 -1
  755. package/lib/components/view/View.native.d.ts +7 -8
  756. package/lib/components/view/View.native.js +8 -9
  757. package/lib/components/view/View.native.js.map +1 -1
  758. package/lib/components/view/ViewProps.d.ts +2 -1
  759. package/lib/components/view/ViewProps.js +1 -0
  760. package/lib/components/view/ViewProps.js.map +1 -1
  761. package/lib/components/view/ViewPropsDefaults.js +223 -0
  762. package/lib/context/index.d.ts +3 -1
  763. package/lib/context/index.js +2 -2
  764. package/lib/context/index.js.map +1 -1
  765. package/lib/context/provider.native.d.ts +4 -1
  766. package/lib/context/provider.native.js +2 -2
  767. package/lib/context/provider.native.js.map +1 -1
  768. package/lib/context/providerStyled.d.ts +6 -4
  769. package/lib/context/providerStyled.js +23 -20
  770. package/lib/context/providerStyled.js.map +1 -1
  771. package/lib/context/providerStyled.native.d.ts +4 -1
  772. package/lib/context/providerStyled.native.js +2 -2
  773. package/lib/context/providerStyled.native.js.map +1 -1
  774. package/lib/context/providerTheme.d.ts +5 -3
  775. package/lib/context/providerTheme.js +4 -5
  776. package/lib/context/providerTheme.js.map +1 -1
  777. package/lib/hash.json +1 -1
  778. package/lib/helpers/hashClassesHelpers.js +3 -2
  779. package/lib/helpers/hashClassesHelpers.js.map +1 -1
  780. package/lib/objects/Typography/TypographyColor.d.ts +0 -1
  781. package/lib/objects/Typography/TypographyColor.js +18 -23
  782. package/lib/objects/Typography/TypographyColor.js.map +1 -1
  783. package/lib/objects/atoms/Background.d.ts +2 -17
  784. package/lib/objects/atoms/Background.js +1 -14
  785. package/lib/objects/atoms/Background.js.map +1 -1
  786. package/lib/objects/atoms/Text.js +1 -3
  787. package/lib/objects/atoms/Text.js.map +1 -1
  788. package/lib/objects/facets/Color.d.ts +10 -5
  789. package/lib/objects/facets/Color.js +56 -53
  790. package/lib/objects/facets/Color.js.map +1 -1
  791. package/lib/objects/facets/Justifiable.d.ts +1 -1
  792. package/lib/objects/facets/Status.d.ts +29 -2
  793. package/lib/objects/facets/Status.js +14 -14
  794. package/lib/objects/facets/Status.js.map +1 -1
  795. package/lib/objects/facets/Variant.js +1 -1
  796. package/lib/objects/facets/Variant.js.map +1 -1
  797. package/lib/objects/facets/index.d.ts +1 -1
  798. package/lib/objects/facets/index.js +1 -1
  799. package/lib/objects/facets/index.js.map +1 -1
  800. package/lib/version.d.ts +1 -1
  801. package/lib/version.js +1 -1
  802. package/package.json +1 -1
  803. package/lib/components/accordion/Accordion.example.d.ts +0 -3
  804. package/lib/components/accordion/Accordion.example.js +0 -19
  805. package/lib/components/accordion/Accordion.example.js.map +0 -1
  806. package/lib/components/alert/Alert.example.d.ts +0 -3
  807. package/lib/components/alert/Alert.example.js +0 -14
  808. package/lib/components/alert/Alert.example.js.map +0 -1
  809. package/lib/components/badge/Badge.example.d.ts +0 -3
  810. package/lib/components/badge/Badge.example.js +0 -5
  811. package/lib/components/badge/Badge.example.js.map +0 -1
  812. package/lib/components/box/Box.example.d.ts +0 -3
  813. package/lib/components/box/Box.example.js +0 -31
  814. package/lib/components/box/Box.example.js.map +0 -1
  815. package/lib/components/breadcrumb/Breadcrumb.example.d.ts +0 -3
  816. package/lib/components/breadcrumb/Breadcrumb.example.js +0 -9
  817. package/lib/components/breadcrumb/Breadcrumb.example.js.map +0 -1
  818. package/lib/components/button/Button.example.d.ts +0 -3
  819. package/lib/components/button/Button.example.js +0 -10
  820. package/lib/components/button/Button.example.js.map +0 -1
  821. package/lib/components/card/Card.example.d.ts +0 -3
  822. package/lib/components/card/Card.example.js +0 -25
  823. package/lib/components/card/Card.example.js.map +0 -1
  824. package/lib/components/checkbox/Checkbox.example.d.ts +0 -3
  825. package/lib/components/checkbox/Checkbox.example.js +0 -18
  826. package/lib/components/checkbox/Checkbox.example.js.map +0 -1
  827. package/lib/components/chips/Chips.example.d.ts +0 -3
  828. package/lib/components/chips/Chips.example.js +0 -13
  829. package/lib/components/chips/Chips.example.js.map +0 -1
  830. package/lib/components/columns/Columns.example.d.ts +0 -3
  831. package/lib/components/columns/Columns.example.js +0 -16
  832. package/lib/components/columns/Columns.example.js.map +0 -1
  833. package/lib/components/container/Container.example.d.ts +0 -3
  834. package/lib/components/container/Container.example.js +0 -9
  835. package/lib/components/container/Container.example.js.map +0 -1
  836. package/lib/components/countdown/Countdown.example.d.ts +0 -3
  837. package/lib/components/countdown/Countdown.example.js +0 -10
  838. package/lib/components/countdown/Countdown.example.js.map +0 -1
  839. package/lib/components/divider/Divider.example.d.ts +0 -3
  840. package/lib/components/divider/Divider.example.js +0 -5
  841. package/lib/components/divider/Divider.example.js.map +0 -1
  842. package/lib/components/fab/Fab.example.d.ts +0 -3
  843. package/lib/components/fab/Fab.example.js +0 -10
  844. package/lib/components/fab/Fab.example.js.map +0 -1
  845. package/lib/components/hero/Hero.example.d.ts +0 -3
  846. package/lib/components/hero/Hero.example.js +0 -21
  847. package/lib/components/hero/Hero.example.js.map +0 -1
  848. package/lib/components/icon/Icon.example.d.ts +0 -3
  849. package/lib/components/icon/Icon.example.js +0 -12
  850. package/lib/components/icon/Icon.example.js.map +0 -1
  851. package/lib/components/image/Image.example.d.ts +0 -3
  852. package/lib/components/image/Image.example.js +0 -5
  853. package/lib/components/image/Image.example.js.map +0 -1
  854. package/lib/components/input/Input.example.d.ts +0 -3
  855. package/lib/components/input/Input.example.js +0 -5
  856. package/lib/components/input/Input.example.js.map +0 -1
  857. package/lib/components/input/autocomplete/AutoComplete.d.ts +0 -24
  858. package/lib/components/input/autocomplete/AutoComplete.js.map +0 -1
  859. package/lib/components/input/autocomplete/AutoComplete.native.d.ts +0 -4
  860. package/lib/components/input/autocomplete/AutoComplete.native.js.map +0 -1
  861. package/lib/components/input/autocomplete/AutoCompleteProps.d.ts +0 -29
  862. package/lib/components/input/autocomplete/AutoCompleteProps.js.map +0 -1
  863. package/lib/components/input/autocomplete/Autocomplete.helpers.js.map +0 -1
  864. package/lib/components/input/autocomplete/index.js.map +0 -1
  865. package/lib/components/input/autocomplete/item/AutoCompleteIem.native.js.map +0 -1
  866. package/lib/components/input/autocomplete/item/AutoCompleteItem.js.map +0 -1
  867. package/lib/components/input/autocomplete/item/AutoCompleteItemProps.js.map +0 -1
  868. package/lib/components/input/autocomplete/item/index.js.map +0 -1
  869. package/lib/components/input/autocomplete/menu/AutoCompleteMenu.js.map +0 -1
  870. package/lib/components/input/autocomplete/menu/AutoCompleteMenu.native.js.map +0 -1
  871. package/lib/components/input/autocomplete/menu/AutoCompleteMenuProps.js.map +0 -1
  872. package/lib/components/input/autocomplete/menu/index.js.map +0 -1
  873. package/lib/components/input/autocomplete/utils/debounce.js.map +0 -1
  874. package/lib/components/input/autocomplete/utils/index.js.map +0 -1
  875. package/lib/components/link/Link.example.d.ts +0 -3
  876. package/lib/components/link/Link.example.js +0 -15
  877. package/lib/components/link/Link.example.js.map +0 -1
  878. package/lib/components/list/List.example.d.ts +0 -3
  879. package/lib/components/list/List.example.js +0 -17
  880. package/lib/components/list/List.example.js.map +0 -1
  881. package/lib/components/modal/Modal.example.d.ts +0 -3
  882. package/lib/components/modal/Modal.example.js +0 -5
  883. package/lib/components/modal/Modal.example.js.map +0 -1
  884. package/lib/components/otp/Otp.example.d.ts +0 -3
  885. package/lib/components/otp/Otp.example.js +0 -13
  886. package/lib/components/otp/Otp.example.js.map +0 -1
  887. package/lib/components/pagination/Pagination.example.d.ts +0 -3
  888. package/lib/components/pagination/Pagination.example.js +0 -5
  889. package/lib/components/pagination/Pagination.example.js.map +0 -1
  890. package/lib/components/popover/Popover.example.d.ts +0 -3
  891. package/lib/components/popover/Popover.example.js +0 -7
  892. package/lib/components/popover/Popover.example.js.map +0 -1
  893. package/lib/components/price/Price.example.d.ts +0 -3
  894. package/lib/components/price/Price.example.js +0 -12
  895. package/lib/components/price/Price.example.js.map +0 -1
  896. package/lib/components/progress/Progress.example.d.ts +0 -3
  897. package/lib/components/progress/Progress.example.js +0 -7
  898. package/lib/components/progress/Progress.example.js.map +0 -1
  899. package/lib/components/radio/Radio.example.d.ts +0 -3
  900. package/lib/components/radio/Radio.example.js +0 -18
  901. package/lib/components/radio/Radio.example.js.map +0 -1
  902. package/lib/components/range/Range.example.d.ts +0 -3
  903. package/lib/components/range/Range.example.js +0 -5
  904. package/lib/components/range/Range.example.js.map +0 -1
  905. package/lib/components/rows/Rows.example.d.ts +0 -3
  906. package/lib/components/rows/Rows.example.js +0 -16
  907. package/lib/components/rows/Rows.example.js.map +0 -1
  908. package/lib/components/section/Section.example.d.ts +0 -3
  909. package/lib/components/section/Section.example.js +0 -16
  910. package/lib/components/section/Section.example.js.map +0 -1
  911. package/lib/components/segment-control/SegmentControl.example.d.ts +0 -3
  912. package/lib/components/segment-control/SegmentControl.example.js +0 -9
  913. package/lib/components/segment-control/SegmentControl.example.js.map +0 -1
  914. package/lib/components/select/Select.example.d.ts +0 -3
  915. package/lib/components/select/Select.example.js +0 -8
  916. package/lib/components/select/Select.example.js.map +0 -1
  917. package/lib/components/stepper/Stepper.example.d.ts +0 -3
  918. package/lib/components/stepper/Stepper.example.js +0 -10
  919. package/lib/components/stepper/Stepper.example.js.map +0 -1
  920. package/lib/components/sticker/Sticker.example.d.ts +0 -3
  921. package/lib/components/sticker/Sticker.example.js +0 -10
  922. package/lib/components/sticker/Sticker.example.js.map +0 -1
  923. package/lib/components/switch/Switch.example.d.ts +0 -3
  924. package/lib/components/switch/Switch.example.js +0 -12
  925. package/lib/components/switch/Switch.example.js.map +0 -1
  926. package/lib/components/table/Table.example.d.ts +0 -3
  927. package/lib/components/table/Table.example.js +0 -19
  928. package/lib/components/table/Table.example.js.map +0 -1
  929. package/lib/components/tabs/Tabs.example.d.ts +0 -3
  930. package/lib/components/tabs/Tabs.example.js +0 -16
  931. package/lib/components/tabs/Tabs.example.js.map +0 -1
  932. package/lib/components/tag/Tag.example.d.ts +0 -3
  933. package/lib/components/tag/Tag.example.js +0 -13
  934. package/lib/components/tag/Tag.example.js.map +0 -1
  935. package/lib/components/text/Text.example.d.ts +0 -3
  936. package/lib/components/text/Text.example.js +0 -5
  937. package/lib/components/text/Text.example.js.map +0 -1
  938. package/lib/components/textarea/Textarea.example.d.ts +0 -3
  939. package/lib/components/textarea/Textarea.example.js +0 -12
  940. package/lib/components/textarea/Textarea.example.js.map +0 -1
  941. package/lib/components/timeline/Timeline.example.d.ts +0 -3
  942. package/lib/components/timeline/Timeline.example.js +0 -34
  943. package/lib/components/timeline/Timeline.example.js.map +0 -1
  944. package/lib/components/title/Title.example.d.ts +0 -3
  945. package/lib/components/title/Title.example.js +0 -10
  946. package/lib/components/title/Title.example.js.map +0 -1
  947. package/lib/components/toaster/Toaster.d.ts +0 -11
  948. package/lib/components/toaster/Toaster.js +0 -93
  949. package/lib/components/toaster/Toaster.js.map +0 -1
  950. package/lib/components/toaster/Toaster.native.d.ts +0 -15
  951. package/lib/components/toaster/Toaster.native.js +0 -93
  952. package/lib/components/toaster/Toaster.native.js.map +0 -1
  953. package/lib/components/toaster/ToasterEnum.d.ts +0 -1
  954. package/lib/components/toaster/ToasterEnum.js +0 -16
  955. package/lib/components/toaster/ToasterEnum.js.map +0 -1
  956. package/lib/components/toaster/ToasterProps.d.ts +0 -27
  957. package/lib/components/toaster/ToasterProps.js +0 -6
  958. package/lib/components/toaster/ToasterProps.js.map +0 -1
  959. package/lib/components/toaster/context/ToasterContext.d.ts +0 -7
  960. package/lib/components/toaster/context/ToasterContext.js +0 -8
  961. package/lib/components/toaster/context/ToasterContext.js.map +0 -1
  962. package/lib/components/toaster/context/ToasterContextProps.d.ts +0 -27
  963. package/lib/components/toaster/context/ToasterContextProps.js +0 -2
  964. package/lib/components/toaster/context/ToasterContextProps.js.map +0 -1
  965. package/lib/components/toaster/context/index.d.ts +0 -2
  966. package/lib/components/toaster/context/index.js +0 -3
  967. package/lib/components/toaster/context/index.js.map +0 -1
  968. package/lib/components/toaster/index.d.ts +0 -3
  969. package/lib/components/toaster/index.js +0 -4
  970. package/lib/components/toaster/index.js.map +0 -1
  971. package/lib/context/providerStyledMangled.d.ts +0 -10
  972. package/lib/context/providerStyledMangled.js +0 -14
  973. package/lib/context/providerStyledMangled.js.map +0 -1
  974. package/lib/context/providerStyledMangled.native.d.ts +0 -1
  975. package/lib/context/providerStyledMangled.native.js +0 -4
  976. package/lib/context/providerStyledMangled.native.js.map +0 -1
  977. package/lib/objects/facets/Alert.d.ts +0 -36
  978. package/lib/objects/facets/Alert.js +0 -70
  979. package/lib/objects/facets/Alert.js.map +0 -1
  980. /package/lib/components/{input/autocomplete → autocomplete}/AutoCompleteProps.js +0 -0
  981. /package/lib/components/{input/autocomplete → autocomplete}/Autocomplete.helpers.d.ts +0 -0
  982. /package/lib/components/{input/autocomplete → autocomplete}/Autocomplete.helpers.js +0 -0
  983. /package/lib/components/{input/autocomplete → autocomplete}/index.d.ts +0 -0
  984. /package/lib/components/{input/autocomplete → autocomplete}/index.js +0 -0
  985. /package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteIem.native.d.ts +0 -0
  986. /package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItem.d.ts +0 -0
  987. /package/lib/components/{input/autocomplete → autocomplete}/item/AutoCompleteItemProps.js +0 -0
  988. /package/lib/components/{input/autocomplete → autocomplete}/item/index.d.ts +0 -0
  989. /package/lib/components/{input/autocomplete → autocomplete}/item/index.js +0 -0
  990. /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.d.ts +0 -0
  991. /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenu.native.d.ts +0 -0
  992. /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenuProps.d.ts +0 -0
  993. /package/lib/components/{input/autocomplete → autocomplete}/menu/AutoCompleteMenuProps.js +0 -0
  994. /package/lib/components/{input/autocomplete → autocomplete}/menu/index.d.ts +0 -0
  995. /package/lib/components/{input/autocomplete → autocomplete}/menu/index.js +0 -0
  996. /package/lib/components/{input/autocomplete → autocomplete}/utils/debounce.d.ts +0 -0
  997. /package/lib/components/{input/autocomplete → autocomplete}/utils/debounce.js +0 -0
  998. /package/lib/components/{input/autocomplete → autocomplete}/utils/index.d.ts +0 -0
  999. /package/lib/components/{input/autocomplete → autocomplete}/utils/index.js +0 -0
@@ -0,0 +1,307 @@
1
+ export default {
2
+ "name": {
3
+ "type": "enum",
4
+ "values": [
5
+ "tri-alert",
6
+ "tri-arrow-down",
7
+ "tri-arrow-left",
8
+ "tri-arrow-right",
9
+ "tri-arrow-up",
10
+ "tri-bell",
11
+ "tri-check-circle",
12
+ "tri-check",
13
+ "tri-exclamation-circle",
14
+ "tri-eye-slash",
15
+ "tri-eye",
16
+ "tri-infos-circle",
17
+ "tri-search",
18
+ "tri-times",
19
+ "tri-trash",
20
+ "tri-picto-faciliti",
21
+ "tri-picto-handicapzero",
22
+ "tri-picto-la-fibre",
23
+ "tri-picto-payment-americanexpress",
24
+ "tri-picto-payment-cb",
25
+ "tri-picto-payment-mastercard",
26
+ "tri-picto-payment-paypal",
27
+ "tri-picto-payment-visa",
28
+ "tri-alert",
29
+ "tri-arrow-down",
30
+ "tri-arrow-left",
31
+ "tri-arrow-right",
32
+ "tri-arrow-up",
33
+ "tri-bell",
34
+ "tri-check-circle",
35
+ "tri-check",
36
+ "tri-exclamation-circle",
37
+ "tri-eye-slash",
38
+ "tri-eye",
39
+ "tri-infos-circle",
40
+ "tri-search",
41
+ "tri-times",
42
+ "tri-trash",
43
+ "tri-picto-faciliti",
44
+ "tri-picto-handicapzero",
45
+ "tri-picto-la-fibre",
46
+ "tri-picto-payment-americanexpress",
47
+ "tri-picto-payment-cb",
48
+ "tri-picto-payment-mastercard",
49
+ "tri-picto-payment-paypal",
50
+ "tri-picto-payment-visa"
51
+ ]
52
+ },
53
+ "status": {
54
+ "type": "enum",
55
+ "values": [
56
+ "undefined",
57
+ "SUCCESS",
58
+ "INFO",
59
+ "WARNING",
60
+ "ERROR",
61
+ "WHITE",
62
+ "SUCCESS",
63
+ "ERROR",
64
+ "WARNING",
65
+ "INFO",
66
+ "WHITE"
67
+ ]
68
+ },
69
+ "badgeContent": {
70
+ "type": "string",
71
+ "values": [
72
+ "undefined",
73
+ "string"
74
+ ]
75
+ },
76
+ "size": {
77
+ "type": "enum",
78
+ "values": [
79
+ "undefined",
80
+ "small",
81
+ "small",
82
+ "medium",
83
+ "large",
84
+ "huge",
85
+ "smaller",
86
+ "medium",
87
+ "large",
88
+ "huge",
89
+ "smaller"
90
+ ]
91
+ },
92
+ "circled": {
93
+ "type": "boolean",
94
+ "values": [
95
+ "undefined",
96
+ "false",
97
+ "true"
98
+ ]
99
+ },
100
+ "content": {
101
+ "type": "react",
102
+ "values": [
103
+ "undefined",
104
+ "null",
105
+ "string",
106
+ "number",
107
+ "false",
108
+ "true",
109
+ "JSXElementConstructor<any>>",
110
+ "ReactNode>",
111
+ "ReactPortal"
112
+ ]
113
+ },
114
+ "position": {
115
+ "type": "enum",
116
+ "values": [
117
+ "undefined",
118
+ "up",
119
+ "down",
120
+ "left",
121
+ "right",
122
+ "up",
123
+ "down",
124
+ "left",
125
+ "right"
126
+ ]
127
+ },
128
+ "markup": {
129
+ "type": "enum",
130
+ "values": [
131
+ "undefined",
132
+ "a",
133
+ "div",
134
+ "p",
135
+ "span",
136
+ "div",
137
+ "a",
138
+ "p",
139
+ "span"
140
+ ]
141
+ },
142
+ "statusPosition": {
143
+ "type": "enum",
144
+ "values": [
145
+ "undefined",
146
+ "top",
147
+ "bottom",
148
+ "top",
149
+ "bottom"
150
+ ]
151
+ },
152
+ "stretched": {
153
+ "type": "boolean",
154
+ "values": [
155
+ "undefined",
156
+ "false",
157
+ "true"
158
+ ]
159
+ },
160
+ "color": {
161
+ "type": "string",
162
+ "values": [
163
+ "undefined",
164
+ "string"
165
+ ]
166
+ },
167
+ "backgroundColor": {
168
+ "type": "enum",
169
+ "values": [
170
+ "undefined",
171
+ "SUCCESS",
172
+ "INFO",
173
+ "WARNING",
174
+ "ERROR",
175
+ "WHITE",
176
+ "MAIN",
177
+ "MAIN_FADE",
178
+ "ACCENT",
179
+ "FONT",
180
+ "FONT_PLACEHOLDER",
181
+ "SUCCESS",
182
+ "SUCCESS_FADE",
183
+ "INFO",
184
+ "INFO_FADE",
185
+ "WARNING",
186
+ "WARNING_FADE",
187
+ "ERROR",
188
+ "ERROR_FADE",
189
+ "DISABLED",
190
+ "DISABLED_FADE",
191
+ "NEUTRAL",
192
+ "NEUTRAL_FADE",
193
+ "WHITE",
194
+ "MAIN",
195
+ "MAIN_FADE",
196
+ "ACCENT",
197
+ "FONT",
198
+ "FONT_PLACEHOLDER",
199
+ "SUCCESS_FADE",
200
+ "INFO_FADE",
201
+ "WARNING_FADE",
202
+ "ERROR_FADE",
203
+ "DISABLED",
204
+ "DISABLED_FADE",
205
+ "NEUTRAL",
206
+ "NEUTRAL_FADE"
207
+ ]
208
+ },
209
+ "className": {
210
+ "type": "string",
211
+ "values": [
212
+ "undefined",
213
+ "string"
214
+ ]
215
+ },
216
+ "textClassName": {
217
+ "type": "string",
218
+ "values": [
219
+ "undefined",
220
+ "string"
221
+ ]
222
+ },
223
+ "style": {
224
+ "type": "string",
225
+ "values": [
226
+ "undefined",
227
+ "Styles"
228
+ ]
229
+ },
230
+ "skeleton": {
231
+ "type": "boolean",
232
+ "values": [
233
+ "undefined",
234
+ "false",
235
+ "true"
236
+ ]
237
+ },
238
+ "marginless": {
239
+ "type": "boolean",
240
+ "values": [
241
+ "undefined",
242
+ "false",
243
+ "true"
244
+ ]
245
+ },
246
+ "stacked": {
247
+ "type": "boolean",
248
+ "values": [
249
+ "undefined",
250
+ "false",
251
+ "true"
252
+ ]
253
+ },
254
+ "align": {
255
+ "type": "enum",
256
+ "values": [
257
+ "undefined",
258
+ "ALIGNED_CENTER",
259
+ "ALIGNED_START",
260
+ "ALIGNED_END",
261
+ "ALIGNED_CENTER",
262
+ "ALIGNED_START",
263
+ "ALIGNED_END"
264
+ ]
265
+ },
266
+ "verticalAlign": {
267
+ "type": "enum",
268
+ "values": [
269
+ "undefined",
270
+ "ALIGNED_CENTER",
271
+ "ALIGNED_START",
272
+ "ALIGNED_END",
273
+ "ALIGNED_CENTER",
274
+ "ALIGNED_START",
275
+ "ALIGNED_END"
276
+ ]
277
+ },
278
+ "onClick": {
279
+ "type": "function",
280
+ "values": [
281
+ "undefined",
282
+ "ClickEvent"
283
+ ]
284
+ },
285
+ "testId": {
286
+ "type": "string",
287
+ "values": [
288
+ "undefined",
289
+ "string"
290
+ ]
291
+ },
292
+ "accessibilityLabel": {
293
+ "type": "string",
294
+ "values": [
295
+ "undefined",
296
+ "string"
297
+ ]
298
+ },
299
+ "accessibilityActivate": {
300
+ "type": "boolean",
301
+ "values": [
302
+ "undefined",
303
+ "false",
304
+ "true"
305
+ ]
306
+ }
307
+ };
@@ -0,0 +1,168 @@
1
+ export default {
2
+ "name": {
3
+ "type": "enum",
4
+ "values": [
5
+ "tri-alert",
6
+ "tri-arrow-down",
7
+ "tri-arrow-left",
8
+ "tri-arrow-right",
9
+ "tri-arrow-up",
10
+ "tri-bell",
11
+ "tri-check-circle",
12
+ "tri-check",
13
+ "tri-exclamation-circle",
14
+ "tri-eye-slash",
15
+ "tri-eye",
16
+ "tri-infos-circle",
17
+ "tri-search",
18
+ "tri-times",
19
+ "tri-trash",
20
+ "tri-picto-faciliti",
21
+ "tri-picto-handicapzero",
22
+ "tri-picto-la-fibre",
23
+ "tri-picto-payment-americanexpress",
24
+ "tri-picto-payment-cb",
25
+ "tri-picto-payment-mastercard",
26
+ "tri-picto-payment-paypal",
27
+ "tri-picto-payment-visa",
28
+ "tri-alert",
29
+ "tri-arrow-down",
30
+ "tri-arrow-left",
31
+ "tri-arrow-right",
32
+ "tri-arrow-up",
33
+ "tri-bell",
34
+ "tri-check-circle",
35
+ "tri-check",
36
+ "tri-exclamation-circle",
37
+ "tri-eye-slash",
38
+ "tri-eye",
39
+ "tri-infos-circle",
40
+ "tri-search",
41
+ "tri-times",
42
+ "tri-trash",
43
+ "tri-picto-faciliti",
44
+ "tri-picto-handicapzero",
45
+ "tri-picto-la-fibre",
46
+ "tri-picto-payment-americanexpress",
47
+ "tri-picto-payment-cb",
48
+ "tri-picto-payment-mastercard",
49
+ "tri-picto-payment-paypal",
50
+ "tri-picto-payment-visa"
51
+ ]
52
+ },
53
+ "size": {
54
+ "type": "string",
55
+ "values": []
56
+ },
57
+ "circledWidth": {
58
+ "type": "string",
59
+ "values": []
60
+ },
61
+ "content": {
62
+ "type": "react",
63
+ "values": [
64
+ "undefined",
65
+ "null",
66
+ "string",
67
+ "number",
68
+ "false",
69
+ "true",
70
+ "JSXElementConstructor<any>>",
71
+ "ReactNode>",
72
+ "ReactPortal"
73
+ ]
74
+ },
75
+ "position": {
76
+ "type": "enum",
77
+ "values": [
78
+ "undefined",
79
+ "up",
80
+ "down",
81
+ "left",
82
+ "right",
83
+ "up",
84
+ "down",
85
+ "left",
86
+ "right"
87
+ ]
88
+ },
89
+ "color": {
90
+ "type": "string",
91
+ "values": [
92
+ "undefined",
93
+ "string"
94
+ ]
95
+ },
96
+ "backgroundColor": {
97
+ "type": "enum",
98
+ "values": [
99
+ "undefined",
100
+ "SUCCESS",
101
+ "INFO",
102
+ "WARNING",
103
+ "ERROR",
104
+ "WHITE",
105
+ "MAIN",
106
+ "MAIN_FADE",
107
+ "ACCENT",
108
+ "FONT",
109
+ "FONT_PLACEHOLDER",
110
+ "SUCCESS",
111
+ "SUCCESS_FADE",
112
+ "INFO",
113
+ "INFO_FADE",
114
+ "WARNING",
115
+ "WARNING_FADE",
116
+ "ERROR",
117
+ "ERROR_FADE",
118
+ "DISABLED",
119
+ "DISABLED_FADE",
120
+ "NEUTRAL",
121
+ "NEUTRAL_FADE",
122
+ "WHITE",
123
+ "MAIN",
124
+ "MAIN_FADE",
125
+ "ACCENT",
126
+ "FONT",
127
+ "FONT_PLACEHOLDER",
128
+ "SUCCESS_FADE",
129
+ "INFO_FADE",
130
+ "WARNING_FADE",
131
+ "ERROR_FADE",
132
+ "DISABLED",
133
+ "DISABLED_FADE",
134
+ "NEUTRAL",
135
+ "NEUTRAL_FADE"
136
+ ]
137
+ },
138
+ "stacked": {
139
+ "type": "boolean",
140
+ "values": [
141
+ "undefined",
142
+ "false",
143
+ "true"
144
+ ]
145
+ },
146
+ "testId": {
147
+ "type": "string",
148
+ "values": [
149
+ "undefined",
150
+ "string"
151
+ ]
152
+ },
153
+ "accessibilityLabel": {
154
+ "type": "string",
155
+ "values": [
156
+ "undefined",
157
+ "string"
158
+ ]
159
+ },
160
+ "accessibilityActivate": {
161
+ "type": "boolean",
162
+ "values": [
163
+ "undefined",
164
+ "false",
165
+ "true"
166
+ ]
167
+ }
168
+ };
@@ -1,5 +1,4 @@
1
1
  import Icon from './Icon';
2
- import IconExample from './Icon.example';
3
2
  export * from './IconEnum';
4
3
  export * from './IconNameEnum';
5
- export { Icon, IconExample };
4
+ export { Icon };
@@ -1,6 +1,5 @@
1
1
  import Icon from './Icon';
2
- import IconExample from './Icon.example';
3
2
  export * from './IconEnum';
4
3
  export * from './IconNameEnum';
5
- export { Icon, IconExample };
4
+ export { Icon };
6
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,WAAW,MAAM,gBAAgB,CAAA;AACxC,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAE9B,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AAEzB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAE9B,OAAO,EAAE,IAAI,EAAE,CAAA"}
@@ -0,0 +1,126 @@
1
+ export default {
2
+ "color": {
3
+ "type": "string",
4
+ "values": [
5
+ "undefined",
6
+ "string"
7
+ ]
8
+ },
9
+ "name": {
10
+ "type": "enum",
11
+ "values": [
12
+ "tri-alert",
13
+ "tri-arrow-down",
14
+ "tri-arrow-left",
15
+ "tri-arrow-right",
16
+ "tri-arrow-up",
17
+ "tri-bell",
18
+ "tri-check-circle",
19
+ "tri-check",
20
+ "tri-exclamation-circle",
21
+ "tri-eye-slash",
22
+ "tri-eye",
23
+ "tri-infos-circle",
24
+ "tri-search",
25
+ "tri-times",
26
+ "tri-trash",
27
+ "tri-picto-faciliti",
28
+ "tri-picto-handicapzero",
29
+ "tri-picto-la-fibre",
30
+ "tri-picto-payment-americanexpress",
31
+ "tri-picto-payment-cb",
32
+ "tri-picto-payment-mastercard",
33
+ "tri-picto-payment-paypal",
34
+ "tri-picto-payment-visa",
35
+ "tri-alert",
36
+ "tri-arrow-down",
37
+ "tri-arrow-left",
38
+ "tri-arrow-right",
39
+ "tri-arrow-up",
40
+ "tri-bell",
41
+ "tri-check-circle",
42
+ "tri-check",
43
+ "tri-exclamation-circle",
44
+ "tri-eye-slash",
45
+ "tri-eye",
46
+ "tri-infos-circle",
47
+ "tri-search",
48
+ "tri-times",
49
+ "tri-trash",
50
+ "tri-picto-faciliti",
51
+ "tri-picto-handicapzero",
52
+ "tri-picto-la-fibre",
53
+ "tri-picto-payment-americanexpress",
54
+ "tri-picto-payment-cb",
55
+ "tri-picto-payment-mastercard",
56
+ "tri-picto-payment-paypal",
57
+ "tri-picto-payment-visa"
58
+ ]
59
+ },
60
+ "size": {
61
+ "type": "string",
62
+ "values": []
63
+ },
64
+ "status": {
65
+ "type": "enum",
66
+ "values": [
67
+ "undefined",
68
+ "SUCCESS",
69
+ "INFO",
70
+ "WARNING",
71
+ "ERROR",
72
+ "WHITE",
73
+ "SUCCESS",
74
+ "ERROR",
75
+ "WARNING",
76
+ "INFO",
77
+ "WHITE"
78
+ ]
79
+ },
80
+ "statusPosition": {
81
+ "type": "enum",
82
+ "values": [
83
+ "undefined",
84
+ "top",
85
+ "bottom",
86
+ "top",
87
+ "bottom"
88
+ ]
89
+ },
90
+ "stretched": {
91
+ "type": "react",
92
+ "values": [
93
+ "undefined",
94
+ "null",
95
+ "string",
96
+ "number",
97
+ "false",
98
+ "true",
99
+ "JSXElementConstructor<any>>",
100
+ "ReactNode>",
101
+ "ReactPortal"
102
+ ]
103
+ },
104
+ "testId": {
105
+ "type": "string",
106
+ "values": [
107
+ "undefined",
108
+ "string"
109
+ ]
110
+ },
111
+ "accessibilityLabel": {
112
+ "type": "string",
113
+ "values": [
114
+ "undefined",
115
+ "string"
116
+ ]
117
+ },
118
+ "accessibilityActivate": {
119
+ "type": "boolean",
120
+ "values": [
121
+ "undefined",
122
+ "false",
123
+ "true"
124
+ ]
125
+ }
126
+ };
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { IconProps } from "../../../components/icon/IconProps";
2
+ import { IconProps } from '../../../components/icon/IconProps';
3
3
  interface Props extends IconProps {
4
4
  textId?: string;
5
+ textAriaLevel?: number;
6
+ textRole?: string;
5
7
  }
6
- declare const TextIcon: ({ className, textClassName, name, content, position, markup, textId, ...others }: Props) => JSX.Element;
8
+ declare const TextIcon: ({ className, textClassName, name, content, position, markup, textId, textAriaLevel, textRole, ...others }: Props) => JSX.Element;
7
9
  export default TextIcon;
@@ -1,36 +1,34 @@
1
- import * as React from "react";
2
- import Icon from "../../../components/icon/Icon";
3
- import { IconPosition, TextIconMarkup, } from "../../../components/icon/IconEnum";
4
- import { is } from "../../../services";
5
- import clsx from "clsx";
6
- import { hashClass } from "../../../helpers";
7
- import { useTrilogyContext } from "../../../context";
8
- const TextIcon = ({ className, textClassName, name, content, position, markup, textId, ...others }) => {
1
+ import Icon from '../../../components/icon/Icon';
2
+ import { IconPosition, TextIconMarkup } from '../../../components/icon/IconEnum';
3
+ import { useTrilogyContext } from '../../../context';
4
+ import { hashClass } from '../../../helpers';
5
+ import { is } from '../../../services';
6
+ import clsx from 'clsx';
7
+ import * as React from 'react';
8
+ const TextIcon = ({ className, textClassName, name, content, position, markup, textId, textAriaLevel, textRole, ...others }) => {
9
9
  const { styled } = useTrilogyContext();
10
10
  const isCorrectMarkup = (stringMarkup) => {
11
- if (stringMarkup in TextIconMarkup ||
12
- Object.values(TextIconMarkup).includes(stringMarkup))
11
+ if (stringMarkup in TextIconMarkup || Object.values(TextIconMarkup).includes(stringMarkup))
13
12
  return true;
14
13
  };
15
- const Tag = markup && isCorrectMarkup(markup) ? markup : "span";
14
+ const Tag = markup && isCorrectMarkup(markup) ? markup : 'span';
16
15
  if (position) {
17
- return (React.createElement("span", { className: hashClass(styled, clsx("icon-and-text", (position === IconPosition.UP || position === IconPosition.DOWN) &&
18
- is("stacked"), className)) },
16
+ return (React.createElement("span", { className: hashClass(styled, clsx('icon-and-text', (position === IconPosition.UP || position === IconPosition.DOWN) && is('stacked'), className)) },
19
17
  (position === IconPosition.RIGHT || position === IconPosition.DOWN) &&
20
18
  content &&
21
- (content && typeof content.valueOf() === "string" ? (React.createElement(Tag, { className: hashClass(styled, clsx(textClassName)), id: textId }, String(content))) : (content))
19
+ (content && typeof content.valueOf() === 'string' ? (React.createElement(Tag, { className: hashClass(styled, clsx(textClassName)), id: textId, "aria-level": textAriaLevel, role: textRole }, String(content))) : (content))
22
20
  // <Tag className={textClassName}>{content}</Tag>
23
21
  ,
24
22
  React.createElement(Icon, { name: name, className: className, ...others }),
25
23
  (position === IconPosition.UP || position === IconPosition.LEFT) &&
26
24
  content &&
27
- (content && typeof content.valueOf() === "string" ? (React.createElement(Tag, { className: hashClass(styled, clsx(textClassName)), id: textId }, String(content))) : (content))
25
+ (content && typeof content.valueOf() === 'string' ? (React.createElement(Tag, { className: hashClass(styled, clsx(textClassName)), id: textId, "aria-level": textAriaLevel, role: textRole }, String(content))) : (content))
28
26
  // <Tag className={textClassName}>{content}</Tag>
29
27
  ));
30
28
  }
31
- return (React.createElement("span", { className: hashClass(styled, clsx("icon-and-text", className)) },
29
+ return (React.createElement("span", { className: hashClass(styled, clsx('icon-and-text', className)) },
32
30
  React.createElement(Icon, { name: name, ...others }),
33
- content && typeof content.valueOf() === "string" ? (React.createElement(Tag, { className: hashClass(styled, clsx(textClassName)), id: textId }, String(content))) : (content)));
31
+ content && typeof content.valueOf() === 'string' ? (React.createElement(Tag, { className: hashClass(styled, clsx(textClassName)), id: textId, "aria-level": textAriaLevel, role: textRole }, String(content))) : (content)));
34
32
  };
35
33
  export default TextIcon;
36
34
  //# sourceMappingURL=TextIcon.js.map