@onehat/ui 0.2.59 → 0.2.61

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.59",
3
+ "version": "0.2.61",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -46,7 +46,7 @@ import MagnifyingGlass from '../Icons/MagnifyingGlass.js';
46
46
  import NoReorderRows from '../Icons/NoReorderRows.js';
47
47
  import ReorderRows from '../Icons/ReorderRows.js';
48
48
  import PaginationToolbar from '../Toolbar/PaginationToolbar.js';
49
- import NoRecordsFound from './NoRecordsFound.js';
49
+ import NoRecordsFound from '../Grid/NoRecordsFound.js';
50
50
  import Toolbar from '../Toolbar/Toolbar.js';
51
51
  import _ from 'lodash';
52
52
 
@@ -44,6 +44,8 @@ import Text from './Form/Field/Text.js';
44
44
  import TimezonesCombo from './Form/Field/Combo/TimezonesCombo.js';
45
45
  import Toggle from './Form/Field/Toggle.js';
46
46
  import Toolbar from './Toolbar/Toolbar.js';
47
+ import Tree from './Tree/Tree.js';
48
+ import TreeNode from './Tree/TreeNode.js';
47
49
  import YearsCombo from './Form/Field/Combo/YearsCombo.js';
48
50
  import _ from 'lodash';
49
51
 
@@ -92,6 +94,8 @@ const components = {
92
94
  TimezonesCombo,
93
95
  Toggle,
94
96
  Toolbar,
97
+ Tree,
98
+ TreeNode,
95
99
  YearsCombo,
96
100
  };
97
101
 
@@ -0,0 +1,4 @@
1
+ export const SORT_ASCENDING = 'ASC'; // This is what RestTrait expects
2
+ export const SORT_DESCENDING = 'DESC'; // This is what RestTrait expects
3
+ export const DROP_POSITION_BEFORE = 'before'; // This is what RestTrait expects
4
+ export const DROP_POSITION_AFTER = 'after'; // This is what RestTrait expects