@qn-pandora/pandora-component 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -1,6 +1,23 @@
1
1
  {
2
2
  "name": "@qn-pandora/pandora-component",
3
3
  "entries": [
4
+ {
5
+ "version": "4.3.2",
6
+ "tag": "@qn-pandora/pandora-component_v4.3.2",
7
+ "date": "Thu, 16 Nov 2023 11:14:33 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "2023-11-16发包"
12
+ }
13
+ ],
14
+ "dependency": [
15
+ {
16
+ "comment": "Updating dependency \"@qn-pandora/app-sdk\" from `^3.3.1` to `^3.3.2`"
17
+ }
18
+ ]
19
+ }
20
+ },
4
21
  {
5
22
  "version": "4.3.1",
6
23
  "tag": "@qn-pandora/pandora-component_v4.3.1",
package/CHANGELOG.md CHANGED
@@ -1,50 +1,65 @@
1
1
  # Change Log - @qn-pandora/pandora-component
2
2
 
3
- This log was last generated on Mon, 30 Oct 2023 08:56:57 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 16 Nov 2023 11:14:33 GMT and should not be manually modified.
4
+
5
+ ## 4.3.2
6
+
7
+ Thu, 16 Nov 2023 11:14:33 GMT
8
+
9
+ ### Patches
10
+
11
+ - 2023-11-16 发包
4
12
 
5
13
  ## 4.3.1
14
+
6
15
  Mon, 30 Oct 2023 08:56:57 GMT
7
16
 
8
17
  ### Patches
9
18
 
10
- - 2023-10-30发包
19
+ - 2023-10-30 发包
11
20
 
12
21
  ## 4.3.0
22
+
13
23
  Tue, 24 Oct 2023 08:06:30 GMT
14
24
 
15
25
  ### Minor changes
16
26
 
17
- - 2023-10-24发包
27
+ - 2023-10-24 发包
18
28
 
19
29
  ## 4.2.0
30
+
20
31
  Mon, 25 Sep 2023 07:36:39 GMT
21
32
 
22
33
  ### Minor changes
23
34
 
24
- - 2023-09-25发包
35
+ - 2023-09-25 发包
25
36
 
26
37
  ## 4.1.6
38
+
27
39
  Fri, 25 Aug 2023 10:29:46 GMT
28
40
 
29
41
  ### Patches
30
42
 
31
- - 2023-08-25发包
43
+ - 2023-08-25 发包
32
44
 
33
45
  ## 4.1.5
46
+
34
47
  Fri, 25 Aug 2023 09:17:44 GMT
35
48
 
36
49
  ### Patches
37
50
 
38
- - 2023-08-25发包
51
+ - 2023-08-25 发包
39
52
 
40
53
  ## 4.1.4
54
+
41
55
  Thu, 24 Aug 2023 09:24:03 GMT
42
56
 
43
57
  ### Patches
44
58
 
45
- - 2023.08.24发包
59
+ - 2023.08.24 发包
46
60
 
47
61
  ## 4.1.3
62
+
48
63
  Wed, 26 Jul 2023 09:10:30 GMT
49
64
 
50
65
  ### Patches
@@ -52,55 +67,63 @@ Wed, 26 Jul 2023 09:10:30 GMT
52
67
  - 2023.07.26 publish
53
68
 
54
69
  ## 4.1.2
70
+
55
71
  Tue, 25 Jul 2023 09:47:47 GMT
56
72
 
57
73
  ### Patches
58
74
 
59
- - 2023.07.25发包
75
+ - 2023.07.25 发包
60
76
 
61
77
  ## 4.1.1
78
+
62
79
  Thu, 20 Jul 2023 07:02:58 GMT
63
80
 
64
81
  ### Patches
65
82
 
66
- - 2023.07.20发包
83
+ - 2023.07.20 发包
67
84
 
68
85
  ## 4.1.0
86
+
69
87
  Tue, 27 Jun 2023 06:38:00 GMT
70
88
 
71
89
  ### Minor changes
72
90
 
73
- - 2023.06.27发包
91
+ - 2023.06.27 发包
74
92
 
75
93
  ## 4.0.12
94
+
76
95
  Mon, 29 May 2023 10:29:42 GMT
77
96
 
78
97
  ### Patches
79
98
 
80
- - 2023.05.29发包
99
+ - 2023.05.29 发包
81
100
 
82
101
  ## 4.0.11
102
+
83
103
  Wed, 24 May 2023 07:19:25 GMT
84
104
 
85
105
  ### Patches
86
106
 
87
- - 2023.05.24发包
107
+ - 2023.05.24 发包
88
108
 
89
109
  ## 4.0.10
110
+
90
111
  Tue, 23 May 2023 03:12:29 GMT
91
112
 
92
113
  ### Patches
93
114
 
94
- - 2023.05.23发布
115
+ - 2023.05.23 发布
95
116
 
96
117
  ## 4.0.9
118
+
97
119
  Wed, 19 Apr 2023 03:15:25 GMT
98
120
 
99
121
  ### Patches
100
122
 
101
- - 2023.04.19发包
123
+ - 2023.04.19 发包
102
124
 
103
125
  ## 4.0.8
126
+
104
127
  Tue, 04 Apr 2023 08:26:02 GMT
105
128
 
106
129
  ### Patches
@@ -108,20 +131,23 @@ Tue, 04 Apr 2023 08:26:02 GMT
108
131
  - 2023.04.04
109
132
 
110
133
  ## 4.0.7
134
+
111
135
  Thu, 23 Mar 2023 07:12:05 GMT
112
136
 
113
137
  ### Patches
114
138
 
115
- - 2023.03.23发布
139
+ - 2023.03.23 发布
116
140
 
117
141
  ## 4.0.6
142
+
118
143
  Mon, 13 Mar 2023 11:30:17 GMT
119
144
 
120
145
  ### Patches
121
146
 
122
- - 2023.03.13发布
147
+ - 2023.03.13 发布
123
148
 
124
149
  ## 4.0.5
150
+
125
151
  Wed, 15 Feb 2023 09:26:50 GMT
126
152
 
127
153
  ### Patches
@@ -129,6 +155,7 @@ Wed, 15 Feb 2023 09:26:50 GMT
129
155
  - 2023.02.15 发布
130
156
 
131
157
  ## 4.0.4
158
+
132
159
  Wed, 11 Jan 2023 08:25:05 GMT
133
160
 
134
161
  ### Patches
@@ -136,6 +163,7 @@ Wed, 11 Jan 2023 08:25:05 GMT
136
163
  - 2023-01-11 发布
137
164
 
138
165
  ## 4.0.3
166
+
139
167
  Tue, 10 Jan 2023 03:03:58 GMT
140
168
 
141
169
  ### Patches
@@ -143,20 +171,23 @@ Tue, 10 Jan 2023 03:03:58 GMT
143
171
  - 2023-01-10 发布
144
172
 
145
173
  ## 4.0.2
174
+
146
175
  Tue, 29 Nov 2022 03:37:07 GMT
147
176
 
148
177
  ### Patches
149
178
 
150
- - 2022.11.29发布
179
+ - 2022.11.29 发布
151
180
 
152
181
  ## 4.0.1
182
+
153
183
  Mon, 17 Oct 2022 06:49:55 GMT
154
184
 
155
185
  ### Patches
156
186
 
157
- - 22年10月16日发布
187
+ - 22 10 16 日发布
158
188
 
159
189
  ## 4.0.0
190
+
160
191
  Tue, 14 Jun 2022 09:21:39 GMT
161
192
 
162
193
  ### Breaking changes
@@ -164,9 +195,9 @@ Tue, 14 Jun 2022 09:21:39 GMT
164
195
  - 很久没发版了,统一发个大版本
165
196
 
166
197
  ## 3.0.0
198
+
167
199
  Mon, 20 Dec 2021 11:46:43 GMT
168
200
 
169
201
  ### Breaking changes
170
202
 
171
- - 仓库迁移至rush后统一发个大版本
172
-
203
+ - 仓库迁移至 rush 后统一发个大版本
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import type { TooltipPlacement } from 'antd/es/tooltip';
2
3
  /**
3
4
  * 对于超出容器宽度的名称进行省略,使用Tooltip展示。
4
5
  */
@@ -7,5 +8,6 @@ export interface INameLimiterProps {
7
8
  name: string;
8
9
  /** 用于显示Tooltip的title */
9
10
  title?: string;
11
+ placement?: TooltipPlacement;
10
12
  }
11
- export default function NameLimiter({ name, title }: INameLimiterProps): JSX.Element;
13
+ export default function NameLimiter({ name, title, placement }: INameLimiterProps): JSX.Element;
@@ -18,7 +18,7 @@ import React, { useLayoutEffect, useRef, useState } from 'react';
18
18
  import { Tooltip } from 'antd';
19
19
  import { SDK_PREFIX } from '../../constants/style';
20
20
  export default function NameLimiter(_a) {
21
- var name = _a.name, title = _a.title;
21
+ var name = _a.name, title = _a.title, placement = _a.placement;
22
22
  var _b = __read(useState(false), 2), ellipsis = _b[0], setEllipsis = _b[1];
23
23
  var _c = __read(useState(false), 2), visible = _c[0], setVisible = _c[1];
24
24
  var ref = useRef(null);
@@ -29,6 +29,6 @@ export default function NameLimiter(_a) {
29
29
  }
30
30
  setEllipsis(ref.current.clientWidth < ref.current.scrollWidth);
31
31
  });
32
- return (React.createElement(Tooltip, { overlayClassName: SDK_PREFIX + "-name-limit-tooltip", placement: "top", title: title || name, visible: (!!title || ellipsis) && visible, onVisibleChange: setVisible },
32
+ return (React.createElement(Tooltip, { overlayClassName: SDK_PREFIX + "-name-limit-tooltip", placement: placement || 'top', title: title || name, visible: (!!title || ellipsis) && visible, onVisibleChange: setVisible },
33
33
  React.createElement("span", { className: SDK_PREFIX + "-name-limit", ref: ref }, name)));
34
34
  }