@bigbinary/neeto-team-members-frontend 2.8.19 → 2.8.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-team-members-frontend",
3
- "version": "2.8.19",
3
+ "version": "2.8.21",
4
4
  "description": "To manage team members across neeto products.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-team-members-frontend#readme",
@@ -2,11 +2,11 @@
2
2
  "neetoTeamMembers": {
3
3
  "alerts": {
4
4
  "messages": {
5
- "activateMember_one": "You are activating the member <strong>{{person}}</strong>.",
5
+ "activateMember_one": "You are activating the {{metaName}} <strong>{{person}}</strong>.",
6
6
  "activateMember_other": "You are activating <strong>{{count}}</strong> {{metaName}}.",
7
7
  "changeRole_one": "You are changing the role of <strong>{{person}}</strong> to <strong>{{role}}</strong>.",
8
8
  "changeRole_other": "You are changing the role of <strong>{{count}}</strong> {{metaName}} to <strong>{{role}}</strong>.",
9
- "deactivateMember_one": "You are deactivating the member <strong>{{person}}</strong>.",
9
+ "deactivateMember_one": "You are deactivating the {{metaName}} <strong>{{person}}</strong>.",
10
10
  "deactivateMember_other": "You are deactivating <strong>{{count}}</strong> {{metaName}}.",
11
11
  "deletingRole": "You are permanently deleting the role <strong>{{name}}</strong>. This can't be undone."
12
12
  }
@@ -87,8 +87,6 @@
87
87
  "roleNotFound_other": "There are no roles to show"
88
88
  },
89
89
  "metaNames": {
90
- "agent_one": "Agent",
91
- "agent_other": "Agents",
92
90
  "member_one": "Member",
93
91
  "member_other": "Members"
94
92
  },
package/types.d.ts CHANGED
@@ -116,6 +116,8 @@ type TeamMembersConfig = {
116
116
  filterColumns?: FilterColumns[];
117
117
  header?: MembersHeader;
118
118
  hiddenBulkActions?: DefaultBulkActions[];
119
+ metaNameSingular?: string;
120
+ metaNamePlural?: string;
119
121
  otherBulkActions?: React.FC;
120
122
  otherColumns?: object[];
121
123
  permissions: Omit<Permission, "delete">;