@onehat/ui 0.4.0 → 0.4.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -19,7 +19,7 @@ import {
19
19
  EDITOR_MODE__VIEW,
20
20
  EDITOR_MODE__ADD,
21
21
  EDITOR_MODE__EDIT,
22
- } from '../../../constants/Editor.js';
22
+ } from '../../../Constants/Editor.js';
23
23
  import { Form, Formik, Field } from "formik"; // https://formik.org/docs/overview
24
24
  import { useForm, Controller } from 'react-hook-form'; // https://react-hook-form.com/api/
25
25
  import * as yup from 'yup'; // https://github.com/jquense/yup#string
@@ -9,7 +9,7 @@ import {
9
9
  import UiGlobals from '../../../UiGlobals.js';
10
10
  import IconButton from '../../Buttons/IconButton.js';
11
11
  import Na from '../../Icons/Na.js';
12
- import testProps from '../../../functions/testProps.js';
12
+ import testProps from '../../../Functions/testProps.js';
13
13
  import withComponent from '../../Hoc/withComponent.js';
14
14
  import withTooltip from '../../Hoc/withTooltip.js';
15
15
  import withValue from '../../Hoc/withValue.js';
@@ -13,7 +13,7 @@ import * as colourMixer from '@k-renwick/colour-mixer';
13
13
  import getComponentFromType from '../../Functions/getComponentFromType.js';
14
14
  import UiGlobals from '../../UiGlobals.js';
15
15
  import { withDragSource, withDropTarget } from '../Hoc/withDnd.js';
16
- import testProps from '../..Ffunctions/testProps.js';
16
+ import testProps from '../../Functions/testProps.js';
17
17
  import AngleRight from '../Icons/AngleRight.js';
18
18
  import RowDragHandle from './RowDragHandle.js';
19
19
  import _ from 'lodash';
@@ -1,4 +1,4 @@
1
- import { isReactNative, isBrowser, isWebWorker, } from '../functions/PlatformDetector.js';
1
+ import { isReactNative, isBrowser, isWebWorker, } from '../Functions/PlatformDetector.js';
2
2
 
3
3
 
4
4
  export const UI_MODE_WEB = 'Web';
@@ -2,11 +2,11 @@ import {
2
2
  COLLAPSED,
3
3
  EXPANDED,
4
4
  LEAF,
5
- } from '../constants/Tree.js';
6
- import BigCircle from '../components/Icons/BigCircle.js';
7
- import FolderClosed from '../components/Icons/ChevronRight.js';
8
- import FolderOpen from '../components/Icons/ChevronDown.js';
9
- import Camera from '../components/Icons/Camera.js';
5
+ } from '../Constants/Tree.js';
6
+ import BigCircle from '../Components/Icons/BigCircle.js';
7
+ import FolderClosed from '../Components/Icons/ChevronRight.js';
8
+ import FolderOpen from '../Components/Icons/ChevronDown.js';
9
+ import Camera from '../Components/Icons/Camera.js';
10
10
 
11
11
  export default function getNodeIcon(which, item) {
12
12
  let icon;