@truedat/auth 8.14.4 → 8.14.5
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 +4 -4
- package/src/groups/components/GroupCard.js +2 -2
- package/src/groups/components/GroupCards.js +129 -37
- package/src/groups/components/GroupForm.js +13 -7
- package/src/groups/components/GroupFormModal.js +8 -7
- package/src/groups/components/GroupInfoModal.js +6 -6
- package/src/groups/components/GroupMemberPicker.js +2 -4
- package/src/groups/components/GroupRouteModal.js +15 -10
- package/src/groups/components/__tests__/GroupCards.spec.js +94 -0
- package/src/groups/components/__tests__/GroupForm.spec.js +2 -2
- package/src/groups/components/__tests__/GroupModals.spec.js +42 -16
- package/src/groups/components/__tests__/__snapshots__/GroupCards.spec.js.snap +14 -0
- package/src/styles/Groups.less +96 -131
- package/src/styles/UserCard.less +60 -226
- package/src/styles/UserModals.less +6 -1
- package/src/styles/Users.less +40 -7
- package/src/users/components/EditUserModal.js +3 -3
- package/src/users/components/UserAcls.js +61 -0
- package/src/users/components/UserCard.js +4 -1
- package/src/users/components/UserCards.js +35 -120
- package/src/users/components/UserInfoModal.js +22 -62
- package/src/users/components/__tests__/EditUser.spec.js +1 -1
- package/src/users/components/__tests__/UserAcls.spec.js +40 -1
- package/src/users/components/__tests__/UserCard.spec.js +1 -1
- package/src/users/components/__tests__/UserCards.spec.js +0 -45
- package/src/users/components/__tests__/UserModals.spec.js +54 -7
- package/src/users/components/__tests__/__snapshots__/UserCard.spec.js.snap +2 -0
- package/src/users/components/__tests__/__snapshots__/UserCards.spec.js.snap +20 -69
|
@@ -6,7 +6,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
6
6
|
class="users-toolbar"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
|
-
class="ui
|
|
9
|
+
class="ui left icon input"
|
|
10
10
|
>
|
|
11
11
|
<i
|
|
12
12
|
aria-hidden="true"
|
|
@@ -17,70 +17,18 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
17
17
|
type="text"
|
|
18
18
|
value=""
|
|
19
19
|
/>
|
|
20
|
-
<div
|
|
21
|
-
aria-busy="false"
|
|
22
|
-
aria-expanded="false"
|
|
23
|
-
class="ui button floating labeled scrolling dropdown icon"
|
|
24
|
-
role="listbox"
|
|
25
|
-
tabindex="0"
|
|
26
|
-
>
|
|
27
|
-
<div
|
|
28
|
-
aria-atomic="true"
|
|
29
|
-
aria-live="polite"
|
|
30
|
-
class="divider text"
|
|
31
|
-
role="alert"
|
|
32
|
-
>
|
|
33
|
-
Filters
|
|
34
|
-
</div>
|
|
35
|
-
<i
|
|
36
|
-
aria-hidden="true"
|
|
37
|
-
class="filter icon"
|
|
38
|
-
/>
|
|
39
|
-
<div
|
|
40
|
-
class="menu transition"
|
|
41
|
-
>
|
|
42
|
-
<div
|
|
43
|
-
class="item"
|
|
44
|
-
role="option"
|
|
45
|
-
>
|
|
46
|
-
<em>
|
|
47
|
-
(reset filters)
|
|
48
|
-
</em>
|
|
49
|
-
</div>
|
|
50
|
-
<div
|
|
51
|
-
class="item"
|
|
52
|
-
role="option"
|
|
53
|
-
>
|
|
54
|
-
<span
|
|
55
|
-
class="text"
|
|
56
|
-
>
|
|
57
|
-
groups
|
|
58
|
-
</span>
|
|
59
|
-
</div>
|
|
60
|
-
<div
|
|
61
|
-
class="item"
|
|
62
|
-
role="option"
|
|
63
|
-
>
|
|
64
|
-
<span
|
|
65
|
-
class="text"
|
|
66
|
-
>
|
|
67
|
-
type
|
|
68
|
-
</span>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
20
|
</div>
|
|
73
21
|
<div
|
|
74
22
|
class="users-toolbar-actions"
|
|
75
23
|
>
|
|
76
24
|
<div
|
|
77
25
|
aria-label="users.view.label"
|
|
78
|
-
class="users-view-buttons"
|
|
26
|
+
class="ui buttons users-view-buttons"
|
|
79
27
|
role="group"
|
|
80
28
|
>
|
|
81
29
|
<button
|
|
82
30
|
aria-pressed="true"
|
|
83
|
-
class="ui active
|
|
31
|
+
class="ui active primary button"
|
|
84
32
|
type="button"
|
|
85
33
|
>
|
|
86
34
|
<i
|
|
@@ -91,7 +39,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
91
39
|
</button>
|
|
92
40
|
<button
|
|
93
41
|
aria-pressed="false"
|
|
94
|
-
class="ui
|
|
42
|
+
class="ui button"
|
|
95
43
|
type="button"
|
|
96
44
|
>
|
|
97
45
|
<i
|
|
@@ -115,19 +63,6 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
115
63
|
</a>
|
|
116
64
|
</div>
|
|
117
65
|
</div>
|
|
118
|
-
<div
|
|
119
|
-
class="selectedFilters users-filters"
|
|
120
|
-
/>
|
|
121
|
-
<div
|
|
122
|
-
class="users-results"
|
|
123
|
-
role="status"
|
|
124
|
-
>
|
|
125
|
-
<div
|
|
126
|
-
class="ui label"
|
|
127
|
-
>
|
|
128
|
-
users.results
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
66
|
<div
|
|
132
67
|
class="accordion ui fluid styled users-role-accordion"
|
|
133
68
|
>
|
|
@@ -163,6 +98,16 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
163
98
|
</div>
|
|
164
99
|
</span>
|
|
165
100
|
</button>
|
|
101
|
+
<div
|
|
102
|
+
class="users-results"
|
|
103
|
+
role="status"
|
|
104
|
+
>
|
|
105
|
+
<div
|
|
106
|
+
class="ui label"
|
|
107
|
+
>
|
|
108
|
+
users.results
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
166
111
|
</div>
|
|
167
112
|
<div
|
|
168
113
|
class="content active users-role-content"
|
|
@@ -226,6 +171,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
226
171
|
class="uc-action-btn"
|
|
227
172
|
data-discover="true"
|
|
228
173
|
href="/users/1/edit"
|
|
174
|
+
title="users.actions.edit"
|
|
229
175
|
>
|
|
230
176
|
<i
|
|
231
177
|
aria-hidden="true"
|
|
@@ -242,6 +188,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
242
188
|
class="uc-action-btn uc-action-btn--key"
|
|
243
189
|
data-discover="true"
|
|
244
190
|
href="/users/1/password"
|
|
191
|
+
title="user.actions.edit_password"
|
|
245
192
|
>
|
|
246
193
|
<i
|
|
247
194
|
aria-hidden="true"
|
|
@@ -352,6 +299,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
352
299
|
class="uc-action-btn"
|
|
353
300
|
data-discover="true"
|
|
354
301
|
href="/users/2/edit"
|
|
302
|
+
title="users.actions.edit"
|
|
355
303
|
>
|
|
356
304
|
<i
|
|
357
305
|
aria-hidden="true"
|
|
@@ -368,6 +316,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
368
316
|
class="uc-action-btn uc-action-btn--key"
|
|
369
317
|
data-discover="true"
|
|
370
318
|
href="/users/2/password"
|
|
319
|
+
title="user.actions.edit_password"
|
|
371
320
|
>
|
|
372
321
|
<i
|
|
373
322
|
aria-hidden="true"
|
|
@@ -436,6 +385,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
436
385
|
class="uc-action-btn"
|
|
437
386
|
data-discover="true"
|
|
438
387
|
href="/users/3/edit"
|
|
388
|
+
title="users.actions.edit"
|
|
439
389
|
>
|
|
440
390
|
<i
|
|
441
391
|
aria-hidden="true"
|
|
@@ -452,6 +402,7 @@ exports[`<UserCards /> matches the latest snapshot 1`] = `
|
|
|
452
402
|
class="uc-action-btn uc-action-btn--key"
|
|
453
403
|
data-discover="true"
|
|
454
404
|
href="/users/3/password"
|
|
405
|
+
title="user.actions.edit_password"
|
|
455
406
|
>
|
|
456
407
|
<i
|
|
457
408
|
aria-hidden="true"
|