@box/user-selector 1.56.6 → 1.57.0

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,12 +1,12 @@
1
1
  export default {
2
- "groupSharedFeatures.userSelector.emptyMessage": "⟦萬萬萬萬萬萬 Νо ćòļľáвõŗâŧσřŝ ƒоųйď 國國國國國國⟧",
3
- "groupSharedFeatures.userSelector.errorMessage": "⟦萬萬萬萬萬萬萬萬 Ẁę ẁέяè ùиàьļê το ļοαď ûѕėґş 國國國國國國國國⟧",
4
- "groupSharedFeatures.userSelector.errorMessageDescription": "⟦萬萬萬萬萬萬 Pľĕāѕè τѓў άĝαìŋ ļãţěř 國國國國國國⟧",
5
- "groupSharedFeatures.userSelector.inviteCollaborators": "⟦萬萬萬萬萬 Ĭńνίţĕ Ćοľļąвöřαŧοѓѕ 國國國國國⟧",
6
- "groupSharedFeatures.userSelector.inviteCollaboratorsTooltip": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ťĥĭş Ρèѓşőή ďõєşй'τ нąνе äĉ¢ëşş αńď ẁóŋ'ŧ ьє ŋóτίƒîëď μπĺėѕş ìηνіťēď. 國國國國國國國國國國國國國國國國國國國國⟧",
7
- "groupSharedFeatures.userSelector.loading": "⟦萬萬 Ĺσáďίиĝ 國國⟧",
8
- "groupSharedFeatures.userSelector.noResults": "⟦萬萬 Йо řêśùľţѕ 國國⟧",
9
- "groupSharedFeatures.userSelector.tryAgain": "⟦萬萬 Ŧѓŷ άġäίņ 國國⟧",
10
- "groupSharedFeatures.userSelector.userAvatar": "⟦萬萬萬 Ŭŝëŕ åνąτąя 國國國⟧",
11
- "groupSharedFeatures.userSelector.userName": "⟦萬萬萬萬萬萬萬 {name} {isCurrentUser, select, true { ()} other {}} 國國國國國國國⟧"
2
+ "groupSharedFeatures.userSelector.emptyMessage": "⟦萬萬萬萬萬萬 Иό ćòľļâьóŕåţσяѕ ƒóúлď 國國國國國國⟧",
3
+ "groupSharedFeatures.userSelector.errorMessage": "⟦萬萬萬萬萬萬萬萬 Шé ωêґé ūиáьļє τö ļŏāď ųŝеяş 國國國國國國國國⟧",
4
+ "groupSharedFeatures.userSelector.errorMessageDescription": "⟦萬萬萬萬萬萬 Pļєάѕé ţґý ãġáîή ĺăťèя 國國國國國國⟧",
5
+ "groupSharedFeatures.userSelector.inviteCollaborators": "⟦萬萬萬萬萬 Įńνīτē Çõļľάьόгāŧôŕŝ 國國國國國⟧",
6
+ "groupSharedFeatures.userSelector.inviteCollaboratorsTooltip": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ťĥįѕ Ρěŗѕóň ďőёşп'ţ ħáνέ αçċēśş âйď ẁöŋ'ť вé πόţïƒϊέď цпĺёśś ιлνïτέď. 國國國國國國國國國國國國國國國國國國國國⟧",
7
+ "groupSharedFeatures.userSelector.loading": "⟦萬萬 Ĺøǻďïпġ 國國⟧",
8
+ "groupSharedFeatures.userSelector.noResults": "⟦萬萬 Νō ґėѕūĺťŝ 國國⟧",
9
+ "groupSharedFeatures.userSelector.tryAgain": "⟦萬萬 Ŧґŷ áĝąĩń 國國⟧",
10
+ "groupSharedFeatures.userSelector.userAvatar": "⟦萬萬萬 Ūŝêř āνäťâŗ 國國國⟧",
11
+ "groupSharedFeatures.userSelector.userName": "⟦萬萬萬萬萬萬萬 {name} {isCurrentUser, select, true { ()} other {}} 國國國國國國國⟧"
12
12
  }
@@ -1,20 +1,20 @@
1
1
  # Text displayed when no results are found
2
- groupSharedFeatures.userSelector.emptyMessage = ⟦萬萬萬萬萬萬 Νо ćòļľáвõŗâŧσřŝ ƒоųйď 國國國國國國⟧
2
+ groupSharedFeatures.userSelector.emptyMessage = ⟦萬萬萬萬萬萬 Иό ćòľļâьóŕåţσяѕ ƒóúлď 國國國國國國⟧
3
3
  # Text displayed when an error occurs
4
- groupSharedFeatures.userSelector.errorMessage = ⟦萬萬萬萬萬萬萬萬 Ẁę ẁέяè ùиàьļê το ļοαď ûѕėґş 國國國國國國國國⟧
4
+ groupSharedFeatures.userSelector.errorMessage = ⟦萬萬萬萬萬萬萬萬 Шé ωêґé ūиáьļє τö ļŏāď ųŝеяş 國國國國國國國國⟧
5
5
  # Text displayed when an error occurs
6
- groupSharedFeatures.userSelector.errorMessageDescription = ⟦萬萬萬萬萬萬 Pľĕāѕè τѓў άĝαìŋ ļãţěř 國國國國國國⟧
6
+ groupSharedFeatures.userSelector.errorMessageDescription = ⟦萬萬萬萬萬萬 Pļєάѕé ţґý ãġáîή ĺăťèя 國國國國國國⟧
7
7
  # Text displayed when no results are found and the user can invite collaborators
8
- groupSharedFeatures.userSelector.inviteCollaborators = ⟦萬萬萬萬萬 Ĭńνίţĕ Ćοľļąвöřαŧοѓѕ 國國國國國⟧
8
+ groupSharedFeatures.userSelector.inviteCollaborators = ⟦萬萬萬萬萬 Įńνīτē Çõļľάьόгāŧôŕŝ 國國國國國⟧
9
9
  # Tooltip text displayed when a user is not a collaborator
10
- groupSharedFeatures.userSelector.inviteCollaboratorsTooltip = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ťĥĭş Ρèѓşőή ďõєşй'τ нąνе äĉ¢ëşş αńď ẁóŋ'ŧ ьє ŋóτίƒîëď μπĺėѕş ìηνіťēď. 國國國國國國國國國國國國國國國國國國國國⟧
10
+ groupSharedFeatures.userSelector.inviteCollaboratorsTooltip = ⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Ťĥįѕ Ρěŗѕóň ďőёşп'ţ ħáνέ αçċēśş âйď ẁöŋ'ť вé πόţïƒϊέď цпĺёśś ιлνïτέď. 國國國國國國國國國國國國國國國國國國國國⟧
11
11
  # Aria label for loading indicator
12
- groupSharedFeatures.userSelector.loading = ⟦萬萬 Ĺσáďίиĝ 國國⟧
12
+ groupSharedFeatures.userSelector.loading = ⟦萬萬 Ĺøǻďïпġ 國國⟧
13
13
  # Text displayed when no results are found
14
- groupSharedFeatures.userSelector.noResults = ⟦萬萬 Йо řêśùľţѕ 國國⟧
14
+ groupSharedFeatures.userSelector.noResults = ⟦萬萬 Νō ґėѕūĺťŝ 國國⟧
15
15
  # Text for the "Try again" button
16
- groupSharedFeatures.userSelector.tryAgain = ⟦萬萬 Ŧѓŷ άġäίņ 國國⟧
16
+ groupSharedFeatures.userSelector.tryAgain = ⟦萬萬 Ŧґŷ áĝąĩń 國國⟧
17
17
  # Alt text for user avatar image
18
- groupSharedFeatures.userSelector.userAvatar = ⟦萬萬萬 Ŭŝëŕ åνąτąя 國國國⟧
18
+ groupSharedFeatures.userSelector.userAvatar = ⟦萬萬萬 Ūŝêř āνäťâŗ 國國國⟧
19
19
  # User name with optional "me" marker for current user
20
- groupSharedFeatures.userSelector.userName = ⟦萬萬萬萬萬萬萬 {name} {isCurrentUser, select, true { ()} other {}} 國國國國國國國⟧
20
+ groupSharedFeatures.userSelector.userName = ⟦萬萬萬萬萬萬萬 {name} {isCurrentUser, select, true { ()} other {}} 國國國國國國國⟧
@@ -9,5 +9,9 @@ export type UserSelectorContainerProps<T extends UserSelectorOption = UserContac
9
9
  Given an array of UserContactTypes, returns a Promise of a dictionary with user ids mapped to avatar URLs
10
10
  */
11
11
  fetchAvatarUrls: (userContacts: UserContactType[]) => Promise<FetchedAvatarUrls>;
12
+ /**
13
+ * Callback when text is pasted into the input
14
+ */
15
+ onPaste?: React.ClipboardEventHandler<HTMLInputElement>;
12
16
  };
13
17
  export declare const UserSelectorContainer: <T extends UserSelectorOption = UserContactType>({ fetchAvatarUrls, fetchUsers, onSelectedUsersChange, selectedUsers, renderCustomOption, ...rest }: UserSelectorContainerProps<T>) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@box/user-selector",
3
- "version": "1.56.6",
3
+ "version": "1.57.0",
4
4
  "peerDependencies": {
5
- "@box/blueprint-web": "^12.127.0",
6
- "@box/blueprint-web-assets": "^4.96.7",
7
- "@box/combobox-with-api": "^1.24.6",
5
+ "@box/blueprint-web": "^12.128.0",
6
+ "@box/blueprint-web-assets": "^4.96.9",
7
+ "@box/combobox-with-api": "^1.25.0",
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": "^12.127.0",
15
- "@box/blueprint-web-assets": "^4.96.7",
16
- "@box/combobox-with-api": "^1.24.6",
17
- "@box/storybook-utils": "^0.16.18",
14
+ "@box/blueprint-web": "^12.128.0",
15
+ "@box/blueprint-web-assets": "^4.96.9",
16
+ "@box/combobox-with-api": "^1.25.0",
17
+ "@box/storybook-utils": "^0.16.20",
18
18
  "@types/lodash": "^4.17.14",
19
19
  "react": "^18.3.0",
20
20
  "react-dom": "^18.3.0",