@trilogy-ds/react 0.0.3-beta-v4 → 0.0.4-alpha-prompt

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 (840) hide show
  1. package/lib/components/accordion/Accordion.d.ts +3 -3
  2. package/lib/components/accordion/Accordion.js +8 -6
  3. package/lib/components/accordion/Accordion.native.d.ts +4 -7
  4. package/lib/components/accordion/Accordion.native.js +8 -8
  5. package/lib/components/accordion/AccordionProps.d.ts +3 -0
  6. package/lib/components/accordion/item/AccordionItem.d.ts +4 -4
  7. package/lib/components/accordion/item/AccordionItem.js +24 -11
  8. package/lib/components/accordion/item/AccordionItem.native.d.ts +4 -7
  9. package/lib/components/accordion/item/AccordionItem.native.js +33 -36
  10. package/lib/components/accordion/item/AccordionItemProps.d.ts +3 -0
  11. package/lib/components/accordion/item/body/AccordionBody.d.ts +2 -2
  12. package/lib/components/accordion/item/body/AccordionBody.js +12 -8
  13. package/lib/components/accordion/item/body/AccordionBody.native.d.ts +4 -7
  14. package/lib/components/accordion/item/body/AccordionBody.native.js +7 -7
  15. package/lib/components/accordion/item/body/AccordionBodyProps.d.ts +4 -1
  16. package/lib/components/accordion/item/header/AccordionHeader.d.ts +2 -2
  17. package/lib/components/accordion/item/header/AccordionHeader.js +10 -8
  18. package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +4 -7
  19. package/lib/components/accordion/item/header/AccordionHeader.native.js +10 -10
  20. package/lib/components/accordion/item/header/AccordionHeaderProps.d.ts +3 -0
  21. package/lib/components/alert/Alert.d.ts +7 -3
  22. package/lib/components/alert/Alert.js +71 -60
  23. package/lib/components/alert/Alert.native.d.ts +1 -5
  24. package/lib/components/alert/Alert.native.js +29 -40
  25. package/lib/components/alert/AlertEnum.d.ts +9 -0
  26. package/lib/components/alert/AlertEnum.js +10 -0
  27. package/lib/components/alert/AlertProps.d.ts +15 -2
  28. package/lib/components/alert/AlertProps.js +6 -1
  29. package/lib/components/alert/AlertPropsDefaults.js +27 -1
  30. package/lib/components/alert/ToasterStatusPropsDefaults.js +35 -1
  31. package/lib/components/alert/context/ToastPropsDefaults.js +27 -1
  32. package/lib/components/alert/context/ToasterContextProps.d.ts +4 -2
  33. package/lib/components/autocomplete/AutoComplete.d.ts +34 -3
  34. package/lib/components/autocomplete/AutoComplete.js +49 -45
  35. package/lib/components/autocomplete/AutoComplete.native.d.ts +5 -3
  36. package/lib/components/autocomplete/AutoComplete.native.js +12 -9
  37. package/lib/components/autocomplete/AutoCompleteProps.d.ts +4 -4
  38. package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +86 -60
  39. package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +86 -60
  40. package/lib/components/autocomplete/Autocomplete.helpers.js +7 -4
  41. package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +1 -1
  42. package/lib/components/autocomplete/item/AutoCompleteItem.js +1 -1
  43. package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +1 -1
  44. package/lib/components/autocomplete/menu/AutoCompleteMenu.js +1 -1
  45. package/lib/components/autolayout/AutoLayout.helpers.js +7 -5
  46. package/lib/components/autolayout/DefaultSpacingMatrix.js +4 -3
  47. package/lib/components/badge/Badge.d.ts +4 -4
  48. package/lib/components/badge/Badge.js +16 -12
  49. package/lib/components/badge/Badge.native.d.ts +13 -9
  50. package/lib/components/badge/Badge.native.js +87 -15
  51. package/lib/components/badge/BadgeProps.d.ts +17 -7
  52. package/lib/components/badge/BadgeProps.js +10 -2
  53. package/lib/components/badge/BadgePropsDefaults.js +18 -12
  54. package/lib/components/badge/index.d.ts +1 -0
  55. package/lib/components/badge/index.js +2 -1
  56. package/lib/components/box/Box.d.ts +4 -3
  57. package/lib/components/box/Box.js +17 -19
  58. package/lib/components/box/Box.native.d.ts +3 -7
  59. package/lib/components/box/Box.native.js +43 -58
  60. package/lib/components/box/BoxProps.d.ts +8 -1
  61. package/lib/components/box/BoxPropsDefaults.js +22 -2
  62. package/lib/components/box/content/BoxContent.d.ts +4 -3
  63. package/lib/components/box/content/BoxContent.js +18 -11
  64. package/lib/components/box/content/BoxContent.native.d.ts +5 -7
  65. package/lib/components/box/content/BoxContent.native.js +20 -11
  66. package/lib/components/box/content/BoxContentProps.d.ts +5 -1
  67. package/lib/components/box/content/BoxContentPropsDefaults.js +7 -1
  68. package/lib/components/box/context/boxContext.d.ts +4 -0
  69. package/lib/components/box/context/boxContext.js +3 -0
  70. package/lib/components/box/footer/BoxFooter.d.ts +3 -4
  71. package/lib/components/box/footer/BoxFooter.js +11 -10
  72. package/lib/components/box/footer/BoxFooter.native.d.ts +4 -7
  73. package/lib/components/box/footer/BoxFooter.native.js +10 -12
  74. package/lib/components/box/footer/BoxFooterProps.d.ts +6 -1
  75. package/lib/components/box/footer/BoxFooterPropsDefaults.js +7 -1
  76. package/lib/components/box/header/BoxHeader.d.ts +5 -4
  77. package/lib/components/box/header/BoxHeader.js +15 -11
  78. package/lib/components/box/header/BoxHeader.native.d.ts +4 -12
  79. package/lib/components/box/header/BoxHeader.native.js +8 -13
  80. package/lib/components/box/header/BoxHeaderProps.d.ts +6 -1
  81. package/lib/components/box/header/BoxHeaderPropsDefaults.js +29 -3
  82. package/lib/components/box/item/BoxItem.d.ts +3 -3
  83. package/lib/components/box/item/BoxItem.js +10 -8
  84. package/lib/components/box/item/BoxItem.native.d.ts +4 -7
  85. package/lib/components/box/item/BoxItem.native.js +10 -10
  86. package/lib/components/box/item/BoxItemProps.d.ts +4 -1
  87. package/lib/components/box/table-container/BoxTableContainer.d.ts +4 -4
  88. package/lib/components/box/table-container/BoxTableContainer.js +11 -9
  89. package/lib/components/box/table-container/BoxTableContainer.native.d.ts +4 -7
  90. package/lib/components/box/table-container/BoxTableContainer.native.js +8 -8
  91. package/lib/components/box/table-container/BoxTableContainerProps.d.ts +3 -0
  92. package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -2
  93. package/lib/components/breadcrumb/Breadcrumb.js +12 -9
  94. package/lib/components/breadcrumb/Breadcrumb.native.d.ts +4 -7
  95. package/lib/components/breadcrumb/Breadcrumb.native.js +11 -11
  96. package/lib/components/breadcrumb/BreadcrumbProps.d.ts +5 -1
  97. package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +3 -3
  98. package/lib/components/breadcrumb/item/BreadcrumbItem.js +13 -14
  99. package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +4 -7
  100. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +12 -11
  101. package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.ts +6 -1
  102. package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +9 -9
  103. package/lib/components/button/Button.d.ts +4 -4
  104. package/lib/components/button/Button.js +32 -31
  105. package/lib/components/button/Button.native.d.ts +4 -7
  106. package/lib/components/button/Button.native.js +92 -133
  107. package/lib/components/button/ButtonProps.d.ts +8 -3
  108. package/lib/components/button/ButtonPropsDefaults.js +20 -12
  109. package/lib/components/button/list/ButtonList.d.ts +6 -2
  110. package/lib/components/button/list/ButtonList.js +17 -10
  111. package/lib/components/button/list/ButtonList.native.d.ts +4 -7
  112. package/lib/components/button/list/ButtonList.native.js +7 -7
  113. package/lib/components/button/list/ButtonListProps.d.ts +7 -4
  114. package/lib/components/button/list/ButtonListWebPropsDefaults.js +11 -1
  115. package/lib/components/button/list/index.d.ts +1 -0
  116. package/lib/components/button/list/index.js +2 -1
  117. package/lib/components/calendar/Calendar.d.ts +15 -0
  118. package/lib/components/calendar/Calendar.js +342 -0
  119. package/lib/components/calendar/Calendar.native.d.ts +16 -0
  120. package/lib/components/calendar/Calendar.native.js +558 -0
  121. package/lib/components/calendar/CalendarProps.d.ts +11 -0
  122. package/lib/components/calendar/CalendarProps.js +2 -0
  123. package/lib/components/calendar/CalendarPropsDefaults.js +63 -0
  124. package/lib/components/calendar/index.d.ts +3 -0
  125. package/lib/components/calendar/index.js +4 -0
  126. package/lib/components/card/Card.d.ts +3 -4
  127. package/lib/components/card/Card.js +12 -11
  128. package/lib/components/card/Card.native.d.ts +3 -7
  129. package/lib/components/card/Card.native.js +26 -28
  130. package/lib/components/card/CardProps.d.ts +6 -1
  131. package/lib/components/card/content/CardContent.d.ts +3 -3
  132. package/lib/components/card/content/CardContent.js +10 -8
  133. package/lib/components/card/content/CardContent.native.d.ts +3 -14
  134. package/lib/components/card/content/CardContent.native.js +7 -55
  135. package/lib/components/card/content/CardContentProps.d.ts +4 -1
  136. package/lib/components/card/image/CardImage.d.ts +3 -3
  137. package/lib/components/card/image/CardImage.js +12 -10
  138. package/lib/components/card/image/CardImage.native.d.ts +3 -6
  139. package/lib/components/card/image/CardImage.native.js +16 -15
  140. package/lib/components/card/image/CardImageProps.d.ts +4 -1
  141. package/lib/components/checkbox/Checkbox.d.ts +6 -4
  142. package/lib/components/checkbox/Checkbox.js +27 -13
  143. package/lib/components/checkbox/Checkbox.native.d.ts +3 -6
  144. package/lib/components/checkbox/Checkbox.native.js +15 -109
  145. package/lib/components/checkbox/{CheckboxPropsDefaults.js → CheckboxCommonPropsDefaults.js} +8 -7
  146. package/lib/components/checkbox/CheckboxProps.d.ts +18 -4
  147. package/lib/components/checkbox/CheckboxWithChildrenDefaults.js +94 -0
  148. package/lib/components/checkbox/CheckboxWithLabelDefaults.js +84 -0
  149. package/lib/components/checkbox/index.d.ts +4 -2
  150. package/lib/components/checkbox/index.js +5 -3
  151. package/lib/components/checkbox/list/CheckboxList.d.ts +14 -0
  152. package/lib/components/checkbox/list/CheckboxList.js +36 -0
  153. package/lib/components/checkbox/list/CheckboxList.native.d.ts +10 -0
  154. package/lib/components/checkbox/list/CheckboxList.native.js +40 -0
  155. package/lib/components/checkbox/list/CheckboxListProps.d.ts +27 -0
  156. package/lib/components/checkbox/list/CheckboxListProps.js +2 -0
  157. package/lib/components/checkbox/list/CheckboxListPropsDefaults.js +17 -0
  158. package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +76 -0
  159. package/lib/components/checkbox/list/index.d.ts +2 -0
  160. package/lib/components/checkbox/list/index.js +3 -0
  161. package/lib/components/checkbox/tiles/CheckboxTiles.d.ts +7 -5
  162. package/lib/components/checkbox/tiles/CheckboxTiles.js +19 -13
  163. package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +5 -0
  164. package/lib/components/checkbox/tiles/CheckboxTiles.native.js +22 -0
  165. package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +5 -1
  166. package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +29 -2
  167. package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +17 -5
  168. package/lib/components/checkbox/tiles/tile/CheckboxTile.js +33 -17
  169. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +5 -0
  170. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +110 -0
  171. package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.ts +7 -1
  172. package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +18 -50
  173. package/lib/components/chips/Chips.d.ts +4 -4
  174. package/lib/components/chips/Chips.js +13 -11
  175. package/lib/components/chips/Chips.native.d.ts +4 -7
  176. package/lib/components/chips/Chips.native.js +15 -15
  177. package/lib/components/chips/ChipsProps.d.ts +6 -1
  178. package/lib/components/chips/list/ChipsList.d.ts +1 -1
  179. package/lib/components/chips/list/ChipsList.js +11 -9
  180. package/lib/components/chips/list/ChipsList.native.d.ts +2 -6
  181. package/lib/components/chips/list/ChipsList.native.js +5 -5
  182. package/lib/components/chips/list/ChipsListProps.d.ts +4 -0
  183. package/lib/components/chips/list/ChipsListPropsDefaults.js +7 -0
  184. package/lib/components/columns/Columns.d.ts +4 -4
  185. package/lib/components/columns/Columns.js +15 -12
  186. package/lib/components/columns/Columns.native.d.ts +3 -9
  187. package/lib/components/columns/Columns.native.js +44 -67
  188. package/lib/components/columns/ColumnsProps.d.ts +6 -2
  189. package/lib/components/columns/ColumnsPropsDefaults.js +30 -2
  190. package/lib/components/columns/column/Column.d.ts +4 -4
  191. package/lib/components/columns/column/Column.js +12 -10
  192. package/lib/components/columns/column/Column.native.d.ts +8 -11
  193. package/lib/components/columns/column/Column.native.js +31 -25
  194. package/lib/components/columns/column/ColumnProps.d.ts +4 -1
  195. package/lib/components/columns/column/ColumnPropsDefaults.js +36 -16
  196. package/lib/components/columns/column/index.d.ts +1 -1
  197. package/lib/components/columns/column/index.js +2 -2
  198. package/lib/components/columns/context/index.d.ts +8 -0
  199. package/lib/components/columns/context/index.js +9 -0
  200. package/lib/components/container/Container.d.ts +2 -3
  201. package/lib/components/container/Container.js +2 -2
  202. package/lib/components/container/Container.native.d.ts +1 -1
  203. package/lib/components/container/Container.native.js +3 -3
  204. package/lib/components/container/ContainerProps.d.ts +3 -0
  205. package/lib/components/countdown/Countdown.d.ts +3 -3
  206. package/lib/components/countdown/Countdown.js +11 -9
  207. package/lib/components/countdown/Countdown.native.d.ts +3 -6
  208. package/lib/components/countdown/Countdown.native.js +8 -8
  209. package/lib/components/countdown/CountdownProps.d.ts +4 -1
  210. package/lib/components/datepicker/DatePicker.d.ts +22 -0
  211. package/lib/components/datepicker/DatePicker.js +428 -0
  212. package/lib/components/datepicker/DatePicker.native.d.ts +19 -0
  213. package/lib/components/datepicker/DatePicker.native.js +307 -0
  214. package/lib/components/datepicker/DatePickerEnum.d.ts +7 -0
  215. package/lib/components/datepicker/DatePickerEnum.js +8 -0
  216. package/lib/components/datepicker/DatePickerProps.d.ts +37 -0
  217. package/lib/components/datepicker/DatePickerProps.js +2 -0
  218. package/lib/components/datepicker/DatePickerPropsDefaults.js +117 -0
  219. package/lib/components/datepicker/HandleKeyPressDefaults.js +14 -0
  220. package/lib/components/datepicker/SegmentDefaults.js +33 -0
  221. package/lib/components/datepicker/SegmentsDefaults.js +14 -0
  222. package/lib/components/datepicker/index.d.ts +2 -0
  223. package/lib/components/datepicker/index.js +3 -0
  224. package/lib/components/divider/Divider.d.ts +4 -4
  225. package/lib/components/divider/Divider.js +16 -27
  226. package/lib/components/divider/Divider.native.d.ts +4 -7
  227. package/lib/components/divider/Divider.native.js +24 -24
  228. package/lib/components/divider/DividerProps.d.ts +3 -0
  229. package/lib/components/divider/DividerPropsDefaults.js +9 -1
  230. package/lib/components/dropdown/Dropdown.d.ts +13 -0
  231. package/lib/components/dropdown/Dropdown.js +88 -0
  232. package/lib/components/dropdown/Dropdown.native.d.ts +4 -0
  233. package/lib/components/dropdown/Dropdown.native.js +8 -0
  234. package/lib/components/dropdown/DropdownProps.d.ts +15 -0
  235. package/lib/components/dropdown/DropdownProps.js +2 -0
  236. package/lib/components/dropdown/DropdownPropsDefaults.js +53 -0
  237. package/lib/components/dropdown/context/DropdownContext.d.ts +15 -0
  238. package/lib/components/dropdown/context/DropdownContext.js +35 -0
  239. package/lib/components/dropdown/context/index.d.ts +1 -0
  240. package/lib/components/dropdown/context/index.js +2 -0
  241. package/lib/components/dropdown/group/DropdownGroup.d.ts +12 -0
  242. package/lib/components/dropdown/group/DropdownGroup.js +24 -0
  243. package/lib/components/dropdown/group/DropdownGroup.native.d.ts +4 -0
  244. package/lib/components/dropdown/group/DropdownGroup.native.js +8 -0
  245. package/lib/components/dropdown/group/DropdownGroupProps.d.ts +14 -0
  246. package/lib/components/dropdown/group/DropdownGroupProps.js +2 -0
  247. package/lib/components/dropdown/group/DropdownGroupPropsDefaults.js +52 -0
  248. package/lib/components/dropdown/group/index.d.ts +2 -0
  249. package/lib/components/dropdown/group/index.js +3 -0
  250. package/lib/components/dropdown/index.d.ts +6 -0
  251. package/lib/components/dropdown/index.js +7 -0
  252. package/lib/components/dropdown/item/DropdownItem.d.ts +12 -0
  253. package/lib/components/dropdown/item/DropdownItem.js +46 -0
  254. package/lib/components/dropdown/item/DropdownItem.native.d.ts +4 -0
  255. package/lib/components/dropdown/item/DropdownItem.native.js +8 -0
  256. package/lib/components/dropdown/item/DropdownItemProps.d.ts +15 -0
  257. package/lib/components/dropdown/item/DropdownItemProps.js +2 -0
  258. package/lib/components/dropdown/item/DropdownItemPropsDefaults.js +99 -0
  259. package/lib/components/dropdown/item/index.d.ts +2 -0
  260. package/lib/components/dropdown/item/index.js +3 -0
  261. package/lib/components/dropdown/trigger/DropdownTrigger.d.ts +13 -0
  262. package/lib/components/dropdown/trigger/DropdownTrigger.js +61 -0
  263. package/lib/components/dropdown/trigger/DropdownTrigger.native.d.ts +4 -0
  264. package/lib/components/dropdown/trigger/DropdownTrigger.native.js +8 -0
  265. package/lib/components/dropdown/trigger/DropdownTriggerProps.d.ts +13 -0
  266. package/lib/components/dropdown/trigger/DropdownTriggerProps.js +2 -0
  267. package/lib/components/dropdown/trigger/DropdownTriggerPropsDefaults.js +44 -0
  268. package/lib/components/dropdown/trigger/index.d.ts +2 -0
  269. package/lib/components/dropdown/trigger/index.js +3 -0
  270. package/lib/components/enumsComponentsName.d.ts +30 -3
  271. package/lib/components/enumsComponentsName.js +30 -3
  272. package/lib/components/fab/Fab.d.ts +2 -2
  273. package/lib/components/fab/Fab.js +6 -4
  274. package/lib/components/fab/Fab.native.d.ts +3 -6
  275. package/lib/components/fab/Fab.native.js +4 -4
  276. package/lib/components/fab/FabProps.d.ts +3 -1
  277. package/lib/components/fab/FabPropsDefaults.js +9 -1
  278. package/lib/components/flex-box/FlexBox.d.ts +18 -0
  279. package/lib/components/flex-box/FlexBox.js +70 -0
  280. package/lib/components/flex-box/FlexBox.native.d.ts +5 -0
  281. package/lib/components/flex-box/FlexBox.native.js +58 -0
  282. package/lib/components/flex-box/FlexBoxProps.d.ts +34 -0
  283. package/lib/components/flex-box/FlexBoxProps.js +2 -0
  284. package/lib/components/flex-box/FlexBoxPropsDefaults.js +128 -0
  285. package/lib/components/flex-box/ResponsiveValueDefaults.js +37 -0
  286. package/lib/components/flex-box/context/index.d.ts +7 -0
  287. package/lib/components/flex-box/context/index.js +8 -0
  288. package/lib/components/flex-box/flex-item/FlexItem.d.ts +28 -0
  289. package/lib/components/flex-box/flex-item/FlexItem.js +42 -0
  290. package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +29 -0
  291. package/lib/components/flex-box/flex-item/FlexItem.native.js +56 -0
  292. package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +23 -0
  293. package/lib/components/flex-box/flex-item/FlexItemProps.js +2 -0
  294. package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +101 -0
  295. package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +110 -0
  296. package/lib/components/flex-box/index.d.ts +3 -0
  297. package/lib/components/flex-box/index.js +4 -0
  298. package/lib/components/hero/Hero.d.ts +2 -3
  299. package/lib/components/hero/Hero.js +2 -2
  300. package/lib/components/hero/Hero.native.js +11 -7
  301. package/lib/components/hero/HeroProps.d.ts +5 -0
  302. package/lib/components/hero/HeroPropsDefaults.js +17 -1
  303. package/lib/components/icon/Icon.d.ts +3 -3
  304. package/lib/components/icon/Icon.js +16 -13
  305. package/lib/components/icon/Icon.native.d.ts +4 -7
  306. package/lib/components/icon/Icon.native.js +35 -25
  307. package/lib/components/icon/IconNameEnum.d.ts +5 -1
  308. package/lib/components/icon/IconNameEnum.js +5 -1
  309. package/lib/components/icon/IconProps.d.ts +6 -3
  310. package/lib/components/icon/IconPropsDefaults.js +16 -26
  311. package/lib/components/image/Image.d.ts +8 -4
  312. package/lib/components/image/Image.js +17 -11
  313. package/lib/components/image/Image.native.d.ts +8 -8
  314. package/lib/components/image/Image.native.js +38 -14
  315. package/lib/components/image/ImageProps.d.ts +5 -1
  316. package/lib/components/image/ImagePropsDefaults.js +31 -2
  317. package/lib/components/index.d.ts +5 -0
  318. package/lib/components/index.js +6 -1
  319. package/lib/components/input/ISecurityRulesDefaults.js +23 -0
  320. package/lib/components/input/Input.d.ts +46 -3
  321. package/lib/components/input/Input.js +51 -39
  322. package/lib/components/input/Input.native.d.ts +4 -6
  323. package/lib/components/input/Input.native.js +61 -122
  324. package/lib/components/input/InputChangeEventWebDefaults.js +7 -0
  325. package/lib/components/input/InputEnum.d.ts +2 -1
  326. package/lib/components/input/InputEnum.js +1 -1
  327. package/lib/components/input/InputProps.d.ts +19 -4
  328. package/lib/components/input/InputPropsDefaults.js +86 -8
  329. package/lib/components/input/gauge/InputGauge.d.ts +4 -2
  330. package/lib/components/input/gauge/InputGauge.js +15 -13
  331. package/lib/components/input/gauge/InputGauge.native.d.ts +3 -2
  332. package/lib/components/input/gauge/InputGauge.native.js +27 -17
  333. package/lib/components/input/gauge/hook/useGauge.d.ts +11 -3
  334. package/lib/components/input/gauge/hook/useGauge.js +39 -15
  335. package/lib/components/link/Link.d.ts +5 -4
  336. package/lib/components/link/Link.js +14 -11
  337. package/lib/components/link/Link.native.d.ts +4 -8
  338. package/lib/components/link/Link.native.js +17 -65
  339. package/lib/components/link/LinkDefaults.js +349 -0
  340. package/lib/components/link/LinkProps.d.ts +13 -2
  341. package/lib/components/link/LinkPropsDefaults.js +101 -10
  342. package/lib/components/link/LinkPropsNativeDefaults.js +420 -0
  343. package/lib/components/list/List.d.ts +6 -5
  344. package/lib/components/list/List.js +16 -12
  345. package/lib/components/list/List.native.d.ts +6 -7
  346. package/lib/components/list/List.native.js +14 -9
  347. package/lib/components/list/ListProps.d.ts +4 -0
  348. package/lib/components/list/ListPropsDefaults.js +8 -0
  349. package/lib/components/list/context/ListContext.d.ts +3 -0
  350. package/lib/components/list/context/ListContext.js +8 -0
  351. package/lib/components/list/context/ListContextProps.d.ts +7 -0
  352. package/lib/components/list/context/ListContextProps.js +2 -0
  353. package/lib/components/list/context/ListContextPropsDefaults.js +24 -0
  354. package/lib/components/list/context/index.d.ts +2 -0
  355. package/lib/components/list/context/index.js +3 -0
  356. package/lib/components/list/item/ListItem.d.ts +4 -4
  357. package/lib/components/list/item/ListItem.js +8 -6
  358. package/lib/components/list/item/ListItem.native.d.ts +5 -8
  359. package/lib/components/list/item/ListItem.native.js +35 -56
  360. package/lib/components/list/item/ListItemProps.d.ts +6 -2
  361. package/lib/components/list/item/ListItemProps.js +3 -1
  362. package/lib/components/list/item/ListItemPropsDefaults.js +13 -1
  363. package/lib/components/list/item/description/ListItemDescription.d.ts +3 -3
  364. package/lib/components/list/item/description/ListItemDescription.js +7 -5
  365. package/lib/components/list/item/description/ListItemDescription.native.d.ts +2 -6
  366. package/lib/components/list/item/description/ListItemDescription.native.js +4 -4
  367. package/lib/components/list/item/description/ListItemDescriptionProps.d.ts +3 -0
  368. package/lib/components/modal/Modal.d.ts +5 -6
  369. package/lib/components/modal/Modal.js +71 -73
  370. package/lib/components/modal/Modal.native.d.ts +5 -8
  371. package/lib/components/modal/Modal.native.js +62 -119
  372. package/lib/components/modal/ModalProps.d.ts +6 -3
  373. package/lib/components/modal/ModalPropsDefaults.js +4 -1
  374. package/lib/components/modal/body/ModalBody.d.ts +3 -3
  375. package/lib/components/modal/body/ModalBody.js +7 -5
  376. package/lib/components/modal/body/ModalBody.native.d.ts +3 -6
  377. package/lib/components/modal/body/ModalBody.native.js +17 -13
  378. package/lib/components/modal/body/ModalBodyProps.d.ts +3 -0
  379. package/lib/components/modal/context/ModalContext.d.ts +3 -0
  380. package/lib/components/modal/context/ModalContext.js +8 -0
  381. package/lib/components/modal/context/ModalContextProps.d.ts +8 -0
  382. package/lib/components/modal/context/ModalContextProps.js +2 -0
  383. package/lib/components/modal/context/ModalContextPropsDefaults.js +25 -0
  384. package/lib/components/modal/context/index.d.ts +2 -0
  385. package/lib/components/modal/context/index.js +3 -0
  386. package/lib/components/modal/footer/ModalFooter.d.ts +3 -3
  387. package/lib/components/modal/footer/ModalFooter.js +9 -7
  388. package/lib/components/modal/footer/ModalFooter.native.d.ts +4 -7
  389. package/lib/components/modal/footer/ModalFooter.native.js +27 -15
  390. package/lib/components/modal/footer/ModalFooterProps.d.ts +3 -0
  391. package/lib/components/otp/Otp.d.ts +3 -3
  392. package/lib/components/otp/Otp.js +16 -10
  393. package/lib/components/otp/Otp.native.d.ts +4 -7
  394. package/lib/components/otp/Otp.native.js +46 -47
  395. package/lib/components/otp/OtpProps.d.ts +3 -0
  396. package/lib/components/pagination/Pagination.d.ts +4 -5
  397. package/lib/components/pagination/Pagination.js +11 -7
  398. package/lib/components/pagination/Pagination.native.d.ts +4 -7
  399. package/lib/components/pagination/Pagination.native.js +5 -5
  400. package/lib/components/pagination/PaginationProps.d.ts +3 -1
  401. package/lib/components/pagination/PaginationPropsDefaults.js +0 -7
  402. package/lib/components/popover/Popover.d.ts +8 -6
  403. package/lib/components/popover/Popover.js +17 -13
  404. package/lib/components/popover/Popover.native.d.ts +3 -6
  405. package/lib/components/popover/Popover.native.js +6 -6
  406. package/lib/components/popover/PopoverProps.d.ts +3 -0
  407. package/lib/components/price/Price.d.ts +3 -3
  408. package/lib/components/price/Price.js +18 -15
  409. package/lib/components/price/Price.native.d.ts +3 -6
  410. package/lib/components/price/Price.native.js +17 -16
  411. package/lib/components/price/PriceProps.d.ts +3 -0
  412. package/lib/components/price/PricePropsDefaults.js +22 -2
  413. package/lib/components/product-tour/ProductTour.d.ts +3 -3
  414. package/lib/components/product-tour/ProductTour.js +7 -5
  415. package/lib/components/product-tour/ProductTour.native.d.ts +3 -6
  416. package/lib/components/product-tour/ProductTour.native.js +4 -4
  417. package/lib/components/product-tour/ProductTourProps.d.ts +3 -0
  418. package/lib/components/product-tour/ProductTourProps.js +1 -1
  419. package/lib/components/progress/Progress.d.ts +2 -2
  420. package/lib/components/progress/Progress.js +16 -10
  421. package/lib/components/progress/Progress.native.d.ts +5 -7
  422. package/lib/components/progress/Progress.native.js +44 -22
  423. package/lib/components/progress/ProgressProps.d.ts +6 -0
  424. package/lib/components/progress/ProgressPropsDefaults.js +22 -0
  425. package/lib/components/progress/index.d.ts +2 -1
  426. package/lib/components/progress/index.js +3 -2
  427. package/lib/components/progress/item/ProgressItem.d.ts +15 -0
  428. package/lib/components/progress/item/ProgressItem.js +28 -0
  429. package/lib/components/progress/item/ProgressItem.native.d.ts +12 -0
  430. package/lib/components/progress/item/ProgressItem.native.js +34 -0
  431. package/lib/components/progress/item/ProgressItemProps.d.ts +20 -0
  432. package/lib/components/progress/item/ProgressItemProps.js +2 -0
  433. package/lib/components/progress/item/ProgressItemPropsDefaults.js +76 -0
  434. package/lib/components/progress/item/index.d.ts +2 -0
  435. package/lib/components/progress/item/index.js +3 -0
  436. package/lib/components/progress/radial/ProgressRadial.d.ts +3 -3
  437. package/lib/components/progress/radial/ProgressRadial.js +8 -6
  438. package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -6
  439. package/lib/components/progress/radial/ProgressRadial.native.js +14 -17
  440. package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -0
  441. package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +36 -4
  442. package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +3 -0
  443. package/lib/components/prompt/Prompt.d.ts +4 -0
  444. package/lib/components/prompt/Prompt.js +22 -0
  445. package/lib/components/prompt/Prompt.native.d.ts +5 -0
  446. package/lib/components/prompt/Prompt.native.js +29 -0
  447. package/lib/components/prompt/PromptProps.d.ts +14 -0
  448. package/lib/components/prompt/PromptProps.js +6 -0
  449. package/lib/components/prompt/PromptPropsDefaults.js +44 -0
  450. package/lib/components/prompt/context/index.d.ts +22 -0
  451. package/lib/components/prompt/context/index.js +40 -0
  452. package/lib/components/prompt/files/PromptFiles.d.ts +4 -0
  453. package/lib/components/prompt/files/PromptFiles.js +23 -0
  454. package/lib/components/prompt/files/PromptFiles.native.d.ts +5 -0
  455. package/lib/components/prompt/files/PromptFiles.native.js +26 -0
  456. package/lib/components/prompt/files/PromptFilesProps.d.ts +10 -0
  457. package/lib/components/prompt/files/PromptFilesProps.js +2 -0
  458. package/lib/components/prompt/files/PromptFilesPropsDefaults.js +44 -0
  459. package/lib/components/prompt/files/file/PromptFile.d.ts +4 -0
  460. package/lib/components/prompt/files/file/PromptFile.js +40 -0
  461. package/lib/components/prompt/files/file/PromptFile.native.d.ts +5 -0
  462. package/lib/components/prompt/files/file/PromptFile.native.js +78 -0
  463. package/lib/components/prompt/files/file/PromptFileProps.d.ts +13 -0
  464. package/lib/components/prompt/files/file/PromptFileProps.js +2 -0
  465. package/lib/components/prompt/files/file/PromptFilePropsDefaults.js +55 -0
  466. package/lib/components/prompt/files/file/index.d.ts +3 -0
  467. package/lib/components/prompt/files/file/index.js +4 -0
  468. package/lib/components/prompt/files/index.d.ts +3 -0
  469. package/lib/components/prompt/files/index.js +4 -0
  470. package/lib/components/prompt/index.d.ts +14 -0
  471. package/lib/components/prompt/index.js +15 -0
  472. package/lib/components/prompt/textarea/PromptTextarea.d.ts +4 -0
  473. package/lib/components/prompt/textarea/PromptTextarea.js +32 -0
  474. package/lib/components/prompt/textarea/PromptTextarea.native.d.ts +5 -0
  475. package/lib/components/prompt/textarea/PromptTextarea.native.js +44 -0
  476. package/lib/components/prompt/textarea/PromptTextareaProps.d.ts +14 -0
  477. package/lib/components/prompt/textarea/PromptTextareaProps.js +2 -0
  478. package/lib/components/prompt/textarea/PromptTextareaPropsDefaults.js +65 -0
  479. package/lib/components/prompt/textarea/index.d.ts +3 -0
  480. package/lib/components/prompt/textarea/index.js +4 -0
  481. package/lib/components/prompt/toolbar/PromptToolbar.d.ts +4 -0
  482. package/lib/components/prompt/toolbar/PromptToolbar.js +15 -0
  483. package/lib/components/prompt/toolbar/PromptToolbar.native.d.ts +5 -0
  484. package/lib/components/prompt/toolbar/PromptToolbar.native.js +23 -0
  485. package/lib/components/prompt/toolbar/PromptToolbarProps.d.ts +10 -0
  486. package/lib/components/prompt/toolbar/PromptToolbarProps.js +2 -0
  487. package/lib/components/prompt/toolbar/PromptToolbarPropsDefaults.js +44 -0
  488. package/lib/components/prompt/toolbar/index.d.ts +3 -0
  489. package/lib/components/prompt/toolbar/index.js +4 -0
  490. package/lib/components/prompt/toolbar/microphone/PromptMicrophone.d.ts +4 -0
  491. package/lib/components/prompt/toolbar/microphone/PromptMicrophone.js +18 -0
  492. package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.d.ts +4 -0
  493. package/lib/components/prompt/toolbar/microphone/PromptMicrophone.native.js +32 -0
  494. package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.d.ts +11 -0
  495. package/lib/components/prompt/toolbar/microphone/PromptMicrophoneProps.js +2 -0
  496. package/lib/components/prompt/toolbar/microphone/PromptMicrophonePropsDefaults.js +53 -0
  497. package/lib/components/prompt/toolbar/microphone/index.d.ts +3 -0
  498. package/lib/components/prompt/toolbar/microphone/index.js +4 -0
  499. package/lib/components/prompt/toolbar/submit/PromptSubmit.d.ts +4 -0
  500. package/lib/components/prompt/toolbar/submit/PromptSubmit.js +39 -0
  501. package/lib/components/prompt/toolbar/submit/PromptSubmit.native.d.ts +5 -0
  502. package/lib/components/prompt/toolbar/submit/PromptSubmit.native.js +42 -0
  503. package/lib/components/prompt/toolbar/submit/PromptSubmitProps.d.ts +16 -0
  504. package/lib/components/prompt/toolbar/submit/PromptSubmitProps.js +6 -0
  505. package/lib/components/prompt/toolbar/submit/PromptSubmitPropsDefaults.js +52 -0
  506. package/lib/components/prompt/toolbar/submit/index.d.ts +3 -0
  507. package/lib/components/prompt/toolbar/submit/index.js +4 -0
  508. package/lib/components/prompt/toolbar/tools/PromptTools.d.ts +4 -0
  509. package/lib/components/prompt/toolbar/tools/PromptTools.js +15 -0
  510. package/lib/components/prompt/toolbar/tools/PromptTools.native.d.ts +5 -0
  511. package/lib/components/prompt/toolbar/tools/PromptTools.native.js +22 -0
  512. package/lib/components/prompt/toolbar/tools/PromptToolsProps.d.ts +10 -0
  513. package/lib/components/prompt/toolbar/tools/PromptToolsProps.js +2 -0
  514. package/lib/components/prompt/toolbar/tools/PromptToolsPropsDefaults.js +44 -0
  515. package/lib/components/prompt/toolbar/tools/button/PromptButton.d.ts +4 -0
  516. package/lib/components/prompt/toolbar/tools/button/PromptButton.js +17 -0
  517. package/lib/components/prompt/toolbar/tools/button/PromptButton.native.d.ts +4 -0
  518. package/lib/components/prompt/toolbar/tools/button/PromptButton.native.js +24 -0
  519. package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.d.ts +16 -0
  520. package/lib/components/prompt/toolbar/tools/button/PromptButtonProps.js +2 -0
  521. package/lib/components/prompt/toolbar/tools/button/PromptButtonPropsDefaults.js +135 -0
  522. package/lib/components/prompt/toolbar/tools/button/index.d.ts +3 -0
  523. package/lib/components/prompt/toolbar/tools/button/index.js +4 -0
  524. package/lib/components/prompt/toolbar/tools/index.d.ts +3 -0
  525. package/lib/components/prompt/toolbar/tools/index.js +4 -0
  526. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.d.ts +4 -0
  527. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.js +19 -0
  528. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.d.ts +4 -0
  529. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFile.native.js +26 -0
  530. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.d.ts +10 -0
  531. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFileProps.js +2 -0
  532. package/lib/components/prompt/toolbar/tools/inputFile/PromptInputFilePropsDefaults.js +37 -0
  533. package/lib/components/prompt/toolbar/tools/inputFile/index.d.ts +3 -0
  534. package/lib/components/prompt/toolbar/tools/inputFile/index.js +4 -0
  535. package/lib/components/prompt/toolbar/tools/select/PromptSelect.d.ts +5 -0
  536. package/lib/components/prompt/toolbar/tools/select/PromptSelect.js +45 -0
  537. package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.d.ts +4 -0
  538. package/lib/components/prompt/toolbar/tools/select/PromptSelect.native.js +19 -0
  539. package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.d.ts +3 -0
  540. package/lib/components/prompt/toolbar/tools/select/PromptSelectProps.js +2 -0
  541. package/lib/components/prompt/toolbar/tools/select/index.d.ts +3 -0
  542. package/lib/components/prompt/toolbar/tools/select/index.js +4 -0
  543. package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.d.ts +4 -0
  544. package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.js +11 -0
  545. package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.d.ts +4 -0
  546. package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOption.native.js +11 -0
  547. package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.d.ts +3 -0
  548. package/lib/components/prompt/toolbar/tools/select/options/PromptSelectOptionProps.js +2 -0
  549. package/lib/components/prompt/toolbar/tools/select/options/index.d.ts +3 -0
  550. package/lib/components/prompt/toolbar/tools/select/options/index.js +4 -0
  551. package/lib/components/radio/EventHandlerDefaults.js +21 -0
  552. package/lib/components/radio/Radio.d.ts +7 -6
  553. package/lib/components/radio/Radio.js +25 -20
  554. package/lib/components/radio/Radio.native.d.ts +8 -18
  555. package/lib/components/radio/Radio.native.js +26 -146
  556. package/lib/components/radio/RadioNativePropsDefaults.js +9 -0
  557. package/lib/components/radio/RadioProps.d.ts +12 -2
  558. package/lib/components/radio/RadioPropsDefaults.js +8 -0
  559. package/lib/components/radio/list/RadioList.d.ts +8 -7
  560. package/lib/components/radio/list/RadioList.js +27 -14
  561. package/lib/components/radio/list/RadioList.native.d.ts +3 -6
  562. package/lib/components/radio/list/RadioList.native.js +22 -7
  563. package/lib/components/radio/list/RadioListProps.d.ts +7 -2
  564. package/lib/components/radio/list/RadioListPropsDefaults.js +7 -0
  565. package/lib/components/radio/list/RadioListWebPropsDefaults.js +25 -1
  566. package/lib/components/radio/tiles/RadioTiles.d.ts +10 -6
  567. package/lib/components/radio/tiles/RadioTiles.js +19 -11
  568. package/lib/components/radio/tiles/RadioTiles.native.d.ts +12 -0
  569. package/lib/components/radio/tiles/RadioTiles.native.js +35 -0
  570. package/lib/components/radio/tiles/RadioTilesProps.d.ts +4 -0
  571. package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +29 -2
  572. package/lib/components/radio/tiles/tile/RadioTile.d.ts +19 -6
  573. package/lib/components/radio/tiles/tile/RadioTile.js +43 -24
  574. package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +20 -0
  575. package/lib/components/radio/tiles/tile/RadioTile.native.js +124 -0
  576. package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +110 -0
  577. package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +13 -2
  578. package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +103 -0
  579. package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +99 -64
  580. package/lib/components/range/Range.d.ts +13 -2
  581. package/lib/components/range/Range.js +45 -21
  582. package/lib/components/range/Range.native.d.ts +7 -9
  583. package/lib/components/range/Range.native.js +16 -15
  584. package/lib/components/range/RangeNativePropsDefaults.js +9 -0
  585. package/lib/components/range/RangeProps.d.ts +10 -2
  586. package/lib/components/range/RangePropsDefaults.js +15 -0
  587. package/lib/components/rows/Rows.d.ts +2 -2
  588. package/lib/components/rows/Rows.js +7 -5
  589. package/lib/components/rows/Rows.native.d.ts +3 -6
  590. package/lib/components/rows/Rows.native.js +4 -4
  591. package/lib/components/rows/RowsProps.d.ts +3 -0
  592. package/lib/components/rows/row/Row.d.ts +2 -2
  593. package/lib/components/rows/row/Row.js +7 -5
  594. package/lib/components/rows/row/Row.native.d.ts +3 -6
  595. package/lib/components/rows/row/Row.native.js +5 -5
  596. package/lib/components/rows/row/RowProps.d.ts +3 -0
  597. package/lib/components/scroll-view/ScrollView.d.ts +1 -1
  598. package/lib/components/scroll-view/ScrollView.js +4 -3
  599. package/lib/components/scroll-view/ScrollView.native.d.ts +3 -3
  600. package/lib/components/scroll-view/ScrollView.native.js +13 -12
  601. package/lib/components/scroll-view/ScrollViewProps.d.ts +3 -0
  602. package/lib/components/scroll-view/ScrollViewPropsDefaults.js +7 -1
  603. package/lib/components/section/Section.d.ts +2 -2
  604. package/lib/components/section/Section.js +7 -5
  605. package/lib/components/section/Section.native.d.ts +3 -6
  606. package/lib/components/section/Section.native.js +16 -19
  607. package/lib/components/section/SectionProps.d.ts +8 -0
  608. package/lib/components/section/SectionPropsDefaults.js +14 -1
  609. package/lib/components/segment-control/SegmentControl.d.ts +3 -3
  610. package/lib/components/segment-control/SegmentControl.js +9 -7
  611. package/lib/components/segment-control/SegmentControl.native.d.ts +2 -6
  612. package/lib/components/segment-control/SegmentControl.native.js +11 -9
  613. package/lib/components/segment-control/SegmentControlProps.d.ts +5 -2
  614. package/lib/components/segment-control/SegmentControlPropsDefaults.js +11 -1
  615. package/lib/components/segment-control/item/SegmentControlItem.d.ts +3 -3
  616. package/lib/components/segment-control/item/SegmentControlItem.js +12 -10
  617. package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +3 -6
  618. package/lib/components/segment-control/item/SegmentControlItem.native.js +9 -9
  619. package/lib/components/segment-control/item/SegmentControlItemProps.d.ts +3 -0
  620. package/lib/components/select/PropsDefaults.js +177 -0
  621. package/lib/components/select/Select.d.ts +20 -5
  622. package/lib/components/select/Select.js +47 -10
  623. package/lib/components/select/Select.native.d.ts +3 -7
  624. package/lib/components/select/Select.native.js +12 -10
  625. package/lib/components/select/SelectChangeEventDefaults.js +4 -0
  626. package/lib/components/select/SelectChangeEventNativeDefaults.js +37 -0
  627. package/lib/components/select/SelectEnum.d.ts +5 -0
  628. package/lib/components/select/SelectEnum.js +6 -0
  629. package/lib/components/select/SelectNativePropsDefaults.js +212 -0
  630. package/lib/components/select/SelectProps.d.ts +24 -6
  631. package/lib/components/select/SelectPropsDefaults.js +51 -10
  632. package/lib/components/select/context/index.d.ts +13 -0
  633. package/lib/components/select/context/index.js +10 -0
  634. package/lib/components/select/option/SelectOption.d.ts +3 -3
  635. package/lib/components/select/option/SelectOption.js +47 -12
  636. package/lib/components/select/option/SelectOption.native.d.ts +3 -6
  637. package/lib/components/select/option/SelectOption.native.js +19 -21
  638. package/lib/components/select/option/SelectOptionProps.d.ts +3 -0
  639. package/lib/components/select/option/SelectOptionPropsDefaults.js +9 -1
  640. package/lib/components/select/web/SelectDynamic.d.ts +5 -3
  641. package/lib/components/select/web/SelectDynamic.js +68 -178
  642. package/lib/components/select/web/SelectNative.d.ts +3 -3
  643. package/lib/components/select/web/SelectNative.js +23 -10
  644. package/lib/components/skeleton/Skeleton.d.ts +17 -0
  645. package/lib/components/skeleton/Skeleton.js +19 -0
  646. package/lib/components/skeleton/Skeleton.native.d.ts +16 -0
  647. package/lib/components/skeleton/Skeleton.native.js +70 -0
  648. package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
  649. package/lib/components/skeleton/SkeletonProps.js +2 -0
  650. package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
  651. package/lib/components/skeleton/index.d.ts +3 -0
  652. package/lib/components/skeleton/index.js +4 -0
  653. package/lib/components/spacer/Spacer.d.ts +2 -2
  654. package/lib/components/spacer/Spacer.js +7 -5
  655. package/lib/components/spacer/Spacer.native.d.ts +3 -6
  656. package/lib/components/spacer/Spacer.native.js +4 -4
  657. package/lib/components/spacer/SpacerProps.d.ts +3 -0
  658. package/lib/components/stepper/Stepper.d.ts +2 -2
  659. package/lib/components/stepper/Stepper.js +8 -6
  660. package/lib/components/stepper/Stepper.native.d.ts +3 -6
  661. package/lib/components/stepper/Stepper.native.js +10 -8
  662. package/lib/components/stepper/StepperProps.d.ts +3 -0
  663. package/lib/components/stepper/step/Step.d.ts +2 -2
  664. package/lib/components/stepper/step/Step.js +7 -5
  665. package/lib/components/stepper/step/Step.native.d.ts +3 -7
  666. package/lib/components/stepper/step/Step.native.js +7 -10
  667. package/lib/components/stepper/step/StepProps.d.ts +3 -0
  668. package/lib/components/stepper/step/StepPropsDefaults.js +9 -1
  669. package/lib/components/sticker/Sticker.d.ts +4 -3
  670. package/lib/components/sticker/Sticker.js +13 -7
  671. package/lib/components/sticker/Sticker.native.d.ts +4 -6
  672. package/lib/components/sticker/Sticker.native.js +22 -13
  673. package/lib/components/sticker/StickerProps.d.ts +5 -2
  674. package/lib/components/sticker/StickerPropsDefaults.js +18 -3
  675. package/lib/components/sticker/index.d.ts +0 -1
  676. package/lib/components/sticker/index.js +1 -2
  677. package/lib/components/switch/Switch.d.ts +3 -3
  678. package/lib/components/switch/Switch.js +8 -7
  679. package/lib/components/switch/Switch.native.d.ts +4 -7
  680. package/lib/components/switch/Switch.native.js +13 -15
  681. package/lib/components/switch/SwitchProps.d.ts +3 -0
  682. package/lib/components/table/Table.d.ts +3 -3
  683. package/lib/components/table/Table.js +7 -5
  684. package/lib/components/table/Table.native.d.ts +3 -6
  685. package/lib/components/table/Table.native.js +4 -4
  686. package/lib/components/table/TableProps.d.ts +3 -0
  687. package/lib/components/table/TableProps.js +1 -1
  688. package/lib/components/table/body/TableBody.d.ts +3 -3
  689. package/lib/components/table/body/TableBody.js +7 -5
  690. package/lib/components/table/body/TableBody.native.d.ts +3 -6
  691. package/lib/components/table/body/TableBody.native.js +4 -4
  692. package/lib/components/table/body/TableBodyProps.d.ts +3 -0
  693. package/lib/components/table/body/TableBodyPropsDefaults.js +14 -2
  694. package/lib/components/table/head/TableHead.d.ts +3 -3
  695. package/lib/components/table/head/TableHead.js +7 -5
  696. package/lib/components/table/head/TableHead.native.d.ts +3 -6
  697. package/lib/components/table/head/TableHead.native.js +4 -4
  698. package/lib/components/table/head/TableHeadProps.d.ts +3 -0
  699. package/lib/components/table/head/TableHeadPropsDefaults.js +14 -2
  700. package/lib/components/table/td/TableTd.d.ts +3 -3
  701. package/lib/components/table/td/TableTd.js +7 -5
  702. package/lib/components/table/td/TableTd.native.d.ts +3 -6
  703. package/lib/components/table/td/TableTd.native.js +4 -4
  704. package/lib/components/table/td/TableTdProps.d.ts +3 -0
  705. package/lib/components/table/th/TableTh.d.ts +3 -3
  706. package/lib/components/table/th/TableTh.js +7 -5
  707. package/lib/components/table/th/TableTh.native.d.ts +2 -6
  708. package/lib/components/table/th/TableTh.native.js +4 -4
  709. package/lib/components/table/th/TableThProps.d.ts +3 -0
  710. package/lib/components/table/tr/TableTr.d.ts +3 -3
  711. package/lib/components/table/tr/TableTr.js +7 -5
  712. package/lib/components/table/tr/TableTr.native.d.ts +2 -6
  713. package/lib/components/table/tr/TableTr.native.js +5 -5
  714. package/lib/components/table/tr/TableTrProps.d.ts +3 -1
  715. package/lib/components/table/tr/TableTrPropsWebDefaults.js +7 -1
  716. package/lib/components/tabs/Tabs.d.ts +7 -8
  717. package/lib/components/tabs/Tabs.js +28 -18
  718. package/lib/components/tabs/Tabs.native.d.ts +11 -0
  719. package/lib/components/tabs/Tabs.native.js +33 -0
  720. package/lib/components/tabs/TabsProps.d.ts +4 -0
  721. package/lib/components/tabs/TabsPropsDefaults.js +30 -2
  722. package/lib/components/tabs/context/index.d.ts +11 -0
  723. package/lib/components/tabs/context/index.js +10 -0
  724. package/lib/components/tabs/tab-list/TabList.d.ts +2 -2
  725. package/lib/components/tabs/tab-list/TabList.js +75 -9
  726. package/lib/components/tabs/tab-list/TabList.native.d.ts +14 -0
  727. package/lib/components/tabs/tab-list/TabList.native.js +86 -0
  728. package/lib/components/tabs/tab-list/TabListProps.d.ts +5 -2
  729. package/lib/components/tabs/tab-list/TabListPropsDefaults.js +11 -1
  730. package/lib/components/tabs/tab-list/tab/Tab.d.ts +6 -5
  731. package/lib/components/tabs/tab-list/tab/Tab.js +37 -44
  732. package/lib/components/tabs/tab-list/tab/Tab.native.d.ts +16 -0
  733. package/lib/components/tabs/tab-list/tab/Tab.native.js +68 -0
  734. package/lib/components/tabs/tab-list/tab/TabProps.d.ts +3 -0
  735. package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +18 -10
  736. package/lib/components/tabs/tab-panels/TabPanels.d.ts +2 -2
  737. package/lib/components/tabs/tab-panels/TabPanels.js +14 -7
  738. package/lib/components/tabs/tab-panels/TabPanels.native.d.ts +13 -0
  739. package/lib/components/tabs/tab-panels/TabPanels.native.js +33 -0
  740. package/lib/components/tabs/tab-panels/TabPanelsProps.d.ts +3 -0
  741. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.ts +2 -2
  742. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +13 -7
  743. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.ts +11 -0
  744. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +44 -0
  745. package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.ts +3 -0
  746. package/lib/components/tag/Tag.d.ts +3 -3
  747. package/lib/components/tag/Tag.js +8 -6
  748. package/lib/components/tag/Tag.native.d.ts +3 -6
  749. package/lib/components/tag/Tag.native.js +10 -11
  750. package/lib/components/tag/TagProps.d.ts +3 -6
  751. package/lib/components/tag/TagPropsDefaults.js +5 -1
  752. package/lib/components/tag/list/TagList.d.ts +2 -2
  753. package/lib/components/tag/list/TagList.js +7 -5
  754. package/lib/components/tag/list/TagList.native.d.ts +3 -6
  755. package/lib/components/tag/list/TagList.native.js +5 -4
  756. package/lib/components/tag/list/TagListProps.d.ts +5 -2
  757. package/lib/components/tag/list/TagListPropsDefaults.js +11 -1
  758. package/lib/components/text/Text.d.ts +3 -4
  759. package/lib/components/text/Text.js +7 -6
  760. package/lib/components/text/Text.native.d.ts +3 -7
  761. package/lib/components/text/Text.native.js +14 -15
  762. package/lib/components/text/TextProps.d.ts +3 -0
  763. package/lib/components/textarea/Textarea.d.ts +5 -7
  764. package/lib/components/textarea/Textarea.js +35 -34
  765. package/lib/components/textarea/Textarea.native.d.ts +30 -2
  766. package/lib/components/textarea/Textarea.native.js +29 -57
  767. package/lib/components/textarea/TextareaProps.d.ts +4 -3
  768. package/lib/components/timeline/Timeline.d.ts +2 -2
  769. package/lib/components/timeline/Timeline.js +7 -5
  770. package/lib/components/timeline/Timeline.native.d.ts +2 -5
  771. package/lib/components/timeline/Timeline.native.js +4 -4
  772. package/lib/components/timeline/TimelineProps.d.ts +3 -0
  773. package/lib/components/timeline/content/TimelineContent.d.ts +6 -4
  774. package/lib/components/timeline/content/TimelineContent.js +15 -11
  775. package/lib/components/timeline/content/TimelineContent.native.d.ts +6 -10
  776. package/lib/components/timeline/content/TimelineContent.native.js +13 -14
  777. package/lib/components/timeline/content/TimelineContentProps.d.ts +3 -0
  778. package/lib/components/timeline/item/TimelineItem.d.ts +2 -2
  779. package/lib/components/timeline/item/TimelineItem.js +7 -5
  780. package/lib/components/timeline/item/TimelineItem.native.d.ts +3 -6
  781. package/lib/components/timeline/item/TimelineItem.native.js +6 -6
  782. package/lib/components/timeline/item/TimelineItemProps.d.ts +3 -0
  783. package/lib/components/timeline/marker/TimelineMarker.d.ts +4 -4
  784. package/lib/components/timeline/marker/TimelineMarker.js +8 -6
  785. package/lib/components/timeline/marker/TimelineMarker.native.d.ts +4 -7
  786. package/lib/components/timeline/marker/TimelineMarker.native.js +13 -11
  787. package/lib/components/timeline/marker/TimelineMarkerProps.d.ts +3 -0
  788. package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +9 -1
  789. package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +9 -1
  790. package/lib/components/title/Title.d.ts +4 -4
  791. package/lib/components/title/Title.js +7 -5
  792. package/lib/components/title/Title.native.d.ts +4 -7
  793. package/lib/components/title/Title.native.js +31 -42
  794. package/lib/components/title/TitleProps.d.ts +3 -0
  795. package/lib/components/title/TitlePropsDefaults.js +3 -3
  796. package/lib/components/view/View.d.ts +4 -4
  797. package/lib/components/view/View.js +6 -6
  798. package/lib/components/view/View.native.d.ts +2 -6
  799. package/lib/components/view/View.native.js +6 -6
  800. package/lib/components/view/ViewProps.d.ts +11 -2
  801. package/lib/components/view/ViewProps.js +8 -1
  802. package/lib/components/view/ViewPropsDefaults.js +62 -11
  803. package/lib/context/index.d.ts +1 -1
  804. package/lib/context/provider.d.ts +2 -1
  805. package/lib/context/provider.js +6 -4
  806. package/lib/context/providerStyled.js +5 -5
  807. package/lib/events/OnClickEvent.d.ts +1 -1
  808. package/lib/helpers/clickOutside.d.ts +1 -0
  809. package/lib/helpers/clickOutside.js +16 -0
  810. package/lib/helpers/device.d.ts +3 -0
  811. package/lib/helpers/device.js +5 -4
  812. package/lib/helpers/device.native.d.ts +19 -0
  813. package/lib/helpers/device.native.js +36 -0
  814. package/lib/helpers/hashClassesHelpers.d.ts +1 -1
  815. package/lib/helpers/hashClassesHelpers.js +5 -5
  816. package/lib/helpers/require.d.ts +2 -0
  817. package/lib/helpers/require.js +3 -0
  818. package/lib/objects/Typography/TypographyBold.js +2 -2
  819. package/lib/objects/Typography/TypographyColor.d.ts +1 -1
  820. package/lib/objects/Typography/TypographyColor.js +36 -38
  821. package/lib/objects/facets/Alignable.d.ts +18 -4
  822. package/lib/objects/facets/Alignable.js +28 -5
  823. package/lib/objects/facets/Color.d.ts +7 -4
  824. package/lib/objects/facets/Color.js +12 -2
  825. package/lib/objects/facets/Direction.d.ts +7 -0
  826. package/lib/objects/facets/Direction.js +8 -0
  827. package/lib/objects/facets/Justifiable.d.ts +24 -8
  828. package/lib/objects/facets/Justifiable.js +53 -19
  829. package/lib/objects/facets/Radius.d.ts +2 -0
  830. package/lib/objects/facets/Radius.js +14 -0
  831. package/lib/objects/facets/index.d.ts +1 -0
  832. package/lib/objects/facets/index.js +2 -1
  833. package/lib/version.d.ts +1 -1
  834. package/lib/version.js +2 -2
  835. package/lib/version.json +3 -0
  836. package/package.json +26 -7
  837. package/lib/components/sticker/StickerEnum.d.ts +0 -24
  838. package/lib/components/sticker/StickerEnum.js +0 -19
  839. package/lib/components/tag/TagClickEventDefaults.js +0 -1
  840. package/lib/hash.json +0 -3
@@ -1,13 +1,25 @@
1
1
  /**
2
2
  * Typo align
3
3
  */
4
+ /**
5
+ * @deprecated
6
+ */
4
7
  export var Justifiable;
5
8
  (function (Justifiable) {
6
- Justifiable["JUSTIFIED_CENTER"] = "justified-center";
7
- Justifiable["JUSTIFIED_START"] = "justified-start";
8
- Justifiable["JUSTIFIED_END"] = "justified-end";
9
- Justifiable["SPACE_BETWEEN"] = "space-between";
9
+ Justifiable["JUSTIFIED_CENTER"] = "JUSTIFIED_CENTER";
10
+ Justifiable["JUSTIFIED_START"] = "JUSTIFIED_START";
11
+ Justifiable["JUSTIFIED_END"] = "JUSTIFIED_END";
12
+ Justifiable["SPACE_BETWEEN"] = "SPACE_BETWEEN";
10
13
  })(Justifiable || (Justifiable = {}));
14
+ export var Justify;
15
+ (function (Justify) {
16
+ Justify["CENTER"] = "CENTER";
17
+ Justify["START"] = "START";
18
+ Justify["END"] = "END";
19
+ Justify["SPACE_BETWEEN"] = "SPACE_BETWEEN";
20
+ Justify["SPACE_AROUND"] = "SPACE_AROUND";
21
+ Justify["SPACE_EVENLY"] = "SPACE_EVENLY";
22
+ })(Justify || (Justify = {}));
11
23
  /**
12
24
  * Returns justifyContent style depending on justify type
13
25
  * @param justifyContent {Justifiable|string} - justify type
@@ -15,43 +27,65 @@ export var Justifiable;
15
27
  */
16
28
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
17
29
  export var getJustifyStyle = function (justifyContent) {
18
- switch (justifyContent) {
19
- case 'justified-center':
30
+ if (!justifyContent)
31
+ return 'flex-start';
32
+ switch (true) {
33
+ case ['CENTER', 'JUSTIFIED_CENTER'].includes(justifyContent):
20
34
  return 'center';
21
- case 'justified-start':
35
+ case ['START', 'JUSTIFIED_START'].includes(justifyContent):
22
36
  return 'flex-start';
23
- case 'justified-end':
37
+ case ['END', 'JUSTIFIED_END'].includes(justifyContent):
24
38
  return 'flex-end';
25
- case 'space-between':
39
+ case ['SPACE_BETWEEN', 'SPACE_BETWEEN'].includes(justifyContent):
26
40
  return 'space-between';
27
41
  default:
28
42
  return 'flex-start';
29
43
  }
30
44
  };
31
45
  export var getJustifyClassName = function (justifyContent) {
32
- switch (justifyContent) {
33
- case 'justified-center':
46
+ if (!justifyContent)
47
+ return 'flex-start';
48
+ switch (true) {
49
+ case ['CENTER', 'JUSTIFIED_CENTER'].includes(justifyContent):
34
50
  return 'centered';
35
- case 'justified-start':
51
+ case ['START', 'JUSTIFIED_START'].includes(justifyContent):
36
52
  return 'justified-start';
37
- case 'justified-end':
53
+ case ['END', 'JUSTIFIED_END'].includes(justifyContent):
38
54
  return 'justified-end';
39
- case 'space-between':
55
+ case ['SPACE_BETWEEN', 'SPACE_BETWEEN'].includes(justifyContent):
40
56
  return 'spaced-between';
57
+ case justifyContent === 'SPACE_EVENLY':
58
+ return 'spaced-evenly';
41
59
  default:
42
60
  return 'justified-start';
43
61
  }
44
62
  };
45
63
  export var getJustifiedClassName = function (justifyContent) {
46
- switch (justifyContent) {
47
- case 'ALIGNED_CENTER':
64
+ if (!justifyContent)
65
+ return 'justified-start';
66
+ switch (true) {
67
+ case ['ALIGNED_CENTER', 'CENTER'].includes(justifyContent):
48
68
  return 'justified-center';
49
- case 'ALIGNED_START':
69
+ case ['START', 'ALIGNED_START'].includes(justifyContent):
50
70
  return 'justified-start';
51
- case 'ALIGNED_END':
71
+ case ['ALIGNED_END', 'END'].includes(justifyContent):
52
72
  return 'justified-end';
53
73
  default:
54
74
  return 'justified-start';
55
75
  }
56
76
  };
57
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSnVzdGlmaWFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9vYmplY3RzL2ZhY2V0cy9KdXN0aWZpYWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBTixJQUFZLFdBS1g7QUFMRCxXQUFZLFdBQVc7SUFDckIsb0RBQXFDLENBQUE7SUFDckMsa0RBQW1DLENBQUE7SUFDbkMsOENBQStCLENBQUE7SUFDL0IsOENBQStCLENBQUE7QUFDakMsQ0FBQyxFQUxXLFdBQVcsS0FBWCxXQUFXLFFBS3RCO0FBUUQ7Ozs7R0FJRztBQUNILDZFQUE2RTtBQUM3RSxNQUFNLENBQUMsSUFBTSxlQUFlLEdBQUcsVUFBQyxjQUF1QjtJQUNyRCxRQUFRLGNBQWMsRUFBRTtRQUN0QixLQUFLLGtCQUFrQjtZQUNyQixPQUFPLFFBQVEsQ0FBQTtRQUNqQixLQUFLLGlCQUFpQjtZQUNwQixPQUFPLFlBQVksQ0FBQTtRQUNyQixLQUFLLGVBQWU7WUFDbEIsT0FBTyxVQUFVLENBQUE7UUFDbkIsS0FBSyxlQUFlO1lBQ2xCLE9BQU8sZUFBZSxDQUFBO1FBQ3hCO1lBQ0UsT0FBTyxZQUFZLENBQUE7S0FDdEI7QUFDSCxDQUFDLENBQUE7QUFFRCxNQUFNLENBQUMsSUFBTSxtQkFBbUIsR0FBRyxVQUFDLGNBQXVCO0lBQ3pELFFBQVEsY0FBYyxFQUFFO1FBQ3RCLEtBQUssa0JBQWtCO1lBQ3JCLE9BQU8sVUFBVSxDQUFBO1FBQ25CLEtBQUssaUJBQWlCO1lBQ3BCLE9BQU8saUJBQWlCLENBQUE7UUFDMUIsS0FBSyxlQUFlO1lBQ2xCLE9BQU8sZUFBZSxDQUFBO1FBQ3hCLEtBQUssZUFBZTtZQUNsQixPQUFPLGdCQUFnQixDQUFBO1FBQ3pCO1lBQ0UsT0FBTyxpQkFBaUIsQ0FBQTtLQUMzQjtBQUNILENBQUMsQ0FBQTtBQUVELE1BQU0sQ0FBQyxJQUFNLHFCQUFxQixHQUFHLFVBQUMsY0FBdUI7SUFDM0QsUUFBUSxjQUFjLEVBQUU7UUFDdEIsS0FBSyxnQkFBZ0I7WUFDbkIsT0FBTyxrQkFBa0IsQ0FBQTtRQUMzQixLQUFLLGVBQWU7WUFDbEIsT0FBTyxpQkFBaUIsQ0FBQTtRQUMxQixLQUFLLGFBQWE7WUFDaEIsT0FBTyxlQUFlLENBQUE7UUFDeEI7WUFDRSxPQUFPLGlCQUFpQixDQUFBO0tBQzNCO0FBQ0gsQ0FBQyxDQUFBIn0=
77
+ export var getJustifySelfClassName = function (justifyContent) {
78
+ if (!justifyContent)
79
+ return 'justified-selfstart';
80
+ switch (true) {
81
+ case ['ALIGNED_CENTER', 'CENTER'].includes(justifyContent):
82
+ return 'justified-self-center';
83
+ case ['START', 'ALIGNED_START'].includes(justifyContent):
84
+ return 'justified-self-start';
85
+ case ['ALIGNED_END', 'END'].includes(justifyContent):
86
+ return 'justified-selfend';
87
+ default:
88
+ return 'justified-selfstart';
89
+ }
90
+ };
91
+ //# sourceMapping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7QUFDSCxDQUFDLENBQUEifQ==
@@ -0,0 +1,2 @@
1
+ import { RadiusValues } from '../../components/image/ImageProps';
2
+ export declare const getRadiusStyle: (radius?: RadiusValues) => 0 | 16 | 4 | 8;
@@ -0,0 +1,14 @@
1
+ import { RadiusValues } from '../../components/image/ImageProps';
2
+ export var getRadiusStyle = function (radius) {
3
+ switch (radius) {
4
+ case RadiusValues.LARGE:
5
+ return 16;
6
+ case RadiusValues.MEDIUM:
7
+ return 8;
8
+ case RadiusValues.SMALL:
9
+ return 4;
10
+ default:
11
+ return 0;
12
+ }
13
+ };
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmFkaXVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vb2JqZWN0cy9mYWNldHMvUmFkaXVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQTtBQUU1RCxNQUFNLENBQUMsSUFBTSxjQUFjLEdBQUcsVUFBQyxNQUFxQjtJQUNsRCxRQUFRLE1BQU0sRUFBRTtRQUNkLEtBQUssWUFBWSxDQUFDLEtBQUs7WUFDckIsT0FBTyxFQUFFLENBQUE7UUFDWCxLQUFLLFlBQVksQ0FBQyxNQUFNO1lBQ3RCLE9BQU8sQ0FBQyxDQUFBO1FBQ1YsS0FBSyxZQUFZLENBQUMsS0FBSztZQUNyQixPQUFPLENBQUMsQ0FBQTtRQUNWO1lBQ0UsT0FBTyxDQUFDLENBQUE7S0FDWDtBQUNILENBQUMsQ0FBQSJ9
@@ -7,6 +7,7 @@ export * from './Clickable';
7
7
  export * from './Clipped';
8
8
  export * from './Color';
9
9
  export * from './Dev';
10
+ export * from './Direction';
10
11
  export * from './ScrollDirection';
11
12
  export * from './Fullwidth';
12
13
  export * from './Fullheight';
@@ -7,6 +7,7 @@ export * from './Clickable';
7
7
  export * from './Clipped';
8
8
  export * from './Color';
9
9
  export * from './Dev';
10
+ export * from './Direction';
10
11
  export * from './ScrollDirection';
11
12
  export * from './Fullwidth';
12
13
  export * from './Fullheight';
@@ -27,4 +28,4 @@ export * from './Paddingless';
27
28
  export * from './VerticalPaddingless';
28
29
  export * from './Position';
29
30
  export * from './ChildrenWithNoText';
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9vYmplY3RzL2ZhY2V0cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlCQUFpQixDQUFBO0FBQy9CLGNBQWMsVUFBVSxDQUFBO0FBQ3hCLGNBQWMsYUFBYSxDQUFBO0FBQzNCLGNBQWMsYUFBYSxDQUFBO0FBQzNCLGNBQWMsY0FBYyxDQUFBO0FBQzVCLGNBQWMsYUFBYSxDQUFBO0FBQzNCLGNBQWMsV0FBVyxDQUFBO0FBQ3pCLGNBQWMsU0FBUyxDQUFBO0FBQ3ZCLGNBQWMsT0FBTyxDQUFBO0FBQ3JCLGNBQWMsbUJBQW1CLENBQUE7QUFDakMsY0FBYyxhQUFhLENBQUE7QUFDM0IsY0FBYyxjQUFjLENBQUE7QUFDNUIsY0FBYyxPQUFPLENBQUE7QUFDckIsY0FBYyxVQUFVLENBQUE7QUFDeEIsY0FBYyxjQUFjLENBQUE7QUFDNUIsY0FBYyxlQUFlLENBQUE7QUFDN0IsY0FBYyxVQUFVLENBQUE7QUFDeEIsY0FBYyxZQUFZLENBQUE7QUFDMUIsY0FBYyxjQUFjLENBQUE7QUFDNUIsY0FBYyxVQUFVLENBQUE7QUFDeEIsY0FBYyxTQUFTLENBQUE7QUFDdkIsY0FBYyxXQUFXLENBQUE7QUFDekIsY0FBYyxVQUFVLENBQUE7QUFDeEIsY0FBYyxXQUFXLENBQUE7QUFDekIs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UIsQ0FBQTtBQUMvQixjQUFjLGVBQWUsQ0FBQTtBQUM3QixjQUFjLHVCQUF1QixDQUFBO0FBQ3JDLGNBQWMsWUFBWSxDQUFBO0FBQzFCLGNBQWMsc0JBQXNCLENBQUEifQ==
package/lib/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.3-beta-v4";
1
+ export declare const version = "0.0.4-alpha-prompt";
package/lib/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export var version = "0.0.3-beta-v4";
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLElBQU0sT0FBTyxHQUFHLGVBQWUsQ0FBQSJ9
1
+ export var version = "0.0.4-alpha-prompt";
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLElBQU0sT0FBTyxHQUFHLG9CQUFvQixDQUFBIn0=
@@ -0,0 +1,3 @@
1
+ {
2
+ "VERSION": "410"
3
+ }
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@trilogy-ds/react",
3
- "version": "0.0.3-beta-v4",
3
+ "version": "0.0.4-alpha-prompt",
4
4
  "author": "Bouygues Telecom",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/BouyguesTelecom/trilogy",
8
+ "directory": "packages/react"
9
+ },
5
10
  "files": [
6
11
  "lib"
7
12
  ],
@@ -19,18 +24,32 @@
19
24
  "build": "rimraf lib && npm run prebuild && tsc -p ./tsconfig.build.json && tsc-alias && cp -R ../../config/native/react-native.config.js ./lib/"
20
25
  },
21
26
  "dependencies": {
27
+ "@ptomasroos/react-native-multi-slider": "^2.2.2",
22
28
  "@react-native-picker/picker": "^2.6.1",
29
+ "@trilogy-ds/assets": "*",
30
+ "@trilogy-ds/locales": "en",
31
+ "@trilogy-ds/styles": "*",
23
32
  "clsx": "^2.1.0",
24
33
  "color": "^4.2.3",
25
- "react-content-loader": "^6.2.1",
34
+ "react-native-gesture-handler": "^2.16.0",
26
35
  "react-native-modal": "^13.0.1",
36
+ "react-native-svg": "^15.11.1",
27
37
  "react-native-toast-message": "^2.2.0",
28
38
  "rollup-plugin-copy": "^3.5.0",
29
- "shortid": "^2.2.16",
30
- "@trilogy-ds/assets": "*",
31
- "@trilogy-ds/styles": "*",
32
- "@ptomasroos/react-native-multi-slider": "^2.2.2",
33
- "react-native-gesture-handler": "^2.16.0"
39
+ "shortid": "^2.2.16"
40
+ },
41
+ "devDependencies": {
42
+ "jest-util": "^29.7.0"
43
+ },
44
+ "peerDependencies": {
45
+ "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
46
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
47
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
48
+ },
49
+ "peerDependenciesMeta": {
50
+ "@types/react": {
51
+ "optional": true
52
+ }
34
53
  },
35
54
  "keywords": [
36
55
  "react",
@@ -1,24 +0,0 @@
1
- /**
2
- * List of variant for Sticker
3
- */
4
- export declare enum StickerVariant {
5
- PRIMARY = "primary",
6
- SUCCESS = "success",
7
- INFO = "info"
8
- }
9
- /**
10
- * List of variant for Sticker values
11
- */
12
- export type StickerVariantValues = `${StickerVariant}`;
13
- /**
14
- * List of available Markup
15
- */
16
- export declare enum StickerMarkup {
17
- DIV = "div",
18
- P = "p",
19
- SPAN = "span"
20
- }
21
- /**
22
- * List of available Markup values
23
- */
24
- export type StickerMarkupValues = `${StickerMarkup}`;
@@ -1,19 +0,0 @@
1
- /**
2
- * List of variant for Sticker
3
- */
4
- export var StickerVariant;
5
- (function (StickerVariant) {
6
- StickerVariant["PRIMARY"] = "primary";
7
- StickerVariant["SUCCESS"] = "success";
8
- StickerVariant["INFO"] = "info";
9
- })(StickerVariant || (StickerVariant = {}));
10
- /**
11
- * List of available Markup
12
- */
13
- export var StickerMarkup;
14
- (function (StickerMarkup) {
15
- StickerMarkup["DIV"] = "div";
16
- StickerMarkup["P"] = "p";
17
- StickerMarkup["SPAN"] = "span";
18
- })(StickerMarkup || (StickerMarkup = {}));
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RpY2tlckVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9jb21wb25lbnRzL3N0aWNrZXIvU3RpY2tlckVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxNQUFNLENBQU4sSUFBWSxjQUlYO0FBSkQsV0FBWSxjQUFjO0lBQ3hCLHFDQUFtQixDQUFBO0lBQ25CLHFDQUFtQixDQUFBO0lBQ25CLCtCQUFhLENBQUE7QUFDZixDQUFDLEVBSlcsY0FBYyxLQUFkLGNBQWMsUUFJekI7QUFPRDs7R0FFRztBQUNILE1BQU0sQ0FBTixJQUFZLGFBSVg7QUFKRCxXQUFZLGFBQWE7SUFDdkIsNEJBQVcsQ0FBQTtJQUNYLHdCQUFPLENBQUE7SUFDUCw4QkFBYSxDQUFBO0FBQ2YsQ0FBQyxFQUpXLGFBQWEsS0FBYixhQUFhLFFBSXhCIn0=
@@ -1 +0,0 @@
1
- export default {};
package/lib/hash.json DELETED
@@ -1,3 +0,0 @@
1
- {
2
- "HASH": "160b3e3"
3
- }