@onehat/ui 0.3.381 → 0.4.0

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 (440) hide show
  1. package/package.json +37 -9
  2. package/src/Components/Accordion/Accordion.js +22 -17
  3. package/src/Components/Blank.js +1 -3
  4. package/src/Components/Buttons/BackButton.js +21 -12
  5. package/src/Components/Buttons/Button.js +65 -13
  6. package/src/Components/Buttons/CartButtonWithBadge.js +14 -6
  7. package/src/Components/Buttons/IconButton.js +31 -74
  8. package/src/Components/Buttons/PlusMinusButton.js +34 -21
  9. package/src/Components/Buttons/ReloadButton.js +7 -8
  10. package/src/Components/Buttons/SquareButton.js +41 -55
  11. package/src/Components/Container/Container.js +55 -16
  12. package/src/Components/Container/ScreenContainer.js +26 -16
  13. package/src/Components/Container/Splitter.js +38 -25
  14. package/src/Components/Editor/Editor.js +3 -2
  15. package/src/Components/Editor/InlineEditor.js +38 -32
  16. package/src/Components/Filter/DateRange.js +37 -18
  17. package/src/Components/Filter/NumberRange.js +87 -83
  18. package/src/Components/Form/Field/CKEditor/CKEditor.js +4 -4
  19. package/src/Components/Form/Field/Checkbox/CheckboxGroup.js +9 -6
  20. package/src/Components/Form/Field/Color.js +95 -86
  21. package/src/Components/Form/Field/Combo/Combo.js +347 -284
  22. package/src/Components/Form/Field/Combo/PageSizeCombo.js +4 -7
  23. package/src/Components/Form/Field/Date.js +276 -312
  24. package/src/Components/Form/Field/DisplayField.js +11 -5
  25. package/src/Components/Form/Field/File.js +26 -32
  26. package/src/Components/Form/Field/FormikForm.js +1018 -0
  27. package/src/Components/Form/Field/Input.js +91 -41
  28. package/src/Components/Form/Field/Json.js +25 -21
  29. package/src/Components/Form/Field/Number.js +70 -51
  30. package/src/Components/Form/Field/RadioGroup/RadioGroup.js +4 -6
  31. package/src/Components/Form/Field/Select/PageSizeSelect.js +33 -0
  32. package/src/Components/Form/Field/Select/Select.js +109 -0
  33. package/src/Components/Form/Field/Slider.js +38 -30
  34. package/src/Components/Form/Field/Tag/Tag.js +88 -72
  35. package/src/Components/Form/Field/Tag/ValueBox.js +25 -20
  36. package/src/Components/Form/Field/Text.js +21 -12
  37. package/src/Components/Form/Field/TextArea.js +32 -15
  38. package/src/Components/Form/Field/Toggle.js +42 -24
  39. package/src/Components/Form/FieldSet.js +77 -54
  40. package/src/Components/Form/Form.js +491 -268
  41. package/src/Components/Form/Label.js +28 -17
  42. package/src/Components/Gluestack/accordion/index.tsx +394 -0
  43. package/src/Components/Gluestack/actionsheet/index.tsx +619 -0
  44. package/src/Components/Gluestack/alert/index.tsx +310 -0
  45. package/src/Components/Gluestack/alert-dialog/index.tsx +295 -0
  46. package/src/Components/Gluestack/avatar/index.tsx +190 -0
  47. package/src/Components/Gluestack/badge/index.tsx +272 -0
  48. package/src/Components/Gluestack/bottomsheet/index.tsx +294 -0
  49. package/src/Components/Gluestack/box/index.tsx +19 -0
  50. package/src/Components/Gluestack/box/index.web.tsx +18 -0
  51. package/src/Components/Gluestack/box/styles.tsx +10 -0
  52. package/src/Components/Gluestack/button/index.tsx +494 -0
  53. package/src/Components/Gluestack/card/index.tsx +23 -0
  54. package/src/Components/Gluestack/card/index.web.tsx +22 -0
  55. package/src/Components/Gluestack/card/styles.tsx +20 -0
  56. package/src/Components/Gluestack/center/index.tsx +22 -0
  57. package/src/Components/Gluestack/center/index.web.tsx +19 -0
  58. package/src/Components/Gluestack/center/styles.tsx +8 -0
  59. package/src/Components/Gluestack/checkbox/index.tsx +305 -0
  60. package/src/Components/Gluestack/divider/index.tsx +44 -0
  61. package/src/Components/Gluestack/drawer/index.tsx +354 -0
  62. package/src/Components/Gluestack/fab/index.tsx +286 -0
  63. package/src/Components/Gluestack/flat-list/index.tsx +2 -0
  64. package/src/Components/Gluestack/form-control/index.tsx +527 -0
  65. package/src/Components/Gluestack/gluestack-ui-provider/config.ts +332 -0
  66. package/src/Components/Gluestack/gluestack-ui-provider/index.tsx +47 -0
  67. package/src/Components/Gluestack/gluestack-ui-provider/index.web.tsx +94 -0
  68. package/src/Components/Gluestack/gluestack-ui-provider/script.ts +19 -0
  69. package/src/Components/Gluestack/grid/index.tsx +341 -0
  70. package/src/Components/Gluestack/grid/index.web.tsx +65 -0
  71. package/src/Components/Gluestack/grid/styles.tsx +15 -0
  72. package/src/Components/Gluestack/heading/index.tsx +212 -0
  73. package/src/Components/Gluestack/heading/index.web.tsx +203 -0
  74. package/src/Components/Gluestack/heading/styles.tsx +43 -0
  75. package/src/Components/Gluestack/hstack/index.tsx +23 -0
  76. package/src/Components/Gluestack/hstack/index.web.tsx +22 -0
  77. package/src/Components/Gluestack/hstack/styles.tsx +25 -0
  78. package/src/Components/Gluestack/image/index.tsx +52 -0
  79. package/src/Components/Gluestack/image-background/index.tsx +21 -0
  80. package/src/Components/Gluestack/index.js +116 -0
  81. package/src/Components/Gluestack/input/index.tsx +287 -0
  82. package/src/Components/Gluestack/input-accessory-view/index.tsx +2 -0
  83. package/src/Components/Gluestack/keyboard-avoiding-view/index.tsx +2 -0
  84. package/src/Components/Gluestack/link/index.tsx +107 -0
  85. package/src/Components/Gluestack/menu/index.tsx +210 -0
  86. package/src/Components/Gluestack/modal/index.tsx +279 -0
  87. package/src/Components/Gluestack/popover/index.tsx +352 -0
  88. package/src/Components/Gluestack/portal/index.tsx +13 -0
  89. package/src/Components/Gluestack/pressable/index.tsx +46 -0
  90. package/src/Components/Gluestack/progress/index.tsx +164 -0
  91. package/src/Components/Gluestack/radio/index.tsx +304 -0
  92. package/src/Components/Gluestack/refresh-control/index.tsx +2 -0
  93. package/src/Components/Gluestack/safe-area-view/index.tsx +2 -0
  94. package/src/Components/Gluestack/scroll-view/index.tsx +2 -0
  95. package/src/Components/Gluestack/section-list/index.tsx +2 -0
  96. package/src/Components/Gluestack/select/index.tsx +335 -0
  97. package/src/Components/Gluestack/select/select-actionsheet.tsx +584 -0
  98. package/src/Components/Gluestack/skeleton/index.tsx +138 -0
  99. package/src/Components/Gluestack/skeleton/index.web.tsx +103 -0
  100. package/src/Components/Gluestack/skeleton/styles.tsx +35 -0
  101. package/src/Components/Gluestack/slider/index.tsx +283 -0
  102. package/src/Components/Gluestack/spinner/index.tsx +34 -0
  103. package/src/Components/Gluestack/status-bar/index.tsx +2 -0
  104. package/src/Components/Gluestack/switch/index.tsx +55 -0
  105. package/src/Components/Gluestack/table/index.tsx +200 -0
  106. package/src/Components/Gluestack/table/index.web.tsx +142 -0
  107. package/src/Components/Gluestack/table/styles.tsx +44 -0
  108. package/src/Components/Gluestack/text/index.tsx +48 -0
  109. package/src/Components/Gluestack/text/index.web.tsx +45 -0
  110. package/src/Components/Gluestack/text/styles.tsx +47 -0
  111. package/src/Components/Gluestack/textarea/index.tsx +108 -0
  112. package/src/Components/Gluestack/toast/index.tsx +225 -0
  113. package/src/Components/Gluestack/tooltip/index.tsx +125 -0
  114. package/src/Components/Gluestack/utils/use-break-point-value.ts +101 -0
  115. package/src/Components/Gluestack/view/index.tsx +2 -0
  116. package/src/Components/Gluestack/virtualized-list/index.tsx +2 -0
  117. package/src/Components/Gluestack/vstack/index.tsx +24 -0
  118. package/src/Components/Gluestack/vstack/index.web.tsx +23 -0
  119. package/src/Components/Gluestack/vstack/styles.tsx +25 -0
  120. package/src/Components/Grid/Grid.js +192 -135
  121. package/src/Components/Grid/GridHeaderRow.js +51 -59
  122. package/src/Components/Grid/GridRow.js +152 -58
  123. package/src/Components/Grid/HeaderColumnSelectorHandle.js +16 -10
  124. package/src/Components/Grid/HeaderReorderHandle.js +17 -13
  125. package/src/Components/Grid/HeaderResizeHandle.js +17 -13
  126. package/src/Components/Grid/NoRecordsFound.js +15 -18
  127. package/src/Components/Grid/RowDragHandle.js +9 -13
  128. package/src/Components/Hoc/Secondary/withSecondaryEditor.js +14 -9
  129. package/src/Components/Hoc/Secondary/withSecondaryWindowedEditor.js +14 -11
  130. package/src/Components/Hoc/withAlert.js +150 -200
  131. package/src/Components/Hoc/withBlank.js +4 -6
  132. package/src/Components/Hoc/withCollapsible.js +4 -3
  133. package/src/Components/Hoc/withComponent.js +33 -6
  134. package/src/Components/Hoc/withContextMenu.js +133 -141
  135. package/src/Components/Hoc/withData.js +5 -4
  136. package/src/Components/Hoc/withDnd.js +11 -9
  137. package/src/Components/Hoc/withDraggable.js +10 -10
  138. package/src/Components/Hoc/withEditor.js +18 -13
  139. package/src/Components/Hoc/withEvents.js +4 -6
  140. package/src/Components/Hoc/withFilters.js +524 -498
  141. package/src/Components/Hoc/withInlineEditor.js +7 -5
  142. package/src/Components/Hoc/withModal.js +79 -137
  143. package/src/Components/Hoc/withMultiSelection.js +4 -2
  144. package/src/Components/Hoc/withPdfButtons.js +109 -111
  145. package/src/Components/Hoc/withPresetButtons.js +49 -53
  146. package/src/Components/Hoc/withSelection.js +6 -5
  147. package/src/Components/Hoc/withSideEditor.js +12 -6
  148. package/src/Components/Hoc/withTooltip.js +18 -12
  149. package/src/Components/Hoc/withValue.js +6 -5
  150. package/src/Components/Hoc/withWindowedEditor.js +13 -11
  151. package/src/Components/Icons/AddressBook.js +7 -10
  152. package/src/Components/Icons/Alt.js +8 -15
  153. package/src/Components/Icons/AngleLeft.js +7 -14
  154. package/src/Components/Icons/AngleRight.js +7 -14
  155. package/src/Components/Icons/AnglesLeft.js +7 -14
  156. package/src/Components/Icons/AnglesRight.js +7 -14
  157. package/src/Components/Icons/Asterisk.js +7 -10
  158. package/src/Components/Icons/Ban.js +9 -14
  159. package/src/Components/Icons/Bars.js +7 -10
  160. package/src/Components/Icons/BarsStaggered.js +7 -10
  161. package/src/Components/Icons/Bell.js +7 -19
  162. package/src/Components/Icons/BigCircle.js +7 -14
  163. package/src/Components/Icons/Book.js +7 -10
  164. package/src/Components/Icons/BookOpen.js +7 -10
  165. package/src/Components/Icons/Bookmark.js +8 -17
  166. package/src/Components/Icons/Bug.js +7 -10
  167. package/src/Components/Icons/Building.js +7 -10
  168. package/src/Components/Icons/Calendar.js +7 -14
  169. package/src/Components/Icons/Calendar2.js +7 -14
  170. package/src/Components/Icons/CalendarDays.js +7 -14
  171. package/src/Components/Icons/Camera.js +7 -14
  172. package/src/Components/Icons/CaretDown.js +7 -14
  173. package/src/Components/Icons/CaretUp.js +7 -14
  174. package/src/Components/Icons/CartPlus.js +7 -10
  175. package/src/Components/Icons/CartShopping.js +7 -10
  176. package/src/Components/Icons/CashRegister.js +7 -10
  177. package/src/Components/Icons/Certificate.js +7 -10
  178. package/src/Components/Icons/ChartLine.js +7 -10
  179. package/src/Components/Icons/ChartPie.js +7 -10
  180. package/src/Components/Icons/Check.js +7 -10
  181. package/src/Components/Icons/CheckDouble.js +7 -10
  182. package/src/Components/Icons/ChevronDown.js +7 -10
  183. package/src/Components/Icons/ChevronLeft.js +7 -10
  184. package/src/Components/Icons/ChevronRight.js +7 -10
  185. package/src/Components/Icons/ChevronUp.js +7 -10
  186. package/src/Components/Icons/Circle.js +7 -10
  187. package/src/Components/Icons/CircleArrowRight.js +7 -10
  188. package/src/Components/Icons/CircleExclamation.js +7 -14
  189. package/src/Components/Icons/CircleInfo.js +7 -10
  190. package/src/Components/Icons/CircleQuestion.js +7 -10
  191. package/src/Components/Icons/CircleXmark.js +7 -10
  192. package/src/Components/Icons/CircleXmarkRegular.js +7 -10
  193. package/src/Components/Icons/Clipboard.js +7 -14
  194. package/src/Components/Icons/ClipboardCheck.js +7 -17
  195. package/src/Components/Icons/ClipboardList.js +7 -16
  196. package/src/Components/Icons/Clock.js +7 -10
  197. package/src/Components/Icons/ClockRegular.js +7 -10
  198. package/src/Components/Icons/ClockRotateLeft.js +7 -10
  199. package/src/Components/Icons/Clone.js +7 -10
  200. package/src/Components/Icons/Collapse.js +7 -14
  201. package/src/Components/Icons/Comment.js +7 -10
  202. package/src/Components/Icons/CommentDots.js +7 -10
  203. package/src/Components/Icons/CommentRegular.js +7 -10
  204. package/src/Components/Icons/Comments.js +7 -10
  205. package/src/Components/Icons/CommentsRegular.js +7 -10
  206. package/src/Components/Icons/Copyright.js +7 -10
  207. package/src/Components/Icons/Dot.js +10 -15
  208. package/src/Components/Icons/Download.js +11 -0
  209. package/src/Components/Icons/Duplicate.js +7 -14
  210. package/src/Components/Icons/Edit.js +7 -14
  211. package/src/Components/Icons/EllipsisHorizontal.js +7 -16
  212. package/src/Components/Icons/EllipsisVertical.js +7 -14
  213. package/src/Components/Icons/Envelope.js +7 -10
  214. package/src/Components/Icons/EnvelopeRegular.js +7 -10
  215. package/src/Components/Icons/Excel.js +7 -10
  216. package/src/Components/Icons/Exclamation.js +7 -10
  217. package/src/Components/Icons/Expand.js +7 -10
  218. package/src/Components/Icons/Eye.js +7 -14
  219. package/src/Components/Icons/EyeSlash.js +7 -10
  220. package/src/Components/Icons/File.js +7 -14
  221. package/src/Components/Icons/FloppyDiskRegular.js +7 -10
  222. package/src/Components/Icons/Folder.js +7 -10
  223. package/src/Components/Icons/FolderClosed.js +7 -10
  224. package/src/Components/Icons/FolderOpen.js +7 -10
  225. package/src/Components/Icons/FolderTree.js +7 -10
  226. package/src/Components/Icons/FullWidth.js +10 -25
  227. package/src/Components/Icons/Gauge.js +7 -17
  228. package/src/Components/Icons/Gear.js +7 -14
  229. package/src/Components/Icons/Gears.js +7 -10
  230. package/src/Components/Icons/Gift.js +7 -10
  231. package/src/Components/Icons/Grip.js +7 -14
  232. package/src/Components/Icons/GripLines.js +7 -14
  233. package/src/Components/Icons/GripLinesVertical.js +7 -14
  234. package/src/Components/Icons/GripVertical.js +7 -14
  235. package/src/Components/Icons/Hammer.js +7 -10
  236. package/src/Components/Icons/Hand.js +7 -10
  237. package/src/Components/Icons/HighPriority.js +7 -17
  238. package/src/Components/Icons/House.js +7 -10
  239. package/src/Components/Icons/Images.js +7 -10
  240. package/src/Components/Icons/Info.js +7 -10
  241. package/src/Components/Icons/ItunesNote.js +7 -10
  242. package/src/Components/Icons/Js.js +7 -16
  243. package/src/Components/Icons/Leaf.js +7 -10
  244. package/src/Components/Icons/Link.js +7 -9
  245. package/src/Components/Icons/List.js +7 -10
  246. package/src/Components/Icons/ListCheck.js +7 -10
  247. package/src/Components/Icons/LocationDot.js +7 -10
  248. package/src/Components/Icons/Loop.js +7 -14
  249. package/src/Components/Icons/Loop1.js +8 -13
  250. package/src/Components/Icons/LoopAll.js +8 -13
  251. package/src/Components/Icons/LowPriority.js +7 -17
  252. package/src/Components/Icons/MagnifyingGlass.js +7 -10
  253. package/src/Components/Icons/Maximize.js +7 -10
  254. package/src/Components/Icons/MedPriority.js +7 -17
  255. package/src/Components/Icons/Microphone.js +7 -10
  256. package/src/Components/Icons/Minimize.js +7 -10
  257. package/src/Components/Icons/Minus.js +7 -14
  258. package/src/Components/Icons/MobileScreenButton.js +7 -10
  259. package/src/Components/Icons/MoneyBill.js +7 -10
  260. package/src/Components/Icons/MoneyBillWave.js +7 -10
  261. package/src/Components/Icons/Mouth.js +10 -21
  262. package/src/Components/Icons/Music.js +7 -10
  263. package/src/Components/Icons/Na.js +7 -14
  264. package/src/Components/Icons/NoLoop.js +11 -13
  265. package/src/Components/Icons/NoReorderRows.js +17 -22
  266. package/src/Components/Icons/ObjectGroupRegular.js +7 -10
  267. package/src/Components/Icons/Pause.js +7 -10
  268. package/src/Components/Icons/Pdf.js +7 -10
  269. package/src/Components/Icons/Pencil.js +7 -14
  270. package/src/Components/Icons/Phone.js +7 -10
  271. package/src/Components/Icons/Play.js +7 -10
  272. package/src/Components/Icons/Plus.js +7 -14
  273. package/src/Components/Icons/Presentation.js +7 -16
  274. package/src/Components/Icons/Print.js +7 -14
  275. package/src/Components/Icons/Question.js +7 -10
  276. package/src/Components/Icons/Rate-.25x.js +12 -17
  277. package/src/Components/Icons/Rate-.5x.js +11 -16
  278. package/src/Components/Icons/Rate-.75x.js +8 -13
  279. package/src/Components/Icons/Rate-1.25x.js +8 -13
  280. package/src/Components/Icons/Rate-1.5x.js +8 -13
  281. package/src/Components/Icons/Rate-1.75x.js +8 -13
  282. package/src/Components/Icons/Rate-1x.js +11 -16
  283. package/src/Components/Icons/Rate-2x.js +8 -13
  284. package/src/Components/Icons/RateIcon-.25x.js +8 -13
  285. package/src/Components/Icons/RateIcon-.5x.js +11 -16
  286. package/src/Components/Icons/RateIcon-.75x.js +8 -13
  287. package/src/Components/Icons/RateIcon-1.25x.js +8 -13
  288. package/src/Components/Icons/RateIcon-1.5x.js +8 -13
  289. package/src/Components/Icons/RateIcon-1.75x.js +8 -13
  290. package/src/Components/Icons/RateIcon-1x.js +8 -13
  291. package/src/Components/Icons/RateIcon-2x.js +8 -13
  292. package/src/Components/Icons/RectangleXmark.js +7 -10
  293. package/src/Components/Icons/RectangleXmarkRegular.js +7 -10
  294. package/src/Components/Icons/ReorderRows.js +8 -13
  295. package/src/Components/Icons/RightFromBracket.js +7 -10
  296. package/src/Components/Icons/RightLeft.js +7 -10
  297. package/src/Components/Icons/RightToBracket.js +7 -10
  298. package/src/Components/Icons/Rotate.js +7 -14
  299. package/src/Components/Icons/RotateLeft.js +7 -10
  300. package/src/Components/Icons/RotateRight.js +7 -14
  301. package/src/Components/Icons/ScrewdriverWrench.js +7 -10
  302. package/src/Components/Icons/Scroll.js +7 -10
  303. package/src/Components/Icons/Share.js +7 -10
  304. package/src/Components/Icons/Shop.js +7 -10
  305. package/src/Components/Icons/SideBySide.js +7 -20
  306. package/src/Components/Icons/SortDown.js +7 -10
  307. package/src/Components/Icons/SortDownAlt.js +7 -10
  308. package/src/Components/Icons/SortUp.js +7 -10
  309. package/src/Components/Icons/SortUpAlt.js +7 -14
  310. package/src/Components/Icons/Square.js +7 -10
  311. package/src/Components/Icons/SquareCheck.js +7 -10
  312. package/src/Components/Icons/SquareCheckRegular.js +7 -10
  313. package/src/Components/Icons/SquareMinus.js +7 -14
  314. package/src/Components/Icons/SquareRegular.js +7 -10
  315. package/src/Components/Icons/Store.js +7 -10
  316. package/src/Components/Icons/Table.js +7 -16
  317. package/src/Components/Icons/ThumbsDown.js +7 -10
  318. package/src/Components/Icons/ThumbsDownRegular.js +7 -10
  319. package/src/Components/Icons/ThumbsUp.js +7 -10
  320. package/src/Components/Icons/ThumbsUpRegular.js +7 -10
  321. package/src/Components/Icons/Trash.js +7 -14
  322. package/src/Components/Icons/TrashCan.js +7 -14
  323. package/src/Components/Icons/TriangleExclamation.js +7 -14
  324. package/src/Components/Icons/Truck.js +7 -10
  325. package/src/Components/Icons/TruckFast.js +7 -10
  326. package/src/Components/Icons/Upload.js +11 -0
  327. package/src/Components/Icons/UploadDownload.js +11 -11
  328. package/src/Components/Icons/User.js +7 -10
  329. package/src/Components/Icons/UserGroup.js +7 -10
  330. package/src/Components/Icons/UserPlus.js +7 -10
  331. package/src/Components/Icons/UserSecret.js +7 -10
  332. package/src/Components/Icons/Video.js +7 -16
  333. package/src/Components/Icons/X.js +7 -10
  334. package/src/Components/Icons/Xmark.js +7 -10
  335. package/src/Components/Layout/CenterBox.js +13 -9
  336. package/src/Components/Layout/Footer.js +20 -13
  337. package/src/Components/Messages/ConfirmationMessage.js +30 -13
  338. package/src/Components/Messages/ErrorMessage.js +29 -23
  339. package/src/Components/Messages/Loading.js +10 -8
  340. package/src/Components/Messages/OkMessage.js +30 -13
  341. package/src/Components/Messages/Unauthorized.js +5 -8
  342. package/src/Components/Messages/WaitMessage.js +37 -73
  343. package/src/Components/Panel/AccordionGridPanel.js +6 -6
  344. package/src/Components/Panel/FormPanel.js +7 -3
  345. package/src/Components/Panel/Header.js +132 -94
  346. package/src/Components/Panel/Mask.js +4 -4
  347. package/src/Components/Panel/Panel.js +55 -72
  348. package/src/Components/Panel/TabPanel.js +1 -1
  349. package/src/Components/Picker/Picker.js +10 -9
  350. package/src/Components/Report/Report.js +17 -14
  351. package/src/Components/Screens/Manager.js +22 -22
  352. package/src/Components/Tab/TabBar.js +293 -225
  353. package/src/Components/Toolbar/FilterToolbar.js +15 -11
  354. package/src/Components/Toolbar/Pagination.js +51 -46
  355. package/src/Components/Toolbar/PaginationToolbar.js +25 -19
  356. package/src/Components/Toolbar/Toolbar.js +26 -13
  357. package/src/Components/Tooltip/Tooltip.js +35 -0
  358. package/src/Components/Tree/Tree.js +134 -140
  359. package/src/Components/Tree/TreeNode.js +75 -36
  360. package/src/Components/Viewer/Viewer.js +203 -80
  361. package/src/Components/Window/Editor.js +0 -5
  362. package/src/Components/Window/UploadsDownloadsWindow.js +40 -22
  363. package/src/Components/index.js +11 -8
  364. package/src/Constants/Alert.js +0 -0
  365. package/src/Constants/AppStates.js +0 -0
  366. package/src/Constants/Colors.js +13 -0
  367. package/src/Constants/Commands.js +0 -0
  368. package/src/Constants/Date.js +0 -0
  369. package/src/Constants/Dates.js +16 -0
  370. package/src/Constants/Directions.js +0 -0
  371. package/src/Constants/Editor.js +0 -0
  372. package/src/Constants/EditorModes.js +2 -0
  373. package/src/Constants/File.js +0 -0
  374. package/src/Constants/Filters.js +0 -0
  375. package/src/Constants/Grid.js +0 -0
  376. package/src/Constants/Input.js +1 -0
  377. package/src/Constants/MimeTypes.js +0 -0
  378. package/src/Constants/Selection.js +0 -0
  379. package/src/Constants/Styles.js +119 -108
  380. package/src/Constants/Tasks.js +3 -0
  381. package/src/Constants/Tree.js +0 -0
  382. package/src/Constants/UiModes.js +4 -3
  383. package/src/Functions/BankersRound.js +0 -0
  384. package/src/Functions/Cypress/button_functions.js +0 -0
  385. package/src/Functions/Cypress/crud_functions.js +0 -0
  386. package/src/Functions/Cypress/dom_functions.js +0 -0
  387. package/src/Functions/Cypress/grid_functions.js +0 -0
  388. package/src/Functions/Cypress/navigation_functions.js +0 -0
  389. package/src/Functions/Cypress/tree_functions.js +0 -0
  390. package/src/Functions/Cypress/utilities.js +0 -0
  391. package/src/Functions/PlatformDetector.js +0 -0
  392. package/src/Functions/Timer.js +0 -0
  393. package/src/Functions/buildAdditionalButtons.js +5 -5
  394. package/src/Functions/chunkArray.js +0 -0
  395. package/src/Functions/colorConversions.js +74 -0
  396. package/src/Functions/delay.js +0 -0
  397. package/src/Functions/delayUntil.js +0 -0
  398. package/src/Functions/deleteSaved.js +0 -0
  399. package/src/Functions/deleteSecure.js +0 -0
  400. package/src/Functions/downloadInBackground.js +0 -0
  401. package/src/Functions/downloadWithFetch.js +0 -0
  402. package/src/Functions/emptyFn.js +0 -0
  403. package/src/Functions/getComponentFromType.js +0 -0
  404. package/src/Functions/getIconButtonFromConfig.js +5 -9
  405. package/src/Functions/getIsMobile.js +0 -0
  406. package/src/Functions/getNodeIcon.js +28 -0
  407. package/src/Functions/getPref.js +0 -0
  408. package/src/Functions/getSaved.js +0 -0
  409. package/src/Functions/getSecure.js +0 -0
  410. package/src/Functions/getTokenHeaders.js +0 -0
  411. package/src/Functions/gsToHex.js +205 -0
  412. package/src/Functions/ignoreWanings.js +46 -0
  413. package/src/Functions/inArray.js +0 -0
  414. package/src/Functions/isJson.js +0 -0
  415. package/src/Functions/isSerializable.js +0 -0
  416. package/src/Functions/isVideo.js +0 -0
  417. package/src/Functions/jsonValidator.js +0 -0
  418. package/src/Functions/nbToRgb.js +1 -1
  419. package/src/Functions/objectToClassName.js +72 -0
  420. package/src/Functions/parseNotification.js +0 -0
  421. package/src/Functions/processImage.js +0 -0
  422. package/src/Functions/registerReactNativeComponents.js +0 -0
  423. package/src/Functions/registerWebComponents.js +0 -0
  424. package/src/Functions/setCustomInflector.js +0 -0
  425. package/src/Functions/setPref.js +0 -0
  426. package/src/Functions/setProgress.js +0 -0
  427. package/src/Functions/setSaved.js +0 -0
  428. package/src/Functions/setSecure.js +0 -0
  429. package/src/Functions/setThemeOverrides.js +0 -0
  430. package/src/Functions/setUiSavesRepo.js +0 -0
  431. package/src/Functions/sleep.js +0 -0
  432. package/src/Functions/tailwindFunctions.js +384 -0
  433. package/src/Functions/testProps.js +0 -0
  434. package/src/Functions/trackEngagementHit.js +0 -0
  435. package/src/Functions/verifyCompleted.js +0 -0
  436. package/src/Functions/waitFor.js +2 -2
  437. package/src/PlatformImports/Web/Attachments.js +32 -38
  438. package/src/PlatformImports/Web/File.js +38 -31
  439. package/src/UiGlobals.js +8 -1
  440. package/src/Components/Grid/ColumnSelectorWindow.js +0 -125
@@ -1,7 +1,4 @@
1
- import React, { useState, useEffect, } from 'react';
2
- import {
3
- Modal,
4
- } from 'native-base';
1
+ import { forwardRef, useState, useEffect, } from 'react';
5
2
  import {
6
3
  ADD,
7
4
  EDIT,
@@ -39,11 +36,11 @@ const presetButtons = [
39
36
  ];
40
37
 
41
38
  export default function withPresetButtons(WrappedComponent, isGrid = false) {
42
- return (props) => {
39
+ return forwardRef((props, ref) => {
43
40
 
44
41
  if (props.disablePresetButtons) {
45
42
  // bypass everything
46
- return <WrappedComponent {...props} />;
43
+ return <WrappedComponent {...props} ref={ref} />;
47
44
  }
48
45
 
49
46
  const {
@@ -51,14 +48,14 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
51
48
  contextMenuItems = [],
52
49
  additionalToolbarButtons = [],
53
50
  useUploadDownload = false,
54
- onChangeColumnsConfig,
55
- canRecordBeEdited,
56
- canRecordBeDeleted,
57
- canRecordBeDuplicated,
58
51
  uploadHeaders,
59
52
  uploadParams,
60
53
  downloadHeaders,
61
54
  downloadParams,
55
+ onChangeColumnsConfig,
56
+ canRecordBeEdited,
57
+ canRecordBeDeleted,
58
+ canRecordBeDuplicated,
62
59
  ...propsToPass
63
60
  } = props,
64
61
  {
@@ -79,6 +76,10 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
79
76
  // withAlert
80
77
  showInfo,
81
78
 
79
+ // withModal
80
+ showModal,
81
+ hideModal,
82
+
82
83
  // withComponent
83
84
  self,
84
85
 
@@ -105,7 +106,6 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
105
106
  selectorSelected,
106
107
  } = props,
107
108
  [isReady, setIsReady] = useState(false),
108
- [isModalShown, setIsModalShown] = useState(false),
109
109
  [localContextMenuItems, setLocalContextMenuItems] = useState([]),
110
110
  [localAdditionalToolbarButtons, setLocalAdditionalToolbarButtons] = useState([]),
111
111
  [localColumnsConfig, setLocalColumnsConfig] = useState([]),
@@ -189,7 +189,7 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
189
189
  key = 'addBtn';
190
190
  text = 'Add';
191
191
  handler = onAdd;
192
- icon = <Plus />;
192
+ icon = Plus;
193
193
  if (selectorId && !selectorSelected) {
194
194
  isDisabled = true;
195
195
  }
@@ -201,7 +201,7 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
201
201
  key = 'editBtn';
202
202
  text = 'Edit';
203
203
  handler = onEdit;
204
- icon = <Edit />;
204
+ icon = Edit;
205
205
  if (selectorId && !selectorSelected) {
206
206
  isDisabled = true;
207
207
  }
@@ -216,7 +216,7 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
216
216
  key = 'deleteBtn';
217
217
  text = 'Delete';
218
218
  handler = onDelete;
219
- icon = <Trash />;
219
+ icon = Trash;
220
220
  if (selectorId && !selectorSelected) {
221
221
  isDisabled = true;
222
222
  }
@@ -237,7 +237,7 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
237
237
  key = 'viewBtn';
238
238
  text = 'View';
239
239
  handler = onView;
240
- icon = <Eye />;
240
+ icon = Eye;
241
241
  isDisabled = !selection.length || selection.length !== 1;
242
242
  if (selectorId && !selectorSelected) {
243
243
  isDisabled = true;
@@ -250,7 +250,7 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
250
250
  key = 'copyBtn';
251
251
  text = 'Copy to Clipboard';
252
252
  handler = onCopyToClipboard;
253
- icon = <Clipboard />;
253
+ icon = Clipboard;
254
254
  isDisabled = !selection.length;
255
255
  if (selectorId && !selectorSelected) {
256
256
  isDisabled = true;
@@ -263,7 +263,7 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
263
263
  key = 'duplicateBtn';
264
264
  text = 'Duplicate';
265
265
  handler = onDuplicate;
266
- icon = <Duplicate />;
266
+ icon = Duplicate;
267
267
  isDisabled = !selection.length || selection.length !== 1;
268
268
  if (selectorId && !selectorSelected) {
269
269
  isDisabled = true;
@@ -278,13 +278,13 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
278
278
  // case PRINT:
279
279
  // text = 'Print';
280
280
  // handler = onPrint;
281
- // icon = <Print />;
281
+ // icon = Print;
282
282
  // break;
283
283
  case UPLOAD_DOWNLOAD:
284
284
  key = 'uploadDownloadBtn';
285
285
  text = 'Upload/Download';
286
286
  handler = onUploadDownload;
287
- icon = <UploadDownload />;
287
+ icon = UploadDownload;
288
288
  break;
289
289
  default:
290
290
  }
@@ -345,8 +345,21 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
345
345
  showInfo('Copied to clipboard!');
346
346
  }
347
347
  },
348
- onUploadDownload = () => setIsModalShown(true),
349
- onModalClose = () => setIsModalShown(false);
348
+ onUploadDownload = () => {
349
+ showModal({
350
+ body: <UploadsDownloadsWindow
351
+ reference="uploadsDownloads"
352
+ onClose={hideModal}
353
+ Repository={Repository}
354
+ columnsConfig={props.columnsConfig}
355
+ uploadHeaders={uploadHeaders}
356
+ uploadParams={uploadParams}
357
+ downloadHeaders={downloadHeaders}
358
+ downloadParams={downloadParams}
359
+ />,
360
+ onCancel: hideModal,
361
+ });
362
+ };
350
363
  // onPrint = () => {
351
364
  // debugger;
352
365
  // };
@@ -362,36 +375,19 @@ export default function withPresetButtons(WrappedComponent, isGrid = false) {
362
375
  return null;
363
376
  }
364
377
 
365
- return <>
366
- <WrappedComponent
367
- {...propsToPass}
368
- disablePresetButtons={false}
369
- contextMenuItems={[
370
- ...localContextMenuItems,
371
- ...contextMenuItems,
372
- ]}
373
- additionalToolbarButtons={[
374
- ...localAdditionalToolbarButtons,
375
- ...additionalToolbarButtons,
376
- ]}
377
- onChangeColumnsConfig={onChangeColumnsConfigDecorator}
378
- />
379
- {isModalShown &&
380
- <Modal
381
- isOpen={true}
382
- onClose={onModalClose}
383
- >
384
- <UploadsDownloadsWindow
385
- reference="uploadsDownloads"
386
- onClose={onModalClose}
387
- Repository={Repository}
388
- columnsConfig={props.columnsConfig}
389
- uploadHeaders={uploadHeaders}
390
- uploadParams={uploadParams}
391
- downloadHeaders={downloadHeaders}
392
- downloadParams={downloadParams}
393
- />
394
- </Modal>}
395
- </>;
396
- };
378
+ return <WrappedComponent
379
+ {...propsToPass}
380
+ ref={ref}
381
+ disablePresetButtons={false}
382
+ contextMenuItems={[
383
+ ...localContextMenuItems,
384
+ ...contextMenuItems,
385
+ ]}
386
+ additionalToolbarButtons={[
387
+ ...localAdditionalToolbarButtons,
388
+ ...additionalToolbarButtons,
389
+ ]}
390
+ onChangeColumnsConfig={onChangeColumnsConfigDecorator}
391
+ />;
392
+ });
397
393
  }
@@ -1,4 +1,4 @@
1
- import { useState, useEffect, useRef, } from 'react';
1
+ import { forwardRef, useState, useEffect, useRef, } from 'react';
2
2
  import {
3
3
  SELECTION_MODE_SINGLE,
4
4
  SELECTION_MODE_MULTI,
@@ -10,17 +10,17 @@ import inArray from '../../Functions/inArray.js';
10
10
  import _ from 'lodash';
11
11
 
12
12
  export default function withSelection(WrappedComponent) {
13
- return (props) => {
13
+ return forwardRef((props, ref) => {
14
14
 
15
15
  if (props.disableWithSelection) {
16
- return <WrappedComponent {...props} />;
16
+ return <WrappedComponent {...props} ref={ref} />;
17
17
  }
18
18
 
19
19
  if (props.setSelection) {
20
20
  // bypass everything, since we're already using withSelection() in hierarchy.
21
21
  // For example, Combo has withSelection(), and intenally it uses Grid which also has withSelection(),
22
22
  // but we only need it defined once for the whole thing.
23
- return <WrappedComponent {...props} />;
23
+ return <WrappedComponent {...props} ref={ref} />;
24
24
  }
25
25
 
26
26
  const
@@ -393,6 +393,7 @@ export default function withSelection(WrappedComponent) {
393
393
 
394
394
  return <WrappedComponent
395
395
  {...props}
396
+ ref={ref}
396
397
  disableWithSelection={false}
397
398
  selection={localSelection.current}
398
399
  setSelection={setSelection}
@@ -409,5 +410,5 @@ export default function withSelection(WrappedComponent) {
409
410
  getIdsFromSelection={getIdsFromLocalSelection}
410
411
  getDisplayValuesFromSelection={getDisplayValuesFromSelection}
411
412
  />;
412
- };
413
+ });
413
414
  }
@@ -1,3 +1,4 @@
1
+ import { forwardRef } from 'react';
1
2
  import {
2
3
  EDITOR_TYPE__SIDE,
3
4
  } from '../../Constants/Editor.js';
@@ -7,20 +8,21 @@ import _ from 'lodash';
7
8
 
8
9
 
9
10
  function withAdditionalProps(WrappedComponent) {
10
- return (props) => {
11
+ return forwardRef((props, ref) => {
11
12
  // provide the editorType to withEditor
12
13
  return <WrappedComponent
13
14
  editorType={EDITOR_TYPE__SIDE}
14
15
  {...props}
16
+ ref={ref}
15
17
  />;
16
- };
18
+ });
17
19
  }
18
20
 
19
21
  // NOTE: Effectivtly, the HOC composition is:
20
22
  // withAdditionalProps(withEditor(withSideEditor))
21
23
 
22
24
  export default function withSideEditor(WrappedComponent, isTree = false) {
23
- const SideEditor = (props) => {
25
+ const SideEditor = forwardRef((props, ref) => {
24
26
  const {
25
27
  Editor,
26
28
  _editor = {},
@@ -48,10 +50,16 @@ export default function withSideEditor(WrappedComponent, isTree = false) {
48
50
  _editor.flex = sideFlex;
49
51
  }
50
52
 
53
+ if (!_editor.className) {
54
+ _editor.className = '';
55
+ }
56
+ _editor.className += ' border-l-1 border-l-grey-300';
57
+
51
58
  return <Container
52
59
  parent={self}
53
60
  reference="SideEditor"
54
61
  center={<WrappedComponent
62
+ ref={ref}
55
63
  isTree={isTree}
56
64
  isSideEditor={true}
57
65
  {...props}
@@ -59,13 +67,11 @@ export default function withSideEditor(WrappedComponent, isTree = false) {
59
67
  east={<Editor
60
68
  {...propsToPass}
61
69
  editorType={EDITOR_TYPE__SIDE}
62
- borderLeftWidth={1}
63
- borderLeftColor="#ccc"
64
70
  {..._editor}
65
71
  parent={self}
66
72
  reference="editor"
67
73
  />}
68
74
  />;
69
- };
75
+ });
70
76
  return withAdditionalProps(withEditor(SideEditor, isTree));
71
77
  }
@@ -1,21 +1,27 @@
1
- import React from 'react';
2
- import {
3
- Tooltip,
4
- } from 'native-base';
1
+ import { forwardRef } from 'react';
2
+ import Tooltip from '../Tooltip/Tooltip.js';
3
+ import _ from 'lodash';
5
4
 
6
- // NOTE: Can't seem to get this working for some elements like Combo or File
5
+ // This HOC adds a standardized tooltip to the wrapped component.
6
+ // If you need a tooltip with custom elements, use the Tooltip component directly.
7
7
 
8
8
  export default function withTooltip(WrappedComponent) {
9
- return (props) => {
9
+ return forwardRef((props, ref) => {
10
10
  const {
11
11
  tooltip,
12
12
  tooltipPlacement = 'bottom',
13
+ _tooltip = {},
14
+ ...propsToPass
13
15
  } = props;
14
- if (!tooltip) {
15
- return <WrappedComponent {...props} />;
16
+
17
+ let component = <WrappedComponent {...propsToPass} ref={ref} />;
18
+
19
+ if (tooltip || !_.isEmpty(_tooltip)) {
20
+ component = <Tooltip label={tooltip} placement={tooltipPlacement} {..._tooltip}>
21
+ {component}
22
+ </Tooltip>;
16
23
  }
17
- return <Tooltip label={tooltip} placement={tooltipPlacement}>
18
- <WrappedComponent {...props} />
19
- </Tooltip>;
20
- };
24
+
25
+ return component;
26
+ });
21
27
  }
@@ -1,4 +1,4 @@
1
- import { useState, useEffect, useRef, useContext, useCallback, } from 'react';
1
+ import { forwardRef, useState, useEffect, useRef, useContext, useCallback, } from 'react';
2
2
  import natsort from 'natsort';
3
3
  import useForceUpdate from '../../Hooks/useForceUpdate.js';
4
4
  import FieldSetContext from '../../Contexts/FieldSetContext.js';
@@ -7,17 +7,17 @@ import _ from 'lodash';
7
7
  // This HOC gives the component value props, primarily for a Form Field.
8
8
 
9
9
  export default function withValue(WrappedComponent) {
10
- return (props) => {
10
+ return forwardRef((props, ref) => {
11
11
 
12
12
  if (props.disableWithValue) {
13
- return <WrappedComponent {...props} />;
13
+ return <WrappedComponent {...props} ref={ref} />;
14
14
  }
15
15
 
16
16
  if (props.setValue) {
17
17
  // bypass everything, since we're already using withValue() in hierarchy.
18
18
  // For example, Combo has withValue(), and intenally it uses Input which also has withValue(),
19
19
  // but we only need it defined once for the whole thing.
20
- return <WrappedComponent {...props} />;
20
+ return <WrappedComponent {...props} ref={ref} />;
21
21
  }
22
22
 
23
23
  const
@@ -144,10 +144,11 @@ export default function withValue(WrappedComponent) {
144
144
 
145
145
  return <WrappedComponent
146
146
  {...props}
147
+ ref={ref}
147
148
  disableWithValue={false}
148
149
  value={convertedValue}
149
150
  setValue={setValueRef.current}
150
151
  onChangeSelection={onChangeSelection}
151
152
  />;
152
- };
153
+ });
153
154
  }
@@ -1,8 +1,7 @@
1
+ import { forwardRef } from 'react';
1
2
  import {
2
- Column,
3
- Modal,
4
- Text,
5
- } from 'native-base';
3
+ Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
4
+ } from '../Gluestack';
6
5
  import {
7
6
  EDITOR_TYPE__WINDOWED,
8
7
  } from '../../Constants/Editor.js';
@@ -12,13 +11,14 @@ import _ from 'lodash';
12
11
 
13
12
 
14
13
  // function withAdditionalProps(WrappedComponent) {
15
- // return (props) => {
14
+ // return forwardRef((props, ref) => {
16
15
  // return <WrappedComponent
17
16
  // mode="BOTH_AXES"
18
17
  // handle=".header"
19
18
  // {...props}
19
+ // ref={ref}
20
20
  // />;
21
- // };
21
+ // });
22
22
  // }
23
23
 
24
24
  // In order to implement a draggable window, I'd need to switch the Column with DraggableColumn,
@@ -29,20 +29,21 @@ import _ from 'lodash';
29
29
 
30
30
 
31
31
  function withAdditionalProps(WrappedComponent) {
32
- return (props) => {
32
+ return forwardRef((props, ref) => {
33
33
  // provide the editorType to withEditor
34
34
  return <WrappedComponent
35
35
  editorType={EDITOR_TYPE__WINDOWED}
36
36
  {...props}
37
+ ref={ref}
37
38
  />;
38
- };
39
+ });
39
40
  }
40
41
 
41
42
  // NOTE: Effectivtly, the HOC composition is:
42
43
  // withAdditionalProps(withEditor(withWindowedEditor))
43
44
 
44
45
  export default function withWindowedEditor(WrappedComponent, isTree = false) {
45
- const WindowedEditor = (props) => {
46
+ const WindowedEditor = forwardRef((props, ref) => {
46
47
  const {
47
48
  isEditorShown = false,
48
49
  setIsEditorShown,
@@ -66,12 +67,13 @@ export default function withWindowedEditor(WrappedComponent, isTree = false) {
66
67
  }
67
68
 
68
69
  return <>
69
- <WrappedComponent {...props} />
70
+ <WrappedComponent {...props} ref={ref} />
70
71
  {isEditorShown &&
71
72
  <Modal
72
73
  isOpen={true}
73
74
  onClose={onEditorCancel}
74
75
  >
76
+ <ModalBackdrop />
75
77
  <Editor
76
78
  editorType={EDITOR_TYPE__WINDOWED}
77
79
  {...propsToPass}
@@ -81,6 +83,6 @@ export default function withWindowedEditor(WrappedComponent, isTree = false) {
81
83
  />
82
84
  </Modal>}
83
85
  </>;
84
- };
86
+ });
85
87
  return withAdditionalProps(withEditor(WindowedEditor, isTree));
86
88
  }
@@ -1,14 +1,11 @@
1
+ import { createIcon } from "../Gluestack/icon";
1
2
  // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
- import * as React from "react"
3
- import Svg, { Path } from "react-native-svg"
4
- import { Icon } from 'native-base';
3
+ import { Path, Svg } from 'react-native-svg';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}>
9
- <Path d="M96 0C60.7 0 32 28.7 32 64v384c0 35.3 28.7 64 64 64h288c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H96zm112 288h64c44.2 0 80 35.8 80 80 0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16 0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80zm-16 112c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64z" />
10
- </Icon>
11
- )
12
- }
5
+ const SvgComponent = createIcon({
6
+ Root: Svg,
7
+ viewBox: '0 0 512 512',
8
+ path: <Path d="M96 0C60.7 0 32 28.7 32 64v384c0 35.3 28.7 64 64 64h288c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H96zm112 288h64c44.2 0 80 35.8 80 80 0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16 0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64 28.7-64 64-64 64 28.7 64 64zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80zm-16 112c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64z" />,
9
+ });
13
10
 
14
11
  export default SvgComponent
@@ -1,17 +1,10 @@
1
- import * as React from "react"
2
- import Svg, { Path } from "react-native-svg"
3
- import { Icon } from 'native-base';
1
+ import { createIcon } from "../Gluestack/icon";
2
+ import { Path, Svg } from 'react-native-svg';
4
3
 
5
- function SvgComponent(props) {
6
- return (
7
- <Icon
8
- xmlns="http://www.w3.org/2000/svg"
9
- viewBox="0 0 125.65 67.53"
10
- {...props}
11
- >
12
- <Path d="M17.82 53.08l-2.3 14.46H0L13.32 0h21.81l13.49 67.53H32.5l-2.37-14.46H17.81zm10.27-13.05c-1.53-9.85-3.01-20.84-3.87-27.05h-.51c-.66 6.48-2.31 17.2-3.91 27.05h8.28zM53.73 0h15.52v54.93h21.43l-1.45 12.61h-35.5V0zM96.92 12.7H83.6V0h42.05v12.7H112.4v54.84H96.92V12.7z" />
13
- </Icon>
14
- )
15
- }
4
+ const SvgComponent = createIcon({
5
+ Root: Svg,
6
+ viewBox: '0 0 125.65 67.53',
7
+ path: <Path d="M17.82 53.08l-2.3 14.46H0L13.32 0h21.81l13.49 67.53H32.5l-2.37-14.46H17.81zm10.27-13.05c-1.53-9.85-3.01-20.84-3.87-27.05h-.51c-.66 6.48-2.31 17.2-3.91 27.05h8.28zM53.73 0h15.52v54.93h21.43l-1.45 12.61h-35.5V0zM96.92 12.7H83.6V0h42.05v12.7H112.4v54.84H96.92V12.7z" />,
8
+ });
16
9
 
17
- export default SvgComponent
10
+ export default SvgComponent;
@@ -1,18 +1,11 @@
1
+ import { createIcon } from "../Gluestack/icon";
1
2
  // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
- import * as React from "react"
3
- import Svg, { Path } from "react-native-svg"
4
- import { Icon } from 'native-base';
3
+ import { Path, Svg } from 'react-native-svg';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon
9
- xmlns="http://www.w3.org/2000/svg"
10
- viewBox="0 0 320 512"
11
- {...props}
12
- >
13
- <Path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z" />
14
- </Icon>
15
- )
16
- }
5
+ const SvgComponent = createIcon({
6
+ Root: Svg,
7
+ viewBox: '0 0 320 512',
8
+ path: <Path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z" />,
9
+ });
17
10
 
18
11
  export default SvgComponent
@@ -1,18 +1,11 @@
1
+ import { createIcon } from "../Gluestack/icon";
1
2
  // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
- import * as React from "react"
3
- import Svg, { Path } from "react-native-svg"
4
- import { Icon } from 'native-base';
3
+ import { Path, Svg } from 'react-native-svg';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon
9
- xmlns="http://www.w3.org/2000/svg"
10
- viewBox="0 0 320 512"
11
- {...props}
12
- >
13
- <Path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z" />
14
- </Icon>
15
- )
16
- }
5
+ const SvgComponent = createIcon({
6
+ Root: Svg,
7
+ viewBox: '0 0 320 512',
8
+ path: <Path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z" />,
9
+ });
17
10
 
18
11
  export default SvgComponent
@@ -1,18 +1,11 @@
1
+ import { createIcon } from "../Gluestack/icon";
1
2
  // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
- import * as React from "react"
3
- import Svg, { Path } from "react-native-svg"
4
- import { Icon } from 'native-base';
3
+ import { Path, Svg } from 'react-native-svg';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon
9
- xmlns="http://www.w3.org/2000/svg"
10
- viewBox="0 0 512 512"
11
- {...props}
12
- >
13
- <Path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z" />
14
- </Icon>
15
- )
16
- }
5
+ const SvgComponent = createIcon({
6
+ Root: Svg,
7
+ viewBox: '0 0 512 512',
8
+ path: <Path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256l137.3-137.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z" />,
9
+ });
17
10
 
18
11
  export default SvgComponent
@@ -1,18 +1,11 @@
1
+ import { createIcon } from "../Gluestack/icon";
1
2
  // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
- import * as React from "react"
3
- import Svg, { Path } from "react-native-svg"
4
- import { Icon } from 'native-base';
3
+ import { Path, Svg } from 'react-native-svg';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon
9
- xmlns="http://www.w3.org/2000/svg"
10
- viewBox="0 0 512 512"
11
- {...props}
12
- >
13
- <Path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z" />
14
- </Icon>
15
- )
16
- }
5
+ const SvgComponent = createIcon({
6
+ Root: Svg,
7
+ viewBox: '0 0 512 512',
8
+ path: <Path d="M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z" />,
9
+ });
17
10
 
18
11
  export default SvgComponent
@@ -1,14 +1,11 @@
1
+ import { createIcon } from "../Gluestack/icon";
1
2
  // Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.
2
- import * as React from "react"
3
- import Svg, { Path } from "react-native-svg"
4
- import { Icon } from 'native-base';
3
+ import { Path, Svg } from 'react-native-svg';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" {...props}>
9
- <Path d="M192 32c17.7 0 32 14.3 32 32v135.5l111.5-66.9c15.2-9.1 34.8-4.2 43.9 11s4.2 34.8-11 43.9L254.2 256l114.3 68.6c15.2 9.1 20.1 28.7 11 43.9s-28.7 20.1-43.9 11l-111.6-67V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V312.5L48.5 379.4c-15.2 9.1-34.8 4.2-43.9-11s-4.2-34.8 11-43.9L129.8 256 15.5 187.4c-15.2-9.1-20.1-28.7-11-43.9s28.7-20.1 43.9-11l111.6 67V64c0-17.7 14.3-32 32-32z" />
10
- </Icon>
11
- )
12
- }
5
+ const SvgComponent = createIcon({
6
+ Root: Svg,
7
+ viewBox: '0 0 384 512',
8
+ path: <Path d="M192 32c17.7 0 32 14.3 32 32v135.5l111.5-66.9c15.2-9.1 34.8-4.2 43.9 11s4.2 34.8-11 43.9L254.2 256l114.3 68.6c15.2 9.1 20.1 28.7 11 43.9s-28.7 20.1-43.9 11l-111.6-67V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V312.5L48.5 379.4c-15.2 9.1-34.8 4.2-43.9-11s-4.2-34.8 11-43.9L129.8 256 15.5 187.4c-15.2-9.1-20.1-28.7-11-43.9s28.7-20.1 43.9-11l111.6 67V64c0-17.7 14.3-32 32-32z" />,
9
+ });
13
10
 
14
11
  export default SvgComponent