@onehat/ui 0.3.259 → 0.3.262

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 +4 -3
  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 +5 -2
  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 +9 -10
  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 +1 -3
  17. package/src/Components/Form/Field/Color.js +91 -85
  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 +10 -11
  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 +1 -3
  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 +6 -7
  32. package/src/Components/Form/FiltersForm.js +0 -9
  33. package/src/Components/Form/Form.js +62 -45
  34. package/src/Components/Form/Label.js +4 -4
  35. package/src/Components/Grid/Grid.js +9 -11
  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 +4 -6
  40. package/src/Components/Grid/HeaderResizeHandle.js +4 -6
  41. package/src/Components/Grid/NoRecordsFound.js +7 -7
  42. package/src/Components/Grid/RowDragHandle.js +4 -6
  43. package/src/Components/Hoc/Secondary/withSecondaryEditor.js +2 -1
  44. package/src/Components/Hoc/Secondary/withSecondaryWindowedEditor.js +1 -3
  45. package/src/Components/Hoc/withAlert.js +24 -14
  46. package/src/Components/Hoc/withBlank.js +0 -2
  47. package/src/Components/Hoc/withContextMenu.js +4 -9
  48. package/src/Components/Hoc/withEditor.js +2 -1
  49. package/src/Components/Hoc/withEvents.js +0 -2
  50. package/src/Components/Hoc/withFilters.js +11 -11
  51. package/src/Components/Hoc/withInlineEditor.js +5 -8
  52. package/src/Components/Hoc/withPdfButton.js +4 -5
  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 +1 -3
  56. package/src/Components/Icons/AddressBook.js +6 -10
  57. package/src/Components/Icons/Alt.js +7 -15
  58. package/src/Components/Icons/AngleLeft.js +6 -14
  59. package/src/Components/Icons/AngleRight.js +6 -14
  60. package/src/Components/Icons/AnglesLeft.js +6 -14
  61. package/src/Components/Icons/AnglesRight.js +6 -14
  62. package/src/Components/Icons/Asterisk.js +6 -10
  63. package/src/Components/Icons/Ban.js +8 -14
  64. package/src/Components/Icons/Bars.js +6 -10
  65. package/src/Components/Icons/BarsStaggered.js +6 -10
  66. package/src/Components/Icons/Bell.js +6 -19
  67. package/src/Components/Icons/BigCircle.js +6 -14
  68. package/src/Components/Icons/Book.js +6 -10
  69. package/src/Components/Icons/BookOpen.js +6 -10
  70. package/src/Components/Icons/Bookmark.js +7 -17
  71. package/src/Components/Icons/Bug.js +6 -10
  72. package/src/Components/Icons/Building.js +6 -10
  73. package/src/Components/Icons/Calendar.js +6 -14
  74. package/src/Components/Icons/Calendar2.js +6 -14
  75. package/src/Components/Icons/CalendarDays.js +6 -14
  76. package/src/Components/Icons/Camera.js +6 -14
  77. package/src/Components/Icons/CaretDown.js +6 -14
  78. package/src/Components/Icons/CaretUp.js +6 -14
  79. package/src/Components/Icons/CartPlus.js +6 -10
  80. package/src/Components/Icons/CartShopping.js +6 -10
  81. package/src/Components/Icons/CashRegister.js +6 -10
  82. package/src/Components/Icons/Certificate.js +6 -10
  83. package/src/Components/Icons/ChartLine.js +6 -10
  84. package/src/Components/Icons/ChartPie.js +6 -10
  85. package/src/Components/Icons/Check.js +6 -10
  86. package/src/Components/Icons/CheckDouble.js +6 -10
  87. package/src/Components/Icons/ChevronDown.js +6 -10
  88. package/src/Components/Icons/ChevronLeft.js +6 -10
  89. package/src/Components/Icons/ChevronRight.js +6 -10
  90. package/src/Components/Icons/ChevronUp.js +6 -10
  91. package/src/Components/Icons/Circle.js +6 -10
  92. package/src/Components/Icons/CircleArrowRight.js +6 -10
  93. package/src/Components/Icons/CircleExclamation.js +6 -14
  94. package/src/Components/Icons/CircleInfo.js +6 -10
  95. package/src/Components/Icons/CircleQuestion.js +6 -10
  96. package/src/Components/Icons/CircleXmark.js +6 -10
  97. package/src/Components/Icons/CircleXmarkRegular.js +6 -10
  98. package/src/Components/Icons/Clipboard.js +6 -14
  99. package/src/Components/Icons/ClipboardCheck.js +6 -17
  100. package/src/Components/Icons/ClipboardList.js +6 -16
  101. package/src/Components/Icons/Clock.js +6 -10
  102. package/src/Components/Icons/ClockRegular.js +6 -10
  103. package/src/Components/Icons/ClockRotateLeft.js +6 -10
  104. package/src/Components/Icons/Clone.js +6 -10
  105. package/src/Components/Icons/Collapse.js +6 -14
  106. package/src/Components/Icons/Comment.js +6 -10
  107. package/src/Components/Icons/CommentDots.js +6 -10
  108. package/src/Components/Icons/CommentRegular.js +6 -10
  109. package/src/Components/Icons/Comments.js +6 -10
  110. package/src/Components/Icons/CommentsRegular.js +6 -10
  111. package/src/Components/Icons/Copyright.js +6 -10
  112. package/src/Components/Icons/Dot.js +9 -15
  113. package/src/Components/Icons/Duplicate.js +6 -14
  114. package/src/Components/Icons/Edit.js +6 -14
  115. package/src/Components/Icons/EllipsisHorizontal.js +6 -16
  116. package/src/Components/Icons/EllipsisVertical.js +6 -14
  117. package/src/Components/Icons/Envelope.js +6 -10
  118. package/src/Components/Icons/EnvelopeRegular.js +6 -10
  119. package/src/Components/Icons/Excel.js +6 -10
  120. package/src/Components/Icons/Exclamation.js +6 -10
  121. package/src/Components/Icons/Expand.js +6 -10
  122. package/src/Components/Icons/Eye.js +6 -14
  123. package/src/Components/Icons/EyeSlash.js +6 -10
  124. package/src/Components/Icons/File.js +6 -14
  125. package/src/Components/Icons/FloppyDiskRegular.js +6 -10
  126. package/src/Components/Icons/Folder.js +6 -10
  127. package/src/Components/Icons/FolderClosed.js +6 -10
  128. package/src/Components/Icons/FolderOpen.js +6 -10
  129. package/src/Components/Icons/FolderTree.js +6 -10
  130. package/src/Components/Icons/FullWidth.js +9 -25
  131. package/src/Components/Icons/Gauge.js +6 -17
  132. package/src/Components/Icons/Gear.js +6 -14
  133. package/src/Components/Icons/Gears.js +6 -10
  134. package/src/Components/Icons/Gift.js +6 -10
  135. package/src/Components/Icons/Grip.js +6 -14
  136. package/src/Components/Icons/GripLines.js +6 -14
  137. package/src/Components/Icons/GripLinesVertical.js +6 -14
  138. package/src/Components/Icons/GripVertical.js +6 -14
  139. package/src/Components/Icons/Hammer.js +6 -10
  140. package/src/Components/Icons/Hand.js +6 -10
  141. package/src/Components/Icons/HighPriority.js +6 -17
  142. package/src/Components/Icons/House.js +6 -10
  143. package/src/Components/Icons/Images.js +6 -10
  144. package/src/Components/Icons/Info.js +6 -10
  145. package/src/Components/Icons/ItunesNote.js +6 -10
  146. package/src/Components/Icons/Js.js +6 -16
  147. package/src/Components/Icons/Leaf.js +6 -10
  148. package/src/Components/Icons/Link.js +6 -9
  149. package/src/Components/Icons/List.js +6 -10
  150. package/src/Components/Icons/ListCheck.js +6 -10
  151. package/src/Components/Icons/LocationDot.js +6 -10
  152. package/src/Components/Icons/Loop.js +6 -14
  153. package/src/Components/Icons/Loop1.js +7 -13
  154. package/src/Components/Icons/LoopAll.js +7 -13
  155. package/src/Components/Icons/LowPriority.js +6 -17
  156. package/src/Components/Icons/MagnifyingGlass.js +6 -10
  157. package/src/Components/Icons/Maximize.js +6 -10
  158. package/src/Components/Icons/MedPriority.js +6 -17
  159. package/src/Components/Icons/Microphone.js +6 -10
  160. package/src/Components/Icons/Minimize.js +6 -10
  161. package/src/Components/Icons/Minus.js +6 -14
  162. package/src/Components/Icons/MobileScreenButton.js +6 -10
  163. package/src/Components/Icons/MoneyBill.js +6 -10
  164. package/src/Components/Icons/MoneyBillWave.js +6 -10
  165. package/src/Components/Icons/Mouth.js +9 -21
  166. package/src/Components/Icons/Music.js +6 -10
  167. package/src/Components/Icons/Na.js +6 -14
  168. package/src/Components/Icons/NoLoop.js +10 -13
  169. package/src/Components/Icons/NoReorderRows.js +16 -22
  170. package/src/Components/Icons/ObjectGroupRegular.js +6 -10
  171. package/src/Components/Icons/Pause.js +6 -10
  172. package/src/Components/Icons/Pdf.js +6 -10
  173. package/src/Components/Icons/Pencil.js +6 -14
  174. package/src/Components/Icons/Phone.js +6 -10
  175. package/src/Components/Icons/Play.js +6 -10
  176. package/src/Components/Icons/Plus.js +6 -14
  177. package/src/Components/Icons/Presentation.js +6 -16
  178. package/src/Components/Icons/Print.js +6 -14
  179. package/src/Components/Icons/Question.js +6 -10
  180. package/src/Components/Icons/Rate-.25x.js +11 -17
  181. package/src/Components/Icons/Rate-.5x.js +10 -16
  182. package/src/Components/Icons/Rate-.75x.js +7 -13
  183. package/src/Components/Icons/Rate-1.25x.js +7 -13
  184. package/src/Components/Icons/Rate-1.5x.js +7 -13
  185. package/src/Components/Icons/Rate-1.75x.js +7 -13
  186. package/src/Components/Icons/Rate-1x.js +10 -16
  187. package/src/Components/Icons/Rate-2x.js +7 -13
  188. package/src/Components/Icons/RateIcon-.25x.js +7 -13
  189. package/src/Components/Icons/RateIcon-.5x.js +10 -16
  190. package/src/Components/Icons/RateIcon-.75x.js +7 -13
  191. package/src/Components/Icons/RateIcon-1.25x.js +7 -13
  192. package/src/Components/Icons/RateIcon-1.5x.js +7 -13
  193. package/src/Components/Icons/RateIcon-1.75x.js +7 -13
  194. package/src/Components/Icons/RateIcon-1x.js +7 -13
  195. package/src/Components/Icons/RateIcon-2x.js +7 -13
  196. package/src/Components/Icons/RectangleXmark.js +6 -10
  197. package/src/Components/Icons/RectangleXmarkRegular.js +6 -10
  198. package/src/Components/Icons/ReorderRows.js +7 -13
  199. package/src/Components/Icons/RightFromBracket.js +6 -10
  200. package/src/Components/Icons/RightLeft.js +6 -10
  201. package/src/Components/Icons/RightToBracket.js +6 -10
  202. package/src/Components/Icons/Rotate.js +6 -14
  203. package/src/Components/Icons/RotateLeft.js +6 -10
  204. package/src/Components/Icons/RotateRight.js +6 -14
  205. package/src/Components/Icons/ScrewdriverWrench.js +6 -10
  206. package/src/Components/Icons/Scroll.js +6 -10
  207. package/src/Components/Icons/Share.js +6 -10
  208. package/src/Components/Icons/Shop.js +6 -10
  209. package/src/Components/Icons/SideBySide.js +6 -20
  210. package/src/Components/Icons/SortDown.js +6 -10
  211. package/src/Components/Icons/SortDownAlt.js +6 -10
  212. package/src/Components/Icons/SortUp.js +6 -10
  213. package/src/Components/Icons/SortUpAlt.js +6 -14
  214. package/src/Components/Icons/Square.js +6 -10
  215. package/src/Components/Icons/SquareCheck.js +6 -10
  216. package/src/Components/Icons/SquareCheckRegular.js +6 -10
  217. package/src/Components/Icons/SquareMinus.js +6 -14
  218. package/src/Components/Icons/SquareRegular.js +6 -10
  219. package/src/Components/Icons/Store.js +6 -10
  220. package/src/Components/Icons/Table.js +6 -16
  221. package/src/Components/Icons/ThumbsDown.js +6 -10
  222. package/src/Components/Icons/ThumbsDownRegular.js +6 -10
  223. package/src/Components/Icons/ThumbsUp.js +6 -10
  224. package/src/Components/Icons/ThumbsUpRegular.js +6 -10
  225. package/src/Components/Icons/Trash.js +6 -14
  226. package/src/Components/Icons/TrashCan.js +6 -14
  227. package/src/Components/Icons/TriangleExclamation.js +6 -14
  228. package/src/Components/Icons/Truck.js +6 -10
  229. package/src/Components/Icons/TruckFast.js +6 -10
  230. package/src/Components/Icons/UploadDownload.js +7 -9
  231. package/src/Components/Icons/User.js +6 -10
  232. package/src/Components/Icons/UserGroup.js +6 -10
  233. package/src/Components/Icons/UserPlus.js +6 -10
  234. package/src/Components/Icons/UserSecret.js +6 -10
  235. package/src/Components/Icons/Video.js +6 -16
  236. package/src/Components/Icons/X.js +6 -10
  237. package/src/Components/Icons/Xmark.js +6 -10
  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 +8 -3
  241. package/src/Components/Messages/ErrorMessage.js +5 -2
  242. package/src/Components/Messages/Loading.js +6 -6
  243. package/src/Components/Messages/OkMessage.js +4 -3
  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 +10 -12
  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 +13 -11
  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 +12 -8
  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 +10 -13
  259. package/src/Components/Tree/TreeNode.js +4 -4
  260. package/src/Components/Viewer/Viewer.js +37 -24
  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 +7 -3
  266. package/src/PlatformImports/Web/Attachments.js +11 -8
  267. package/src/PlatformImports/Web/File.js +4 -5
@@ -1,13 +1,13 @@
1
- import React, { useState, useRef, useEffect, } from 'react';
1
+ import React, { useState, useRef, } from 'react';
2
2
  import {
3
3
  AlertDialog,
4
4
  Button,
5
- Column,
5
+ ButtonText,
6
+ VStack,
6
7
  Icon,
7
- Modal,
8
- Row,
8
+ HStack,
9
9
  Text,
10
- } from 'native-base';
10
+ } from '@gluestack-ui/themed';
11
11
  import {
12
12
  ALERT_MODE_OK,
13
13
  ALERT_MODE_YES,
@@ -129,7 +129,9 @@ export default function withAlert(WrappedComponent) {
129
129
  colorScheme="coolGray"
130
130
  variant="ghost" // or unstyled
131
131
  ref={cancelRef}
132
- >Cancel</Button>);
132
+ >
133
+ <ButtonText>Cancel</ButtonText>
134
+ </Button>);
133
135
  }
134
136
  switch(mode) {
135
137
  case ALERT_MODE_OK:
@@ -139,7 +141,9 @@ export default function withAlert(WrappedComponent) {
139
141
  ref={autoFocusRef}
140
142
  onPress={onOk}
141
143
  color="#fff"
142
- >OK</Button>);
144
+ >
145
+ <ButtonText>OK</ButtonText>
146
+ </Button>);
143
147
  break;
144
148
  case ALERT_MODE_YES:
145
149
  buttons.push(<Button
@@ -148,7 +152,9 @@ export default function withAlert(WrappedComponent) {
148
152
  onPress={onYes}
149
153
  color="#fff"
150
154
  colorScheme="danger"
151
- >Yes</Button>);
155
+ >
156
+ <ButtonText>Yes</ButtonText>
157
+ </Button>);
152
158
  break;
153
159
  case ALERT_MODE_YES_NO:
154
160
  // TODO: need to create a new colorScheme so this can be black with blank background
@@ -159,14 +165,18 @@ export default function withAlert(WrappedComponent) {
159
165
  variant="ghost"
160
166
  // colorScheme="neutral"
161
167
  mr={2}
162
- >No</Button>);
168
+ >
169
+ <ButtonText>No</ButtonText>
170
+ </Button>);
163
171
  buttons.push(<Button
164
172
  key="yesBtn"
165
173
  ref={autoFocusRef}
166
174
  onPress={onYes}
167
175
  color="#fff"
168
176
  colorScheme="danger"
169
- >Yes</Button>);
177
+ >
178
+ <ButtonText>Yes</ButtonText>
179
+ </Button>);
170
180
  break;
171
181
  case ALERT_MODE_CUSTOM:
172
182
  _.each(customButtons, (button) => {
@@ -194,12 +204,12 @@ export default function withAlert(WrappedComponent) {
194
204
  {canClose && <AlertDialog.CloseButton />}
195
205
  <AlertDialog.Header>{title}</AlertDialog.Header>
196
206
  <AlertDialog.Body>
197
- <Row alignItems="center">
198
- <Column w="40px" p={0} mr={5}>
207
+ <HStack alignItems="center">
208
+ <VStack w="40px" p={0} mr={5}>
199
209
  <Icon as={mode === ALERT_MODE_INFO ? CircleInfo : TriangleExclamation} size={10} color={mode === ALERT_MODE_INFO ? '#000' : '#f00'} />
200
- </Column>
210
+ </VStack>
201
211
  <Text flex={1}>{message}</Text>
202
- </Row>
212
+ </HStack>
203
213
  </AlertDialog.Body>
204
214
  <AlertDialog.Footer>
205
215
  {buttons}
@@ -1,5 +1,3 @@
1
- import {
2
- } from 'native-base';
3
1
  import _ from 'lodash';
4
2
 
5
3
  export default function withBlank(WrappedComponent) {
@@ -1,15 +1,10 @@
1
1
  import React, { useState, useEffect, } from 'react';
2
2
  import {
3
- Box,
4
- Column,
5
- FlatList,
6
- Icon,
3
+ VStack,
7
4
  Modal,
8
5
  Pressable,
9
- Row,
10
- Spacer,
11
6
  Text,
12
- } from 'native-base';
7
+ } from '@gluestack-ui/themed';
13
8
  import {
14
9
  UI_MODE_WEB,
15
10
  CURRENT_MODE,
@@ -166,9 +161,9 @@ export default function withContextMenu(WrappedComponent) {
166
161
  isOpen={isContextMenuShown && !disableContextMenu}
167
162
  onClose={() => setIsContextMenuShown(false)}
168
163
  >
169
- <Column bg="#fff" w={CONTEXT_MENU_WIDTH} position="absolute" top={contextMenuY} left={contextMenuX} onLayout={onLayout}>
164
+ <VStack bg="#fff" w={CONTEXT_MENU_WIDTH} position="absolute" top={contextMenuY} left={contextMenuX} onLayout={onLayout}>
170
165
  {contextMenuItemComponents}
171
- </Column>
166
+ </VStack>
172
167
  </Modal>
173
168
  </>;
174
169
  };
@@ -1,7 +1,8 @@
1
1
  import { useEffect, useState, useRef, } from 'react';
2
2
  import {
3
3
  Button,
4
- } from 'native-base';
4
+ ButtonText,
5
+ } from '@gluestack-ui/themed';
5
6
  import {
6
7
  EDITOR_MODE__VIEW,
7
8
  EDITOR_MODE__ADD,
@@ -1,5 +1,3 @@
1
- import {
2
- } from 'native-base';
3
1
  import _ from 'lodash';
4
2
 
5
3
  export default function withEvents(WrappedComponent) {
@@ -1,11 +1,11 @@
1
1
  import { useState, useEffect, useRef, } from 'react';
2
2
  import {
3
- Column,
3
+ VStack,
4
4
  Modal,
5
- Row,
5
+ HStack,
6
6
  ScrollView,
7
7
  Text,
8
- } from 'native-base';
8
+ } from '@gluestack-ui/themed';
9
9
  import {
10
10
  EDITOR_TYPE__PLAIN,
11
11
  } from '../../Constants/Editor.js';
@@ -318,10 +318,10 @@ export default function withFilters(WrappedComponent) {
318
318
  {...elementProps}
319
319
  />;
320
320
  if (showLabels && field !== 'q') {
321
- filterElement = <Row key={'label-' + ix} alignItems="center" h="100%">
321
+ filterElement = <HStack key={'label-' + ix} alignItems="center" h="100%">
322
322
  <Text ml={2} mr={1} fontSize={UiGlobals.styles.FILTER_LABEL_FONTSIZE}>{title}</Text>
323
323
  {filterElement}
324
- </Row>;
324
+ </HStack>;
325
325
  }
326
326
  filterElements.push(filterElement);
327
327
  });
@@ -427,13 +427,13 @@ export default function withFilters(WrappedComponent) {
427
427
  renderedFilters = renderFilters(),
428
428
  hasFilters = !!renderedFilters.length;
429
429
  topToolbar = <Toolbar>
430
- <Row flex={1} alignItems="center">
430
+ <HStack flex={1} alignItems="center">
431
431
  <ScrollView horizontal={true} contentContainerStyle={{ alignItems: 'center' }}>
432
432
  <Text fontStyle="italic" pr={2} userSelect="none">Filters:{hasFilters ? '' : ' None'}</Text>
433
433
  {renderedFilters}
434
434
  </ScrollView>
435
- </Row>
436
- <Row flex={hasFilters ? null : 1} alignItems="center" alignSelf="flex-end">
435
+ </HStack>
436
+ <HStack flex={hasFilters ? null : 1} alignItems="center" alignSelf="flex-end">
437
437
  {showClearFiltersButton && <IconButton
438
438
  key="clearFiltersBtn"
439
439
  _icon={{
@@ -458,7 +458,7 @@ export default function withFilters(WrappedComponent) {
458
458
  }}
459
459
  tooltip="Swap filters"
460
460
  />}
461
- </Row>
461
+ </HStack>
462
462
  </Toolbar>;
463
463
 
464
464
  if (isFilterSelectorShown) { // this is always false when isUsingCustomFilters
@@ -541,7 +541,7 @@ export default function withFilters(WrappedComponent) {
541
541
  isOpen={true}
542
542
  onClose={() => setIsFilterSelectorShown(false)}
543
543
  >
544
- <Column bg="#fff" w={500}>
544
+ <VStack bg="#fff" w={500}>
545
545
  <FormPanel
546
546
  title="Filter Selector"
547
547
  instructions="Please select which fields to filter by."
@@ -590,7 +590,7 @@ export default function withFilters(WrappedComponent) {
590
590
  setModalSlots(slots);
591
591
  }}
592
592
  />
593
- </Column>
593
+ </VStack>
594
594
  </Modal>;
595
595
  }
596
596
 
@@ -1,11 +1,8 @@
1
- import React, { useState, useEffect, useRef, } from 'react';
1
+ import React, { useState, useRef, } from 'react';
2
2
  import {
3
3
  Box,
4
- Column,
5
- Modal,
6
- Row,
7
- Text,
8
- } from 'native-base';
4
+ VStack,
5
+ } from '@gluestack-ui/themed';
9
6
  import {
10
7
  EDITOR_TYPE__INLINE,
11
8
  } from '../../Constants/Editor.js';
@@ -136,7 +133,7 @@ export default function withInlineEditor(WrappedComponent, skipWrappers = false)
136
133
  }
137
134
  }}
138
135
  ></Box>}
139
- <Column
136
+ <VStack
140
137
  ref={inlineEditorRef}
141
138
  position="absolute"
142
139
  zIndex={10}
@@ -168,7 +165,7 @@ export default function withInlineEditor(WrappedComponent, skipWrappers = false)
168
165
  py={1}
169
166
  px={0}
170
167
  />}
171
- </Column>
168
+ </VStack>
172
169
  </>;
173
170
  }
174
171
 
@@ -1,9 +1,8 @@
1
1
  import { useState, } from 'react';
2
2
  import {
3
- Column,
4
- Button,
3
+ VStack,
5
4
  Modal,
6
- } from 'native-base';
5
+ } from '@gluestack-ui/themed';
7
6
  import * as yup from 'yup'; // https://github.com/jquense/yup#string
8
7
  import Inflector from 'inflector-js';
9
8
  import qs from 'qs';
@@ -180,7 +179,7 @@ export default function withPdfButton(WrappedComponent) {
180
179
  isOpen={true}
181
180
  onClose={() => setIsModalShown(false)}
182
181
  >
183
- <Column bg="#fff" w={width} h={height}>
182
+ <VStack bg="#fff" w={width} h={height}>
184
183
  <FormPanel
185
184
  title="PDF Fields to Show"
186
185
  instructions="Please select which fields to show in the PDF."
@@ -201,7 +200,7 @@ export default function withPdfButton(WrappedComponent) {
201
200
  submitBtnLabel="View PDF"
202
201
  useAdditionalEditButtons={false}
203
202
  />
204
- </Column>
203
+ </VStack>
205
204
  </Modal>;
206
205
  }
207
206
  return <>
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect, } from 'react';
2
2
  import {
3
3
  Modal,
4
- } from 'native-base';
4
+ } from '@gluestack-ui/themed';
5
5
  import Clipboard from '../Icons/Clipboard.js';
6
6
  import Duplicate from '../Icons/Duplicate.js';
7
7
  import Edit from '../Icons/Edit.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import {
3
3
  Tooltip,
4
- } from 'native-base';
4
+ } from '@gluestack-ui/themed';
5
5
 
6
6
  // NOTE: Can't seem to get this working for some elements like Combo or File
7
7
 
@@ -11,9 +11,9 @@ export default function withTooltip(WrappedComponent) {
11
11
  tooltip,
12
12
  tooltipPlacement = 'bottom',
13
13
  } = props;
14
- if (!tooltip) {
14
+ // if (!tooltip) {
15
15
  return <WrappedComponent {...props} />;
16
- }
16
+ // }
17
17
  return <Tooltip label={tooltip} placement={tooltipPlacement}>
18
18
  <WrappedComponent {...props} />
19
19
  </Tooltip>;
@@ -1,8 +1,6 @@
1
1
  import {
2
- Column,
3
2
  Modal,
4
- Text,
5
- } from 'native-base';
3
+ } from '@gluestack-ui/themed';
6
4
  import {
7
5
  EDITOR_TYPE__WINDOWED,
8
6
  } from '../../Constants/Editor.js';
@@ -1,14 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 512 512',
7
+ 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" />,
8
+ });
13
9
 
14
10
  export default SvgComponent
@@ -1,17 +1,9 @@
1
- import * as React from "react"
2
- import Svg, { Path } from "react-native-svg"
3
- import { Icon } from 'native-base';
1
+ import { Path } from 'react-native-svg';
2
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 125.65 67.53',
6
+ 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" />,
7
+ });
16
8
 
17
- export default SvgComponent
9
+ export default SvgComponent;
@@ -1,18 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 320 512',
7
+ 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" />,
8
+ });
17
9
 
18
10
  export default SvgComponent
@@ -1,18 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 320 512',
7
+ 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" />,
8
+ });
17
9
 
18
10
  export default SvgComponent
@@ -1,18 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 512 512',
7
+ 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" />,
8
+ });
17
9
 
18
10
  export default SvgComponent
@@ -1,18 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 512 512',
7
+ 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" />,
8
+ });
17
9
 
18
10
  export default SvgComponent
@@ -1,14 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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
+ viewBox: '0 0 384 512',
7
+ 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" />,
8
+ });
13
9
 
14
10
  export default SvgComponent
@@ -1,18 +1,12 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
4
+
5
+ const SvgComponent = createIcon({
6
+ viewBox: '0 0 512 512',
7
+ path: <Path d="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192 41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192-41.5 0-79.9 13.1-111.2 35.5l267.7 267.7zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256 114.6 0 256 0s256 114.6 256 256z" />,
8
+ });
9
+
5
10
 
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="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192 41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192-41.5 0-79.9 13.1-111.2 35.5l267.7 267.7zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256 114.6 0 256 0s256 114.6 256 256z" />
14
- </Icon>
15
- )
16
- }
17
11
 
18
12
  export default SvgComponent
@@ -1,14 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" {...props}>
9
- <Path d="M0 96c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm448 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32z" />
10
- </Icon>
11
- )
12
- }
5
+ const SvgComponent = createIcon({
6
+ viewBox: '0 0 448 512',
7
+ path: <Path d="M0 96c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm448 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32z" />,
8
+ });
13
9
 
14
10
  export default SvgComponent
@@ -1,14 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
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="M0 96c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm64 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zm384 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32z" />
10
- </Icon>
11
- )
12
- }
5
+ const SvgComponent = createIcon({
6
+ viewBox: '0 0 512 512',
7
+ path: <Path d="M0 96c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm64 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zm384 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32z" />,
8
+ });
13
9
 
14
10
  export default SvgComponent
@@ -1,23 +1,10 @@
1
1
  // 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';
2
+ import { Path } from 'react-native-svg';
3
+ import { createIcon } from '@gluestack-ui/themed';
5
4
 
6
- function SvgComponent(props) {
7
- return (
8
- <Icon
9
- xmlns="http://www.w3.org/2000/svg"
10
- height={16}
11
- width={14}
12
- viewBox="0 0 448 512"
13
- {...props}
14
- >
15
- <Path
16
- fill="#1E3050"
17
- d="M224 0c-17.7 0-32 14.3-32 32v19.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416h384c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3c-31.2-35.2-48.5-80.5-48.5-127.6V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H160c0 17 6.7 33.3 18.7 45.3S207 512 224 512s33.3-6.7 45.3-18.7z"
18
- />
19
- </Icon>
20
- )
21
- }
5
+ const SvgComponent = createIcon({
6
+ viewBox: '0 0 448 512',
7
+ path: <Path d="M224 0c-17.7 0-32 14.3-32 32v19.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416h384c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3c-31.2-35.2-48.5-80.5-48.5-127.6V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H160c0 17 6.7 33.3 18.7 45.3S207 512 224 512s33.3-6.7 45.3-18.7z" />,
8
+ });
22
9
 
23
10
  export default SvgComponent
@@ -1,17 +1,9 @@
1
- import * as React from "react"
2
- import Svg, { Path } from "react-native-svg"
3
- import { Icon } from 'native-base';
1
+ import { Path } from 'react-native-svg';
2
+ import { createIcon } from '@gluestack-ui/themed';
4
3
 
5
- function SvgComponent(props) {
6
- return (
7
- <Icon
8
- xmlns="http://www.w3.org/2000/svg"
9
- viewBox="0 0 48.8 48.8"
10
- {...props}
11
- >
12
- <Path d="M43.04 24.4c0 10.3-8.35 18.65-18.65 18.65S5.75 34.7 5.75 24.4 14.1 5.75 24.4 5.75 43.05 14.1 43.05 24.4zM24.4 4.32c11.09 0 20.08 8.99 20.08 20.08S35.49 44.48 24.4 44.48 4.32 35.49 4.32 24.4 13.31 4.32 24.4 4.32zm0-4.32C10.92 0 0 10.92 0 24.4s10.92 24.4 24.4 24.4 24.4-10.92 24.4-24.4S37.87 0 24.4 0z" />
13
- </Icon>
14
- )
15
- }
4
+ const SvgComponent = createIcon({
5
+ viewBox: '0 0 48.8 48.8',
6
+ path: <Path d="M43.04 24.4c0 10.3-8.35 18.65-18.65 18.65S5.75 34.7 5.75 24.4 14.1 5.75 24.4 5.75 43.05 14.1 43.05 24.4zM24.4 4.32c11.09 0 20.08 8.99 20.08 20.08S35.49 44.48 24.4 44.48 4.32 35.49 4.32 24.4 13.31 4.32 24.4 4.32zm0-4.32C10.92 0 0 10.92 0 24.4s10.92 24.4 24.4 24.4 24.4-10.92 24.4-24.4S37.87 0 24.4 0z" />,
7
+ });
16
8
 
17
9
  export default SvgComponent