@hi-ui/check-select 4.0.0-beta.13 → 4.0.0-beta.16

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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { UseCheckSelectProps } from './use-check-select';
3
3
  import type { HiBaseAppearanceEnum, HiBaseHTMLProps } from '@hi-ui/core';
4
- import { CheckSelectDataItem, CheckSelectEventData } from './types';
4
+ import { CheckSelectDataItem, CheckSelectEventData, CheckSelectMergedItem } from './types';
5
5
  import { PickerProps } from '@hi-ui/picker';
6
6
  import { UseDataSource } from '@hi-ui/use-data-source';
7
7
  /**
@@ -72,7 +72,7 @@ export interface CheckSelectProps extends Omit<PickerProps, 'trigger'>, UseCheck
72
72
  /**
73
73
  * 异步加载数据
74
74
  */
75
- dataSource?: UseDataSource<CheckSelectDataItem>;
75
+ dataSource?: UseDataSource<CheckSelectMergedItem[]>;
76
76
  /**
77
77
  * 自定义下拉菜单底部渲染
78
78
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-select",
3
- "version": "4.0.0-beta.13",
3
+ "version": "4.0.0-beta.16",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HIUI <mi-hiui@xiaomi.com>",
@@ -51,12 +51,12 @@
51
51
  "@hi-ui/env": "^4.0.0-beta.0",
52
52
  "@hi-ui/func-utils": "^4.0.0-beta.4",
53
53
  "@hi-ui/highlighter": "^4.0.0-beta.3",
54
- "@hi-ui/icons": "^4.0.0-beta.3",
55
- "@hi-ui/input": "^4.0.0-beta.5",
54
+ "@hi-ui/icons": "^4.0.0-beta.5",
55
+ "@hi-ui/input": "^4.0.0-beta.7",
56
56
  "@hi-ui/locale-context": "^4.0.0-beta.8",
57
- "@hi-ui/picker": "^4.0.0-beta.11",
58
- "@hi-ui/popper": "^4.0.0-beta.5",
59
- "@hi-ui/tag-input": "^4.0.0-beta.6",
57
+ "@hi-ui/picker": "^4.0.0-beta.13",
58
+ "@hi-ui/popper": "^4.0.0-beta.6",
59
+ "@hi-ui/tag-input": "^4.0.0-beta.8",
60
60
  "@hi-ui/times": "^4.0.0-beta.2",
61
61
  "@hi-ui/tree-utils": "^4.0.0-beta.1",
62
62
  "@hi-ui/type-assertion": "^4.0.0-beta.1",
@@ -78,5 +78,5 @@
78
78
  "react": "^17.0.1",
79
79
  "react-dom": "^17.0.1"
80
80
  },
81
- "gitHead": "b5d98b59ff2c183a768c292b77d8cb2451e6528b"
81
+ "gitHead": "0b8887d40e656b9d6043b7feec778448f70323a6"
82
82
  }