@worknice/whiteboard 0.52.1 → 0.53.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.
- package/dist/{presentation/TableColumnFilterModal.d.ts → controls/FilterModal.d.ts} +10 -3
- package/dist/{presentation/TableColumnFilterModal.js → controls/FilterModal.js} +32 -32
- package/dist/controls/FilterModal.module.js +13 -0
- package/dist/controls/FilterModal_module.css +60 -0
- package/dist/controls/MenuButton.js +1 -1
- package/dist/icons/MessagesIcon.d.ts +3 -0
- package/dist/icons/MessagesIcon.js +11 -0
- package/dist/icons/SlidersIcon.d.ts +3 -0
- package/dist/icons/SlidersIcon.js +12 -0
- package/dist/icons/WarningIcon.js +3 -3
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +3 -1
- package/dist/presentation/CustomizableTable/CustomizableTable.d.ts +1 -1
- package/dist/presentation/CustomizableTable/CustomizableTable.js +3 -3
- package/dist/presentation/RichList/RichList.d.ts +150 -0
- package/dist/presentation/RichList/RichList.js +507 -0
- package/dist/presentation/RichList/RichList.module.js +12 -0
- package/dist/presentation/RichList/RichList.stories.d.ts +24 -0
- package/dist/presentation/RichList/RichList.stories.js +334 -0
- package/dist/presentation/RichList/RichListBulkActionBar.d.ts +21 -0
- package/dist/presentation/RichList/RichListBulkActionBar.js +112 -0
- package/dist/presentation/RichList/RichListBulkActionBar.module.js +7 -0
- package/dist/presentation/RichList/RichListBulkActionBar_module.css +18 -0
- package/dist/presentation/RichList/RichListDisplayModal.d.ts +33 -0
- package/dist/presentation/RichList/RichListDisplayModal.js +198 -0
- package/dist/presentation/RichList/RichListRow.d.ts +39 -0
- package/dist/presentation/RichList/RichListRow.js +278 -0
- package/dist/presentation/RichList/RichListRow.module.js +34 -0
- package/dist/presentation/RichList/RichListRow_module.css +313 -0
- package/dist/presentation/RichList/RichListToolbar.d.ts +21 -0
- package/dist/presentation/RichList/RichListToolbar.js +104 -0
- package/dist/presentation/RichList/RichListToolbar.module.js +12 -0
- package/dist/presentation/RichList/RichListToolbar_module.css +100 -0
- package/dist/presentation/RichList/RichList_module.css +77 -0
- package/dist/presentation/RichList/helpers.d.ts +77 -0
- package/dist/presentation/RichList/helpers.js +121 -0
- package/dist/presentation/RichList/stories/ComplianceGroups.d.ts +9 -0
- package/dist/presentation/RichList/stories/ComplianceGroups.js +141 -0
- package/dist/presentation/RichList/stories/CustomFields.d.ts +13 -0
- package/dist/presentation/RichList/stories/CustomFields.js +80 -0
- package/dist/presentation/RichList/stories/EmployeeCompliance.d.ts +15 -0
- package/dist/presentation/RichList/stories/EmployeeCompliance.js +300 -0
- package/dist/presentation/RichList/stories/EmployeePaperwork.d.ts +21 -0
- package/dist/presentation/RichList/stories/EmployeePaperwork.js +225 -0
- package/dist/presentation/RichList/stories/EmployeePeople.d.ts +10 -0
- package/dist/presentation/RichList/stories/EmployeePeople.js +170 -0
- package/dist/presentation/RichList/stories/Leave.d.ts +21 -0
- package/dist/presentation/RichList/stories/Leave.js +332 -0
- package/dist/presentation/RichList/stories/Paperwork.d.ts +22 -0
- package/dist/presentation/RichList/stories/Paperwork.js +446 -0
- package/dist/presentation/RichList/stories/PaperworkApprovals.d.ts +23 -0
- package/dist/presentation/RichList/stories/PaperworkApprovals.js +342 -0
- package/dist/presentation/RichList/stories/PeopleList.d.ts +19 -0
- package/dist/presentation/RichList/stories/PeopleList.js +391 -0
- package/dist/presentation/RichList/stories/PeopleTags.d.ts +14 -0
- package/dist/presentation/RichList/stories/PeopleTags.js +106 -0
- package/dist/presentation/RichList/stories/Positions.d.ts +22 -0
- package/dist/presentation/RichList/stories/Positions.js +519 -0
- package/dist/presentation/RichList/stories/SavedQuestions.d.ts +13 -0
- package/dist/presentation/RichList/stories/SavedQuestions.js +152 -0
- package/dist/presentation/RichList/stories/Tables.d.ts +9 -0
- package/dist/presentation/RichList/stories/Tables.js +85 -0
- package/dist/presentation/RichList/stories/Tasks.d.ts +16 -0
- package/dist/presentation/RichList/stories/Tasks.js +340 -0
- package/dist/presentation/RichList/stories/shared/bulkActionStubs.d.ts +9 -0
- package/dist/presentation/RichList/stories/shared/bulkActionStubs.js +122 -0
- package/dist/presentation/RichList/stories/shared.d.ts +8 -0
- package/dist/presentation/RichList/stories/shared.js +2 -0
- package/dist/presentation/RichList/types.d.ts +342 -0
- package/dist/presentation/RichList/types.js +0 -0
- package/dist/presentation/Table.d.ts +1 -1
- package/dist/presentation/Table.js +2 -2
- package/dist/presentation/Table.module.js +0 -10
- package/dist/presentation/Table_module.css +1 -61
- package/package.json +2 -2
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
.listItem-HfVE7t {
|
|
2
|
+
list-style: none;
|
|
3
|
+
display: block;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.listItem-HfVE7t + .listItem-HfVE7t .row-qNQike {
|
|
7
|
+
border-top: solid var(--size-n5) var(--color-grey-t09);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.row-qNQike {
|
|
11
|
+
--row-bg: transparent;
|
|
12
|
+
--row-hover-bg: var(--color-grey-t10);
|
|
13
|
+
--row-gap: var(--size-n1);
|
|
14
|
+
--row-pad-y: var(--size-n2);
|
|
15
|
+
--row-pad-x: var(--richlist-padding-inline, var(--size-n1));
|
|
16
|
+
background: var(--row-bg);
|
|
17
|
+
color: var(--color-grey-s01);
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
align-items: stretch;
|
|
20
|
+
gap: var(--row-gap);
|
|
21
|
+
height: var(--row-height);
|
|
22
|
+
padding-block: var(--row-pad-y);
|
|
23
|
+
padding-inline: var(--row-pad-x);
|
|
24
|
+
width: 100%;
|
|
25
|
+
display: flex;
|
|
26
|
+
position: relative;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.listItem-HfVE7t[data-selected] > .row-qNQike {
|
|
31
|
+
--row-bg: var(--color-purple-t10);
|
|
32
|
+
background: var(--row-bg);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (hover: hover) {
|
|
36
|
+
.row-qNQike:hover {
|
|
37
|
+
background-color: var(--row-hover-bg);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.listItem-HfVE7t[data-selected] > .row-qNQike:hover {
|
|
41
|
+
background-color: var(--color-purple-t09);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.clickableZone-KG4Ygg {
|
|
46
|
+
align-self: stretch;
|
|
47
|
+
align-items: stretch;
|
|
48
|
+
gap: var(--row-gap);
|
|
49
|
+
flex: auto;
|
|
50
|
+
min-width: 0;
|
|
51
|
+
min-height: 0;
|
|
52
|
+
display: flex;
|
|
53
|
+
position: relative;
|
|
54
|
+
overflow: visible;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.clickableZoneActive-OtaDew {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.clickableZoneActive-OtaDew :is(.leadingLane-oEnTWq, .rowMain-ekCI8x, .trailingLane-J4qLz8) a[href], .clickableZoneActive-OtaDew :is(.leadingLane-oEnTWq, .rowMain-ekCI8x, .trailingLane-J4qLz8) a[role="link"], .clickableZoneActive-OtaDew .contentSlot-xgewfJ a[href], .clickableZoneActive-OtaDew .contentSlot-xgewfJ a[role="link"] {
|
|
62
|
+
pointer-events: auto;
|
|
63
|
+
z-index: 2;
|
|
64
|
+
position: relative;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.rowLink-vHZ0y7 {
|
|
68
|
+
bottom: calc(-1 * var(--row-pad-y));
|
|
69
|
+
color: inherit;
|
|
70
|
+
cursor: inherit;
|
|
71
|
+
font: inherit;
|
|
72
|
+
text-align: inherit;
|
|
73
|
+
left: 0;
|
|
74
|
+
right: 0;
|
|
75
|
+
top: calc(-1 * var(--row-pad-y));
|
|
76
|
+
z-index: 0;
|
|
77
|
+
background: none;
|
|
78
|
+
border: 0;
|
|
79
|
+
margin: 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
text-decoration: none;
|
|
82
|
+
position: absolute;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.rowLink-vHZ0y7:focus {
|
|
86
|
+
outline: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.leadingLane-oEnTWq, .rowMain-ekCI8x, .trailingLane-J4qLz8 {
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
z-index: 1;
|
|
92
|
+
position: relative;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.clickableZone-KG4Ygg:not(.clickableZoneActive-OtaDew) .leadingLane-oEnTWq, .clickableZone-KG4Ygg:not(.clickableZoneActive-OtaDew) .rowMain-ekCI8x, .clickableZone-KG4Ygg:not(.clickableZoneActive-OtaDew) .trailingLane-J4qLz8 {
|
|
96
|
+
pointer-events: auto;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.checkboxLane-SxFtCI, .actionsLane-JQxqtO, .overflowLane-euPsqR {
|
|
100
|
+
z-index: 1;
|
|
101
|
+
position: relative;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.checkboxLane-SxFtCI {
|
|
105
|
+
opacity: 1;
|
|
106
|
+
width: var(--size-p1);
|
|
107
|
+
flex: none;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
align-items: center;
|
|
110
|
+
display: flex;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.checkboxLane-SxFtCI.checkboxLaneFullTarget-J22CW6 {
|
|
114
|
+
min-height: calc(var(--row-height) - 2 * var(--row-pad-y));
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
margin-bottom: calc(-1 * var(--row-pad-y));
|
|
118
|
+
margin-left: calc(-1 * var(--row-pad-x));
|
|
119
|
+
margin-right: calc(-1 * var(--row-gap));
|
|
120
|
+
margin-top: calc(-1 * var(--row-pad-y));
|
|
121
|
+
max-width: calc(var(--size-p1) + var(--row-pad-x) + var(--row-gap));
|
|
122
|
+
min-width: calc(var(--size-p1) + var(--row-pad-x) + var(--row-gap));
|
|
123
|
+
padding-left: var(--row-pad-x);
|
|
124
|
+
padding-right: var(--row-gap);
|
|
125
|
+
width: calc(var(--size-p1) + var(--row-pad-x) + var(--row-gap));
|
|
126
|
+
align-self: stretch;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@media (hover: hover) {
|
|
130
|
+
.checkboxLane-SxFtCI:not(.checkboxLaneActive-SAAKUd) {
|
|
131
|
+
opacity: 0;
|
|
132
|
+
transition: opacity .12s;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.row-qNQike:hover .checkboxLane-SxFtCI, .row-qNQike:focus-within .checkboxLane-SxFtCI {
|
|
136
|
+
opacity: 1;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
[data-richlist-compact] .checkboxLane-SxFtCI, [data-richlist-compact] .checkboxLane-SxFtCI:not(.checkboxLaneActive-SAAKUd) {
|
|
141
|
+
opacity: 1;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.slotCell-nFtJJc {
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
overflow-wrap: anywhere;
|
|
147
|
+
flex-wrap: wrap;
|
|
148
|
+
align-items: center;
|
|
149
|
+
min-width: 0;
|
|
150
|
+
max-width: 100%;
|
|
151
|
+
min-height: 0;
|
|
152
|
+
display: flex;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.slotCell-nFtJJc:hover, .slotCell-nFtJJc:focus-within {
|
|
157
|
+
overflow-y: auto;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.leadingLane-oEnTWq {
|
|
161
|
+
flex: none;
|
|
162
|
+
justify-content: center;
|
|
163
|
+
align-self: center;
|
|
164
|
+
align-items: center;
|
|
165
|
+
display: flex;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.rowMain-ekCI8x {
|
|
169
|
+
box-sizing: border-box;
|
|
170
|
+
align-items: center;
|
|
171
|
+
column-gap: var(--row-gap);
|
|
172
|
+
grid-template-columns: minmax(0, var(--richlist-primary-track, min(22rem, 38cqi))) minmax(0, 1fr);
|
|
173
|
+
flex: 1;
|
|
174
|
+
min-width: 0;
|
|
175
|
+
max-width: 100%;
|
|
176
|
+
min-height: 0;
|
|
177
|
+
display: grid;
|
|
178
|
+
overflow: hidden;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.rowMainCompact-FP1jUy {
|
|
182
|
+
grid-template-columns: minmax(0, 1fr);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.mainSlot-G9ZgMV {
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
gap: var(--size-n4);
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
justify-content: center;
|
|
190
|
+
min-width: 0;
|
|
191
|
+
min-height: 0;
|
|
192
|
+
display: flex;
|
|
193
|
+
overflow: hidden;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.contentSlots-_4Kf6I {
|
|
197
|
+
align-items: center;
|
|
198
|
+
gap: var(--row-gap);
|
|
199
|
+
width: 100%;
|
|
200
|
+
min-width: 0;
|
|
201
|
+
height: 100%;
|
|
202
|
+
min-height: 0;
|
|
203
|
+
display: flex;
|
|
204
|
+
overflow: hidden;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.rowMainCompact-FP1jUy .contentSlots-_4Kf6I {
|
|
208
|
+
display: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.contentSlot-xgewfJ {
|
|
212
|
+
height: 100%;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.contentSlotFixed-Saogio {
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.contentSlotStart-klEUrD {
|
|
220
|
+
text-align: start;
|
|
221
|
+
justify-content: flex-start;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.contentSlotEnd-k2QSDN {
|
|
225
|
+
text-align: end;
|
|
226
|
+
justify-content: flex-end;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.contentSlotCenter-elj5Nr {
|
|
230
|
+
text-align: center;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.primaryLine-Sedy1b, .secondaryLine-iySU25 {
|
|
235
|
+
align-items: center;
|
|
236
|
+
gap: var(--size-n2);
|
|
237
|
+
min-width: 0;
|
|
238
|
+
max-width: 100%;
|
|
239
|
+
display: flex;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.primaryLine-Sedy1b {
|
|
243
|
+
font: var(--font-regular-bold);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.secondaryLine-iySU25 {
|
|
247
|
+
color: var(--color-grey-s03);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.primaryText-vd9ry0, .secondaryText-DmPdJ2 {
|
|
251
|
+
text-overflow: ellipsis;
|
|
252
|
+
white-space: nowrap;
|
|
253
|
+
flex: 0 auto;
|
|
254
|
+
min-width: 0;
|
|
255
|
+
overflow: hidden;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.primaryText-vd9ry0 > *, .secondaryText-DmPdJ2 > * {
|
|
259
|
+
min-width: 0;
|
|
260
|
+
text-overflow: inherit;
|
|
261
|
+
white-space: inherit;
|
|
262
|
+
margin: 0;
|
|
263
|
+
overflow: hidden;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.mainSlotAdornment-IQslEw {
|
|
267
|
+
flex: none;
|
|
268
|
+
align-items: center;
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.trailingLane-J4qLz8 {
|
|
273
|
+
flex-flow: wrap;
|
|
274
|
+
flex: 0 3 auto;
|
|
275
|
+
place-content: flex-end;
|
|
276
|
+
align-self: center;
|
|
277
|
+
align-items: center;
|
|
278
|
+
min-width: 0;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.trailingLane-J4qLz8.contentSlotStart-klEUrD {
|
|
282
|
+
place-content: flex-start;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.trailingLane-J4qLz8.contentSlotCenter-elj5Nr {
|
|
286
|
+
place-content: center;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.actionsLane-JQxqtO {
|
|
290
|
+
align-self: center;
|
|
291
|
+
align-items: center;
|
|
292
|
+
gap: var(--size-n4);
|
|
293
|
+
flex: none;
|
|
294
|
+
display: flex;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.overflowLane-euPsqR {
|
|
298
|
+
flex: none;
|
|
299
|
+
align-self: center;
|
|
300
|
+
align-items: center;
|
|
301
|
+
display: flex;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.actionPlaceholder-yugzJR {
|
|
305
|
+
pointer-events: none;
|
|
306
|
+
visibility: hidden;
|
|
307
|
+
display: inline-flex;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.rowListAtCompactBreakpoint-g6EL_A .textFieldAdornment-LP2CuE {
|
|
311
|
+
display: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
hasGlobalSearch: boolean;
|
|
3
|
+
searchTerm: string;
|
|
4
|
+
onSearchTermChange: (value: string) => void;
|
|
5
|
+
hasFilters: boolean;
|
|
6
|
+
activeFilterCount: number;
|
|
7
|
+
onOpenFilterModal: () => void;
|
|
8
|
+
showDisplay: boolean;
|
|
9
|
+
onOpenDisplayModal: () => void;
|
|
10
|
+
displayActiveCount: number;
|
|
11
|
+
showCsvExport: boolean;
|
|
12
|
+
onDownloadCsv: () => void;
|
|
13
|
+
/** Bulk-selection “select all visible rows” (aligns with row checkboxes). */
|
|
14
|
+
showSelectAll: boolean;
|
|
15
|
+
selectAllAllSelected: boolean;
|
|
16
|
+
selectAllSomeSelected: boolean;
|
|
17
|
+
selectAllDisabled: boolean;
|
|
18
|
+
onSelectAllChange: () => void;
|
|
19
|
+
};
|
|
20
|
+
declare const RichListToolbar: ({ hasGlobalSearch, searchTerm, onSearchTermChange, hasFilters, activeFilterCount, onOpenFilterModal, showDisplay, onOpenDisplayModal, displayActiveCount, showCsvExport, onDownloadCsv, showSelectAll, selectAllAllSelected, selectAllSomeSelected, selectAllDisabled, onSelectAllChange, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export default RichListToolbar;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__ from "../../controls/Button.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__inputs_CheckboxInput_js_0c849015__ from "../../inputs/CheckboxInput.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__ from "../Icon.js";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__ from "./RichListToolbar.module.js";
|
|
8
|
+
const RichListToolbar = ({ hasGlobalSearch, searchTerm, onSearchTermChange, hasFilters, activeFilterCount, onOpenFilterModal, showDisplay, onOpenDisplayModal, displayActiveCount, showCsvExport, onDownloadCsv, showSelectAll, selectAllAllSelected, selectAllSomeSelected, selectAllDisabled, onSelectAllChange })=>{
|
|
9
|
+
const selectAllRevealed = selectAllAllSelected || selectAllSomeSelected;
|
|
10
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
11
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbar,
|
|
12
|
+
children: [
|
|
13
|
+
showSelectAll ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("label", {
|
|
14
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarSelectAll, selectAllRevealed && __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarSelectAllActive),
|
|
15
|
+
htmlFor: "richListSelectAll",
|
|
16
|
+
title: "Select all rows",
|
|
17
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__inputs_CheckboxInput_js_0c849015__["default"], {
|
|
18
|
+
id: "richListSelectAll",
|
|
19
|
+
disabled: selectAllDisabled,
|
|
20
|
+
value: selectAllAllSelected,
|
|
21
|
+
indeterminate: selectAllSomeSelected && !selectAllAllSelected,
|
|
22
|
+
onChange: ()=>onSelectAllChange()
|
|
23
|
+
})
|
|
24
|
+
}) : null,
|
|
25
|
+
hasGlobalSearch ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
26
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarSearch,
|
|
27
|
+
children: [
|
|
28
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
29
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarSearchIcon,
|
|
30
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__["default"], {
|
|
31
|
+
symbol: "Search"
|
|
32
|
+
})
|
|
33
|
+
}),
|
|
34
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("input", {
|
|
35
|
+
type: "text",
|
|
36
|
+
placeholder: "Search",
|
|
37
|
+
id: "richListGlobalSearch",
|
|
38
|
+
value: searchTerm,
|
|
39
|
+
onChange: (event)=>onSearchTermChange(event.target.value)
|
|
40
|
+
})
|
|
41
|
+
]
|
|
42
|
+
}) : null,
|
|
43
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
44
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarActions,
|
|
45
|
+
children: [
|
|
46
|
+
hasFilters ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
47
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarFilterButtonWrap, activeFilterCount > 0 && __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarFilterButtonActive),
|
|
48
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__["default"], {
|
|
49
|
+
type: "ghost",
|
|
50
|
+
onClick: onOpenFilterModal,
|
|
51
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__["default"], {
|
|
52
|
+
symbol: "Filter"
|
|
53
|
+
}),
|
|
54
|
+
id: "richListFilters",
|
|
55
|
+
tooltip: "Filters",
|
|
56
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("span", {
|
|
57
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarButtonLabel,
|
|
58
|
+
children: [
|
|
59
|
+
"Filters",
|
|
60
|
+
activeFilterCount > 0 ? ` (${activeFilterCount})` : ""
|
|
61
|
+
]
|
|
62
|
+
})
|
|
63
|
+
})
|
|
64
|
+
}) : null,
|
|
65
|
+
showDisplay ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
66
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarFilterButtonWrap, displayActiveCount > 0 && __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarFilterButtonActive),
|
|
67
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__["default"], {
|
|
68
|
+
type: "ghost",
|
|
69
|
+
onClick: onOpenDisplayModal,
|
|
70
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__["default"], {
|
|
71
|
+
symbol: "Sliders"
|
|
72
|
+
}),
|
|
73
|
+
id: "richListDisplay",
|
|
74
|
+
tooltip: "Display",
|
|
75
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("span", {
|
|
76
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarButtonLabel,
|
|
77
|
+
children: [
|
|
78
|
+
"Display",
|
|
79
|
+
displayActiveCount > 0 ? ` (${displayActiveCount})` : ""
|
|
80
|
+
]
|
|
81
|
+
})
|
|
82
|
+
})
|
|
83
|
+
}) : null,
|
|
84
|
+
showCsvExport ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_Button_js_2f50b64a__["default"], {
|
|
85
|
+
type: "ghost",
|
|
86
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Icon_js_e5f9af80__["default"], {
|
|
87
|
+
symbol: "Download"
|
|
88
|
+
}),
|
|
89
|
+
onClick: onDownloadCsv,
|
|
90
|
+
tooltip: "Download all rows as CSV",
|
|
91
|
+
title: "Download all rows as CSV",
|
|
92
|
+
id: "richListDownloadCsv",
|
|
93
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
94
|
+
className: __WEBPACK_EXTERNAL_MODULE__RichListToolbar_module_js_e529a068__["default"].toolbarButtonLabel,
|
|
95
|
+
children: "Download CSV"
|
|
96
|
+
})
|
|
97
|
+
}) : null
|
|
98
|
+
]
|
|
99
|
+
})
|
|
100
|
+
]
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
const RichListToolbar_rslib_entry_ = RichListToolbar;
|
|
104
|
+
export { RichListToolbar_rslib_entry_ as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./RichListToolbar_module.css";
|
|
2
|
+
const RichListToolbar_module_rslib_entry_ = {
|
|
3
|
+
toolbar: "toolbar-c4DVVR",
|
|
4
|
+
toolbarSelectAll: "toolbarSelectAll-WDzzeh",
|
|
5
|
+
toolbarSelectAllActive: "toolbarSelectAllActive-jjmbwd",
|
|
6
|
+
toolbarSearch: "toolbarSearch-WU4g5B",
|
|
7
|
+
toolbarSearchIcon: "toolbarSearchIcon-zVTtf9",
|
|
8
|
+
toolbarActions: "toolbarActions-QgCbkb",
|
|
9
|
+
toolbarButtonLabel: "toolbarButtonLabel-aBFEc2",
|
|
10
|
+
toolbarFilterButtonActive: "toolbarFilterButtonActive-KdVoQj"
|
|
11
|
+
};
|
|
12
|
+
export { RichListToolbar_module_rslib_entry_ as default };
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.toolbar-c4DVVR {
|
|
2
|
+
border-bottom: solid var(--size-n5) var(--color-grey-t09);
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: var(--size-n2);
|
|
5
|
+
padding-block: var(--size-n3);
|
|
6
|
+
flex-wrap: nowrap;
|
|
7
|
+
padding-inline-start: var(--richlist-padding-inline, var(--size-n1));
|
|
8
|
+
padding-inline-end: var(--size-n1);
|
|
9
|
+
display: flex;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.toolbarSelectAll-WDzzeh {
|
|
13
|
+
flex: 0 0 calc(var(--size-p1) + var(--richlist-padding-inline, var(--size-n1)) + var(--size-n2));
|
|
14
|
+
margin: 0;
|
|
15
|
+
margin-left: calc(-1 * var(--richlist-padding-inline, var(--size-n1)));
|
|
16
|
+
margin-right: calc(-1 * var(--size-n2));
|
|
17
|
+
min-width: calc(var(--size-p1) + var(--richlist-padding-inline, var(--size-n1)) + var(--size-n2));
|
|
18
|
+
padding-left: var(--richlist-padding-inline, var(--size-n1));
|
|
19
|
+
padding-right: var(--size-n2);
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
transition: opacity .12s;
|
|
23
|
+
display: flex;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (hover: hover) {
|
|
27
|
+
.toolbarSelectAll-WDzzeh:not(.toolbarSelectAllActive-jjmbwd) {
|
|
28
|
+
opacity: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.toolbar-c4DVVR:hover .toolbarSelectAll-WDzzeh, .toolbar-c4DVVR:focus-within .toolbarSelectAll-WDzzeh {
|
|
32
|
+
opacity: 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-richlist-compact] .toolbarSelectAll-WDzzeh, [data-richlist-compact] .toolbarSelectAll-WDzzeh:not(.toolbarSelectAllActive-jjmbwd) {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.toolbarSearch-WU4g5B {
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: var(--size-n2);
|
|
43
|
+
min-width: 0;
|
|
44
|
+
padding: var(--size-n2) 0;
|
|
45
|
+
flex: auto;
|
|
46
|
+
display: flex;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.toolbarSearch-WU4g5B .toolbarSearchIcon-zVTtf9 {
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
display: flex;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.toolbarSearch-WU4g5B input {
|
|
56
|
+
border: none;
|
|
57
|
+
outline: none;
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.toolbarActions-QgCbkb {
|
|
62
|
+
align-items: center;
|
|
63
|
+
gap: var(--size-n2);
|
|
64
|
+
flex: none;
|
|
65
|
+
margin-left: auto;
|
|
66
|
+
display: flex;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.toolbarButtonLabel-aBFEc2 {
|
|
70
|
+
display: inline;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[data-richlist-compact] .toolbarButtonLabel-aBFEc2 {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-richlist-compact] .toolbarActions-QgCbkb button:has(.toolbarButtonLabel-aBFEc2) {
|
|
78
|
+
padding: var(--size-n2);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[data-richlist-compact] .toolbarActions-QgCbkb button:has(.toolbarButtonLabel-aBFEc2) > span:nth-child(2) {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[data-richlist-compact] .toolbarFilterButtonActive-KdVoQj button {
|
|
86
|
+
background: var(--color-purple-t09);
|
|
87
|
+
color: var(--color-grey-s01);
|
|
88
|
+
border-color: #0000;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (hover: hover) {
|
|
92
|
+
[data-richlist-compact] .toolbarFilterButtonActive-KdVoQj button:hover {
|
|
93
|
+
background: var(--color-purple-t09);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[data-richlist-compact] .toolbarFilterButtonActive-KdVoQj button:active {
|
|
98
|
+
background: var(--color-purple-t09);
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
.root-S5afi_ {
|
|
2
|
+
background: var(--color-white);
|
|
3
|
+
border-radius: var(--size-n2);
|
|
4
|
+
border: solid var(--size-n5) var(--color-grey-t09);
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
width: 100%;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
height: auto;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
max-height: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.rootFillHeight-F5N1tt {
|
|
16
|
+
flex: 0 auto;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
min-height: 0;
|
|
19
|
+
max-height: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.richListQueryScope-_rCOEN {
|
|
23
|
+
flex: auto;
|
|
24
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
25
|
+
grid-template-columns: 1fr;
|
|
26
|
+
width: 100%;
|
|
27
|
+
min-width: 0;
|
|
28
|
+
min-height: 0;
|
|
29
|
+
display: grid;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.richListHead-YX3P21 {
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
display: flex;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.listHeader-LmUwi0 {
|
|
40
|
+
border-bottom: solid var(--size-n5) var(--color-grey-t09);
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
padding-block: var(--size-n2);
|
|
43
|
+
padding-inline: var(--richlist-padding-inline, var(--size-n1));
|
|
44
|
+
flex-shrink: 0;
|
|
45
|
+
width: 100%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.toolbarStatus-OBimHB {
|
|
49
|
+
border-bottom: solid var(--size-n5) var(--color-grey-t09);
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: var(--size-n2);
|
|
52
|
+
padding: var(--size-n2) var(--size-n1);
|
|
53
|
+
justify-content: space-between;
|
|
54
|
+
display: flex;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.list-j1kaiA {
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
align-self: stretch;
|
|
60
|
+
min-height: 0;
|
|
61
|
+
margin: 0;
|
|
62
|
+
padding: 0;
|
|
63
|
+
list-style: none;
|
|
64
|
+
display: flex;
|
|
65
|
+
overflow: auto;
|
|
66
|
+
container-type: inline-size;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.emptyState-xAYoQA {
|
|
70
|
+
color: var(--color-grey-s03);
|
|
71
|
+
min-height: 0;
|
|
72
|
+
padding: var(--size-p2) var(--richlist-padding-inline, var(--size-n1));
|
|
73
|
+
text-align: center;
|
|
74
|
+
align-self: stretch;
|
|
75
|
+
overflow: auto;
|
|
76
|
+
}
|
|
77
|
+
|