@hi-ui/query-filter 5.0.0-experimental.2 → 5.0.0-rc.0
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
|
@@ -1,102 +1,72 @@
|
|
|
1
1
|
# @hi-ui/query-filter
|
|
2
2
|
|
|
3
|
-
## 5.0.0-
|
|
3
|
+
## 5.0.0-rc.0
|
|
4
4
|
|
|
5
|
-
###
|
|
6
|
-
|
|
7
|
-
- 59cef699f: feat: 组件语义化样式改造,增加 styles 和 classNames 属性 (5.0)
|
|
5
|
+
### Major Changes
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
- 95e868bed: feat(query-filter): 新增 QueryFilter 组件 (5.0)
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
- Updated dependencies [7f204c892]
|
|
13
|
-
- Updated dependencies [eb17c4697]
|
|
14
|
-
- Updated dependencies [eb17c4697]
|
|
15
|
-
- Updated dependencies [c407744fe]
|
|
16
|
-
- Updated dependencies [ec647a5ee]
|
|
17
|
-
- Updated dependencies [59cef699f]
|
|
18
|
-
- @hi-ui/icons@5.0.0-experimental.1
|
|
19
|
-
- @hi-ui/core@5.0.0-experimental.1
|
|
20
|
-
- @hi-ui/button@5.0.0-experimental.1
|
|
21
|
-
- @hi-ui/drawer@5.0.0-experimental.1
|
|
22
|
-
- @hi-ui/form@5.0.0-experimental.1
|
|
23
|
-
- @hi-ui/input@5.0.0-experimental.2
|
|
24
|
-
- @hi-ui/tooltip@5.0.0-experimental.1
|
|
25
|
-
- @hi-ui/use-merge-semantic@5.0.0-experimental.0
|
|
9
|
+
### Minor Changes
|
|
26
10
|
|
|
27
|
-
|
|
11
|
+
- 59cef699f: feat: 组件语义化样式改造,增加 styles 和 classNames 属性 (5.0)
|
|
28
12
|
|
|
29
13
|
### Patch Changes
|
|
30
14
|
|
|
31
15
|
- 8f23e9322: style: 表单类组件统一调整后缀颜色、placeholder 颜色 (5.0)
|
|
32
|
-
-
|
|
33
|
-
- Updated dependencies [8f23e9322]
|
|
34
|
-
- Updated dependencies [900c6c2f0]
|
|
35
|
-
- Updated dependencies
|
|
36
|
-
- @hi-ui/input@5.0.0-experimental.1
|
|
37
|
-
|
|
38
|
-
## 5.0.0-experimental.0
|
|
39
|
-
|
|
40
|
-
### Major Changes
|
|
41
|
-
|
|
42
|
-
- 95e868bed: feat(query-filter): 新增 QueryFilter 组件 (5.0)
|
|
43
|
-
|
|
44
|
-
### Patch Changes
|
|
45
|
-
|
|
46
|
-
- be5a59325: style: 修改样式问题 (5.0)
|
|
47
|
-
- 7f3abee55: style: fix ui bug (5.0)
|
|
48
|
-
- Updated dependencies [6fb223e3a]
|
|
16
|
+
- eb17c4697: style: 修复 UI/样式问题 (5.0)
|
|
49
17
|
- Updated dependencies [4a31cea53]
|
|
50
18
|
- Updated dependencies [da2e63a14]
|
|
51
19
|
- Updated dependencies [1e226cd66]
|
|
52
20
|
- Updated dependencies [eea29eade]
|
|
53
|
-
- Updated dependencies [
|
|
21
|
+
- Updated dependencies [7f204c892]
|
|
54
22
|
- Updated dependencies [122d1d859]
|
|
55
23
|
- Updated dependencies [f1ab51725]
|
|
56
24
|
- Updated dependencies [41552be0b]
|
|
25
|
+
- Updated dependencies [eb17c4697]
|
|
57
26
|
- Updated dependencies [dd83a83bc]
|
|
58
27
|
- Updated dependencies [8c0ee78f0]
|
|
59
28
|
- Updated dependencies [9b34d99bc]
|
|
60
29
|
- Updated dependencies [8f3aa85e4]
|
|
61
|
-
- Updated dependencies [f4fc0ef30]
|
|
62
|
-
- Updated dependencies [c021539a3]
|
|
63
30
|
- Updated dependencies [ec4c7faa2]
|
|
64
31
|
- Updated dependencies [29cae09ea]
|
|
65
32
|
- Updated dependencies [dd5033f60]
|
|
66
33
|
- Updated dependencies [fd4c20bbd]
|
|
67
34
|
- Updated dependencies [08b9d0ecf]
|
|
68
|
-
- Updated dependencies [be5a59325]
|
|
69
|
-
- Updated dependencies [71fc15e5c]
|
|
70
35
|
- Updated dependencies [79ea480f3]
|
|
71
36
|
- Updated dependencies [2e56529f7]
|
|
37
|
+
- Updated dependencies [3a7186e4b]
|
|
38
|
+
- Updated dependencies [8f23e9322]
|
|
72
39
|
- Updated dependencies [8a92ec660]
|
|
73
40
|
- Updated dependencies [539749951]
|
|
74
41
|
- Updated dependencies [1429eced2]
|
|
42
|
+
- Updated dependencies [eb17c4697]
|
|
75
43
|
- Updated dependencies [9b34d99bc]
|
|
76
44
|
- Updated dependencies [976ec929d]
|
|
77
45
|
- Updated dependencies [d021b4fa6]
|
|
78
46
|
- Updated dependencies [f1ab51725]
|
|
79
47
|
- Updated dependencies [6dca7795c]
|
|
48
|
+
- Updated dependencies [900c6c2f0]
|
|
49
|
+
- Updated dependencies [c407744fe]
|
|
50
|
+
- Updated dependencies [d91a8bb0f]
|
|
80
51
|
- Updated dependencies [77d969c2e]
|
|
81
52
|
- Updated dependencies [2f850ad84]
|
|
82
53
|
- Updated dependencies [3457a6f7d]
|
|
83
54
|
- Updated dependencies [4006b2c8c]
|
|
84
55
|
- Updated dependencies [e42e2badf]
|
|
56
|
+
- Updated dependencies [ec647a5ee]
|
|
85
57
|
- Updated dependencies [33da3144e]
|
|
86
|
-
- Updated dependencies [0a8cc07a7]
|
|
87
|
-
- Updated dependencies [7f3abee55]
|
|
88
58
|
- Updated dependencies [6fcda9bf2]
|
|
89
59
|
- Updated dependencies [58ad82e94]
|
|
90
|
-
- Updated dependencies [
|
|
91
|
-
- Updated dependencies [
|
|
60
|
+
- Updated dependencies [95d930354]
|
|
61
|
+
- Updated dependencies [59cef699f]
|
|
92
62
|
- Updated dependencies [99801c2d1]
|
|
93
|
-
-
|
|
94
|
-
- @hi-ui/
|
|
95
|
-
- @hi-ui/
|
|
96
|
-
- @hi-ui/
|
|
97
|
-
- @hi-ui/
|
|
98
|
-
- @hi-ui/
|
|
99
|
-
- @hi-ui/form@5.0.0-
|
|
100
|
-
- @hi-ui/
|
|
101
|
-
- @hi-ui/
|
|
102
|
-
- @hi-ui/
|
|
63
|
+
- @hi-ui/drawer@5.0.0-rc.0
|
|
64
|
+
- @hi-ui/input@5.0.0-rc.0
|
|
65
|
+
- @hi-ui/tooltip@5.0.0-rc.0
|
|
66
|
+
- @hi-ui/button@5.0.0-rc.0
|
|
67
|
+
- @hi-ui/icons@5.0.0-rc.0
|
|
68
|
+
- @hi-ui/core@5.0.0-rc.0
|
|
69
|
+
- @hi-ui/form@5.0.0-rc.0
|
|
70
|
+
- @hi-ui/classname@5.0.0-rc.0
|
|
71
|
+
- @hi-ui/env@5.0.0-rc.0
|
|
72
|
+
- @hi-ui/use-merge-semantic@5.0.0-rc.0
|
|
@@ -2,11 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import { DrawerProps } from '@hi-ui/drawer';
|
|
3
3
|
import { FilterFieldProps, FilterFormProps } from '../FilterForm';
|
|
4
4
|
import type { ComponentSemantic, SemanticClassNamesType, SemanticStylesType } from '@hi-ui/use-merge-semantic';
|
|
5
|
-
export type FilterDrawerSemanticName = 'root' | 'footer';
|
|
6
|
-
export type FilterDrawerSemanticClassNames = SemanticClassNamesType<FilterDrawerProps, FilterDrawerSemanticName>;
|
|
7
|
-
export type FilterDrawerSemanticStyles = SemanticStylesType<FilterDrawerProps, FilterDrawerSemanticName>;
|
|
8
|
-
export type FilterDrawerSemantic = ComponentSemantic<FilterDrawerSemanticClassNames, FilterDrawerSemanticStyles>;
|
|
9
|
-
export type FilterDrawerProps = Omit<FilterFormProps, 'onChange' | 'placement'> & {
|
|
5
|
+
export declare type FilterDrawerSemanticName = 'root' | 'footer';
|
|
6
|
+
export declare type FilterDrawerSemanticClassNames = SemanticClassNamesType<FilterDrawerProps, FilterDrawerSemanticName>;
|
|
7
|
+
export declare type FilterDrawerSemanticStyles = SemanticStylesType<FilterDrawerProps, FilterDrawerSemanticName>;
|
|
8
|
+
export declare type FilterDrawerSemantic = ComponentSemantic<FilterDrawerSemanticClassNames, FilterDrawerSemanticStyles>;
|
|
9
|
+
export declare type FilterDrawerProps = Omit<FilterFormProps, 'onChange' | 'placement'> & {
|
|
10
10
|
onChange?: (formData: Record<string, unknown>, fields: FilterFieldProps[]) => void;
|
|
11
11
|
sureText?: React.ReactNode;
|
|
12
12
|
cancelText?: React.ReactNode;
|
|
@@ -6,10 +6,10 @@ import type { ComponentSemantic, SemanticClassNamesType, SemanticStylesType } fr
|
|
|
6
6
|
* 筛选表单
|
|
7
7
|
*/
|
|
8
8
|
export declare const QueryFilter: React.ForwardRefExoticComponent<QueryFilterProps & React.RefAttributes<HTMLDivElement | null>>;
|
|
9
|
-
export type QueryFilterSemanticName = 'root' | 'form';
|
|
10
|
-
export type QueryFilterSemanticClassNames = SemanticClassNamesType<QueryFilterProps, QueryFilterSemanticName>;
|
|
11
|
-
export type QueryFilterSemanticStyles = SemanticStylesType<QueryFilterProps, QueryFilterSemanticName>;
|
|
12
|
-
export type QueryFilterSemantic = ComponentSemantic<QueryFilterSemanticClassNames, QueryFilterSemanticStyles>;
|
|
9
|
+
export declare type QueryFilterSemanticName = 'root' | 'form';
|
|
10
|
+
export declare type QueryFilterSemanticClassNames = SemanticClassNamesType<QueryFilterProps, QueryFilterSemanticName>;
|
|
11
|
+
export declare type QueryFilterSemanticStyles = SemanticStylesType<QueryFilterProps, QueryFilterSemanticName>;
|
|
12
|
+
export declare type QueryFilterSemantic = ComponentSemantic<QueryFilterSemanticClassNames, QueryFilterSemanticStyles>;
|
|
13
13
|
export interface QueryFilterProps extends HiBaseHTMLProps<'div'>, Omit<FilterFormProps, 'classNames' | 'styles'>, QueryFilterSemantic {
|
|
14
14
|
/**
|
|
15
15
|
* 表单数据变化回调
|
package/lib/types/context.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/query-filter",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-rc.0",
|
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
|
@@ -44,24 +44,24 @@
|
|
|
44
44
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@hi-ui/classname": "^5.0.0-
|
|
48
|
-
"@hi-ui/button": "^5.0.0-
|
|
49
|
-
"@hi-ui/drawer": "^5.0.0-
|
|
50
|
-
"@hi-ui/env": "^5.0.0-
|
|
51
|
-
"@hi-ui/form": "^5.0.0-
|
|
52
|
-
"@hi-ui/tooltip": "^5.0.0-
|
|
53
|
-
"@hi-ui/icons": "^5.0.0-
|
|
54
|
-
"@hi-ui/input": "^5.0.0-
|
|
55
|
-
"@hi-ui/use-merge-semantic": "^5.0.0-
|
|
47
|
+
"@hi-ui/classname": "^5.0.0-rc.0",
|
|
48
|
+
"@hi-ui/button": "^5.0.0-rc.0",
|
|
49
|
+
"@hi-ui/drawer": "^5.0.0-rc.0",
|
|
50
|
+
"@hi-ui/env": "^5.0.0-rc.0",
|
|
51
|
+
"@hi-ui/form": "^5.0.0-rc.0",
|
|
52
|
+
"@hi-ui/tooltip": "^5.0.0-rc.0",
|
|
53
|
+
"@hi-ui/icons": "^5.0.0-rc.0",
|
|
54
|
+
"@hi-ui/input": "^5.0.0-rc.0",
|
|
55
|
+
"@hi-ui/use-merge-semantic": "^5.0.0-rc.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@hi-ui/core": ">=5.0.0-
|
|
58
|
+
"@hi-ui/core": ">=5.0.0-rc.0",
|
|
59
59
|
"react": ">=16.8.6",
|
|
60
60
|
"react-dom": ">=16.8.6"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@hi-ui/core": "^5.0.0-
|
|
64
|
-
"@hi-ui/core-css": "^5.0.0-
|
|
63
|
+
"@hi-ui/core": "^5.0.0-rc.0",
|
|
64
|
+
"@hi-ui/core-css": "^5.0.0-rc.0",
|
|
65
65
|
"react": "^17.0.1",
|
|
66
66
|
"react-dom": "^17.0.1"
|
|
67
67
|
}
|