@onehat/ui 0.4.3 → 0.4.6

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 (82) hide show
  1. package/package.json +2 -1
  2. package/src/Components/Accordion/Accordion.js +1 -1
  3. package/src/Components/Blank.js +1 -1
  4. package/src/Components/Buttons/BackButton.js +1 -1
  5. package/src/Components/Buttons/Button.js +5 -5
  6. package/src/Components/Buttons/CartButtonWithBadge.js +1 -1
  7. package/src/Components/Buttons/PlusMinusButton.js +1 -1
  8. package/src/Components/Buttons/SquareButton.js +1 -0
  9. package/src/Components/Container/Container.js +1 -1
  10. package/src/Components/Container/ScreenContainer.js +1 -1
  11. package/src/Components/Container/Splitter.js +1 -1
  12. package/src/Components/Editor/InlineEditor.js +1 -1
  13. package/src/Components/Filter/DateRange.js +1 -1
  14. package/src/Components/Filter/NumberRange.js +1 -1
  15. package/src/Components/Form/Field/CKEditor/CKEditor.js +1 -1
  16. package/src/Components/Form/Field/Checkbox/CheckboxGroup.js +1 -1
  17. package/src/Components/Form/Field/Color.js +1 -1
  18. package/src/Components/Form/Field/Combo/Combo.js +2 -1
  19. package/src/Components/Form/Field/Combo/PageSizeCombo.js +1 -1
  20. package/src/Components/Form/Field/Date.js +1 -1
  21. package/src/Components/Form/Field/DisplayField.js +1 -1
  22. package/src/Components/Form/Field/File.js +1 -1
  23. package/src/Components/Form/Field/FormikForm.js +1 -1
  24. package/src/Components/Form/Field/Input.js +19 -16
  25. package/src/Components/Form/Field/Json.js +1 -1
  26. package/src/Components/Form/Field/Number.js +1 -1
  27. package/src/Components/Form/Field/RadioGroup/RadioGroup.js +1 -1
  28. package/src/Components/Form/Field/Select/PageSizeSelect.js +1 -1
  29. package/src/Components/Form/Field/Select/Select.js +1 -1
  30. package/src/Components/Form/Field/Slider.js +1 -1
  31. package/src/Components/Form/Field/Tag/Tag.js +1 -1
  32. package/src/Components/Form/Field/Tag/ValueBox.js +1 -1
  33. package/src/Components/Form/Field/Text.js +1 -1
  34. package/src/Components/Form/Field/TextArea.js +1 -1
  35. package/src/Components/Form/Field/Toggle.js +1 -1
  36. package/src/Components/Form/FieldSet.js +1 -1
  37. package/src/Components/Form/Form.js +7 -7
  38. package/src/Components/Form/Label.js +1 -1
  39. package/src/Components/Gluestack/index.js +2 -2
  40. package/src/Components/Grid/Grid.js +1 -1
  41. package/src/Components/Grid/GridHeaderRow.js +16 -4
  42. package/src/Components/Grid/GridRow.js +1 -1
  43. package/src/Components/Grid/HeaderColumnSelectorHandle.js +1 -1
  44. package/src/Components/Grid/HeaderReorderHandle.js +1 -1
  45. package/src/Components/Grid/HeaderResizeHandle.js +1 -1
  46. package/src/Components/Grid/NoRecordsFound.js +1 -1
  47. package/src/Components/Grid/RowDragHandle.js +1 -1
  48. package/src/Components/Hoc/Secondary/withSecondaryWindowedEditor.js +1 -1
  49. package/src/Components/Hoc/withAlert.js +1 -1
  50. package/src/Components/Hoc/withContextMenu.js +1 -1
  51. package/src/Components/Hoc/withFilters.js +1 -1
  52. package/src/Components/Hoc/withModal.js +1 -1
  53. package/src/Components/Hoc/withWindowedEditor.js +1 -1
  54. package/src/Components/Layout/Footer.js +1 -1
  55. package/src/Components/Messages/ConfirmationMessage.js +1 -1
  56. package/src/Components/Messages/ErrorMessage.js +1 -1
  57. package/src/Components/Messages/Loading.js +1 -1
  58. package/src/Components/Messages/OkMessage.js +1 -1
  59. package/src/Components/Messages/Unauthorized.js +1 -1
  60. package/src/Components/Messages/WaitMessage.js +1 -1
  61. package/src/Components/Panel/AccordionGridPanel.js +1 -1
  62. package/src/Components/Panel/FormPanel.js +1 -1
  63. package/src/Components/Panel/Header.js +19 -8
  64. package/src/Components/Panel/Mask.js +1 -1
  65. package/src/Components/Panel/Panel.js +1 -1
  66. package/src/Components/Picker/Picker.js +1 -1
  67. package/src/Components/Report/Report.js +1 -1
  68. package/src/Components/Screens/Manager.js +1 -1
  69. package/src/Components/Tab/TabBar.js +15 -13
  70. package/src/Components/Toolbar/FilterToolbar.js +1 -1
  71. package/src/Components/Toolbar/Pagination.js +1 -1
  72. package/src/Components/Toolbar/PaginationToolbar.js +1 -1
  73. package/src/Components/Toolbar/Toolbar.js +1 -1
  74. package/src/Components/Tooltip/Tooltip.js +1 -1
  75. package/src/Components/Tree/Tree.js +1 -1
  76. package/src/Components/Tree/TreeNode.js +1 -1
  77. package/src/Components/Viewer/Viewer.js +1 -1
  78. package/src/Components/index.js +1 -1
  79. package/src/Functions/buildAdditionalButtons.js +1 -1
  80. package/src/Functions/gsToHex.js +3 -1
  81. package/src/PlatformImports/Web/Attachments.js +1 -1
  82. package/src/PlatformImports/Web/File.js +1 -1
@@ -5,7 +5,7 @@ import {
5
5
  HStackNative,
6
6
  Icon,
7
7
  TextNative,
8
- } from '../Gluestack';
8
+ } from '@project-components/Gluestack';
9
9
  import {
10
10
  UI_MODE_WEB,
11
11
  } from '../../Constants/UiModes.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Icon,
3
3
  Pressable,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import Gear from '../Icons/Gear.js';
6
6
  import _ from 'lodash';
7
7
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Icon,
3
3
  VStack,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import styles from '../../Styles/StyleSheets.js';
6
6
  import withDraggable from '../Hoc/withDraggable.js';
7
7
  import GripVertical from '../Icons/GripVertical.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Icon,
3
3
  VStack,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import styles from '../../Styles/StyleSheets.js';
6
6
  import withDraggable from '../Hoc/withDraggable.js';
7
7
  import GripLinesVertical from '../Icons/GripLinesVertical.js';
@@ -2,7 +2,7 @@ import {
2
2
  HStack,
3
3
  Text,
4
4
  VStack,
5
- } from '../Gluestack';
5
+ } from '@project-components/Gluestack';
6
6
  import IconButton from '../Buttons/IconButton.js';
7
7
  import Rotate from '../Icons/Rotate.js';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Icon,
3
3
  VStack,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import styles from '../../Styles/StyleSheets.js';
6
6
  import GripVertical from '../Icons/GripVertical.js';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
3
- } from '../../Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import {
5
5
  EDITOR_TYPE__WINDOWED,
6
6
  } from '../../../Constants/Editor.js';
@@ -4,7 +4,7 @@ import {
4
4
  HStack,
5
5
  Icon,
6
6
  Text,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import withModal from './withModal.js';
9
9
  import CircleInfo from '../Icons/CircleInfo.js';
10
10
  import CircleQuestion from '../Icons/CircleQuestion.js';
@@ -2,7 +2,7 @@ import { forwardRef, useRef, useState, useEffect, } from 'react';
2
2
  import {
3
3
  Text,
4
4
  VStack,
5
- } from '../Gluestack';
5
+ } from '@project-components/Gluestack';
6
6
  import Button from '../Buttons/Button.js';
7
7
  import testProps from '../../Functions/testProps.js';
8
8
  import _ from 'lodash';
@@ -3,7 +3,7 @@ import {
3
3
  HStack,
4
4
  // ScrollView,
5
5
  Text,
6
- } from '../Gluestack';
6
+ } from '@project-components/Gluestack';
7
7
  import {
8
8
  ScrollView,
9
9
  } from 'react-native'
@@ -4,7 +4,7 @@ import {
4
4
  Icon,
5
5
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
6
6
  Text,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import Button from '../Buttons/Button.js';
9
9
  import Panel from '../Panel/Panel.js';
10
10
  import Footer from '../Layout/Footer.js';
@@ -1,7 +1,7 @@
1
1
  import { forwardRef } from 'react';
2
2
  import {
3
3
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import {
6
6
  EDITOR_TYPE__WINDOWED,
7
7
  } from '../../Constants/Editor.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HStack,
3
- } from '../Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import UiGlobals from '../../UiGlobals.js';
5
5
 
6
6
  export default function Footer(props) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
3
3
  Text,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import Button from '../Buttons/Button';
6
6
  import emptyFn from '../../Functions/emptyFn.js';
7
7
 
@@ -4,7 +4,7 @@ import {
4
4
  Icon,
5
5
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
6
6
  Text,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import Button from '../Buttons/Button';
9
9
  import testProps from '../../Functions/testProps.js';
10
10
  import TriangleExclamation from '../Icons/TriangleExclamation.js';
@@ -3,7 +3,7 @@ import {
3
3
  HStackNative,
4
4
  Spinner,
5
5
  Text,
6
- } from '../Gluestack';
6
+ } from '@project-components/Gluestack';
7
7
  import ScreenContainer from '../Container/ScreenContainer.js';
8
8
 
9
9
  export default function Loading(props) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
3
3
  Text,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import Button from '../Buttons/Button';
6
6
 
7
7
  export default function OkMessage(props) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Text,
3
3
  VStack,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
 
6
6
  export default function Unauthorized(props) {
7
7
  const
@@ -3,7 +3,7 @@ import {
3
3
  Modal, ModalBackdrop, ModalHeader, ModalContent, ModalCloseButton, ModalBody, ModalFooter,
4
4
  Spinner,
5
5
  Text,
6
- } from '../Gluestack';
6
+ } from '@project-components/Gluestack';
7
7
  import testProps from '../../Functions/testProps.js';
8
8
 
9
9
  export default function WaitMessage(props) {
@@ -2,7 +2,7 @@ import { useState, } from 'react';
2
2
  import {
3
3
  ScrollView,
4
4
  VStack,
5
- } from '../Gluestack';
5
+ } from '@project-components/Gluestack';
6
6
  import Accordion from 'react-native-collapsible/Accordion'; // https://www.npmjs.com/package/react-native-collapsible
7
7
  import testProps from '../../Functions/testProps';
8
8
  import Footer from '../Layout/Footer.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Text,
3
- } from '../Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import Panel from './Panel.js';
5
5
  import Form, { FormEditor } from '../Form/Form.js';
6
6
  import withData from '../Hoc/withData.js';
@@ -4,7 +4,7 @@ import {
4
4
  Pressable,
5
5
  TextNative,
6
6
  VStack,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import {
9
9
  HORIZONTAL,
10
10
  VERTICAL,
@@ -41,7 +41,7 @@ export default function Header(props) {
41
41
  collapseBtn = null;
42
42
  if (onClose) {
43
43
  let closeClassName = `
44
- closeBtn
44
+ Header-closeBtn
45
45
  self-center
46
46
  border
47
47
  border-grey-400
@@ -54,7 +54,7 @@ export default function Header(props) {
54
54
  onPress={onClose}
55
55
  icon={Xmark}
56
56
  _icon={{
57
- size: styles.PANEL_HEADER_ICON_SIZE,
57
+ // size: styles.PANEL_HEADER_ICON_SIZE,
58
58
  className: styles.PANEL_HEADER_ICON_COLOR,
59
59
  }}
60
60
  className={closeClassName}
@@ -62,7 +62,7 @@ export default function Header(props) {
62
62
  }
63
63
  if (isCollapsible) {
64
64
  let collapseClassName = `
65
- collapseBtn
65
+ Header-collapseBtn
66
66
  self-center
67
67
  border
68
68
  border-grey-400
@@ -88,7 +88,8 @@ export default function Header(props) {
88
88
  }
89
89
 
90
90
  let panelClassName = `
91
- header
91
+ Header
92
+ bg-grey-300
92
93
  items-center
93
94
  justify-start
94
95
  py-1
@@ -127,8 +128,9 @@ export default function Header(props) {
127
128
  numberOfLines={1}
128
129
  ellipsizeMode="head"
129
130
  className={`
130
- TextNative
131
+ Header-TextNative1
131
132
  flex-1
133
+ font-bold
132
134
  ${styles.PANEL_HEADER_TEXT_COLOR}
133
135
  ${styles.PANEL_HEADER_TEXT_FONTSIZE}
134
136
  `}>{title}</TextNative>
@@ -164,8 +166,9 @@ export default function Header(props) {
164
166
  numberOfLines={1}
165
167
  ellipsizeMode="head"
166
168
  className={`
167
- TextNative
169
+ Header-TextNative2
168
170
  flex-1
171
+ font-bold
169
172
  ${styles.PANEL_HEADER_TEXT_COLOR}
170
173
  ${styles.PANEL_HEADER_TEXT_FONTSIZE}
171
174
  `}
@@ -204,6 +207,8 @@ export default function Header(props) {
204
207
  ellipsizeMode="head"
205
208
  style={{ transform: [{ rotate: '-90deg'}] }}
206
209
  className={`
210
+ Header-TextNative3
211
+ font-bold
207
212
  w-[200px]
208
213
  text-right
209
214
  ${styles.PANEL_HEADER_TEXT_COLOR}
@@ -237,7 +242,13 @@ export default function Header(props) {
237
242
  <TextNative
238
243
  numberOfLines={1}
239
244
  ellipsizeMode="head"
240
- className={` ${styles.PANEL_HEADER_TEXT_COLOR} ${styles.PANEL_HEADER_TEXT_FONTSIZE} flex-1 `}>{title}</TextNative>
245
+ className={`
246
+ Header-TextNative4
247
+ font-bold
248
+ flex-1
249
+ ${styles.PANEL_HEADER_TEXT_COLOR}
250
+ ${styles.PANEL_HEADER_TEXT_FONTSIZE}
251
+ `}>{title}</TextNative>
241
252
  {collapseBtn}
242
253
  </HStack>
243
254
  </Pressable>;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Box,
3
- } from '../Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import {
5
5
  CURRENT_MODE,
6
6
  UI_MODE_WEB,
@@ -3,7 +3,7 @@ import {
3
3
  ScrollView,
4
4
  VStack,
5
5
  VStackNative,
6
- } from '../Gluestack';
6
+ } from '@project-components/Gluestack';
7
7
  import {
8
8
  HORIZONTAL,
9
9
  VERTICAL,
@@ -4,7 +4,7 @@ import {
4
4
  Icon,
5
5
  Select, SelectItem,
6
6
  Tooltip,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import CaretDown from '../Icons/CaretDown.js';
9
9
  import testProps from '../../Functions/testProps.js';
10
10
  import _ from 'lodash';
@@ -4,7 +4,7 @@ import {
4
4
  Icon,
5
5
  Text,
6
6
  VStack,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import { EDITOR_TYPE__PLAIN } from '../../Constants/Editor';
9
9
  import {
10
10
  UI_MODE_WEB,
@@ -2,7 +2,7 @@ import {
2
2
  HStack,
3
3
  Text,
4
4
  VStackNative,
5
- } from '../Gluestack';
5
+ } from '@project-components/Gluestack';
6
6
  import React, { useState, useEffect, } from 'react';
7
7
  import withComponent from '../Hoc/withComponent.js';
8
8
  import testProps from '../../Functions/testProps.js';
@@ -1,9 +1,11 @@
1
1
  import { cloneElement, useState, useEffect, } from 'react';
2
2
  import {
3
3
  HStack,
4
+ HStackNative,
4
5
  ScrollView,
5
6
  VStack,
6
- } from '../Gluestack';
7
+ VStackNative,
8
+ } from '@project-components/Gluestack';
7
9
  import {
8
10
  HORIZONTAL,
9
11
  VERTICAL,
@@ -488,7 +490,7 @@ function TabBar(props) {
488
490
 
489
491
  let tabBar = null;
490
492
  if (direction === VERTICAL) {
491
- tabBar = <VStack
493
+ tabBar = <VStackNative
492
494
  {...testProps('TabBar')}
493
495
  {...propsToPass}
494
496
  className={`
@@ -500,22 +502,22 @@ function TabBar(props) {
500
502
  py-2
501
503
  `}
502
504
  >
503
- {renderedTabs}
504
- <VStack className="flex-1 w-full justify-end">
505
- {renderedToggleButton}
506
- </VStack>
507
- </VStack>;
505
+ {renderedTabs}
506
+ <VStack className="flex-1 w-full justify-end">
507
+ {renderedToggleButton}
508
+ </VStack>
509
+ </VStackNative>;
508
510
  if (renderedCurrentTabContent) {
509
- tabBar = <HStack {...propsToPass} className="flex-1 w-full">
511
+ tabBar = <HStackNative {...propsToPass} className="flex-1 w-full">
510
512
  {tabBar}
511
513
  <VStack className="items-center justify-start flex-1">
512
514
  {renderedCurrentTabContent}
513
515
  </VStack>
514
- </HStack>;
516
+ </HStackNative>;
515
517
  }
516
518
  }
517
519
  if (direction === HORIZONTAL) {
518
- tabBar = <HStack
520
+ tabBar = <HStackNative
519
521
  {...testProps('TabBar')}
520
522
  className={`
521
523
  ${isCollapsed ? 'h-[38px]' : 'h-[' + tabHeight + 'px]'}
@@ -537,14 +539,14 @@ function TabBar(props) {
537
539
  {renderedToggleButton}
538
540
  </HStack>
539
541
  </HStack>
540
- </HStack>;
542
+ </HStackNative>;
541
543
  if (renderedCurrentTabContent) {
542
- tabBar = <VStack {...propsToPass} className="flex-1 w-full">
544
+ tabBar = <VStackNative {...propsToPass} className="flex-1 w-full">
543
545
  {tabBar}
544
546
  <VStack className="items-center justify-start flex-1">
545
547
  {renderedCurrentTabContent}
546
548
  </VStack>
547
- </VStack>;
549
+ </VStackNative>;
548
550
  }
549
551
  }
550
552
  return tabBar;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HStack,
3
- } from '../Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import Toolbar from './Toolbar.js'
5
5
  import _ from 'lodash';
6
6
 
@@ -3,7 +3,7 @@ import {
3
3
  HStack,
4
4
  HStackNative,
5
5
  Text,
6
- } from '../Gluestack';
6
+ } from '@project-components/Gluestack';
7
7
  import useForceUpdate from '../../Hooks/useForceUpdate.js';
8
8
  import testProps from '../../Functions/testProps.js';
9
9
  import Button from '../Buttons/Button.js';
@@ -1,7 +1,7 @@
1
1
  import { useState } from 'react';
2
2
  import {
3
3
  HStack,
4
- } from '../Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import Pagination from './Pagination.js'
6
6
  import Toolbar from './Toolbar.js'
7
7
  import _ from 'lodash';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HStackNative,
3
- } from '../Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import UiGlobals from '../../UiGlobals.js';
5
5
 
6
6
  export default function Toolbar(props) {
@@ -1,5 +1,5 @@
1
1
  import { forwardRef, cloneElement } from 'react';
2
- import { Tooltip, TooltipContent, TooltipText } from "../Gluestack/tooltip";
2
+ import { Tooltip, TooltipContent, TooltipText } from '@project-components/Gluestack';
3
3
 
4
4
  const TooltipElement = forwardRef((props, ref) => {
5
5
  const {
@@ -4,7 +4,7 @@ import {
4
4
  Pressable,
5
5
  ScrollView,
6
6
  VStack,
7
- } from '../Gluestack';
7
+ } from '@project-components/Gluestack';
8
8
  import {
9
9
  SELECTION_MODE_SINGLE,
10
10
  SELECTION_MODE_MULTI,
@@ -5,7 +5,7 @@ import {
5
5
  Icon,
6
6
  Spinner,
7
7
  TextNative,
8
- } from '../Gluestack';
8
+ } from '@project-components/Gluestack';
9
9
  import * as colourMixer from '@k-renwick/colour-mixer';
10
10
  import UiGlobals from '../../UiGlobals.js';
11
11
  import withDraggable from '../Hoc/withDraggable.js';
@@ -5,7 +5,7 @@ import {
5
5
  Text,
6
6
  VStack,
7
7
  VStackNative,
8
- } from '../Gluestack';
8
+ } from '@project-components/Gluestack';
9
9
  import {
10
10
  EDIT,
11
11
  } from '../../Constants/Commands.js';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HStackNative,
3
3
  VStackNative,
4
- } from './Gluestack';
4
+ } from '@project-components/Gluestack';
5
5
  import AddressBook from './Icons/AddressBook.js';
6
6
  import Alt from './Icons/Alt.js';
7
7
  import AngleLeft from './Icons/AngleLeft.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Icon,
3
- } from '../Components/Gluestack';
3
+ } from '@project-components/Gluestack';
4
4
  import Button from '../Components/Buttons/Button.js';
5
5
  import testProps from './testProps.js';
6
6
  import _ from 'lodash';
@@ -1,8 +1,10 @@
1
- import tailwindConfig from '../../tailwind.config';
1
+ import UiGlobals from '../UiGlobals';
2
2
  import gluestackConfig from '../Components/Gluestack/gluestack-ui-provider/config';
3
3
  import { hslToRgb, rgbToHsl, rgbToHex, rgbaToHex, hslToHex, hslaToHex, } from './colorConversions';
4
4
  import _ from 'lodash';
5
5
 
6
+ const tailwindConfig = UiGlobals.tailwindConfig;
7
+
6
8
 
7
9
  function getHexFromNamedColor(color) {
8
10
  const
@@ -6,7 +6,7 @@ import {
6
6
  Spinner,
7
7
  Text,
8
8
  VStack,
9
- } from '../../Components/Gluestack';
9
+ } from '@project-components/Gluestack';
10
10
  import Button from '../../Components/Buttons/Button';
11
11
  import {
12
12
  CURRENT_MODE,
@@ -2,7 +2,7 @@ import { useEffect, } from 'react';
2
2
  import {
3
3
  HStack,
4
4
  Text,
5
- } from '../../Components/Gluestack';
5
+ } from '@project-components/Gluestack';
6
6
  import {
7
7
  CURRENT_MODE,
8
8
  UI_MODE_WEB,