@xh/hoist 79.0.0-SNAPSHOT.1766098199305 → 79.0.0-SNAPSHOT.1766100504431

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.
@@ -7,7 +7,7 @@
7
7
 
8
8
  import {grid} from '@xh/hoist/cmp/grid';
9
9
  import {fragment} from '@xh/hoist/cmp/layout';
10
- import {hoistCmp, HoistProps, PlainObject, Some, uses} from '@xh/hoist/core';
10
+ import {hoistCmp, HoistProps, PlainObject, uses} from '@xh/hoist/core';
11
11
  import {MaskProps} from '@xh/hoist/cmp/mask';
12
12
  import {panel, PanelProps} from '@xh/hoist/desktop/cmp/panel';
13
13
  import {toolbar} from '@xh/hoist/desktop/cmp/toolbar';
@@ -21,8 +21,7 @@ import {restGridToolbar} from './impl/RestGridToolbar';
21
21
  import {RestGridModel} from './RestGridModel';
22
22
 
23
23
  export interface RestGridProps
24
- extends HoistProps<RestGridModel>,
25
- Omit<PanelProps, 'model' | 'modelConfig' | 'modelRef'> {
24
+ extends HoistProps<RestGridModel>, Omit<PanelProps, 'model' | 'modelConfig' | 'modelRef'> {
26
25
  /**
27
26
  * This constitutes an 'escape hatch' for applications that need to get to the underlying
28
27
  * AG Grid API. Use with care - settings made here might be overwritten and/or interfere with
@@ -34,7 +33,7 @@ export interface RestGridProps
34
33
  * Optional components rendered adjacent to the top toolbar's action buttons.
35
34
  * See also {@link tbar} to take full control of the toolbar.
36
35
  */
37
- extraToolbarItems?: Some<ReactNode> | (() => Some<ReactNode>);
36
+ extraToolbarItems?: ReactNode | (() => ReactNode);
38
37
 
39
38
  /** Classname to be passed to RestForm. */
40
39
  formClassName?: string;
@@ -51,7 +50,7 @@ export interface RestGridProps
51
50
  * configs `toolbarActions`, `filterFields`, and `showRefreshButton`. If specified as an array,
52
51
  * will be passed as children to a Toolbar component.
53
52
  */
54
- tbar?: Some<ReactNode>;
53
+ tbar?: ReactNode;
55
54
  }
56
55
 
57
56
  export const [RestGrid, restGrid] = hoistCmp.withFactory<RestGridProps>({
@@ -29,7 +29,7 @@ import {logWarn} from '@xh/hoist/utils/js';
29
29
 
30
30
  export interface PanelProps extends HoistProps, Omit<BoxProps, 'title'> {
31
31
  /** A toolbar to be docked at the bottom of the panel. */
32
- bbar?: Some<ReactNode>;
32
+ bbar?: ReactNode;
33
33
 
34
34
  /** CSS class name specific to the panel's header. */
35
35
  headerClassName?: string;
@@ -62,7 +62,7 @@ export interface PanelProps extends HoistProps, Omit<BoxProps, 'title'> {
62
62
  scrollable?: boolean;
63
63
 
64
64
  /** A toolbar to be docked at the top of the panel. */
65
- tbar?: Some<ReactNode>;
65
+ tbar?: ReactNode;
66
66
 
67
67
  /** Title text added to the panel's header. */
68
68
  title?: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "79.0.0-SNAPSHOT.1766098199305",
3
+ "version": "79.0.0-SNAPSHOT.1766100504431",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",
@@ -67,7 +67,7 @@
67
67
  "react-beautiful-dnd": "~13.1.0",
68
68
  "react-dates": "~21.8.0",
69
69
  "react-dropzone": "~10.2.2",
70
- "react-grid-layout": "1.5.0",
70
+ "react-grid-layout": "2.1.0",
71
71
  "react-markdown": "~10.1.0",
72
72
  "react-onsenui": "~1.13.2",
73
73
  "react-popper": "~2.3.0",
@@ -93,7 +93,6 @@
93
93
  "devDependencies": {
94
94
  "@types/react": "18.x",
95
95
  "@types/react-dom": "18.x",
96
- "@types/react-grid-layout": "1.3.5",
97
96
  "@xh/hoist-dev-utils": "11.x",
98
97
  "ag-grid-community": "34.x",
99
98
  "ag-grid-react": "34.x",