@frontegg/types 7.122.0 → 7.123.0-alpha.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.
@@ -8,8 +8,10 @@ export interface UsersTableContextData {
8
8
  searching: boolean;
9
9
  identifierType?: string;
10
10
  filterType?: string;
11
+ selectedRoleIds?: readonly string[];
11
12
  onSearch: (query: string) => void;
12
13
  setFilterType?: (filterType: string) => void;
14
+ setSelectedRoleIds?: (roleIds: string[]) => void;
13
15
  }
14
16
  export interface UseTableStoreOptions {
15
17
  id?: string;
@@ -35,6 +35,38 @@ export interface UsersLocalization {
35
35
  * Filter option for phone number
36
36
  */
37
37
  filterOptionPhoneNumber: string;
38
+ /**
39
+ * Filter option for roles
40
+ */
41
+ filterOptionRoles: string;
42
+ /**
43
+ * Roles filter menu header text (e.g. Role (any selected))
44
+ */
45
+ filterRolesHeader: string;
46
+ /**
47
+ * Roles filter empty state text when search has no matches
48
+ */
49
+ filterRolesEmpty: string;
50
+ /**
51
+ * Roles filter search input placeholder
52
+ */
53
+ filterRolesSearchPlaceholder: string;
54
+ /**
55
+ * Placeholder shown in the users search box when role filter is active with no selection
56
+ */
57
+ filterRolesSelectPlaceholder: string;
58
+ /**
59
+ * Clear all selected roles action
60
+ */
61
+ filterRolesClearAll: string;
62
+ /**
63
+ * Done action that closes the roles filter menu
64
+ */
65
+ filterRolesDone: string;
66
+ /**
67
+ * Badge shown next to custom (tenant) roles
68
+ */
69
+ filterRolesCustomBadge: string;
38
70
  /**
39
71
  * Search by email placeholder (default when no filters available)
40
72
  */
@@ -284,9 +284,13 @@ export interface LoginLocalization {
284
284
  */
285
285
  forceMfaEnterSetupKey: string;
286
286
  /**
287
- * Footer link under "Authenticate another way" for manual TOTP setup
287
+ * Plain-text prompt under "Authenticate another way" (e.g. "Can't scan?")
288
288
  */
289
- forceMfaCantScanSetupManually: string;
289
+ forceMfaCantScan: string;
290
+ /**
291
+ * Link next to forceMfaCantScan for manual TOTP setup (e.g. "Set up manually")
292
+ */
293
+ forceMfaSetupManually: string;
290
294
  /**
291
295
  * Manual setup key flow — step 1 (legacy; prefer forceMfaSetupKeyDescription)
292
296
  */
@@ -86,6 +86,7 @@ export interface SearchFilterOptions {
86
86
  fullName?: SearchFilterOption;
87
87
  username?: SearchFilterOption;
88
88
  phoneNumber?: SearchFilterOption;
89
+ roles?: SearchFilterOption;
89
90
  }
90
91
  export interface UsersPageThemeOptions extends PageThemeOptions {
91
92
  /** @Deprecated please use inviteUserModal.inviteByEmail.enabled = false to hide invite with email **/
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.122.0
1
+ /** @license Frontegg v7.123.0-alpha.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.122.0
1
+ /** @license Frontegg v7.123.0-alpha.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.122.0",
3
+ "version": "7.123.0-alpha.0",
4
4
  "main": "./node/index.js",
5
5
  "author": "Frontegg LTD",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
8
  "@babel/runtime": "^7.18.6",
9
- "@frontegg/redux-store": "7.122.0",
9
+ "@frontegg/redux-store": "7.123.0-alpha.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },