@xh/hoist 71.0.0-SNAPSHOT.1733425883722 → 71.0.0-SNAPSHOT.1733788712041

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/CHANGELOG.md CHANGED
@@ -12,6 +12,9 @@
12
12
  * New `SessionStorageService` and associated persistence provider provides support for saving
13
13
  tab local data across reloads.
14
14
 
15
+ ### ⚙️ Technical
16
+
17
+ * Added explicit `devDependencies` and `resolutions` blocks for `@types/react[-dom]` at v18.x.
15
18
 
16
19
  ## v70.0.0 - 2024-11-15
17
20
 
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  import { SwitchInputProps } from '@xh/hoist/desktop/cmp/input';
3
4
  import { FormFieldProps } from '@xh/hoist/desktop/cmp/form';
4
5
  import '@xh/hoist/desktop/register';
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  import { ButtonGroupInputProps } from '@xh/hoist/desktop/cmp/input';
3
4
  import { FormFieldProps } from '@xh/hoist/desktop/cmp/form';
4
5
  import '@xh/hoist/desktop/register';
@@ -5,7 +5,7 @@
5
5
  * Copyright © 2024 Extremely Heavy Industries Inc.
6
6
  */
7
7
  import {HoistInputModel, HoistInputProps, useHoistInputModel} from '@xh/hoist/cmp/input';
8
- import {hoistCmp, XH, HoistProps} from '@xh/hoist/core';
8
+ import {hoistCmp, HoistProps, XH} from '@xh/hoist/core';
9
9
  import {Button, buttonGroup, ButtonGroupProps, ButtonProps} from '@xh/hoist/mobile/cmp/button';
10
10
  import '@xh/hoist/mobile/register';
11
11
  import {throwIf, warnIf, withDefault} from '@xh/hoist/utils/js';
@@ -101,8 +101,9 @@ const cmp = hoistCmp.factory<ButtonGroupInputModel>(({model, className, ...props
101
101
  throw XH.exception('ButtonGroupInput child must be a Button.');
102
102
  }
103
103
 
104
- const {value} = button.props,
105
- btnDisabled = disabled || button.props.disabled;
104
+ const props = button.props as ButtonProps,
105
+ {value} = props,
106
+ btnDisabled = disabled || props.disabled;
106
107
 
107
108
  throwIf(value == null, 'ButtonGroupInput child must declare a non-null value');
108
109
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "71.0.0-SNAPSHOT.1733425883722",
3
+ "version": "71.0.0-SNAPSHOT.1733788712041",
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",
@@ -95,6 +95,8 @@
95
95
  "@ag-grid-community/client-side-row-model": "31.x",
96
96
  "@ag-grid-community/core": "31.x",
97
97
  "@ag-grid-community/react": "31.x",
98
+ "@types/react": "18.x",
99
+ "@types/react-dom": "18.x",
98
100
  "@xh/hoist-dev-utils": "9.x",
99
101
  "csstype": "3.x",
100
102
  "eslint": "8.x",
@@ -112,6 +114,8 @@
112
114
  "typescript": "~5.1.6"
113
115
  },
114
116
  "resolutions": {
115
- "core-js": "^3.0"
117
+ "core-js": "3.x",
118
+ "@types/react": "18.x",
119
+ "@types/react-dom": "18.x"
116
120
  }
117
121
  }