gd-sprest-bs 8.9.3 → 8.9.4

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.
@@ -20,7 +20,13 @@ exports.PeoplePicker = function (props) {
20
20
  // Render a tooltip
21
21
  var tooltip = core_1.Components.Tooltip({
22
22
  el: elSelectedUsers,
23
- content: '<small class="text-white">' + userInfo.LoginName + '</small>',
23
+ content: [
24
+ '<div class="text-white text-wrap text-break">',
25
+ '<small>' + user.EntityData.Email + '</small>',
26
+ '<br />',
27
+ '<small>' + user.Key + '</small>',
28
+ '</div>'
29
+ ].join('\n'),
24
30
  placement: core_1.Components.TooltipPlacements.Top,
25
31
  type: core_1.Components.TooltipTypes.Primary,
26
32
  options: {
@@ -38,7 +44,13 @@ exports.PeoplePicker = function (props) {
38
44
  // Render a tooltip
39
45
  var tooltip_1 = core_1.Components.Tooltip({
40
46
  el: elSelectedUsers,
41
- content: '<small class="text-white">' + userInfo.LoginName + '</small>',
47
+ content: [
48
+ '<div class="text-white text-wrap text-break">',
49
+ '<small>' + user.EntityData.Email + '</small>',
50
+ '<br />',
51
+ '<small>' + user.Key + '</small>',
52
+ '</div>'
53
+ ].join('\n'),
42
54
  placement: core_1.Components.TooltipPlacements.Top,
43
55
  type: core_1.Components.TooltipTypes.Primary,
44
56
  options: {
@@ -167,12 +179,15 @@ exports.PeoplePicker = function (props) {
167
179
  // Create a tooltip for this item
168
180
  core_1.Components.Tooltip({
169
181
  target: elItem,
170
- content: '<small class="text-white">' + user.Key + '</small>',
182
+ content: [
183
+ '<div class="text-white text-wrap text-break">',
184
+ '<small>' + user.EntityData.Email + '</small>',
185
+ '<br />',
186
+ '<small>' + user.Key + '</small>',
187
+ '</div>'
188
+ ].join('\n'),
171
189
  placement: core_1.Components.TooltipPlacements.Left,
172
- type: core_1.Components.TooltipTypes.Primary,
173
- options: {
174
- maxWidth: "none"
175
- }
190
+ type: core_1.Components.TooltipTypes.Primary
176
191
  });
177
192
  // Set the click event
178
193
  elItem.addEventListener("click", function (ev) {