@draftbit/core 46.10.3-61c083.2 → 46.10.3-6c7505.2

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 (483) hide show
  1. package/lib/commonjs/components/Accordion/AccordionItem.js +4 -23
  2. package/lib/commonjs/components/IconButton.js +19 -4
  3. package/lib/commonjs/components/Layout.js +40 -19
  4. package/lib/commonjs/components/Picker/PickerComponent.android.js +3 -20
  5. package/lib/commonjs/components/Table/Table.js +5 -5
  6. package/lib/commonjs/constants.js +1 -1
  7. package/lib/commonjs/styles/overlay.js +3 -1
  8. package/lib/commonjs/utilities.js +2 -1
  9. package/package.json +3 -3
  10. package/lib/commonjs/mappings/Accordion.js +0 -49
  11. package/lib/commonjs/mappings/AccordionItem.js +0 -24
  12. package/lib/commonjs/mappings/ActionSheet.js +0 -21
  13. package/lib/commonjs/mappings/ActionSheetCancel.js +0 -27
  14. package/lib/commonjs/mappings/ActionSheetItem.js +0 -31
  15. package/lib/commonjs/mappings/ActivityIndicator.js +0 -64
  16. package/lib/commonjs/mappings/AudioPlayer.js +0 -57
  17. package/lib/commonjs/mappings/AvatarEdit.js +0 -45
  18. package/lib/commonjs/mappings/Banner.js +0 -39
  19. package/lib/commonjs/mappings/BlurView.js +0 -49
  20. package/lib/commonjs/mappings/BottomSheet.js +0 -70
  21. package/lib/commonjs/mappings/Button.js +0 -95
  22. package/lib/commonjs/mappings/Card.js +0 -60
  23. package/lib/commonjs/mappings/Carousel.js +0 -24
  24. package/lib/commonjs/mappings/Checkbox.js +0 -53
  25. package/lib/commonjs/mappings/CheckboxGroup.js +0 -33
  26. package/lib/commonjs/mappings/CheckboxRow.js +0 -64
  27. package/lib/commonjs/mappings/CircleImage.js +0 -32
  28. package/lib/commonjs/mappings/CustomCode.js +0 -15
  29. package/lib/commonjs/mappings/DatePicker.js +0 -181
  30. package/lib/commonjs/mappings/DeckSwiper.js +0 -55
  31. package/lib/commonjs/mappings/DeckSwiperCard.js +0 -23
  32. package/lib/commonjs/mappings/Divider.js +0 -32
  33. package/lib/commonjs/mappings/FAB.js +0 -44
  34. package/lib/commonjs/mappings/Fetch.js +0 -20
  35. package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -56
  36. package/lib/commonjs/mappings/FlashList.js +0 -111
  37. package/lib/commonjs/mappings/FlatList.js +0 -58
  38. package/lib/commonjs/mappings/HeaderLarge.js +0 -34
  39. package/lib/commonjs/mappings/HeaderMedium.js +0 -60
  40. package/lib/commonjs/mappings/HeaderOverline.js +0 -60
  41. package/lib/commonjs/mappings/Icon.js +0 -33
  42. package/lib/commonjs/mappings/IconButton.js +0 -36
  43. package/lib/commonjs/mappings/Image.js +0 -36
  44. package/lib/commonjs/mappings/ImageBackground.js +0 -36
  45. package/lib/commonjs/mappings/KeyboardAvoidingView.js +0 -48
  46. package/lib/commonjs/mappings/KeyboardAwareScrollView.js +0 -57
  47. package/lib/commonjs/mappings/Layout.js +0 -200
  48. package/lib/commonjs/mappings/LinearGradient.js +0 -88
  49. package/lib/commonjs/mappings/MapCallout.js +0 -29
  50. package/lib/commonjs/mappings/MapMarker.js +0 -55
  51. package/lib/commonjs/mappings/MapView.js +0 -142
  52. package/lib/commonjs/mappings/Markdown.js +0 -27
  53. package/lib/commonjs/mappings/Modal.js +0 -49
  54. package/lib/commonjs/mappings/NativeBase/Layout.js +0 -108
  55. package/lib/commonjs/mappings/NumberInput.js +0 -238
  56. package/lib/commonjs/mappings/Picker.js +0 -154
  57. package/lib/commonjs/mappings/ProgressBar.js +0 -106
  58. package/lib/commonjs/mappings/ProgressCircle.js +0 -116
  59. package/lib/commonjs/mappings/RadioButton.js +0 -58
  60. package/lib/commonjs/mappings/RadioButtonGroup.js +0 -24
  61. package/lib/commonjs/mappings/RadioButtonRow.js +0 -45
  62. package/lib/commonjs/mappings/RowBodyIcon.js +0 -79
  63. package/lib/commonjs/mappings/RowHeadlineImageCaption.js +0 -169
  64. package/lib/commonjs/mappings/RowHeadlineImageIcon.js +0 -99
  65. package/lib/commonjs/mappings/SVG.js +0 -22
  66. package/lib/commonjs/mappings/SafeAreaView.js +0 -40
  67. package/lib/commonjs/mappings/ScrollView.js +0 -44
  68. package/lib/commonjs/mappings/Shadow.js +0 -102
  69. package/lib/commonjs/mappings/Slider.js +0 -67
  70. package/lib/commonjs/mappings/StarRating.js +0 -53
  71. package/lib/commonjs/mappings/Stepper.js +0 -38
  72. package/lib/commonjs/mappings/Surface.js +0 -21
  73. package/lib/commonjs/mappings/Swiper.js +0 -70
  74. package/lib/commonjs/mappings/SwiperItem.js +0 -16
  75. package/lib/commonjs/mappings/Switch.js +0 -81
  76. package/lib/commonjs/mappings/TabView.js +0 -74
  77. package/lib/commonjs/mappings/TabViewItem.js +0 -37
  78. package/lib/commonjs/mappings/Table.js +0 -140
  79. package/lib/commonjs/mappings/Text.js +0 -234
  80. package/lib/commonjs/mappings/TextArea.js +0 -254
  81. package/lib/commonjs/mappings/TextField.js +0 -360
  82. package/lib/commonjs/mappings/TextInput.js +0 -345
  83. package/lib/commonjs/mappings/ToggleButton.js +0 -53
  84. package/lib/commonjs/mappings/Touchable.js +0 -67
  85. package/lib/commonjs/mappings/Video.js +0 -82
  86. package/lib/commonjs/mappings/View.js +0 -186
  87. package/lib/commonjs/mappings/WebView.js +0 -93
  88. package/lib/commonjs/mappings/YoutubePlayer.js +0 -38
  89. package/lib/module/mappings/Accordion.js +0 -42
  90. package/lib/module/mappings/AccordionItem.js +0 -17
  91. package/lib/module/mappings/ActionSheet.js +0 -14
  92. package/lib/module/mappings/ActionSheetCancel.js +0 -20
  93. package/lib/module/mappings/ActionSheetItem.js +0 -24
  94. package/lib/module/mappings/ActivityIndicator.js +0 -57
  95. package/lib/module/mappings/AudioPlayer.js +0 -50
  96. package/lib/module/mappings/AvatarEdit.js +0 -38
  97. package/lib/module/mappings/Banner.js +0 -32
  98. package/lib/module/mappings/BlurView.js +0 -42
  99. package/lib/module/mappings/BottomSheet.js +0 -63
  100. package/lib/module/mappings/Button.js +0 -88
  101. package/lib/module/mappings/Card.js +0 -53
  102. package/lib/module/mappings/Carousel.js +0 -17
  103. package/lib/module/mappings/Checkbox.js +0 -46
  104. package/lib/module/mappings/CheckboxGroup.js +0 -26
  105. package/lib/module/mappings/CheckboxRow.js +0 -57
  106. package/lib/module/mappings/CircleImage.js +0 -25
  107. package/lib/module/mappings/CustomCode.js +0 -8
  108. package/lib/module/mappings/DatePicker.js +0 -174
  109. package/lib/module/mappings/DeckSwiper.js +0 -48
  110. package/lib/module/mappings/DeckSwiperCard.js +0 -16
  111. package/lib/module/mappings/Divider.js +0 -25
  112. package/lib/module/mappings/FAB.js +0 -37
  113. package/lib/module/mappings/Fetch.js +0 -13
  114. package/lib/module/mappings/FieldSearchBarFull.js +0 -49
  115. package/lib/module/mappings/FlashList.js +0 -104
  116. package/lib/module/mappings/FlatList.js +0 -51
  117. package/lib/module/mappings/HeaderLarge.js +0 -27
  118. package/lib/module/mappings/HeaderMedium.js +0 -53
  119. package/lib/module/mappings/HeaderOverline.js +0 -53
  120. package/lib/module/mappings/Icon.js +0 -26
  121. package/lib/module/mappings/IconButton.js +0 -29
  122. package/lib/module/mappings/Image.js +0 -29
  123. package/lib/module/mappings/ImageBackground.js +0 -29
  124. package/lib/module/mappings/KeyboardAvoidingView.js +0 -41
  125. package/lib/module/mappings/KeyboardAwareScrollView.js +0 -50
  126. package/lib/module/mappings/Layout.js +0 -193
  127. package/lib/module/mappings/LinearGradient.js +0 -81
  128. package/lib/module/mappings/MapCallout.js +0 -22
  129. package/lib/module/mappings/MapMarker.js +0 -48
  130. package/lib/module/mappings/MapView.js +0 -135
  131. package/lib/module/mappings/Markdown.js +0 -20
  132. package/lib/module/mappings/Modal.js +0 -42
  133. package/lib/module/mappings/NativeBase/Layout.js +0 -101
  134. package/lib/module/mappings/NumberInput.js +0 -230
  135. package/lib/module/mappings/Picker.js +0 -147
  136. package/lib/module/mappings/ProgressBar.js +0 -99
  137. package/lib/module/mappings/ProgressCircle.js +0 -109
  138. package/lib/module/mappings/RadioButton.js +0 -51
  139. package/lib/module/mappings/RadioButtonGroup.js +0 -17
  140. package/lib/module/mappings/RadioButtonRow.js +0 -38
  141. package/lib/module/mappings/RowBodyIcon.js +0 -72
  142. package/lib/module/mappings/RowHeadlineImageCaption.js +0 -162
  143. package/lib/module/mappings/RowHeadlineImageIcon.js +0 -92
  144. package/lib/module/mappings/SVG.js +0 -15
  145. package/lib/module/mappings/SafeAreaView.js +0 -33
  146. package/lib/module/mappings/ScrollView.js +0 -37
  147. package/lib/module/mappings/Shadow.js +0 -95
  148. package/lib/module/mappings/Slider.js +0 -60
  149. package/lib/module/mappings/StarRating.js +0 -46
  150. package/lib/module/mappings/Stepper.js +0 -31
  151. package/lib/module/mappings/Surface.js +0 -14
  152. package/lib/module/mappings/Swiper.js +0 -63
  153. package/lib/module/mappings/SwiperItem.js +0 -9
  154. package/lib/module/mappings/Switch.js +0 -74
  155. package/lib/module/mappings/TabView.js +0 -67
  156. package/lib/module/mappings/TabViewItem.js +0 -30
  157. package/lib/module/mappings/Table.js +0 -133
  158. package/lib/module/mappings/Text.js +0 -227
  159. package/lib/module/mappings/TextArea.js +0 -247
  160. package/lib/module/mappings/TextField.js +0 -353
  161. package/lib/module/mappings/TextInput.js +0 -337
  162. package/lib/module/mappings/ToggleButton.js +0 -46
  163. package/lib/module/mappings/Touchable.js +0 -60
  164. package/lib/module/mappings/Video.js +0 -75
  165. package/lib/module/mappings/View.js +0 -179
  166. package/lib/module/mappings/WebView.js +0 -86
  167. package/lib/module/mappings/YoutubePlayer.js +0 -31
  168. package/lib/typescript/src/mappings/Accordion.d.ts +0 -90
  169. package/lib/typescript/src/mappings/Accordion.d.ts.map +0 -1
  170. package/lib/typescript/src/mappings/AccordionItem.d.ts +0 -31
  171. package/lib/typescript/src/mappings/AccordionItem.d.ts.map +0 -1
  172. package/lib/typescript/src/mappings/ActionSheet.d.ts +0 -20
  173. package/lib/typescript/src/mappings/ActionSheet.d.ts.map +0 -1
  174. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +0 -32
  175. package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +0 -1
  176. package/lib/typescript/src/mappings/ActionSheetItem.d.ts +0 -35
  177. package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +0 -1
  178. package/lib/typescript/src/mappings/ActivityIndicator.d.ts +0 -57
  179. package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +0 -1
  180. package/lib/typescript/src/mappings/AudioPlayer.d.ts +0 -81
  181. package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +0 -1
  182. package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -38
  183. package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +0 -1
  184. package/lib/typescript/src/mappings/Banner.d.ts +0 -49
  185. package/lib/typescript/src/mappings/Banner.d.ts.map +0 -1
  186. package/lib/typescript/src/mappings/BlurView.d.ts +0 -42
  187. package/lib/typescript/src/mappings/BlurView.d.ts.map +0 -1
  188. package/lib/typescript/src/mappings/BottomSheet.d.ts +0 -115
  189. package/lib/typescript/src/mappings/BottomSheet.d.ts.map +0 -1
  190. package/lib/typescript/src/mappings/Button.d.ts +0 -222
  191. package/lib/typescript/src/mappings/Button.d.ts.map +0 -1
  192. package/lib/typescript/src/mappings/Card.d.ts +0 -114
  193. package/lib/typescript/src/mappings/Card.d.ts.map +0 -1
  194. package/lib/typescript/src/mappings/Carousel.d.ts +0 -34
  195. package/lib/typescript/src/mappings/Carousel.d.ts.map +0 -1
  196. package/lib/typescript/src/mappings/Checkbox.d.ts +0 -83
  197. package/lib/typescript/src/mappings/Checkbox.d.ts.map +0 -1
  198. package/lib/typescript/src/mappings/CheckboxGroup.d.ts +0 -35
  199. package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +0 -1
  200. package/lib/typescript/src/mappings/CheckboxRow.d.ts +0 -108
  201. package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +0 -1
  202. package/lib/typescript/src/mappings/CircleImage.d.ts +0 -34
  203. package/lib/typescript/src/mappings/CircleImage.d.ts.map +0 -1
  204. package/lib/typescript/src/mappings/CustomCode.d.ts +0 -8
  205. package/lib/typescript/src/mappings/CustomCode.d.ts.map +0 -1
  206. package/lib/typescript/src/mappings/DatePicker.d.ts +0 -168
  207. package/lib/typescript/src/mappings/DatePicker.d.ts.map +0 -1
  208. package/lib/typescript/src/mappings/DeckSwiper.d.ts +0 -86
  209. package/lib/typescript/src/mappings/DeckSwiper.d.ts.map +0 -1
  210. package/lib/typescript/src/mappings/DeckSwiperCard.d.ts +0 -16
  211. package/lib/typescript/src/mappings/DeckSwiperCard.d.ts.map +0 -1
  212. package/lib/typescript/src/mappings/Divider.d.ts +0 -25
  213. package/lib/typescript/src/mappings/Divider.d.ts.map +0 -1
  214. package/lib/typescript/src/mappings/FAB.d.ts +0 -83
  215. package/lib/typescript/src/mappings/FAB.d.ts.map +0 -1
  216. package/lib/typescript/src/mappings/Fetch.d.ts +0 -12
  217. package/lib/typescript/src/mappings/Fetch.d.ts.map +0 -1
  218. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -56
  219. package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +0 -1
  220. package/lib/typescript/src/mappings/FlashList.d.ts +0 -230
  221. package/lib/typescript/src/mappings/FlashList.d.ts.map +0 -1
  222. package/lib/typescript/src/mappings/FlatList.d.ts +0 -116
  223. package/lib/typescript/src/mappings/FlatList.d.ts.map +0 -1
  224. package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -34
  225. package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +0 -1
  226. package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -53
  227. package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +0 -1
  228. package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -53
  229. package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +0 -1
  230. package/lib/typescript/src/mappings/Icon.d.ts +0 -42
  231. package/lib/typescript/src/mappings/Icon.d.ts.map +0 -1
  232. package/lib/typescript/src/mappings/IconButton.d.ts +0 -72
  233. package/lib/typescript/src/mappings/IconButton.d.ts.map +0 -1
  234. package/lib/typescript/src/mappings/Image.d.ts +0 -48
  235. package/lib/typescript/src/mappings/Image.d.ts.map +0 -1
  236. package/lib/typescript/src/mappings/ImageBackground.d.ts +0 -58
  237. package/lib/typescript/src/mappings/ImageBackground.d.ts.map +0 -1
  238. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +0 -41
  239. package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +0 -1
  240. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +0 -105
  241. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +0 -1
  242. package/lib/typescript/src/mappings/Layout.d.ts +0 -169
  243. package/lib/typescript/src/mappings/Layout.d.ts.map +0 -1
  244. package/lib/typescript/src/mappings/LinearGradient.d.ts +0 -99
  245. package/lib/typescript/src/mappings/LinearGradient.d.ts.map +0 -1
  246. package/lib/typescript/src/mappings/MapCallout.d.ts +0 -33
  247. package/lib/typescript/src/mappings/MapCallout.d.ts.map +0 -1
  248. package/lib/typescript/src/mappings/MapMarker.d.ts +0 -56
  249. package/lib/typescript/src/mappings/MapMarker.d.ts.map +0 -1
  250. package/lib/typescript/src/mappings/MapView.d.ts +0 -172
  251. package/lib/typescript/src/mappings/MapView.d.ts.map +0 -1
  252. package/lib/typescript/src/mappings/Markdown.d.ts +0 -20
  253. package/lib/typescript/src/mappings/Markdown.d.ts.map +0 -1
  254. package/lib/typescript/src/mappings/Modal.d.ts +0 -52
  255. package/lib/typescript/src/mappings/Modal.d.ts.map +0 -1
  256. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +0 -133
  257. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +0 -1
  258. package/lib/typescript/src/mappings/NumberInput.d.ts +0 -299
  259. package/lib/typescript/src/mappings/NumberInput.d.ts.map +0 -1
  260. package/lib/typescript/src/mappings/Picker.d.ts +0 -170
  261. package/lib/typescript/src/mappings/Picker.d.ts.map +0 -1
  262. package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -99
  263. package/lib/typescript/src/mappings/ProgressBar.d.ts.map +0 -1
  264. package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -109
  265. package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +0 -1
  266. package/lib/typescript/src/mappings/RadioButton.d.ts +0 -72
  267. package/lib/typescript/src/mappings/RadioButton.d.ts.map +0 -1
  268. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +0 -34
  269. package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +0 -1
  270. package/lib/typescript/src/mappings/RadioButtonRow.d.ts +0 -43
  271. package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +0 -1
  272. package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -73
  273. package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +0 -1
  274. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -166
  275. package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +0 -1
  276. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -170
  277. package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +0 -1
  278. package/lib/typescript/src/mappings/SVG.d.ts +0 -24
  279. package/lib/typescript/src/mappings/SVG.d.ts.map +0 -1
  280. package/lib/typescript/src/mappings/SafeAreaView.d.ts +0 -33
  281. package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +0 -1
  282. package/lib/typescript/src/mappings/ScrollView.d.ts +0 -72
  283. package/lib/typescript/src/mappings/ScrollView.d.ts.map +0 -1
  284. package/lib/typescript/src/mappings/Shadow.d.ts +0 -173
  285. package/lib/typescript/src/mappings/Shadow.d.ts.map +0 -1
  286. package/lib/typescript/src/mappings/Slider.d.ts +0 -110
  287. package/lib/typescript/src/mappings/Slider.d.ts.map +0 -1
  288. package/lib/typescript/src/mappings/StarRating.d.ts +0 -75
  289. package/lib/typescript/src/mappings/StarRating.d.ts.map +0 -1
  290. package/lib/typescript/src/mappings/Stepper.d.ts +0 -67
  291. package/lib/typescript/src/mappings/Stepper.d.ts.map +0 -1
  292. package/lib/typescript/src/mappings/Surface.d.ts +0 -24
  293. package/lib/typescript/src/mappings/Surface.d.ts.map +0 -1
  294. package/lib/typescript/src/mappings/Swiper.d.ts +0 -119
  295. package/lib/typescript/src/mappings/Swiper.d.ts.map +0 -1
  296. package/lib/typescript/src/mappings/SwiperItem.d.ts +0 -9
  297. package/lib/typescript/src/mappings/SwiperItem.d.ts.map +0 -1
  298. package/lib/typescript/src/mappings/Switch.d.ts +0 -164
  299. package/lib/typescript/src/mappings/Switch.d.ts.map +0 -1
  300. package/lib/typescript/src/mappings/TabView.d.ts +0 -123
  301. package/lib/typescript/src/mappings/TabView.d.ts.map +0 -1
  302. package/lib/typescript/src/mappings/TabViewItem.d.ts +0 -25
  303. package/lib/typescript/src/mappings/TabViewItem.d.ts.map +0 -1
  304. package/lib/typescript/src/mappings/Table.d.ts +0 -337
  305. package/lib/typescript/src/mappings/Table.d.ts.map +0 -1
  306. package/lib/typescript/src/mappings/Text.d.ts +0 -411
  307. package/lib/typescript/src/mappings/Text.d.ts.map +0 -1
  308. package/lib/typescript/src/mappings/TextArea.d.ts +0 -263
  309. package/lib/typescript/src/mappings/TextArea.d.ts.map +0 -1
  310. package/lib/typescript/src/mappings/TextField.d.ts +0 -629
  311. package/lib/typescript/src/mappings/TextField.d.ts.map +0 -1
  312. package/lib/typescript/src/mappings/TextInput.d.ts +0 -415
  313. package/lib/typescript/src/mappings/TextInput.d.ts.map +0 -1
  314. package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -116
  315. package/lib/typescript/src/mappings/ToggleButton.d.ts.map +0 -1
  316. package/lib/typescript/src/mappings/Touchable.d.ts +0 -96
  317. package/lib/typescript/src/mappings/Touchable.d.ts.map +0 -1
  318. package/lib/typescript/src/mappings/Video.d.ts +0 -129
  319. package/lib/typescript/src/mappings/Video.d.ts.map +0 -1
  320. package/lib/typescript/src/mappings/View.d.ts +0 -179
  321. package/lib/typescript/src/mappings/View.d.ts.map +0 -1
  322. package/lib/typescript/src/mappings/WebView.d.ts +0 -135
  323. package/lib/typescript/src/mappings/WebView.d.ts.map +0 -1
  324. package/lib/typescript/src/mappings/YoutubePlayer.d.ts +0 -27
  325. package/lib/typescript/src/mappings/YoutubePlayer.d.ts.map +0 -1
  326. package/src/mappings/Accordion.js +0 -50
  327. package/src/mappings/Accordion.ts +0 -60
  328. package/src/mappings/AccordionItem.js +0 -17
  329. package/src/mappings/AccordionItem.ts +0 -24
  330. package/src/mappings/ActionSheet.js +0 -17
  331. package/src/mappings/ActionSheet.ts +0 -23
  332. package/src/mappings/ActionSheetCancel.js +0 -23
  333. package/src/mappings/ActionSheetCancel.ts +0 -32
  334. package/src/mappings/ActionSheetItem.js +0 -27
  335. package/src/mappings/ActionSheetItem.ts +0 -36
  336. package/src/mappings/ActivityIndicator.js +0 -58
  337. package/src/mappings/ActivityIndicator.ts +0 -68
  338. package/src/mappings/AudioPlayer.js +0 -57
  339. package/src/mappings/AudioPlayer.ts +0 -67
  340. package/src/mappings/AvatarEdit.js +0 -38
  341. package/src/mappings/AvatarEdit.ts +0 -45
  342. package/src/mappings/Banner.js +0 -32
  343. package/src/mappings/Banner.ts +0 -40
  344. package/src/mappings/BlurView.js +0 -42
  345. package/src/mappings/BlurView.ts +0 -51
  346. package/src/mappings/BottomSheet.js +0 -63
  347. package/src/mappings/BottomSheet.ts +0 -77
  348. package/src/mappings/Button.js +0 -116
  349. package/src/mappings/Button.ts +0 -130
  350. package/src/mappings/Card.js +0 -52
  351. package/src/mappings/Card.ts +0 -64
  352. package/src/mappings/Carousel.js +0 -19
  353. package/src/mappings/Carousel.ts +0 -25
  354. package/src/mappings/Checkbox.js +0 -46
  355. package/src/mappings/Checkbox.ts +0 -57
  356. package/src/mappings/CheckboxGroup.js +0 -26
  357. package/src/mappings/CheckboxGroup.ts +0 -37
  358. package/src/mappings/CheckboxRow.js +0 -61
  359. package/src/mappings/CheckboxRow.ts +0 -74
  360. package/src/mappings/CircleImage.js +0 -25
  361. package/src/mappings/CircleImage.ts +0 -33
  362. package/src/mappings/CustomCode.js +0 -8
  363. package/src/mappings/CustomCode.ts +0 -9
  364. package/src/mappings/DatePicker.js +0 -182
  365. package/src/mappings/DatePicker.ts +0 -197
  366. package/src/mappings/DeckSwiper.js +0 -48
  367. package/src/mappings/DeckSwiper.ts +0 -57
  368. package/src/mappings/DeckSwiperCard.js +0 -16
  369. package/src/mappings/DeckSwiperCard.ts +0 -20
  370. package/src/mappings/Divider.js +0 -27
  371. package/src/mappings/Divider.ts +0 -34
  372. package/src/mappings/FAB.js +0 -37
  373. package/src/mappings/FAB.ts +0 -48
  374. package/src/mappings/Fetch.js +0 -13
  375. package/src/mappings/Fetch.ts +0 -14
  376. package/src/mappings/FieldSearchBarFull.js +0 -50
  377. package/src/mappings/FieldSearchBarFull.ts +0 -59
  378. package/src/mappings/FlashList.js +0 -113
  379. package/src/mappings/FlashList.ts +0 -131
  380. package/src/mappings/FlatList.js +0 -51
  381. package/src/mappings/FlatList.ts +0 -64
  382. package/src/mappings/HeaderLarge.js +0 -29
  383. package/src/mappings/HeaderLarge.ts +0 -38
  384. package/src/mappings/HeaderMedium.js +0 -55
  385. package/src/mappings/HeaderMedium.ts +0 -63
  386. package/src/mappings/HeaderOverline.js +0 -55
  387. package/src/mappings/HeaderOverline.ts +0 -63
  388. package/src/mappings/Icon.js +0 -32
  389. package/src/mappings/Icon.ts +0 -40
  390. package/src/mappings/IconButton.js +0 -33
  391. package/src/mappings/IconButton.ts +0 -44
  392. package/src/mappings/Image.js +0 -35
  393. package/src/mappings/Image.ts +0 -44
  394. package/src/mappings/ImageBackground.js +0 -29
  395. package/src/mappings/ImageBackground.ts +0 -41
  396. package/src/mappings/KeyboardAvoidingView.js +0 -41
  397. package/src/mappings/KeyboardAvoidingView.ts +0 -50
  398. package/src/mappings/KeyboardAwareScrollView.js +0 -50
  399. package/src/mappings/KeyboardAwareScrollView.ts +0 -63
  400. package/src/mappings/Layout.js +0 -200
  401. package/src/mappings/Layout.ts +0 -207
  402. package/src/mappings/LinearGradient.js +0 -82
  403. package/src/mappings/LinearGradient.ts +0 -89
  404. package/src/mappings/MapCallout.js +0 -26
  405. package/src/mappings/MapCallout.ts +0 -36
  406. package/src/mappings/MapMarker.js +0 -52
  407. package/src/mappings/MapMarker.ts +0 -62
  408. package/src/mappings/MapView.js +0 -142
  409. package/src/mappings/MapView.ts +0 -155
  410. package/src/mappings/Markdown.js +0 -25
  411. package/src/mappings/Markdown.ts +0 -32
  412. package/src/mappings/Modal.js +0 -42
  413. package/src/mappings/Modal.ts +0 -51
  414. package/src/mappings/NativeBase/Layout.js +0 -124
  415. package/src/mappings/NativeBase/Layout.ts +0 -145
  416. package/src/mappings/NumberInput.js +0 -254
  417. package/src/mappings/NumberInput.ts +0 -274
  418. package/src/mappings/Picker.js +0 -153
  419. package/src/mappings/Picker.ts +0 -169
  420. package/src/mappings/ProgressBar.js +0 -101
  421. package/src/mappings/ProgressBar.ts +0 -110
  422. package/src/mappings/ProgressCircle.js +0 -109
  423. package/src/mappings/ProgressCircle.ts +0 -117
  424. package/src/mappings/RadioButton.js +0 -51
  425. package/src/mappings/RadioButton.ts +0 -62
  426. package/src/mappings/RadioButtonGroup.js +0 -17
  427. package/src/mappings/RadioButtonGroup.ts +0 -24
  428. package/src/mappings/RadioButtonRow.js +0 -42
  429. package/src/mappings/RadioButtonRow.ts +0 -51
  430. package/src/mappings/RowBodyIcon.js +0 -75
  431. package/src/mappings/RowBodyIcon.ts +0 -82
  432. package/src/mappings/RowHeadlineImageCaption.js +0 -167
  433. package/src/mappings/RowHeadlineImageCaption.ts +0 -178
  434. package/src/mappings/RowHeadlineImageIcon.js +0 -99
  435. package/src/mappings/RowHeadlineImageIcon.ts +0 -116
  436. package/src/mappings/SVG.js +0 -20
  437. package/src/mappings/SVG.ts +0 -25
  438. package/src/mappings/SafeAreaView.js +0 -33
  439. package/src/mappings/SafeAreaView.ts +0 -39
  440. package/src/mappings/ScrollView.js +0 -37
  441. package/src/mappings/ScrollView.ts +0 -48
  442. package/src/mappings/Shadow.js +0 -95
  443. package/src/mappings/Shadow.ts +0 -104
  444. package/src/mappings/Slider.js +0 -60
  445. package/src/mappings/Slider.ts +0 -70
  446. package/src/mappings/StarRating.js +0 -43
  447. package/src/mappings/StarRating.ts +0 -52
  448. package/src/mappings/Stepper.js +0 -32
  449. package/src/mappings/Stepper.ts +0 -42
  450. package/src/mappings/Surface.js +0 -14
  451. package/src/mappings/Surface.ts +0 -19
  452. package/src/mappings/Swiper.js +0 -71
  453. package/src/mappings/Swiper.ts +0 -82
  454. package/src/mappings/SwiperItem.js +0 -9
  455. package/src/mappings/SwiperItem.ts +0 -13
  456. package/src/mappings/Switch.js +0 -81
  457. package/src/mappings/Switch.ts +0 -92
  458. package/src/mappings/TabView.js +0 -75
  459. package/src/mappings/TabView.ts +0 -85
  460. package/src/mappings/TabViewItem.js +0 -30
  461. package/src/mappings/TabViewItem.ts +0 -38
  462. package/src/mappings/Table.js +0 -150
  463. package/src/mappings/Table.ts +0 -170
  464. package/src/mappings/Text.js +0 -251
  465. package/src/mappings/Text.ts +0 -276
  466. package/src/mappings/TextArea.js +0 -283
  467. package/src/mappings/TextArea.ts +0 -300
  468. package/src/mappings/TextField.js +0 -400
  469. package/src/mappings/TextField.ts +0 -423
  470. package/src/mappings/TextInput.js +0 -402
  471. package/src/mappings/TextInput.ts +0 -431
  472. package/src/mappings/ToggleButton.js +0 -50
  473. package/src/mappings/ToggleButton.ts +0 -63
  474. package/src/mappings/Touchable.js +0 -67
  475. package/src/mappings/Touchable.ts +0 -80
  476. package/src/mappings/Video.js +0 -81
  477. package/src/mappings/Video.ts +0 -95
  478. package/src/mappings/View.js +0 -207
  479. package/src/mappings/View.ts +0 -229
  480. package/src/mappings/WebView.js +0 -88
  481. package/src/mappings/WebView.ts +0 -107
  482. package/src/mappings/YoutubePlayer.js +0 -31
  483. package/src/mappings/YoutubePlayer.ts +0 -37
@@ -1,110 +0,0 @@
1
- import {
2
- COMPONENT_TYPES,
3
- FORM_TYPES,
4
- GROUPS,
5
- PROP_TYPES,
6
- BLOCK_STYLES_SECTIONS,
7
- } from "@draftbit/types";
8
-
9
- export const SEED_DATA = [
10
- {
11
- name: "Progress Bar",
12
- tag: "ProgressBar",
13
- description: "A horizontal bar used to show completed progress",
14
- category: COMPONENT_TYPES.deprecated,
15
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
16
- preview_image_url: "{CLOUDINARY_URL}/Status_Progress.png",
17
- supports_list_render: false,
18
- props: {
19
- progress: {
20
- group: GROUPS.data,
21
- label: "Progress",
22
- description: "The amount of progress to display. A number 0-1.",
23
- formType: FORM_TYPES.number,
24
- propType: PROP_TYPES.NUMBER,
25
- defaultValue: 0.5,
26
- min: 0,
27
- max: 1,
28
- step: 0.01,
29
- precision: 2,
30
- editable: true,
31
- required: true,
32
- },
33
- color: {
34
- group: GROUPS.basic,
35
- label: "Progress Color",
36
- description: "Custom color for the progress shown",
37
- formType: FORM_TYPES.color,
38
- propType: PROP_TYPES.THEME,
39
- defaultValue: null,
40
- editable: true,
41
- required: true,
42
- },
43
- unfilledColor: {
44
- group: GROUPS.basic,
45
- label: "Unfilled Color",
46
- description:
47
- "The color of the unfilled portion of the progress bar(eg. if at 50% then this is the color of the other 50%)",
48
- formType: FORM_TYPES.color,
49
- propType: PROP_TYPES.THEME,
50
- defaultValue: null,
51
- editable: true,
52
- required: true,
53
- },
54
- borderRadius: {
55
- group: GROUPS.basic,
56
- label: "Border Radius",
57
- description: "The border radius of the bar",
58
- formType: FORM_TYPES.number,
59
- propType: PROP_TYPES.NUMBER,
60
- defaultValue: 10,
61
- min: 0,
62
- max: 100,
63
- step: 1,
64
- precision: 1,
65
- editable: true,
66
- required: true,
67
- },
68
- borderWidth: {
69
- group: GROUPS.basic,
70
- label: "Border Width",
71
- description: "The width of the border that surrounds the bar.",
72
- formType: FORM_TYPES.number,
73
- propType: PROP_TYPES.NUMBER,
74
- defaultValue: 1,
75
- min: 0,
76
- max: 15,
77
- step: 1,
78
- precision: 1,
79
- editable: true,
80
- required: true,
81
- },
82
- borderColor: {
83
- group: GROUPS.basic,
84
- label: "Border Color",
85
- description: "Custom color for border of the entire bar",
86
- formType: FORM_TYPES.color,
87
- propType: PROP_TYPES.THEME,
88
- defaultValue: null,
89
- editable: true,
90
- required: true,
91
- },
92
- animationType: {
93
- group: GROUPS.basic,
94
- label: "Animation Type",
95
- description:
96
- "The type of animation that occurs when the bar is filled(Default is Spring)",
97
- formType: FORM_TYPES.flatArray,
98
- propType: PROP_TYPES.STRING,
99
- defaultValue: "spring",
100
- options: ["decay", "timing", "spring"],
101
- editable: true,
102
- required: true,
103
- },
104
- },
105
- layout: {
106
- width: 200,
107
- height: 20,
108
- },
109
- },
110
- ];
@@ -1,109 +0,0 @@
1
- import { COMPONENT_TYPES, FORM_TYPES, GROUPS, PROP_TYPES, BLOCK_STYLES_SECTIONS, } from "@draftbit/types";
2
- export const SEED_DATA = {
3
- name: "Progress Circle",
4
- tag: "ProgressCircle",
5
- description: "A circle used to show completed progress",
6
- category: COMPONENT_TYPES.deprecated,
7
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
8
- preview_image_url: "{CLOUDINARY_URL}/Status_Progress.png",
9
- supports_list_render: false,
10
- props: {
11
- progress: {
12
- group: GROUPS.data,
13
- label: "Progress",
14
- description: "The amount of progress to display. A number 0-1.",
15
- formType: FORM_TYPES.number,
16
- propType: PROP_TYPES.NUMBER,
17
- defaultValue: 0.5,
18
- min: 0,
19
- max: 1,
20
- step: 0.01,
21
- precision: 2,
22
- editable: true,
23
- required: true,
24
- },
25
- color: {
26
- group: GROUPS.basic,
27
- label: "Color",
28
- description: "Color for the progress shown",
29
- editable: true,
30
- defaultValue: "primary",
31
- required: true,
32
- formType: FORM_TYPES.color,
33
- propType: PROP_TYPES.THEME,
34
- },
35
- unfilledColor: {
36
- group: GROUPS.basic,
37
- label: "Unfilled Color",
38
- description: "The color of the unfilled portion of the progress bar(eg. if at 50% then this is the color of the other 50%)",
39
- editable: true,
40
- defaultValue: null,
41
- required: true,
42
- formType: FORM_TYPES.color,
43
- propType: PROP_TYPES.THEME,
44
- },
45
- size: {
46
- group: GROUPS.basic,
47
- label: "Size",
48
- description: "The size of the circle",
49
- formType: FORM_TYPES.number,
50
- propType: PROP_TYPES.NUMBER,
51
- defaultValue: 100,
52
- min: 0,
53
- max: 300,
54
- step: 1,
55
- precision: 1,
56
- editable: true,
57
- required: true,
58
- },
59
- showsText: {
60
- group: GROUPS.basic,
61
- label: "Show Progress Text",
62
- description: "Shows progress in the middle of the circle",
63
- formType: FORM_TYPES.boolean,
64
- propType: PROP_TYPES.BOOLEAN,
65
- defaultValue: true,
66
- editable: true,
67
- required: true,
68
- },
69
- textStyle: {
70
- group: GROUPS.basic,
71
- label: "Text Style",
72
- description: "Text Style of the inner circle",
73
- editable: true,
74
- required: true,
75
- formType: FORM_TYPES.typeStyle,
76
- propType: PROP_TYPES.THEME,
77
- defaultValue: null,
78
- },
79
- thickness: {
80
- group: GROUPS.basic,
81
- label: "Thickness",
82
- description: "Thickness of the inner circle",
83
- formType: FORM_TYPES.number,
84
- propType: PROP_TYPES.NUMBER,
85
- defaultValue: 1,
86
- min: 0,
87
- max: 15,
88
- step: 1,
89
- precision: 1,
90
- editable: true,
91
- required: true,
92
- },
93
- strokeCap: {
94
- group: GROUPS.basic,
95
- label: "Stroke Cap",
96
- description: "The style of the stroke",
97
- formType: FORM_TYPES.flatArray,
98
- propType: PROP_TYPES.STRING,
99
- defaultValue: "butt",
100
- options: ["butt", "square", "round"],
101
- editable: true,
102
- required: true,
103
- },
104
- },
105
- layout: {
106
- width: 250,
107
- height: 250,
108
- },
109
- };
@@ -1,117 +0,0 @@
1
- import {
2
- COMPONENT_TYPES,
3
- FORM_TYPES,
4
- GROUPS,
5
- PROP_TYPES,
6
- BLOCK_STYLES_SECTIONS,
7
- } from "@draftbit/types";
8
-
9
- export const SEED_DATA = {
10
- name: "Progress Circle",
11
- tag: "ProgressCircle",
12
- description: "A circle used to show completed progress",
13
- category: COMPONENT_TYPES.deprecated,
14
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
15
- preview_image_url: "{CLOUDINARY_URL}/Status_Progress.png",
16
- supports_list_render: false,
17
- props: {
18
- progress: {
19
- group: GROUPS.data,
20
- label: "Progress",
21
- description: "The amount of progress to display. A number 0-1.",
22
- formType: FORM_TYPES.number,
23
- propType: PROP_TYPES.NUMBER,
24
- defaultValue: 0.5,
25
- min: 0,
26
- max: 1,
27
- step: 0.01,
28
- precision: 2,
29
- editable: true,
30
- required: true,
31
- },
32
- color: {
33
- group: GROUPS.basic,
34
- label: "Color",
35
- description: "Color for the progress shown",
36
- editable: true,
37
- defaultValue: "primary",
38
- required: true,
39
- formType: FORM_TYPES.color,
40
- propType: PROP_TYPES.THEME,
41
- },
42
- unfilledColor: {
43
- group: GROUPS.basic,
44
- label: "Unfilled Color",
45
- description:
46
- "The color of the unfilled portion of the progress bar(eg. if at 50% then this is the color of the other 50%)",
47
- editable: true,
48
- defaultValue: null,
49
- required: true,
50
- formType: FORM_TYPES.color,
51
- propType: PROP_TYPES.THEME,
52
- },
53
- size: {
54
- group: GROUPS.basic,
55
- label: "Size",
56
- description: "The size of the circle",
57
- formType: FORM_TYPES.number,
58
- propType: PROP_TYPES.NUMBER,
59
- defaultValue: 100,
60
- min: 0,
61
- max: 300,
62
- step: 1,
63
- precision: 1,
64
- editable: true,
65
- required: true,
66
- },
67
- showsText: {
68
- group: GROUPS.basic,
69
- label: "Show Progress Text",
70
- description: "Shows progress in the middle of the circle",
71
- formType: FORM_TYPES.boolean,
72
- propType: PROP_TYPES.BOOLEAN,
73
- defaultValue: true,
74
- editable: true,
75
- required: true,
76
- },
77
- textStyle: {
78
- group: GROUPS.basic,
79
- label: "Text Style",
80
- description: "Text Style of the inner circle",
81
- editable: true,
82
- required: true,
83
- formType: FORM_TYPES.typeStyle,
84
- propType: PROP_TYPES.THEME,
85
- defaultValue: null,
86
- },
87
- thickness: {
88
- group: GROUPS.basic,
89
- label: "Thickness",
90
- description: "Thickness of the inner circle",
91
- formType: FORM_TYPES.number,
92
- propType: PROP_TYPES.NUMBER,
93
- defaultValue: 1,
94
- min: 0,
95
- max: 15,
96
- step: 1,
97
- precision: 1,
98
- editable: true,
99
- required: true,
100
- },
101
- strokeCap: {
102
- group: GROUPS.basic,
103
- label: "Stroke Cap",
104
- description: "The style of the stroke",
105
- formType: FORM_TYPES.flatArray,
106
- propType: PROP_TYPES.STRING,
107
- defaultValue: "butt",
108
- options: ["butt", "square", "round"],
109
- editable: true,
110
- required: true,
111
- },
112
- },
113
- layout: {
114
- width: 250,
115
- height: 250,
116
- },
117
- };
@@ -1,51 +0,0 @@
1
- import { GROUPS, COMPONENT_TYPES, createBoolProp, createColorProp, createNumberProp, createIconProp, createTextProp, Triggers, BLOCK_STYLES_SECTIONS, } from "@draftbit/types";
2
- export const SEED_DATA = {
3
- name: "Radio Button",
4
- tag: "RadioButton",
5
- category: COMPONENT_TYPES.control,
6
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
7
- triggers: [Triggers.OnPress],
8
- props: {
9
- value: createTextProp({
10
- label: "Value",
11
- description: "Value of the radio button",
12
- defaultValue: null,
13
- required: true,
14
- }),
15
- color: createColorProp({
16
- group: GROUPS.basic,
17
- description: "Color for the button",
18
- defaultValue: "primary",
19
- }),
20
- unselectedColor: createColorProp({
21
- group: GROUPS.basic,
22
- label: "Unselected Color",
23
- description: "Unselected Color for the button",
24
- defaultValue: "primary",
25
- }),
26
- disabled: createBoolProp({
27
- label: "Disabled",
28
- description: "Whether radio button is disabled",
29
- }),
30
- size: createNumberProp({
31
- group: GROUPS.basic,
32
- label: "Size",
33
- description: "Specifies the size of the button",
34
- defaultValue: 24,
35
- min: 16,
36
- max: 128,
37
- step: 1,
38
- precision: 0,
39
- }),
40
- selectedIcon: createIconProp({
41
- label: "Selected Icon",
42
- description: "Icon to show when the radio button is selected",
43
- defaultValue: "MaterialIcons/radio-button-checked",
44
- }),
45
- unselectedIcon: createIconProp({
46
- label: "Unselected Icon",
47
- description: "Icon to show when the radio button is unselected",
48
- defaultValue: "MaterialIcons/radio-button-unchecked",
49
- }),
50
- },
51
- };
@@ -1,62 +0,0 @@
1
- import {
2
- GROUPS,
3
- COMPONENT_TYPES,
4
- createBoolProp,
5
- createColorProp,
6
- createNumberProp,
7
- createIconProp,
8
- createTextProp,
9
- Triggers,
10
- BLOCK_STYLES_SECTIONS,
11
- } from "@draftbit/types";
12
-
13
- export const SEED_DATA = {
14
- name: "Radio Button",
15
- tag: "RadioButton",
16
- category: COMPONENT_TYPES.control,
17
- stylesPanelSections: BLOCK_STYLES_SECTIONS,
18
- triggers: [Triggers.OnPress],
19
- props: {
20
- value: createTextProp({
21
- label: "Value",
22
- description: "Value of the radio button",
23
- defaultValue: null,
24
- required: true,
25
- }),
26
- color: createColorProp({
27
- group: GROUPS.basic,
28
- description: "Color for the button",
29
- defaultValue: "primary",
30
- }),
31
- unselectedColor: createColorProp({
32
- group: GROUPS.basic,
33
- label: "Unselected Color",
34
- description: "Unselected Color for the button",
35
- defaultValue: "primary",
36
- }),
37
- disabled: createBoolProp({
38
- label: "Disabled",
39
- description: "Whether radio button is disabled",
40
- }),
41
- size: createNumberProp({
42
- group: GROUPS.basic,
43
- label: "Size",
44
- description: "Specifies the size of the button",
45
- defaultValue: 24,
46
- min: 16,
47
- max: 128,
48
- step: 1,
49
- precision: 0,
50
- }),
51
- selectedIcon: createIconProp({
52
- label: "Selected Icon",
53
- description: "Icon to show when the radio button is selected",
54
- defaultValue: "MaterialIcons/radio-button-checked",
55
- }),
56
- unselectedIcon: createIconProp({
57
- label: "Unselected Icon",
58
- description: "Icon to show when the radio button is unselected",
59
- defaultValue: "MaterialIcons/radio-button-unchecked",
60
- }),
61
- },
62
- };
@@ -1,17 +0,0 @@
1
- import { COMPONENT_TYPES, createFieldNameProp, createDirectionProp, Triggers, StylesPanelSections, } from "@draftbit/types";
2
- export const SEED_DATA = {
3
- name: "Radio Button Group",
4
- tag: "RadioButtonGroup",
5
- category: COMPONENT_TYPES.control,
6
- stylesPanelSections: [StylesPanelSections.Margins],
7
- layout: {},
8
- triggers: [Triggers.OnValueChange],
9
- props: {
10
- direction: createDirectionProp(),
11
- fieldName: createFieldNameProp({
12
- handlerPropName: "onValueChange",
13
- valuePropName: "value",
14
- defaultValue: "radioButtonGroupValue",
15
- }),
16
- },
17
- };
@@ -1,24 +0,0 @@
1
- import {
2
- COMPONENT_TYPES,
3
- createFieldNameProp,
4
- createDirectionProp,
5
- Triggers,
6
- StylesPanelSections,
7
- } from "@draftbit/types";
8
-
9
- export const SEED_DATA = {
10
- name: "Radio Button Group",
11
- tag: "RadioButtonGroup",
12
- category: COMPONENT_TYPES.control,
13
- stylesPanelSections: [StylesPanelSections.Margins],
14
- layout: {},
15
- triggers: [Triggers.OnValueChange],
16
- props: {
17
- direction: createDirectionProp(),
18
- fieldName: createFieldNameProp({
19
- handlerPropName: "onValueChange",
20
- valuePropName: "value",
21
- defaultValue: "radioButtonGroupValue",
22
- }),
23
- },
24
- };
@@ -1,42 +0,0 @@
1
- import { createTextProp, createTextEnumProp, COMPONENT_TYPES, createColorProp, GROUPS, StylesPanelSections, } from "@draftbit/types";
2
- export const SEED_DATA = {
3
- name: "Radio Button Row",
4
- tag: "RadioButtonRow",
5
- category: COMPONENT_TYPES.control,
6
- stylesPanelSections: [
7
- StylesPanelSections.Typography,
8
- StylesPanelSections.Margins,
9
- StylesPanelSections.Effects,
10
- ],
11
- layout: {},
12
- props: {
13
- label: createTextProp({
14
- label: "Label",
15
- description: "Label to show with the radio button",
16
- required: true,
17
- defaultValue: "First Option",
18
- }),
19
- direction: createTextEnumProp({
20
- label: "Direction",
21
- description: "Whether the checkbox will appear on the left or on the right",
22
- options: ["row", "row-reverse"],
23
- }),
24
- value: createTextProp({
25
- label: "Value",
26
- description: "Value of the radio button",
27
- defaultValue: null,
28
- required: true,
29
- }),
30
- color: createColorProp({
31
- group: GROUPS.basic,
32
- description: "Color for the button",
33
- defaultValue: "primary",
34
- }),
35
- unselectedColor: createColorProp({
36
- group: GROUPS.basic,
37
- label: "Unselected Color",
38
- description: "Unselected Color for the button",
39
- defaultValue: "primary",
40
- }),
41
- },
42
- };
@@ -1,51 +0,0 @@
1
- import {
2
- createTextProp,
3
- createTextEnumProp,
4
- COMPONENT_TYPES,
5
- createColorProp,
6
- GROUPS,
7
- StylesPanelSections,
8
- } from "@draftbit/types";
9
-
10
- export const SEED_DATA = {
11
- name: "Radio Button Row",
12
- tag: "RadioButtonRow",
13
- category: COMPONENT_TYPES.control,
14
- stylesPanelSections: [
15
- StylesPanelSections.Typography,
16
- StylesPanelSections.Margins,
17
- StylesPanelSections.Effects,
18
- ],
19
- layout: {},
20
- props: {
21
- label: createTextProp({
22
- label: "Label",
23
- description: "Label to show with the radio button",
24
- required: true,
25
- defaultValue: "First Option",
26
- }),
27
- direction: createTextEnumProp({
28
- label: "Direction",
29
- description:
30
- "Whether the checkbox will appear on the left or on the right",
31
- options: ["row", "row-reverse"],
32
- }),
33
- value: createTextProp({
34
- label: "Value",
35
- description: "Value of the radio button",
36
- defaultValue: null,
37
- required: true,
38
- }),
39
- color: createColorProp({
40
- group: GROUPS.basic,
41
- description: "Color for the button",
42
- defaultValue: "primary",
43
- }),
44
- unselectedColor: createColorProp({
45
- group: GROUPS.basic,
46
- label: "Unselected Color",
47
- description: "Unselected Color for the button",
48
- defaultValue: "primary",
49
- }),
50
- },
51
- };
@@ -1,75 +0,0 @@
1
- import { COMPONENT_TYPES, FORM_TYPES, GROUPS, PROP_TYPES, } from "@draftbit/types";
2
- export const SEED_DATA = [
3
- {
4
- name: "Row Single Line Body Icon",
5
- tag: "RowBodyIcon",
6
- description: "A row with left aligned body text and a right aligned icon",
7
- category: COMPONENT_TYPES.row,
8
- preview_image_url: "{CLOUDINARY_URL}/Row_SingleLine_BodyIcon.png",
9
- supports_list_render: true,
10
- props: {
11
- title: {
12
- group: GROUPS.data,
13
- label: "Title",
14
- description: "Text to display",
15
- formType: FORM_TYPES.string,
16
- propType: PROP_TYPES.STRING,
17
- defaultValue: "Beautiful West Coast Villa",
18
- editable: true,
19
- required: false,
20
- },
21
- icon: {
22
- group: GROUPS.basic,
23
- label: "Icon",
24
- description: "Icon to display",
25
- formType: FORM_TYPES.icon,
26
- propType: PROP_TYPES.ASSET,
27
- defaultValue: null,
28
- editable: true,
29
- required: false,
30
- },
31
- },
32
- layout: {},
33
- },
34
- {
35
- name: "Row Double Line Body Icon",
36
- tag: "RowBodyIcon",
37
- description: "A row with left aligned body text and subtitle text and a right aligned icon",
38
- category: COMPONENT_TYPES.row,
39
- preview_image_url: "{CLOUDINARY_URL}/Row_DoubleLine_BodyIcon.png",
40
- supports_list_render: true,
41
- props: {
42
- title: {
43
- group: GROUPS.data,
44
- label: "Title",
45
- description: "Text to display",
46
- formType: FORM_TYPES.string,
47
- propType: PROP_TYPES.STRING,
48
- defaultValue: "Beautiful West Coast Villa",
49
- editable: true,
50
- required: false,
51
- },
52
- subtitle: {
53
- group: GROUPS.data,
54
- label: "Subtitle",
55
- description: "Subtitle text to display",
56
- formType: FORM_TYPES.string,
57
- propType: PROP_TYPES.STRING,
58
- defaultValue: "San Diego",
59
- editable: true,
60
- required: false,
61
- },
62
- icon: {
63
- group: GROUPS.basic,
64
- label: "Icon",
65
- description: "Icon to display",
66
- formType: FORM_TYPES.icon,
67
- propType: PROP_TYPES.ASSET,
68
- defaultValue: null,
69
- editable: true,
70
- required: false,
71
- },
72
- },
73
- layout: {},
74
- },
75
- ];