@xh/hoist 71.0.0-SNAPSHOT.1733788412834 → 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.
@@ -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.1733788412834",
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",