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.
- package/build/components/peoplePicker/index.js +22 -7
- package/dist/gd-sprest-bs-icons.js +262 -262
- package/dist/gd-sprest-bs-icons.min.js +1 -1
- package/dist/gd-sprest-bs.js +262 -262
- package/dist/gd-sprest-bs.min.js +1 -1
- package/package.json +2 -2
- package/pnpm-lock.yaml +7 -7
- package/src/components/peoplePicker/index.ts +22 -7
|
@@ -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:
|
|
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:
|
|
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:
|
|
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) {
|