@box/user-selector 1.74.28 → 1.74.30
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Combobox as L, Text as p, Tooltip as x } from "@box/blueprint-web";
|
|
2
2
|
import { AvatarPlusBadge as b } from "@box/blueprint-web-assets/icons/Line";
|
|
3
3
|
import a from "clsx";
|
|
4
4
|
import C, { forwardRef as d } from "react";
|
|
5
5
|
import { useIntl as v } from "react-intl";
|
|
6
6
|
import S from "./messages.js";
|
|
7
7
|
import { isUserContactType as O } from "./utils/isUserContactType.js";
|
|
8
|
-
import {
|
|
8
|
+
import { jsx as r, jsxs as _ } from "react/jsx-runtime";
|
|
9
9
|
import '../../styles/user-selector-list-item.css';const U = "_userSelectorListItem_1m2q6_1", q = "_listItemAvatar_1m2q6_18", A = "_userInfo_1m2q6_21", g = "_title_1m2q6_28", E = "_userName_1m2q6_34", T = "_userEmail_1m2q6_35", k = "_userSelectorListItemInviteIcon_1m2q6_43", o = {
|
|
10
10
|
userSelectorListItem: U,
|
|
11
11
|
listItemAvatar: q,
|
|
@@ -59,7 +59,7 @@ import '../../styles/user-selector-list-item.css';const U = "_userSelectorListIt
|
|
|
59
59
|
className: o.userSelectorListItemInviteIcon
|
|
60
60
|
})]
|
|
61
61
|
});
|
|
62
|
-
return i ? f : /* @__PURE__ */ r(
|
|
62
|
+
return i ? f : /* @__PURE__ */ r(x, {
|
|
63
63
|
content: N(S.inviteCollaboratorsTooltip),
|
|
64
64
|
side: "right",
|
|
65
65
|
children: f
|
|
@@ -94,7 +94,7 @@ import '../../styles/user-selector-list-item.css';const U = "_userSelectorListIt
|
|
|
94
94
|
renderCustomOption: u,
|
|
95
95
|
...i
|
|
96
96
|
} = t, l = O(e), I = l ? !0 : e.hideOnClick ?? !0;
|
|
97
|
-
return /* @__PURE__ */ r(
|
|
97
|
+
return /* @__PURE__ */ r(L.Option, {
|
|
98
98
|
ref: m,
|
|
99
99
|
className: s,
|
|
100
100
|
hideOnClick: I,
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/user-selector",
|
|
3
|
-
"version": "1.74.
|
|
3
|
+
"version": "1.74.30",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@box/blueprint-web": "^14.4.
|
|
6
|
-
"@box/blueprint-web-assets": "^4.111.
|
|
7
|
-
"@box/combobox-with-api": "^1.42.
|
|
5
|
+
"@box/blueprint-web": "^14.4.2",
|
|
6
|
+
"@box/blueprint-web-assets": "^4.111.25",
|
|
7
|
+
"@box/combobox-with-api": "^1.42.30",
|
|
8
8
|
"lodash": "^4.17.15",
|
|
9
9
|
"react": "^17.0.0 || ^18.0.0",
|
|
10
10
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
11
11
|
"react-intl": "6.4.2"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@box/blueprint-web": "^14.4.
|
|
15
|
-
"@box/blueprint-web-assets": "^4.111.
|
|
16
|
-
"@box/combobox-with-api": "^1.42.
|
|
17
|
-
"@box/storybook-utils": "^0.17.
|
|
14
|
+
"@box/blueprint-web": "^14.4.2",
|
|
15
|
+
"@box/blueprint-web-assets": "^4.111.25",
|
|
16
|
+
"@box/combobox-with-api": "^1.42.30",
|
|
17
|
+
"@box/storybook-utils": "^0.17.25",
|
|
18
18
|
"@types/lodash": "^4.17.14",
|
|
19
19
|
"react": "^18.3.0",
|
|
20
20
|
"react-dom": "^18.3.0",
|