@onehat/ui 0.3.262 → 0.3.263

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 (267) hide show
  1. package/package.json +1 -1
  2. package/src/Components/Accordion/Accordion.js +14 -14
  3. package/src/Components/Blank.js +1 -1
  4. package/src/Components/Buttons/BackButton.js +1 -1
  5. package/src/Components/Buttons/Button.js +1 -1
  6. package/src/Components/Buttons/CartButtonWithBadge.js +1 -1
  7. package/src/Components/Buttons/IconButton.js +2 -5
  8. package/src/Components/Buttons/PlusMinusButton.js +6 -6
  9. package/src/Components/Buttons/SquareButton.js +1 -1
  10. package/src/Components/Container/Container.js +9 -9
  11. package/src/Components/Container/ScreenContainer.js +4 -4
  12. package/src/Components/Container/Splitter.js +10 -9
  13. package/src/Components/Filter/DateRange.js +4 -4
  14. package/src/Components/Filter/NumberRange.js +4 -4
  15. package/src/Components/Form/Field/CKEditor/CKEditor.js +4 -4
  16. package/src/Components/Form/Field/Checkbox/CheckboxGroup.js +3 -1
  17. package/src/Components/Form/Field/Color.js +85 -91
  18. package/src/Components/Form/Field/Combo/Combo.js +13 -13
  19. package/src/Components/Form/Field/Combo/PageSizeCombo.js +4 -4
  20. package/src/Components/Form/Field/Date.js +11 -10
  21. package/src/Components/Form/Field/DisplayField.js +1 -1
  22. package/src/Components/Form/Field/File.js +4 -4
  23. package/src/Components/Form/Field/Input.js +4 -4
  24. package/src/Components/Form/Field/Number.js +4 -4
  25. package/src/Components/Form/Field/RadioGroup/RadioGroup.js +3 -1
  26. package/src/Components/Form/Field/Tag/Tag.js +7 -7
  27. package/src/Components/Form/Field/Tag/ValueBox.js +4 -4
  28. package/src/Components/Form/Field/Text.js +1 -1
  29. package/src/Components/Form/Field/TextArea.js +3 -3
  30. package/src/Components/Form/Field/Toggle.js +4 -4
  31. package/src/Components/Form/FieldSet.js +7 -6
  32. package/src/Components/Form/FiltersForm.js +9 -0
  33. package/src/Components/Form/Form.js +48 -62
  34. package/src/Components/Form/Label.js +4 -4
  35. package/src/Components/Grid/Grid.js +11 -9
  36. package/src/Components/Grid/GridHeaderRow.js +4 -4
  37. package/src/Components/Grid/GridRow.js +7 -7
  38. package/src/Components/Grid/HeaderColumnSelectorHandle.js +1 -1
  39. package/src/Components/Grid/HeaderReorderHandle.js +6 -4
  40. package/src/Components/Grid/HeaderResizeHandle.js +6 -4
  41. package/src/Components/Grid/NoRecordsFound.js +7 -7
  42. package/src/Components/Grid/RowDragHandle.js +6 -4
  43. package/src/Components/Hoc/Secondary/withSecondaryEditor.js +1 -2
  44. package/src/Components/Hoc/Secondary/withSecondaryWindowedEditor.js +3 -1
  45. package/src/Components/Hoc/withAlert.js +14 -24
  46. package/src/Components/Hoc/withBlank.js +2 -0
  47. package/src/Components/Hoc/withContextMenu.js +9 -4
  48. package/src/Components/Hoc/withEditor.js +1 -2
  49. package/src/Components/Hoc/withEvents.js +2 -0
  50. package/src/Components/Hoc/withFilters.js +11 -11
  51. package/src/Components/Hoc/withInlineEditor.js +8 -5
  52. package/src/Components/Hoc/withPdfButton.js +5 -4
  53. package/src/Components/Hoc/withPresetButtons.js +1 -1
  54. package/src/Components/Hoc/withTooltip.js +3 -3
  55. package/src/Components/Hoc/withWindowedEditor.js +3 -1
  56. package/src/Components/Icons/AddressBook.js +10 -6
  57. package/src/Components/Icons/Alt.js +15 -7
  58. package/src/Components/Icons/AngleLeft.js +14 -6
  59. package/src/Components/Icons/AngleRight.js +14 -6
  60. package/src/Components/Icons/AnglesLeft.js +14 -6
  61. package/src/Components/Icons/AnglesRight.js +14 -6
  62. package/src/Components/Icons/Asterisk.js +10 -6
  63. package/src/Components/Icons/Ban.js +14 -8
  64. package/src/Components/Icons/Bars.js +10 -6
  65. package/src/Components/Icons/BarsStaggered.js +10 -6
  66. package/src/Components/Icons/Bell.js +19 -6
  67. package/src/Components/Icons/BigCircle.js +14 -6
  68. package/src/Components/Icons/Book.js +10 -6
  69. package/src/Components/Icons/BookOpen.js +10 -6
  70. package/src/Components/Icons/Bookmark.js +17 -7
  71. package/src/Components/Icons/Bug.js +10 -6
  72. package/src/Components/Icons/Building.js +10 -6
  73. package/src/Components/Icons/Calendar.js +14 -6
  74. package/src/Components/Icons/Calendar2.js +14 -6
  75. package/src/Components/Icons/CalendarDays.js +14 -6
  76. package/src/Components/Icons/Camera.js +14 -6
  77. package/src/Components/Icons/CaretDown.js +14 -6
  78. package/src/Components/Icons/CaretUp.js +14 -6
  79. package/src/Components/Icons/CartPlus.js +10 -6
  80. package/src/Components/Icons/CartShopping.js +10 -6
  81. package/src/Components/Icons/CashRegister.js +10 -6
  82. package/src/Components/Icons/Certificate.js +10 -6
  83. package/src/Components/Icons/ChartLine.js +10 -6
  84. package/src/Components/Icons/ChartPie.js +10 -6
  85. package/src/Components/Icons/Check.js +10 -6
  86. package/src/Components/Icons/CheckDouble.js +10 -6
  87. package/src/Components/Icons/ChevronDown.js +10 -6
  88. package/src/Components/Icons/ChevronLeft.js +10 -6
  89. package/src/Components/Icons/ChevronRight.js +10 -6
  90. package/src/Components/Icons/ChevronUp.js +10 -6
  91. package/src/Components/Icons/Circle.js +10 -6
  92. package/src/Components/Icons/CircleArrowRight.js +10 -6
  93. package/src/Components/Icons/CircleExclamation.js +14 -6
  94. package/src/Components/Icons/CircleInfo.js +10 -6
  95. package/src/Components/Icons/CircleQuestion.js +10 -6
  96. package/src/Components/Icons/CircleXmark.js +10 -6
  97. package/src/Components/Icons/CircleXmarkRegular.js +10 -6
  98. package/src/Components/Icons/Clipboard.js +14 -6
  99. package/src/Components/Icons/ClipboardCheck.js +17 -6
  100. package/src/Components/Icons/ClipboardList.js +16 -6
  101. package/src/Components/Icons/Clock.js +10 -6
  102. package/src/Components/Icons/ClockRegular.js +10 -6
  103. package/src/Components/Icons/ClockRotateLeft.js +10 -6
  104. package/src/Components/Icons/Clone.js +10 -6
  105. package/src/Components/Icons/Collapse.js +14 -6
  106. package/src/Components/Icons/Comment.js +10 -6
  107. package/src/Components/Icons/CommentDots.js +10 -6
  108. package/src/Components/Icons/CommentRegular.js +10 -6
  109. package/src/Components/Icons/Comments.js +10 -6
  110. package/src/Components/Icons/CommentsRegular.js +10 -6
  111. package/src/Components/Icons/Copyright.js +10 -6
  112. package/src/Components/Icons/Dot.js +15 -9
  113. package/src/Components/Icons/Duplicate.js +14 -6
  114. package/src/Components/Icons/Edit.js +14 -6
  115. package/src/Components/Icons/EllipsisHorizontal.js +16 -6
  116. package/src/Components/Icons/EllipsisVertical.js +14 -6
  117. package/src/Components/Icons/Envelope.js +10 -6
  118. package/src/Components/Icons/EnvelopeRegular.js +10 -6
  119. package/src/Components/Icons/Excel.js +10 -6
  120. package/src/Components/Icons/Exclamation.js +10 -6
  121. package/src/Components/Icons/Expand.js +10 -6
  122. package/src/Components/Icons/Eye.js +14 -6
  123. package/src/Components/Icons/EyeSlash.js +10 -6
  124. package/src/Components/Icons/File.js +14 -6
  125. package/src/Components/Icons/FloppyDiskRegular.js +10 -6
  126. package/src/Components/Icons/Folder.js +10 -6
  127. package/src/Components/Icons/FolderClosed.js +10 -6
  128. package/src/Components/Icons/FolderOpen.js +10 -6
  129. package/src/Components/Icons/FolderTree.js +10 -6
  130. package/src/Components/Icons/FullWidth.js +25 -9
  131. package/src/Components/Icons/Gauge.js +17 -6
  132. package/src/Components/Icons/Gear.js +14 -6
  133. package/src/Components/Icons/Gears.js +10 -6
  134. package/src/Components/Icons/Gift.js +10 -6
  135. package/src/Components/Icons/Grip.js +14 -6
  136. package/src/Components/Icons/GripLines.js +14 -6
  137. package/src/Components/Icons/GripLinesVertical.js +14 -6
  138. package/src/Components/Icons/GripVertical.js +14 -6
  139. package/src/Components/Icons/Hammer.js +10 -6
  140. package/src/Components/Icons/Hand.js +10 -6
  141. package/src/Components/Icons/HighPriority.js +17 -6
  142. package/src/Components/Icons/House.js +10 -6
  143. package/src/Components/Icons/Images.js +10 -6
  144. package/src/Components/Icons/Info.js +10 -6
  145. package/src/Components/Icons/ItunesNote.js +10 -6
  146. package/src/Components/Icons/Js.js +16 -6
  147. package/src/Components/Icons/Leaf.js +10 -6
  148. package/src/Components/Icons/Link.js +9 -6
  149. package/src/Components/Icons/List.js +10 -6
  150. package/src/Components/Icons/ListCheck.js +10 -6
  151. package/src/Components/Icons/LocationDot.js +10 -6
  152. package/src/Components/Icons/Loop.js +14 -6
  153. package/src/Components/Icons/Loop1.js +13 -7
  154. package/src/Components/Icons/LoopAll.js +13 -7
  155. package/src/Components/Icons/LowPriority.js +17 -6
  156. package/src/Components/Icons/MagnifyingGlass.js +10 -6
  157. package/src/Components/Icons/Maximize.js +10 -6
  158. package/src/Components/Icons/MedPriority.js +17 -6
  159. package/src/Components/Icons/Microphone.js +10 -6
  160. package/src/Components/Icons/Minimize.js +10 -6
  161. package/src/Components/Icons/Minus.js +14 -6
  162. package/src/Components/Icons/MobileScreenButton.js +10 -6
  163. package/src/Components/Icons/MoneyBill.js +10 -6
  164. package/src/Components/Icons/MoneyBillWave.js +10 -6
  165. package/src/Components/Icons/Mouth.js +21 -9
  166. package/src/Components/Icons/Music.js +10 -6
  167. package/src/Components/Icons/Na.js +14 -6
  168. package/src/Components/Icons/NoLoop.js +13 -10
  169. package/src/Components/Icons/NoReorderRows.js +22 -16
  170. package/src/Components/Icons/ObjectGroupRegular.js +10 -6
  171. package/src/Components/Icons/Pause.js +10 -6
  172. package/src/Components/Icons/Pdf.js +10 -6
  173. package/src/Components/Icons/Pencil.js +14 -6
  174. package/src/Components/Icons/Phone.js +10 -6
  175. package/src/Components/Icons/Play.js +10 -6
  176. package/src/Components/Icons/Plus.js +14 -6
  177. package/src/Components/Icons/Presentation.js +16 -6
  178. package/src/Components/Icons/Print.js +14 -6
  179. package/src/Components/Icons/Question.js +10 -6
  180. package/src/Components/Icons/Rate-.25x.js +17 -11
  181. package/src/Components/Icons/Rate-.5x.js +16 -10
  182. package/src/Components/Icons/Rate-.75x.js +13 -7
  183. package/src/Components/Icons/Rate-1.25x.js +13 -7
  184. package/src/Components/Icons/Rate-1.5x.js +13 -7
  185. package/src/Components/Icons/Rate-1.75x.js +13 -7
  186. package/src/Components/Icons/Rate-1x.js +16 -10
  187. package/src/Components/Icons/Rate-2x.js +13 -7
  188. package/src/Components/Icons/RateIcon-.25x.js +13 -7
  189. package/src/Components/Icons/RateIcon-.5x.js +16 -10
  190. package/src/Components/Icons/RateIcon-.75x.js +13 -7
  191. package/src/Components/Icons/RateIcon-1.25x.js +13 -7
  192. package/src/Components/Icons/RateIcon-1.5x.js +13 -7
  193. package/src/Components/Icons/RateIcon-1.75x.js +13 -7
  194. package/src/Components/Icons/RateIcon-1x.js +13 -7
  195. package/src/Components/Icons/RateIcon-2x.js +13 -7
  196. package/src/Components/Icons/RectangleXmark.js +10 -6
  197. package/src/Components/Icons/RectangleXmarkRegular.js +10 -6
  198. package/src/Components/Icons/ReorderRows.js +13 -7
  199. package/src/Components/Icons/RightFromBracket.js +10 -6
  200. package/src/Components/Icons/RightLeft.js +10 -6
  201. package/src/Components/Icons/RightToBracket.js +10 -6
  202. package/src/Components/Icons/Rotate.js +14 -6
  203. package/src/Components/Icons/RotateLeft.js +10 -6
  204. package/src/Components/Icons/RotateRight.js +14 -6
  205. package/src/Components/Icons/ScrewdriverWrench.js +10 -6
  206. package/src/Components/Icons/Scroll.js +10 -6
  207. package/src/Components/Icons/Share.js +10 -6
  208. package/src/Components/Icons/Shop.js +10 -6
  209. package/src/Components/Icons/SideBySide.js +20 -6
  210. package/src/Components/Icons/SortDown.js +10 -6
  211. package/src/Components/Icons/SortDownAlt.js +10 -6
  212. package/src/Components/Icons/SortUp.js +10 -6
  213. package/src/Components/Icons/SortUpAlt.js +14 -6
  214. package/src/Components/Icons/Square.js +10 -6
  215. package/src/Components/Icons/SquareCheck.js +10 -6
  216. package/src/Components/Icons/SquareCheckRegular.js +10 -6
  217. package/src/Components/Icons/SquareMinus.js +14 -6
  218. package/src/Components/Icons/SquareRegular.js +10 -6
  219. package/src/Components/Icons/Store.js +10 -6
  220. package/src/Components/Icons/Table.js +16 -6
  221. package/src/Components/Icons/ThumbsDown.js +10 -6
  222. package/src/Components/Icons/ThumbsDownRegular.js +10 -6
  223. package/src/Components/Icons/ThumbsUp.js +10 -6
  224. package/src/Components/Icons/ThumbsUpRegular.js +10 -6
  225. package/src/Components/Icons/Trash.js +14 -6
  226. package/src/Components/Icons/TrashCan.js +14 -6
  227. package/src/Components/Icons/TriangleExclamation.js +14 -6
  228. package/src/Components/Icons/Truck.js +10 -6
  229. package/src/Components/Icons/TruckFast.js +10 -6
  230. package/src/Components/Icons/UploadDownload.js +9 -7
  231. package/src/Components/Icons/User.js +10 -6
  232. package/src/Components/Icons/UserGroup.js +10 -6
  233. package/src/Components/Icons/UserPlus.js +10 -6
  234. package/src/Components/Icons/UserSecret.js +10 -6
  235. package/src/Components/Icons/Video.js +16 -6
  236. package/src/Components/Icons/X.js +10 -6
  237. package/src/Components/Icons/Xmark.js +10 -6
  238. package/src/Components/Layout/CenterBox.js +1 -1
  239. package/src/Components/Layout/Footer.js +4 -4
  240. package/src/Components/Messages/ConfirmationMessage.js +3 -8
  241. package/src/Components/Messages/ErrorMessage.js +2 -5
  242. package/src/Components/Messages/Loading.js +6 -6
  243. package/src/Components/Messages/OkMessage.js +3 -4
  244. package/src/Components/Messages/WaitMessage.js +1 -1
  245. package/src/Components/Panel/AccordionGridPanel.js +1 -1
  246. package/src/Components/Panel/FormPanel.js +1 -1
  247. package/src/Components/Panel/Header.js +13 -13
  248. package/src/Components/Panel/Mask.js +1 -1
  249. package/src/Components/Panel/Panel.js +12 -10
  250. package/src/Components/Picker/Picker.js +5 -5
  251. package/src/Components/Report/Report.js +10 -10
  252. package/src/Components/Screens/Manager.js +7 -7
  253. package/src/Components/Tab/TabBar.js +23 -23
  254. package/src/Components/Toolbar/FilterToolbar.js +3 -3
  255. package/src/Components/Toolbar/Pagination.js +8 -12
  256. package/src/Components/Toolbar/PaginationToolbar.js +3 -3
  257. package/src/Components/Toolbar/Toolbar.js +4 -4
  258. package/src/Components/Tree/Tree.js +13 -10
  259. package/src/Components/Tree/TreeNode.js +4 -4
  260. package/src/Components/Viewer/Viewer.js +23 -29
  261. package/src/Components/WaitModal.js +4 -4
  262. package/src/Components/Window/Editor.js +1 -1
  263. package/src/Components/Window/UploadsDownloadsWindow.js +1 -1
  264. package/src/Components/index.js +5 -5
  265. package/src/Functions/buildAdditionalButtons.js +3 -7
  266. package/src/PlatformImports/Web/Attachments.js +8 -11
  267. package/src/PlatformImports/Web/File.js +5 -4
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import {
3
- VStack,
3
+ Column,
4
4
  Icon,
5
5
  Pressable,
6
- HStack,
6
+ Row,
7
7
  Text,
8
- } from '@gluestack-ui/themed';
8
+ } from 'native-base';
9
9
  import {
10
10
  HORIZONTAL,
11
11
  VERTICAL,
@@ -80,12 +80,12 @@ export default function Header(props) {
80
80
  }
81
81
  }}
82
82
  >
83
- <VStack alignItems="center" justifyContent="flex-start" h="100%" w="100%" bg={styles.PANEL_HEADER_BG_VERTICAL} style={{ userSelect: 'none', }} testID={testID}>
83
+ <Column alignItems="center" justifyContent="flex-start" h="100%" w="100%" bg={styles.PANEL_HEADER_BG_VERTICAL} style={{ userSelect: 'none', }} testID={testID}>
84
84
  {collapseBtn}
85
85
  <div style={{ textOrientation: 'mixed', writingMode: 'vertical-rl', }}>
86
86
  <Text flex={1} fontSize={styles.PANEL_HEADER_TEXT_FONTSIZE} color={styles.PANEL_HEADER_TEXT_COLOR} numberOfLines={1} ellipsizeMode="head" testID="text">{title}</Text>
87
87
  </div>
88
- </VStack>
88
+ </Column>
89
89
  </div>;
90
90
  }
91
91
  }
@@ -99,11 +99,11 @@ export default function Header(props) {
99
99
  }
100
100
  }}
101
101
  >
102
- <HStack alignItems="center" justifyContent="flex-start" px={styles.PANEL_HEADER_PX} py={styles.PANEL_HEADER_PY} bg={styles.PANEL_HEADER_BG} style={{ userSelect: 'none', }} testID={testID}>
102
+ <Row alignItems="center" justifyContent="flex-start" px={styles.PANEL_HEADER_PX} py={styles.PANEL_HEADER_PY} bg={styles.PANEL_HEADER_BG} style={{ userSelect: 'none', }} testID={testID}>
103
103
  {closeBtn}
104
104
  <Text flex={1} fontSize={styles.PANEL_HEADER_TEXT_FONTSIZE} color={styles.PANEL_HEADER_TEXT_COLOR} numberOfLines={1} ellipsizeMode="head" testID="text">{title}</Text>
105
105
  {collapseBtn}
106
- </HStack>
106
+ </Row>
107
107
  </div>;
108
108
 
109
109
  } else if (CURRENT_MODE === UI_MODE_REACT_NATIVE) {
@@ -122,7 +122,7 @@ export default function Header(props) {
122
122
  }
123
123
  }}
124
124
  >
125
- <VStack
125
+ <Column
126
126
  alignItems="center"
127
127
  justifyContent="flex-start"
128
128
  h="100%"
@@ -130,7 +130,7 @@ export default function Header(props) {
130
130
  bg={styles.PANEL_HEADER_BG_VERTICAL}
131
131
  >
132
132
  {collapseBtn}
133
- <VStack
133
+ <Column
134
134
  alignItems="center"
135
135
  justifyContent="center"
136
136
  flex={1}
@@ -145,8 +145,8 @@ export default function Header(props) {
145
145
  w={200}
146
146
  style={{ transform: [{ rotate: '-90deg'}] }}
147
147
  >{title}</Text>
148
- </VStack>
149
- </VStack>
148
+ </Column>
149
+ </Column>
150
150
  </Pressable>;
151
151
  }
152
152
  }
@@ -161,7 +161,7 @@ export default function Header(props) {
161
161
  }
162
162
  }}
163
163
  >
164
- <HStack
164
+ <Row
165
165
  alignItems="center"
166
166
  justifyContent="flex-start"
167
167
  px={styles.PANEL_HEADER_PX}
@@ -177,7 +177,7 @@ export default function Header(props) {
177
177
  ellipsizeMode="head"
178
178
  >{title}</Text>
179
179
  {collapseBtn}
180
- </HStack>
180
+ </Row>
181
181
  </Pressable>;
182
182
 
183
183
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Box,
3
- } from '@gluestack-ui/themed';
3
+ } from 'native-base';
4
4
  import {
5
5
  CURRENT_MODE,
6
6
  UI_MODE_WEB,
@@ -1,8 +1,10 @@
1
1
  import { useEffect, useState, } from 'react';
2
2
  import {
3
- VStack,
3
+ Column,
4
+ Row,
4
5
  ScrollView,
5
- } from '@gluestack-ui/themed';
6
+ Text,
7
+ } from 'native-base';
6
8
  import {
7
9
  HORIZONTAL,
8
10
  VERTICAL,
@@ -145,26 +147,26 @@ function Panel(props) {
145
147
 
146
148
  if (isCollapsed) {
147
149
  if (collapseDirection === HORIZONTAL) {
148
- return <VStack overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} w="33px">
150
+ return <Column overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} w="33px">
149
151
  {isDisabled && <Mask />}
150
152
  {headerComponent}
151
- </VStack>;
153
+ </Column>;
152
154
  }
153
- return <VStack overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} h="33px">
155
+ return <Column overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} h="33px">
154
156
  {isDisabled && <Mask />}
155
157
  {headerComponent}
156
- </VStack>;
158
+ </Column>;
157
159
  }
158
- return <VStack overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} onLayout={onLayout}>
160
+ return <Column overflow="hidden" {...propsToPass} {...framePropsToUse} {...sizeProps} onLayout={onLayout}>
159
161
  {isDisabled && <Mask />}
160
162
  {headerComponent}
161
163
  {topToolbar}
162
- <VStack flex={1} w="100%" overflow="hidden">
164
+ <Column flex={1} w="100%" overflow="hidden">
163
165
  {isScrollable ? <ScrollView>{children}</ScrollView> : children}
164
- </VStack>
166
+ </Column>
165
167
  {bottomToolbar}
166
168
  {footer}
167
- </VStack>;
169
+ </Column>;
168
170
 
169
171
  }
170
172
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Icon,
3
- HStack,
3
+ Row,
4
4
  Select,
5
5
  Tooltip,
6
- } from '@gluestack-ui/themed';
6
+ } from 'native-base';
7
7
  import CaretDown from '../Icons/CaretDown.js';
8
8
  import testProps from '../../Functions/testProps.js';
9
9
  import _ from 'lodash';
@@ -55,10 +55,10 @@ export default function Picker(props) {
55
55
  >{items}</Select>;
56
56
  if (tooltip) {
57
57
  //TODO: This doesn't yet work, but doesn't do anything harmful either!
58
- // select = <Tooltip label={tooltip} placement={tooltipPlacement}>{select}</Tooltip>;
58
+ select = <Tooltip label={tooltip} placement={tooltipPlacement}>{select}</Tooltip>;
59
59
  }
60
- return <HStack {...props}>
60
+ return <Row {...props}>
61
61
  {select}
62
- </HStack>;
62
+ </Row>;
63
63
  }
64
64
 
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import {
3
- VStack,
3
+ Column,
4
4
  Icon,
5
- HStack,
5
+ Row,
6
6
  Text,
7
- } from '@gluestack-ui/themed';
7
+ } from 'native-base';
8
8
  import { EDITOR_TYPE__PLAIN } from '../../Constants/Editor';
9
9
  import {
10
10
  UI_MODE_WEB,
@@ -102,20 +102,20 @@ function Report(props) {
102
102
  ml: 1,
103
103
  });
104
104
  }
105
- return <VStack w="100%" borderWidth={1} borderColor="primary.300" pt={4} mb={3}>
106
- <HStack>
107
- {icon && <VStack>{icon}</VStack>}
108
- <VStack flex={1}>
105
+ return <Column w="100%" borderWidth={1} borderColor="primary.300" pt={4} mb={3}>
106
+ <Row>
107
+ {icon && <Column>{icon}</Column>}
108
+ <Column flex={1}>
109
109
  <Text fontSize="2xl" maxWidth="100%">{title}</Text>
110
110
  <Text fontSize="sm">{description}</Text>
111
- </VStack>
112
- </HStack>
111
+ </Column>
112
+ </Row>
113
113
  <Form
114
114
  type={EDITOR_TYPE__PLAIN}
115
115
  additionalFooterButtons={buttons}
116
116
  {...props._form}
117
117
  />
118
- </VStack>;
118
+ </Column>;
119
119
  }
120
120
 
121
121
  export default withComponent(Report);
@@ -1,9 +1,9 @@
1
1
  import React, { useState, useEffect, } from 'react';
2
2
  import {
3
- VStack,
4
- HStack,
3
+ Column,
4
+ Row,
5
5
  Text,
6
- } from '@gluestack-ui/themed';
6
+ } from 'native-base';
7
7
  import withComponent from '../Hoc/withComponent.js';
8
8
  import UiGlobals from '../../UiGlobals.js';
9
9
  import IconButton from '../Buttons/IconButton';
@@ -84,8 +84,8 @@ function ManagerScreen(props) {
84
84
  };
85
85
  }
86
86
 
87
- return <VStack maxHeight="100vh" overflow="hidden" flex={1} w="100%" onLayout={onLayout}>
88
- <HStack
87
+ return <Column maxHeight="100vh" overflow="hidden" flex={1} w="100%" onLayout={onLayout}>
88
+ <Row
89
89
  h="80px"
90
90
  py={2}
91
91
  borderBottomWidth={2}
@@ -115,9 +115,9 @@ function ManagerScreen(props) {
115
115
  tooltip="Side Editor"
116
116
  />
117
117
  </>}
118
- </HStack>
118
+ </Row>
119
119
  {isRendered && isModeSet && whichComponent}
120
- </VStack>;
120
+ </Column>;
121
121
  }
122
122
 
123
123
  export default withComponent(ManagerScreen);
@@ -1,12 +1,12 @@
1
1
  import React, { useState, useEffect, } from 'react';
2
2
  import {
3
3
  Button,
4
- VStack,
4
+ Column,
5
5
  Icon,
6
- HStack,
6
+ Row,
7
7
  ScrollView,
8
8
  Text,
9
- } from '@gluestack-ui/themed';
9
+ } from 'native-base';
10
10
  import {
11
11
  HORIZONTAL,
12
12
  VERTICAL,
@@ -237,11 +237,11 @@ function TabBar(props) {
237
237
  bg={isCurrentTab ? styles.TAB_ACTIVE_BG : styles.TAB_BG}
238
238
  tooltip={tab.title}
239
239
  />;
240
- // button = <HStack
240
+ // button = <Row
241
241
  // key={'tab' + ix}
242
242
  // >
243
243
  // {button}
244
- // </HStack>;
244
+ // </Row>;
245
245
  } else {
246
246
  button = <Button
247
247
  key={'tabButton' + ix}
@@ -410,7 +410,7 @@ function TabBar(props) {
410
410
 
411
411
  let tabBar = null;
412
412
  if (direction === VERTICAL) {
413
- tabBar = <VStack
413
+ tabBar = <Column
414
414
  alignItems="center"
415
415
  justifyContent="flex-start"
416
416
  py={2}
@@ -419,25 +419,25 @@ function TabBar(props) {
419
419
  w={isCollapsed ? '50px' : tabWidth}
420
420
  >
421
421
  {renderedTabs}
422
- <VStack flex={1} w="100%" justifyContent="flex-end">
422
+ <Column flex={1} w="100%" justifyContent="flex-end">
423
423
  {renderedToggleButton}
424
- </VStack>
425
- </VStack>;
424
+ </Column>
425
+ </Column>;
426
426
  if (renderedCurrentTabContent) {
427
- tabBar = <HStack flex={1} w="100%" {...propsToPass}>
427
+ tabBar = <Row flex={1} w="100%" {...propsToPass}>
428
428
  {tabBar}
429
- <VStack
429
+ <Column
430
430
  alignItems="center"
431
431
  justifyContent="flex-start"
432
432
  flex={1}
433
433
  >
434
434
  {renderedCurrentTabContent}
435
- </VStack>
436
- </HStack>;
435
+ </Column>
436
+ </Row>;
437
437
  }
438
438
  }
439
439
  if (direction === HORIZONTAL) {
440
- tabBar = <HStack
440
+ tabBar = <Row
441
441
  alignItems="center"
442
442
  justifyContent="flex-start"
443
443
  p={2}
@@ -451,23 +451,23 @@ function TabBar(props) {
451
451
  >
452
452
  {renderedTabs}
453
453
  </ScrollView>
454
- <HStack flex={1} h="100%" justifyContent="flex-end">
455
- <HStack h="100%">
454
+ <Row flex={1} h="100%" justifyContent="flex-end">
455
+ <Row h="100%">
456
456
  {renderedToggleButton}
457
- </HStack>
458
- </HStack>
459
- </HStack>;
457
+ </Row>
458
+ </Row>
459
+ </Row>;
460
460
  if (renderedCurrentTabContent) {
461
- tabBar = <VStack flex={1} w="100%" {...propsToPass}>
461
+ tabBar = <Column flex={1} w="100%" {...propsToPass}>
462
462
  {tabBar}
463
- <VStack
463
+ <Column
464
464
  alignItems="center"
465
465
  justifyContent="flex-start"
466
466
  flex={1}
467
467
  >
468
468
  {renderedCurrentTabContent}
469
- </VStack>
470
- </VStack>;
469
+ </Column>
470
+ </Column>;
471
471
  }
472
472
  }
473
473
  return tabBar;
@@ -1,6 +1,6 @@
1
1
  import {
2
- HStack,
3
- } from '@gluestack-ui/themed';
2
+ Row,
3
+ } from 'native-base';
4
4
  import Toolbar from './Toolbar.js'
5
5
  import _ from 'lodash';
6
6
 
@@ -15,6 +15,6 @@ export default function FilterToolbar(props) {
15
15
  borderTopColor="trueGray.400"
16
16
  w="100%"
17
17
  >
18
- {toolbarItems.length ? <HStack flex={1} borderLeftWidth={1} borderLeftColor="trueGray.100">{toolbarItems}</HStack> : null}
18
+ {toolbarItems.length ? <Row flex={1} borderLeftWidth={1} borderLeftColor="trueGray.100">{toolbarItems}</Row> : null}
19
19
  </Toolbar>;
20
20
  };
@@ -1,13 +1,11 @@
1
1
  import { useEffect, useMemo, } from 'react';
2
2
  import {
3
- Button,
4
- ButtonText,
5
- HStack,
6
3
  Icon,
4
+ Row,
7
5
  Text,
8
- } from '@gluestack-ui/themed';
6
+ } from 'native-base';
9
7
  import useForceUpdate from '../../Hooks/useForceUpdate.js';
10
- // import Button from '../Buttons/Button.js';
8
+ import Button from '../Buttons/Button.js';
11
9
  import IconButton from '../Buttons/IconButton.js';
12
10
  import AngleLeft from '../Icons/AngleLeft.js';
13
11
  import AnglesLeft from '../Icons/AnglesLeft.js';
@@ -72,9 +70,7 @@ export default function Pagination(props) {
72
70
  onPress={() => Repository.showMore()}
73
71
  isDisabled={isDisabled}
74
72
  tooltip="Show More"
75
- >
76
- <ButtonText>Show More</ButtonText>
77
- </Button>);
73
+ >Show More</Button>);
78
74
  }
79
75
  if (!Repository.isLocal) {
80
76
  items.push(<IconButton
@@ -112,7 +108,7 @@ export default function Pagination(props) {
112
108
  tooltip="Previous Page"
113
109
  />);
114
110
  if (!minimize) {
115
- items.push(<HStack
111
+ items.push(<Row
116
112
  key="pageSelector"
117
113
  mx={3}
118
114
  justifyContent="center"
@@ -131,7 +127,7 @@ export default function Pagination(props) {
131
127
  tooltip="Set Page"
132
128
  />
133
129
  <Text ml={2}>of {totalPages}</Text>
134
- </HStack>);
130
+ </Row>);
135
131
  }
136
132
 
137
133
  isDisabled = page === totalPages || totalPages <= 1;
@@ -180,7 +176,7 @@ export default function Pagination(props) {
180
176
  }
181
177
  }
182
178
 
183
- return <HStack
179
+ return <Row
184
180
  justifyContent="flex-start"
185
181
  alignItems="center"
186
182
  px={2}
@@ -188,7 +184,7 @@ export default function Pagination(props) {
188
184
  {...props}
189
185
  >
190
186
  {items}
191
- </HStack>;
187
+ </Row>;
192
188
  }, [
193
189
  Repository?.hash,
194
190
  showPagination,
@@ -1,7 +1,7 @@
1
1
  import { useState } from 'react';
2
2
  import {
3
- HStack,
4
- } from '@gluestack-ui/themed';
3
+ Row,
4
+ } from 'native-base';
5
5
  import Pagination from './Pagination.js'
6
6
  import Toolbar from './Toolbar.js'
7
7
  import _ from 'lodash';
@@ -50,6 +50,6 @@ export default function PaginationToolbar(props) {
50
50
  onLayout={(e) => onLayout(e)}
51
51
  >
52
52
  <Pagination {...propsToPass} showPagination={showPagination} w={toolbarItems.length ? null : '100%'} minimize={minimize} disablePageSize={disablePageSize} />
53
- {toolbarItems.length ? <HStack flex={1} {...toolbarProps}>{toolbarItems}</HStack> : null}
53
+ {toolbarItems.length ? <Row flex={1} {...toolbarProps}>{toolbarItems}</Row> : null}
54
54
  </Toolbar>;
55
55
  };
@@ -1,11 +1,11 @@
1
1
  import {
2
- HStack,
3
- } from '@gluestack-ui/themed';
2
+ Row,
3
+ } from 'native-base';
4
4
  import UiGlobals from '../../UiGlobals.js';
5
5
 
6
6
  export default function Toolbar(props) {
7
7
  const styles = UiGlobals.styles;
8
- return <HStack
8
+ return <Row
9
9
  w="100%"
10
10
  justifyContent="flex-start"
11
11
  bg="trueGray.200"
@@ -17,5 +17,5 @@ export default function Toolbar(props) {
17
17
  {...props}
18
18
  >
19
19
  {props.children}
20
- </HStack>;
20
+ </Row>;
21
21
  };
@@ -1,10 +1,13 @@
1
1
  import { useState, useEffect, useRef, useMemo, } from 'react';
2
2
  import {
3
- VStack,
3
+ Column,
4
+ FlatList,
4
5
  Modal,
5
6
  Pressable,
6
- HStack,
7
- } from '@gluestack-ui/themed';
7
+ Icon,
8
+ Row,
9
+ Text,
10
+ } from 'native-base';
8
11
  import {
9
12
  SELECTION_MODE_SINGLE,
10
13
  SELECTION_MODE_MULTI,
@@ -1106,15 +1109,15 @@ function TreeComponent(props) {
1106
1109
  }
1107
1110
 
1108
1111
  return <>
1109
- <VStack
1112
+ <Column
1110
1113
  {...testProps('Tree')}
1111
1114
  flex={1}
1112
1115
  w="100%"
1113
1116
  >
1114
1117
  {topToolbar}
1115
- {headerToolbarItemComponents?.length && <HStack>{headerToolbarItemComponents}</HStack>}
1118
+ {headerToolbarItemComponents?.length && <Row>{headerToolbarItemComponents}</Row>}
1116
1119
 
1117
- <VStack
1120
+ <Column
1118
1121
  ref={treeRef}
1119
1122
  w="100%"
1120
1123
  flex={1}
@@ -1128,16 +1131,16 @@ function TreeComponent(props) {
1128
1131
  >
1129
1132
  {!treeNodes?.length ? <NoRecordsFound text={noneFoundText} onRefresh={reloadTree} /> :
1130
1133
  treeNodes}
1131
- </VStack>
1134
+ </Column>
1132
1135
 
1133
1136
  {treeFooterComponent}
1134
- </VStack>
1137
+ </Column>
1135
1138
 
1136
1139
  <Modal
1137
1140
  isOpen={isSearchModalShown}
1138
1141
  onClose={() => setIsSearchModalShown(false)}
1139
1142
  >
1140
- <VStack bg="#fff" w={300}>
1143
+ <Column bg="#fff" w={300}>
1141
1144
  <FormPanel
1142
1145
  title="Choose Tree Node"
1143
1146
  instructions="Multiple tree nodes matched your search. Please select which one to show."
@@ -1173,7 +1176,7 @@ function TreeComponent(props) {
1173
1176
  setIsSearchModalShown(false);
1174
1177
  }}
1175
1178
  />
1176
- </VStack>
1179
+ </Column>
1177
1180
  </Modal>
1178
1181
  </>;
1179
1182
 
@@ -2,10 +2,10 @@ import { useMemo, } from 'react';
2
2
  import {
3
3
  Box,
4
4
  Icon,
5
- HStack,
5
+ Row,
6
6
  Spinner,
7
7
  Text,
8
- } from '@gluestack-ui/themed';
8
+ } from 'native-base';
9
9
  import UiGlobals from '../../UiGlobals.js';
10
10
  import withDraggable from '../Hoc/withDraggable.js';
11
11
  import IconButton from '../Buttons/IconButton.js';
@@ -42,7 +42,7 @@ export default function TreeNode(props) {
42
42
 
43
43
  return useMemo(() => {
44
44
 
45
- return <HStack
45
+ return <Row
46
46
  alignItems="center"
47
47
  flexGrow={1}
48
48
  {...nodeProps}
@@ -68,7 +68,7 @@ export default function TreeNode(props) {
68
68
  {...propsToPass}
69
69
  >{text}</Text>
70
70
 
71
- </HStack>;
71
+ </Row>;
72
72
  }, [
73
73
  nodeProps,
74
74
  adjustedBg,