@hi-ui/query-filter 5.0.0-experimental.2 → 5.0.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,29 @@
1
1
  # @hi-ui/query-filter
2
2
 
3
- ## 5.0.0-experimental.2
3
+ ## 5.0.0
4
4
 
5
- ### Minor Changes
6
-
7
- - 59cef699f: feat: 组件语义化样式改造,增加 styles 和 classNames 属性 (5.0)
8
-
9
- ### Patch Changes
10
-
11
- - eb17c4697: style: 修复 UI/样式问题 (5.0)
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
26
-
27
- ## 5.0.0-experimental.1
28
-
29
- ### Patch Changes
30
-
31
- - 8f23e9322: style: 表单类组件统一调整后缀颜色、placeholder 颜色 (5.0)
32
- - 发布 hiui experimental 版本
33
- - Updated dependencies [8f23e9322]
34
- - Updated dependencies [900c6c2f0]
35
- - Updated dependencies
36
- - @hi-ui/input@5.0.0-experimental.1
5
+ ### Major Changes
37
6
 
38
- ## 5.0.0-experimental.0
7
+ - [#3532](https://github.com/XiaoMi/hiui/pull/3532) [`95e868bed`](https://github.com/XiaoMi/hiui/commit/95e868bedf5d3fa89231bbf8af77da58249023c6) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(query-filter): 新增 QueryFilter 组件 (5.0)
39
8
 
40
- ### Major Changes
9
+ ### Minor Changes
41
10
 
42
- - 95e868bed: feat(query-filter): 新增 QueryFilter 组件 (5.0)
11
+ - [#3502](https://github.com/XiaoMi/hiui/pull/3502) [`59cef699f`](https://github.com/XiaoMi/hiui/commit/59cef699f96f56d4f68fae7f9dadb960c487b5de) Thanks [@zyprepare](https://github.com/zyprepare)! - feat: 组件语义化样式改造,增加 styles classNames 属性 (5.0)
43
12
 
44
13
  ### Patch Changes
45
14
 
46
- - be5a59325: style: 修改样式问题 (5.0)
47
- - 7f3abee55: style: fix ui bug (5.0)
48
- - Updated dependencies [6fb223e3a]
49
- - Updated dependencies [4a31cea53]
50
- - Updated dependencies [da2e63a14]
51
- - Updated dependencies [1e226cd66]
52
- - Updated dependencies [eea29eade]
53
- - Updated dependencies [1662753e0]
54
- - Updated dependencies [122d1d859]
55
- - Updated dependencies [f1ab51725]
56
- - Updated dependencies [41552be0b]
57
- - Updated dependencies [dd83a83bc]
58
- - Updated dependencies [8c0ee78f0]
59
- - Updated dependencies [9b34d99bc]
60
- - Updated dependencies [8f3aa85e4]
61
- - Updated dependencies [f4fc0ef30]
62
- - Updated dependencies [c021539a3]
63
- - Updated dependencies [ec4c7faa2]
64
- - Updated dependencies [29cae09ea]
65
- - Updated dependencies [dd5033f60]
66
- - Updated dependencies [fd4c20bbd]
67
- - Updated dependencies [08b9d0ecf]
68
- - Updated dependencies [be5a59325]
69
- - Updated dependencies [71fc15e5c]
70
- - Updated dependencies [79ea480f3]
71
- - Updated dependencies [2e56529f7]
72
- - Updated dependencies [8a92ec660]
73
- - Updated dependencies [539749951]
74
- - Updated dependencies [1429eced2]
75
- - Updated dependencies [9b34d99bc]
76
- - Updated dependencies [976ec929d]
77
- - Updated dependencies [d021b4fa6]
78
- - Updated dependencies [f1ab51725]
79
- - Updated dependencies [6dca7795c]
80
- - Updated dependencies [77d969c2e]
81
- - Updated dependencies [2f850ad84]
82
- - Updated dependencies [3457a6f7d]
83
- - Updated dependencies [4006b2c8c]
84
- - Updated dependencies [e42e2badf]
85
- - Updated dependencies [33da3144e]
86
- - Updated dependencies [0a8cc07a7]
87
- - Updated dependencies [7f3abee55]
88
- - Updated dependencies [6fcda9bf2]
89
- - Updated dependencies [58ad82e94]
90
- - Updated dependencies [a0f0c9d6b]
91
- - Updated dependencies [b12cd78a3]
92
- - Updated dependencies [99801c2d1]
93
- - Updated dependencies [86910f5e2]
94
- - @hi-ui/tooltip@5.0.0-experimental.0
95
- - @hi-ui/drawer@5.0.0-experimental.0
96
- - @hi-ui/input@5.0.0-experimental.0
97
- - @hi-ui/button@5.0.0-experimental.0
98
- - @hi-ui/icons@5.0.0-experimental.0
99
- - @hi-ui/form@5.0.0-experimental.0
100
- - @hi-ui/core@5.0.0-experimental.0
101
- - @hi-ui/classname@5.0.0-experimental.0
102
- - @hi-ui/env@5.0.0-experimental.0
15
+ - [#3489](https://github.com/XiaoMi/hiui/pull/3489) [`8f23e9322`](https://github.com/XiaoMi/hiui/commit/8f23e9322e8aa117608d42898cce1f9d74414629) Thanks [@zyprepare](https://github.com/zyprepare)! - style: 表单类组件统一调整后缀颜色、placeholder 颜色 (5.0)
16
+
17
+ - [#3504](https://github.com/XiaoMi/hiui/pull/3504) [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe) Thanks [@zyprepare](https://github.com/zyprepare)! - style: 修复 UI/样式问题 (5.0)
18
+
19
+ - Updated dependencies [[`4a31cea53`](https://github.com/XiaoMi/hiui/commit/4a31cea53a1ec48c6e31b1703315ba5838ad883f), [`da2e63a14`](https://github.com/XiaoMi/hiui/commit/da2e63a1478db819ec87d720fbfbf537319620c2), [`1e226cd66`](https://github.com/XiaoMi/hiui/commit/1e226cd66413cea8eb1e63b1cb83c1bfbf5f0a41), [`eea29eade`](https://github.com/XiaoMi/hiui/commit/eea29eade364317198270daa62d7454279f9068a), [`7f204c892`](https://github.com/XiaoMi/hiui/commit/7f204c892156ea8a4fb95d218db9d59c8c4e0c49), [`122d1d859`](https://github.com/XiaoMi/hiui/commit/122d1d859bb92379fbe109fe9a5581259e6bb9a1), [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1), [`41552be0b`](https://github.com/XiaoMi/hiui/commit/41552be0b42df7c47b481cf8aacc8be76fc3f277), [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe), [`dd83a83bc`](https://github.com/XiaoMi/hiui/commit/dd83a83bc60904342412a88af56ec904c972a965), [`8c0ee78f0`](https://github.com/XiaoMi/hiui/commit/8c0ee78f013dcd9ced94cef13a69933e039621aa), [`9b34d99bc`](https://github.com/XiaoMi/hiui/commit/9b34d99bc2aa8b78b9e3281e08afc086ac4afea1), [`8f3aa85e4`](https://github.com/XiaoMi/hiui/commit/8f3aa85e4e1977854cecdf2864498a77e959bc39), [`ec4c7faa2`](https://github.com/XiaoMi/hiui/commit/ec4c7faa29cb7812664d866260c7a59dc76cb983), [`29cae09ea`](https://github.com/XiaoMi/hiui/commit/29cae09ea3d7a61781c3c4a9f51355a83229bd97), [`dd5033f60`](https://github.com/XiaoMi/hiui/commit/dd5033f60207a638d119a8585805ee69cf435abf), [`fd4c20bbd`](https://github.com/XiaoMi/hiui/commit/fd4c20bbd30e18bc4c1a2eb078acaa4790f7b2eb), [`08b9d0ecf`](https://github.com/XiaoMi/hiui/commit/08b9d0ecf6088aee4b62164dfb1b8b7b96528d41), [`79ea480f3`](https://github.com/XiaoMi/hiui/commit/79ea480f33bb8f692dda1e6252a9d2a75c3ac30d), [`2e56529f7`](https://github.com/XiaoMi/hiui/commit/2e56529f7ea8c74e2fac8b6061628d4fd0d862ac), [`3a7186e4b`](https://github.com/XiaoMi/hiui/commit/3a7186e4b4e7ce351c3856f3e1ba574b9f6df22f), [`8f23e9322`](https://github.com/XiaoMi/hiui/commit/8f23e9322e8aa117608d42898cce1f9d74414629), [`8a92ec660`](https://github.com/XiaoMi/hiui/commit/8a92ec660d7622768574dfe2e799b24d14e052a7), [`539749951`](https://github.com/XiaoMi/hiui/commit/53974995177f7cf813a4208b05fb6e1b43201f48), [`1429eced2`](https://github.com/XiaoMi/hiui/commit/1429eced2c79d22b6973229af3860b5dc48ad4a9), [`eb17c4697`](https://github.com/XiaoMi/hiui/commit/eb17c46978dfcb5e8ec0a0e3b3dcffabae8d31fe), [`9b34d99bc`](https://github.com/XiaoMi/hiui/commit/9b34d99bc2aa8b78b9e3281e08afc086ac4afea1), [`976ec929d`](https://github.com/XiaoMi/hiui/commit/976ec929da088830d4d4bfa5438aa679676f71ca), [`d021b4fa6`](https://github.com/XiaoMi/hiui/commit/d021b4fa6440faa7a09140c2c35dda10d51a35b3), [`f1ab51725`](https://github.com/XiaoMi/hiui/commit/f1ab517258599ee2dfad183e4a8c7b855ef409c1), [`6dca7795c`](https://github.com/XiaoMi/hiui/commit/6dca7795c71123f941d91b991ecd17ce26b6a2da), [`900c6c2f0`](https://github.com/XiaoMi/hiui/commit/900c6c2f0b397bb2a6c2a5b2cc0c0f83442813ec), [`c407744fe`](https://github.com/XiaoMi/hiui/commit/c407744fea78d93da66b73eed0b62d18e5b3a011), [`d91a8bb0f`](https://github.com/XiaoMi/hiui/commit/d91a8bb0f887fa886215aa596852eef3c2ce8519), [`77d969c2e`](https://github.com/XiaoMi/hiui/commit/77d969c2e4f6db55f6cc154c1803971ac3e3f085), [`2f850ad84`](https://github.com/XiaoMi/hiui/commit/2f850ad8460685b7177f35a018490123ed16e501), [`3457a6f7d`](https://github.com/XiaoMi/hiui/commit/3457a6f7dae4830d74ced9c36cff82d51f06ac19), [`4006b2c8c`](https://github.com/XiaoMi/hiui/commit/4006b2c8cabba5ec553b69a17e4bf3fb53fe9180), [`e42e2badf`](https://github.com/XiaoMi/hiui/commit/e42e2badfd099ced93eaf8414513d7a49d1e66c0), [`ec647a5ee`](https://github.com/XiaoMi/hiui/commit/ec647a5eed37085e3214da263bf63f3dfd3bb8f2), [`33da3144e`](https://github.com/XiaoMi/hiui/commit/33da3144e916edd75ee0669ca9e5090edc681193), [`6fcda9bf2`](https://github.com/XiaoMi/hiui/commit/6fcda9bf23e6e16c593fd4d9e3db8d08bcb6b9b5), [`58ad82e94`](https://github.com/XiaoMi/hiui/commit/58ad82e9441e76bf6090e6a0f4e36a04342c25f0), [`95d930354`](https://github.com/XiaoMi/hiui/commit/95d930354a1ab4291e98a9abccb9525d6c210795), [`59cef699f`](https://github.com/XiaoMi/hiui/commit/59cef699f96f56d4f68fae7f9dadb960c487b5de), [`99801c2d1`](https://github.com/XiaoMi/hiui/commit/99801c2d12628c194657579eccd09a86aedea22b)]:
20
+ - @hi-ui/drawer@5.0.0
21
+ - @hi-ui/input@5.0.0
22
+ - @hi-ui/tooltip@5.0.0
23
+ - @hi-ui/button@5.0.0
24
+ - @hi-ui/icons@5.0.0
25
+ - @hi-ui/core@5.0.0
26
+ - @hi-ui/form@5.0.0
27
+ - @hi-ui/classname@5.0.0
28
+ - @hi-ui/env@5.0.0
29
+ - @hi-ui/use-merge-semantic@5.0.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
  * 表单数据变化回调
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { InputProps } from '@hi-ui/input';
3
3
  export declare const SearchInput: React.FC<SearchInputProps>;
4
- export type SearchInputProps = InputProps;
4
+ export declare type SearchInputProps = InputProps;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const FilterContext: import("react").Context<{
2
3
  selectedCacheData: Map<string, unknown[]>;
3
4
  setSelectedCacheData: (data: Map<string, unknown[]>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/query-filter",
3
- "version": "5.0.0-experimental.2",
3
+ "version": "5.0.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-experimental.0",
48
- "@hi-ui/button": "^5.0.0-experimental.1",
49
- "@hi-ui/drawer": "^5.0.0-experimental.1",
50
- "@hi-ui/env": "^5.0.0-experimental.0",
51
- "@hi-ui/form": "^5.0.0-experimental.1",
52
- "@hi-ui/tooltip": "^5.0.0-experimental.1",
53
- "@hi-ui/icons": "^5.0.0-experimental.1",
54
- "@hi-ui/input": "^5.0.0-experimental.2",
55
- "@hi-ui/use-merge-semantic": "^5.0.0-experimental.0"
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"
56
56
  },
57
57
  "peerDependencies": {
58
- "@hi-ui/core": ">=5.0.0-experimental.1",
58
+ "@hi-ui/core": ">=5.0.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-experimental.1",
64
- "@hi-ui/core-css": "^5.0.0-experimental.2",
63
+ "@hi-ui/core": "^5.0.0",
64
+ "@hi-ui/core-css": "^5.0.0",
65
65
  "react": "^17.0.1",
66
66
  "react-dom": "^17.0.1"
67
67
  }