@hi-ui/hiui 4.4.4-alpha.0 → 4.5.1

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,15 +1,62 @@
1
1
  # @hi-ui/hiui
2
2
 
3
- ## 4.4.4-alpha.0
3
+ ## 4.5.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 02ef793ee: feat(table): add fixed and rowClassName api
8
- - 2fa5ee5b6: feat(scrollbar): add zIndex api
9
- - Updated dependencies [2fa5ee5b6]
10
- - Updated dependencies [02ef793ee]
11
- - @hi-ui/scrollbar@4.1.0-alpha.0
12
- - @hi-ui/table@4.4.0-alpha.0
7
+ - [#2722](https://github.com/XiaoMi/hiui/pull/2722) [`a25261a88`](https://github.com/XiaoMi/hiui/commit/a25261a884f9b3470924c29564b3c4758ebab6cf) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(modal): api 增加 close 方法和 key 参数
8
+
9
+ - [#2722](https://github.com/XiaoMi/hiui/pull/2722) [`a25261a88`](https://github.com/XiaoMi/hiui/commit/a25261a884f9b3470924c29564b3c4758ebab6cf) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(checkbox): 修复组合下 null 传值问题
10
+
11
+ - [#2722](https://github.com/XiaoMi/hiui/pull/2722) [`a25261a88`](https://github.com/XiaoMi/hiui/commit/a25261a884f9b3470924c29564b3c4758ebab6cf) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(table): 修复空状态下横向滚动条问题
12
+
13
+ - Updated dependencies [[`a25261a88`](https://github.com/XiaoMi/hiui/commit/a25261a884f9b3470924c29564b3c4758ebab6cf), [`a25261a88`](https://github.com/XiaoMi/hiui/commit/a25261a884f9b3470924c29564b3c4758ebab6cf), [`a25261a88`](https://github.com/XiaoMi/hiui/commit/a25261a884f9b3470924c29564b3c4758ebab6cf)]:
14
+ - @hi-ui/modal@4.1.0
15
+ - @hi-ui/table@4.4.1
16
+ - @hi-ui/checkbox@4.0.9
17
+
18
+ ## 4.5.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#2700](https://github.com/XiaoMi/hiui/pull/2700) [`cfc37dc37`](https://github.com/XiaoMi/hiui/commit/cfc37dc37c83ce737d88262644c07ca23cde0731) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(tree-utils): 修复 filterTreeNode 问题
23
+ feat(menu): 增加 Sidebar 组件
24
+
25
+ ### Patch Changes
26
+
27
+ - [#2699](https://github.com/XiaoMi/hiui/pull/2699) [`6c5d9c7ed`](https://github.com/XiaoMi/hiui/commit/6c5d9c7ed21eaebc26638ba6ee54eb3bfe918af4) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(table): add fixed and rowClassName api
28
+ feat(table): SettingDrawer 增加 extraHeader extraFooter itemRender api
29
+ feat(table): SettingDrawer 支持配置列是否禁止拖拽
30
+ fix(table): 修复 resize 模式下多选时宽度被重置问题
31
+
32
+ - [#2702](https://github.com/XiaoMi/hiui/pull/2702) [`3caa7e556`](https://github.com/XiaoMi/hiui/commit/3caa7e5566d378a54721f4685834a2f8f671d38e) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(tree): 修复编辑框内容无法选中问题
33
+
34
+ - [#2693](https://github.com/XiaoMi/hiui/pull/2693) [`ffd47b89a`](https://github.com/XiaoMi/hiui/commit/ffd47b89a5d7da54ea717fa827123e9c3b2b6d0f) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(empty-state): 增加一组多彩的图标
35
+
36
+ - [#2700](https://github.com/XiaoMi/hiui/pull/2700) [`b3dc89430`](https://github.com/XiaoMi/hiui/commit/b3dc89430502c85888501001ea192038530a3d6a) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(search): onSearch 回调参数返回 item 对象
37
+
38
+ - [#2688](https://github.com/XiaoMi/hiui/pull/2688) [`2fa5ee5b6`](https://github.com/XiaoMi/hiui/commit/2fa5ee5b6ecc7f95a5224fd91ccfcd263b41d932) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(scrollbar): add zIndex api
39
+
40
+ - [#2703](https://github.com/XiaoMi/hiui/pull/2703) [`4ec059bad`](https://github.com/XiaoMi/hiui/commit/4ec059badc67f3facc98288f3e7a67f51938e40f) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(loading): add wrapperClassName and wrapperStyle apis
41
+
42
+ - [#2705](https://github.com/XiaoMi/hiui/pull/2705) [`ec6de99c3`](https://github.com/XiaoMi/hiui/commit/ec6de99c3369d693df4d1c57564800f127446e23) Thanks [@zyprepare](https://github.com/zyprepare)! - perf(upload): 代码优化,降低打包体积
43
+
44
+ - [#2704](https://github.com/XiaoMi/hiui/pull/2704) [`51267eb24`](https://github.com/XiaoMi/hiui/commit/51267eb2408ee50970e2d354eaa554a34df00878) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(date-picker): 支持季度选择
45
+ feat(date-picker): add onPanelChange api
46
+ chore(locale-context): 补充日期语言包
47
+
48
+ - [#2701](https://github.com/XiaoMi/hiui/pull/2701) [`9cf8e079f`](https://github.com/XiaoMi/hiui/commit/9cf8e079fd3f342d851d7abfecc1c0447c3ac40b) Thanks [@zyprepare](https://github.com/zyprepare)! - feat(empty-state): 增加 xl 和 xxl 尺寸
49
+
50
+ - Updated dependencies [[`4ec059bad`](https://github.com/XiaoMi/hiui/commit/4ec059badc67f3facc98288f3e7a67f51938e40f), [`ffd47b89a`](https://github.com/XiaoMi/hiui/commit/ffd47b89a5d7da54ea717fa827123e9c3b2b6d0f), [`ec6de99c3`](https://github.com/XiaoMi/hiui/commit/ec6de99c3369d693df4d1c57564800f127446e23), [`2fa5ee5b6`](https://github.com/XiaoMi/hiui/commit/2fa5ee5b6ecc7f95a5224fd91ccfcd263b41d932), [`6c5d9c7ed`](https://github.com/XiaoMi/hiui/commit/6c5d9c7ed21eaebc26638ba6ee54eb3bfe918af4), [`3caa7e556`](https://github.com/XiaoMi/hiui/commit/3caa7e5566d378a54721f4685834a2f8f671d38e), [`b3dc89430`](https://github.com/XiaoMi/hiui/commit/b3dc89430502c85888501001ea192038530a3d6a), [`9cf8e079f`](https://github.com/XiaoMi/hiui/commit/9cf8e079fd3f342d851d7abfecc1c0447c3ac40b), [`51267eb24`](https://github.com/XiaoMi/hiui/commit/51267eb2408ee50970e2d354eaa554a34df00878), [`cfc37dc37`](https://github.com/XiaoMi/hiui/commit/cfc37dc37c83ce737d88262644c07ca23cde0731)]:
51
+ - @hi-ui/loading@4.2.0
52
+ - @hi-ui/empty-state@4.1.0
53
+ - @hi-ui/upload@4.2.0
54
+ - @hi-ui/scrollbar@4.1.0
55
+ - @hi-ui/table@4.4.0
56
+ - @hi-ui/tree@4.5.9
57
+ - @hi-ui/search@4.0.12
58
+ - @hi-ui/date-picker@4.5.0
59
+ - @hi-ui/menu@4.2.0
13
60
 
14
61
  ## 4.4.3
15
62
 
@@ -44,14 +44,19 @@ var enUS = {
44
44
  monthShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
45
45
  week: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
46
46
  placeholders: {
47
- date: ['Select Date'],
48
- month: ['Select Month'],
49
47
  year: ['Select Year'],
50
- time: ['Select Time'],
51
- daterange: ['Select Start Date', 'Select End Date'],
48
+ quarter: ['Select Quarter'],
49
+ month: ['Select Month'],
52
50
  week: ['Select Week'],
51
+ date: ['Select Date'],
52
+ time: ['Select Time'],
53
+ yearrange: ['Select Start Year', 'Select End Year'],
54
+ quarterrange: ['Select Start Quarter', 'Select End Quarter'],
55
+ monthrange: ['Select Start Month', 'Select End Month'],
53
56
  weekrange: ['Select Start Week', 'Select End Week'],
54
- timeperiod: ['Select Start Date Time', 'Select Start End Time']
57
+ daterange: ['Select Start Date', 'Select End Date'],
58
+ timeperiod: ['Select Start Date Time', 'Select Start End Time'],
59
+ timerange: ['Select Start Date Time', 'Select Start End Time']
55
60
  },
56
61
  timePeriod: 'Period',
57
62
  hours: 'H',
@@ -44,13 +44,17 @@ var zhCN = {
44
44
  monthShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
45
45
  week: ['日', '一', '二', '三', '四', '五', '六'],
46
46
  placeholders: {
47
- date: ['请选择日期'],
48
- month: ['请选择月'],
49
47
  year: ['请选择年'],
50
- time: ['请选择时间'],
51
- daterange: ['开始日期', '结束日期'],
48
+ quarter: ['请选择季度'],
49
+ month: ['请选择月'],
52
50
  week: ['请选择周'],
51
+ date: ['请选择日期'],
52
+ time: ['请选择时间'],
53
+ yearrange: ['开始年', '结束年'],
54
+ quarterrange: ['开始季度', '结束季度'],
55
+ monthrange: ['开始月', '结束月'],
53
56
  weekrange: ['开始周', '结束周'],
57
+ daterange: ['开始日期', '结束日期'],
54
58
  timeperiod: ['开始时间', '结束时间'],
55
59
  timerange: ['请选择开始时间', '请选择结束时间']
56
60
  },
@@ -44,13 +44,17 @@ var zhHK = {
44
44
  monthShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
45
45
  week: ['日', '壹', '二', '三', '四', '五', '六'],
46
46
  placeholders: {
47
- date: ['請選擇日期'],
48
- month: ['請選擇月'],
49
47
  year: ['請選擇年'],
50
- time: ['請選擇時間'],
51
- daterange: ['開始日期', '結束日期'],
48
+ quarter: ['請選擇季度'],
49
+ month: ['請選擇月'],
52
50
  week: ['請選擇周'],
51
+ date: ['請選擇日期'],
52
+ time: ['請選擇時間'],
53
+ yearrange: ['開始年', '結束年'],
54
+ quarterrange: ['開始季度', '結束季度'],
55
+ monthrange: ['開始月', '結束月'],
53
56
  weekrange: ['開始周', '結束周'],
57
+ daterange: ['開始日期', '結束日期'],
54
58
  timeperiod: ['開始時間', '結束時間'],
55
59
  timerange: ['請選擇開始時間', '請選擇結束時間']
56
60
  },
@@ -44,13 +44,17 @@ var zhTW = {
44
44
  monthShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
45
45
  week: ['日', '壹', '二', '三', '四', '五', '六'],
46
46
  placeholders: {
47
- date: ['請選擇日期'],
48
- month: ['請選擇月'],
49
47
  year: ['請選擇年'],
50
- time: ['請選擇時間'],
51
- daterange: ['開始日期', '結束日期'],
48
+ quarter: ['請選擇季度'],
49
+ month: ['請選擇月'],
52
50
  week: ['請選擇周'],
51
+ date: ['請選擇日期'],
52
+ time: ['請選擇時間'],
53
+ yearrange: ['開始年', '結束年'],
54
+ quarterrange: ['開始季度', '結束季度'],
55
+ monthrange: ['開始月', '結束月'],
53
56
  weekrange: ['開始周', '結束周'],
57
+ daterange: ['開始日期', '結束日期'],
54
58
  timeperiod: ['開始時間', '結束時間'],
55
59
  timerange: ['請選擇開始時間', '請選擇結束時間']
56
60
  },
@@ -38,14 +38,19 @@ var enUS = {
38
38
  monthShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
39
39
  week: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
40
40
  placeholders: {
41
- date: ['Select Date'],
42
- month: ['Select Month'],
43
41
  year: ['Select Year'],
44
- time: ['Select Time'],
45
- daterange: ['Select Start Date', 'Select End Date'],
42
+ quarter: ['Select Quarter'],
43
+ month: ['Select Month'],
46
44
  week: ['Select Week'],
45
+ date: ['Select Date'],
46
+ time: ['Select Time'],
47
+ yearrange: ['Select Start Year', 'Select End Year'],
48
+ quarterrange: ['Select Start Quarter', 'Select End Quarter'],
49
+ monthrange: ['Select Start Month', 'Select End Month'],
47
50
  weekrange: ['Select Start Week', 'Select End Week'],
48
- timeperiod: ['Select Start Date Time', 'Select Start End Time']
51
+ daterange: ['Select Start Date', 'Select End Date'],
52
+ timeperiod: ['Select Start Date Time', 'Select Start End Time'],
53
+ timerange: ['Select Start Date Time', 'Select Start End Time']
49
54
  },
50
55
  timePeriod: 'Period',
51
56
  hours: 'H',
@@ -38,13 +38,17 @@ var zhCN = {
38
38
  monthShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
39
39
  week: ['日', '一', '二', '三', '四', '五', '六'],
40
40
  placeholders: {
41
- date: ['请选择日期'],
42
- month: ['请选择月'],
43
41
  year: ['请选择年'],
44
- time: ['请选择时间'],
45
- daterange: ['开始日期', '结束日期'],
42
+ quarter: ['请选择季度'],
43
+ month: ['请选择月'],
46
44
  week: ['请选择周'],
45
+ date: ['请选择日期'],
46
+ time: ['请选择时间'],
47
+ yearrange: ['开始年', '结束年'],
48
+ quarterrange: ['开始季度', '结束季度'],
49
+ monthrange: ['开始月', '结束月'],
47
50
  weekrange: ['开始周', '结束周'],
51
+ daterange: ['开始日期', '结束日期'],
48
52
  timeperiod: ['开始时间', '结束时间'],
49
53
  timerange: ['请选择开始时间', '请选择结束时间']
50
54
  },
@@ -38,13 +38,17 @@ var zhHK = {
38
38
  monthShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
39
39
  week: ['日', '壹', '二', '三', '四', '五', '六'],
40
40
  placeholders: {
41
- date: ['請選擇日期'],
42
- month: ['請選擇月'],
43
41
  year: ['請選擇年'],
44
- time: ['請選擇時間'],
45
- daterange: ['開始日期', '結束日期'],
42
+ quarter: ['請選擇季度'],
43
+ month: ['請選擇月'],
46
44
  week: ['請選擇周'],
45
+ date: ['請選擇日期'],
46
+ time: ['請選擇時間'],
47
+ yearrange: ['開始年', '結束年'],
48
+ quarterrange: ['開始季度', '結束季度'],
49
+ monthrange: ['開始月', '結束月'],
47
50
  weekrange: ['開始周', '結束周'],
51
+ daterange: ['開始日期', '結束日期'],
48
52
  timeperiod: ['開始時間', '結束時間'],
49
53
  timerange: ['請選擇開始時間', '請選擇結束時間']
50
54
  },
@@ -38,13 +38,17 @@ var zhTW = {
38
38
  monthShort: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
39
39
  week: ['日', '壹', '二', '三', '四', '五', '六'],
40
40
  placeholders: {
41
- date: ['請選擇日期'],
42
- month: ['請選擇月'],
43
41
  year: ['請選擇年'],
44
- time: ['請選擇時間'],
45
- daterange: ['開始日期', '結束日期'],
42
+ quarter: ['請選擇季度'],
43
+ month: ['請選擇月'],
46
44
  week: ['請選擇周'],
45
+ date: ['請選擇日期'],
46
+ time: ['請選擇時間'],
47
+ yearrange: ['開始年', '結束年'],
48
+ quarterrange: ['開始季度', '結束季度'],
49
+ monthrange: ['開始月', '結束月'],
47
50
  weekrange: ['開始周', '結束周'],
51
+ daterange: ['開始日期', '結束日期'],
48
52
  timeperiod: ['開始時間', '結束時間'],
49
53
  timerange: ['請選擇開始時間', '請選擇結束時間']
50
54
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/hiui",
3
- "version": "4.4.4-alpha.0",
3
+ "version": "4.5.1",
4
4
  "description": "The root-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",
@@ -56,15 +56,15 @@
56
56
  "@hi-ui/check-cascader": "^4.2.5",
57
57
  "@hi-ui/check-select": "^4.3.6",
58
58
  "@hi-ui/check-tree-select": "^4.3.4",
59
- "@hi-ui/checkbox": "^4.0.8",
59
+ "@hi-ui/checkbox": "^4.0.9",
60
60
  "@hi-ui/collapse": "^4.1.5",
61
61
  "@hi-ui/counter": "^4.1.8",
62
- "@hi-ui/date-picker": "^4.4.4",
62
+ "@hi-ui/date-picker": "^4.5.0",
63
63
  "@hi-ui/descriptions": "^4.2.4",
64
64
  "@hi-ui/drawer": "^4.1.3",
65
65
  "@hi-ui/dropdown": "^4.1.4",
66
66
  "@hi-ui/ellipsis-tooltip": "^4.1.5",
67
- "@hi-ui/empty-state": "^4.0.7",
67
+ "@hi-ui/empty-state": "^4.1.0",
68
68
  "@hi-ui/filter": "^4.1.4",
69
69
  "@hi-ui/form": "^4.1.5",
70
70
  "@hi-ui/grid": "^4.0.8",
@@ -72,10 +72,10 @@
72
72
  "@hi-ui/input": "^4.0.13",
73
73
  "@hi-ui/input-group": "^4.0.6",
74
74
  "@hi-ui/list": "^4.0.12",
75
- "@hi-ui/loading": "^4.1.3",
76
- "@hi-ui/menu": "^4.1.7",
75
+ "@hi-ui/loading": "^4.2.0",
76
+ "@hi-ui/menu": "^4.2.0",
77
77
  "@hi-ui/message": "^4.0.7",
78
- "@hi-ui/modal": "^4.0.15",
78
+ "@hi-ui/modal": "^4.1.0",
79
79
  "@hi-ui/notification": "^4.1.3",
80
80
  "@hi-ui/number-input": "^4.1.7",
81
81
  "@hi-ui/pagination": "^4.0.14",
@@ -88,8 +88,8 @@
88
88
  "@hi-ui/radio": "^4.1.3",
89
89
  "@hi-ui/rating": "^4.0.9",
90
90
  "@hi-ui/result": "^4.0.7",
91
- "@hi-ui/scrollbar": "^4.1.0-alpha.0",
92
- "@hi-ui/search": "^4.0.11",
91
+ "@hi-ui/scrollbar": "^4.1.0",
92
+ "@hi-ui/search": "^4.0.12",
93
93
  "@hi-ui/select": "^4.2.6",
94
94
  "@hi-ui/slider": "^4.0.10",
95
95
  "@hi-ui/space": "^4.0.9",
@@ -97,7 +97,7 @@
97
97
  "@hi-ui/stepper": "^4.0.7",
98
98
  "@hi-ui/svg-icon": "^4.0.7",
99
99
  "@hi-ui/switch": "^4.0.10",
100
- "@hi-ui/table": "^4.4.0-alpha.0",
100
+ "@hi-ui/table": "^4.4.1",
101
101
  "@hi-ui/tabs": "^4.1.4",
102
102
  "@hi-ui/tag": "^4.2.0",
103
103
  "@hi-ui/textarea": "^4.1.6",
@@ -105,9 +105,9 @@
105
105
  "@hi-ui/timeline": "^4.0.7",
106
106
  "@hi-ui/tooltip": "^4.0.10",
107
107
  "@hi-ui/transfer": "^4.0.13",
108
- "@hi-ui/tree": "^4.5.8",
108
+ "@hi-ui/tree": "^4.5.9",
109
109
  "@hi-ui/tree-select": "^4.1.4",
110
- "@hi-ui/upload": "^4.1.9",
110
+ "@hi-ui/upload": "^4.2.0",
111
111
  "@hi-ui/watermark": "^4.0.7",
112
112
  "@hi-ui/zen-mode": "^4.0.7"
113
113
  },