@onehat/ui 0.2.29 → 0.2.30

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.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -4,17 +4,17 @@ import {
4
4
  } from 'native-base';
5
5
  import {
6
6
  AUTO_SUBMIT_DELAY,
7
- } from '../../../Constants/Input.js';
7
+ } from '../../../../Constants/Input.js';
8
8
  import { CKEditor } from '@ckeditor/ckeditor5-react'; // https://ckeditor.com/docs/ckeditor5/latest/installation/frameworks/react.html
9
9
  import './ckeditor.css';
10
10
  import Editor from 'ckeditor5-custom-build/build/ckeditor.js'; // built using https://ckeditor.com/ckeditor-5/online-builder/
11
- import withValue from '../../Hoc/withValue.js';
12
- import withTooltip from '../../Hoc/withTooltip.js';
11
+ import withValue from '../../../Hoc/withValue.js';
12
+ import withTooltip from '../../../Hoc/withTooltip.js';
13
13
  import _ from 'lodash';
14
14
 
15
15
 
16
16
  const
17
- HtmlEditorElement = (props) => {
17
+ CKEditorElement = (props) => {
18
18
  const {
19
19
  value,
20
20
  setValue,
@@ -53,12 +53,12 @@ const
53
53
  />
54
54
  </Row>;
55
55
  },
56
- HtmlEditorField = withValue(HtmlEditorElement);
56
+ CKEditorField = withValue(CKEditorElement);
57
57
 
58
58
 
59
- export default HtmlEditorField;
59
+ export default CKEditorField;
60
60
 
61
61
  // // Tooltip needs us to forwardRef
62
62
  // export default withTooltip(React.forwardRef((props, ref) => {
63
- // return <HtmlEditorField {...props} outerRef={ref} />;
63
+ // return <CKEditorField {...props} outerRef={ref} />;
64
64
  // }));
@@ -9,6 +9,7 @@ import ArrayRadioGroup from './Form/Field/RadioGroup/ArrayRadioGroup.js';
9
9
  import Blank from './Blank.js';
10
10
  import BooleanCombo from './Form/Field/Combo/BooleanCombo.js';
11
11
  // import CartButtonWithBadge from '../Components/Buttons/CartButtonWithBadge.js';
12
+ // import CKEditor from './Form/Field/CKEditor/CKEditor.js'; // web only
12
13
  import CheckboxGroup from './Form/Field/CheckboxGroup/CheckboxGroup.js';
13
14
  import Color from './Form/Field/Color.js';
14
15
  import Combo from './Form/Field/Combo/Combo.js';
@@ -25,7 +26,6 @@ import FiltersForm from './Form/FiltersForm.js';
25
26
  import Form from './Form/Form.js';
26
27
  import Grid from './Grid/Grid.js';
27
28
  import GridPanel from './Panel/GridPanel.js';
28
- import HtmlEditor from './Form/Field/HtmlEditor.js';
29
29
  import IconButton from './Buttons/IconButton.js';
30
30
  import Input from './Form/Field/Input.js';
31
31
  import IntervalsCombo from './Form/Field/Combo/IntervalsCombo.js';
@@ -56,6 +56,7 @@ const components = {
56
56
  BooleanCombo,
57
57
  // CartButtonWithBadge,
58
58
  CheckboxGroup,
59
+ // CKEditor,
59
60
  Color,
60
61
  Column,
61
62
  Combo,
@@ -72,7 +73,6 @@ const components = {
72
73
  Form,
73
74
  Grid,
74
75
  GridPanel,
75
- HtmlEditor,
76
76
  IconButton,
77
77
  Input,
78
78
  IntervalsCombo,