@staffbase/widget-sdk 3.3.4 → 3.3.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.
@@ -0,0 +1,415 @@
1
+ # Interface: SBColors
2
+
3
+ Detailed colors entity definition
4
+
5
+ **`param`** This color is meant to be used for foreground elements and is either black or white depending
6
+ on which gives the better contrast when used as a foreground color for [clientPrimary](../wiki/SBColors#clientprimary)
7
+
8
+ **`param`** The customer's primary color (previously `bgColor`)
9
+
10
+ **`param`** This is [clientPrimary](../wiki/SBColors#clientprimary) adjusted in contrast to give a good contrast when used as a
11
+ foreground color on a white background.
12
+
13
+ **`param`** The customer's secondary color (previously `textColor`).
14
+
15
+ **`param`** This is [clientSecondary](../wiki/SBColors#clientsecondary) adjusted in contrast to give a good contrast when used as
16
+ a foreground color on a white background.
17
+
18
+ **`param`** Active action component states for components with white background: Hover, Pressed, etc...
19
+
20
+ ## Table of contents
21
+
22
+ ### Properties
23
+
24
+ - [backdrop](../wiki/SBColors#backdrop)
25
+ - [backgroundBase](../wiki/SBColors#backgroundbase)
26
+ - [backgroundField](../wiki/SBColors#backgroundfield)
27
+ - [backgroundFieldLight](../wiki/SBColors#backgroundfieldlight)
28
+ - [backgroundLevel1](../wiki/SBColors#backgroundlevel1)
29
+ - [backgroundLevel2](../wiki/SBColors#backgroundlevel2)
30
+ - [backgroundLevel3](../wiki/SBColors#backgroundlevel3)
31
+ - [backgroundLevel4](../wiki/SBColors#backgroundlevel4)
32
+ - [backgroundPrimary](../wiki/SBColors#backgroundprimary)
33
+ - [backgroundSecondary](../wiki/SBColors#backgroundsecondary)
34
+ - [backgroundTertiary](../wiki/SBColors#backgroundtertiary)
35
+ - [black](../wiki/SBColors#black)
36
+ - [blue](../wiki/SBColors#blue)
37
+ - [blueDark](../wiki/SBColors#bluedark)
38
+ - [blueLight](../wiki/SBColors#bluelight)
39
+ - [borderSolid](../wiki/SBColors#bordersolid)
40
+ - [borderTranslucent](../wiki/SBColors#bordertranslucent)
41
+ - [clientForeground](../wiki/SBColors#clientforeground)
42
+ - [clientPrimary](../wiki/SBColors#clientprimary)
43
+ - [clientPrimaryA11y](../wiki/SBColors#clientprimarya11y)
44
+ - [clientSecondary](../wiki/SBColors#clientsecondary)
45
+ - [clientSecondaryA11y](../wiki/SBColors#clientsecondarya11y)
46
+ - [fileType](../wiki/SBColors#filetype)
47
+ - [green](../wiki/SBColors#green)
48
+ - [greenDark](../wiki/SBColors#greendark)
49
+ - [greenLight](../wiki/SBColors#greenlight)
50
+ - [grey](../wiki/SBColors#grey)
51
+ - [greyDark](../wiki/SBColors#greydark)
52
+ - [greyLight](../wiki/SBColors#greylight)
53
+ - [hairline](../wiki/SBColors#hairline)
54
+ - [hairlineDark](../wiki/SBColors#hairlinedark)
55
+ - [hoverState](../wiki/SBColors#hoverstate)
56
+ - [neutral](../wiki/SBColors#neutral)
57
+ - [neutralDark](../wiki/SBColors#neutraldark)
58
+ - [neutralLight](../wiki/SBColors#neutrallight)
59
+ - [orange](../wiki/SBColors#orange)
60
+ - [orangeDark](../wiki/SBColors#orangedark)
61
+ - [orangeLight](../wiki/SBColors#orangelight)
62
+ - [overlay](../wiki/SBColors#overlay)
63
+ - [overlayDark](../wiki/SBColors#overlaydark)
64
+ - [pressedState](../wiki/SBColors#pressedstate)
65
+ - [red](../wiki/SBColors#red)
66
+ - [redDark](../wiki/SBColors#reddark)
67
+ - [redLight](../wiki/SBColors#redlight)
68
+ - [text](../wiki/SBColors#text)
69
+ - [textGreyBase](../wiki/SBColors#textgreybase)
70
+ - [textGreyLevel1](../wiki/SBColors#textgreylevel1)
71
+ - [textGreyLevel2](../wiki/SBColors#textgreylevel2)
72
+ - [textGreyLevel3](../wiki/SBColors#textgreylevel3)
73
+ - [textGreyLevel4](../wiki/SBColors#textgreylevel4)
74
+ - [textLight](../wiki/SBColors#textlight)
75
+ - [textPlaceholder](../wiki/SBColors#textplaceholder)
76
+ - [textPrimary](../wiki/SBColors#textprimary)
77
+ - [textSecondary](../wiki/SBColors#textsecondary)
78
+ - [textTertiary](../wiki/SBColors#texttertiary)
79
+ - [warningYellow](../wiki/SBColors#warningyellow)
80
+
81
+ ## Properties
82
+
83
+ ### backdrop
84
+
85
+ • **backdrop**: `string`
86
+
87
+ ___
88
+
89
+ ### backgroundBase
90
+
91
+ • **backgroundBase**: `string`
92
+
93
+ ___
94
+
95
+ ### backgroundField
96
+
97
+ • **backgroundField**: `string`
98
+
99
+ ___
100
+
101
+ ### backgroundFieldLight
102
+
103
+ • **backgroundFieldLight**: `string`
104
+
105
+ ___
106
+
107
+ ### backgroundLevel1
108
+
109
+ • **backgroundLevel1**: `string`
110
+
111
+ ___
112
+
113
+ ### backgroundLevel2
114
+
115
+ • **backgroundLevel2**: `string`
116
+
117
+ ___
118
+
119
+ ### backgroundLevel3
120
+
121
+ • **backgroundLevel3**: `string`
122
+
123
+ ___
124
+
125
+ ### backgroundLevel4
126
+
127
+ • **backgroundLevel4**: `string`
128
+
129
+ ___
130
+
131
+ ### backgroundPrimary
132
+
133
+ • **backgroundPrimary**: `string`
134
+
135
+ ___
136
+
137
+ ### backgroundSecondary
138
+
139
+ • **backgroundSecondary**: `string`
140
+
141
+ ___
142
+
143
+ ### backgroundTertiary
144
+
145
+ • **backgroundTertiary**: `string`
146
+
147
+ ___
148
+
149
+ ### black
150
+
151
+ • **black**: `string`
152
+
153
+ ___
154
+
155
+ ### blue
156
+
157
+ • **blue**: `string`
158
+
159
+ ___
160
+
161
+ ### blueDark
162
+
163
+ • **blueDark**: `string`
164
+
165
+ ___
166
+
167
+ ### blueLight
168
+
169
+ • **blueLight**: `string`
170
+
171
+ ___
172
+
173
+ ### borderSolid
174
+
175
+ • **borderSolid**: `string`
176
+
177
+ ___
178
+
179
+ ### borderTranslucent
180
+
181
+ • **borderTranslucent**: `string`
182
+
183
+ ___
184
+
185
+ ### clientForeground
186
+
187
+ • **clientForeground**: `string`
188
+
189
+ ___
190
+
191
+ ### clientPrimary
192
+
193
+ • **clientPrimary**: `string`
194
+
195
+ ___
196
+
197
+ ### clientPrimaryA11y
198
+
199
+ • **clientPrimaryA11y**: `string`
200
+
201
+ ___
202
+
203
+ ### clientSecondary
204
+
205
+ • **clientSecondary**: `string`
206
+
207
+ ___
208
+
209
+ ### clientSecondaryA11y
210
+
211
+ • **clientSecondaryA11y**: `string`
212
+
213
+ ___
214
+
215
+ ### fileType
216
+
217
+ • **fileType**: [`SBFileType`](../wiki/SBFileType)
218
+
219
+ ___
220
+
221
+ ### green
222
+
223
+ • **green**: `string`
224
+
225
+ ___
226
+
227
+ ### greenDark
228
+
229
+ • **greenDark**: `string`
230
+
231
+ ___
232
+
233
+ ### greenLight
234
+
235
+ • **greenLight**: `string`
236
+
237
+ ___
238
+
239
+ ### grey
240
+
241
+ • **grey**: `string`
242
+
243
+ ___
244
+
245
+ ### greyDark
246
+
247
+ • **greyDark**: `string`
248
+
249
+ ___
250
+
251
+ ### greyLight
252
+
253
+ • **greyLight**: `string`
254
+
255
+ ___
256
+
257
+ ### hairline
258
+
259
+ • **hairline**: `string`
260
+
261
+ ___
262
+
263
+ ### hairlineDark
264
+
265
+ • **hairlineDark**: `string`
266
+
267
+ ___
268
+
269
+ ### hoverState
270
+
271
+ • **hoverState**: `string`
272
+
273
+ ___
274
+
275
+ ### neutral
276
+
277
+ • **neutral**: `string`
278
+
279
+ ___
280
+
281
+ ### neutralDark
282
+
283
+ • **neutralDark**: `string`
284
+
285
+ ___
286
+
287
+ ### neutralLight
288
+
289
+ • **neutralLight**: `string`
290
+
291
+ ___
292
+
293
+ ### orange
294
+
295
+ • **orange**: `string`
296
+
297
+ ___
298
+
299
+ ### orangeDark
300
+
301
+ • **orangeDark**: `string`
302
+
303
+ ___
304
+
305
+ ### orangeLight
306
+
307
+ • **orangeLight**: `string`
308
+
309
+ ___
310
+
311
+ ### overlay
312
+
313
+ • **overlay**: `string`
314
+
315
+ ___
316
+
317
+ ### overlayDark
318
+
319
+ • **overlayDark**: `string`
320
+
321
+ ___
322
+
323
+ ### pressedState
324
+
325
+ • **pressedState**: `string`
326
+
327
+ ___
328
+
329
+ ### red
330
+
331
+ • **red**: `string`
332
+
333
+ ___
334
+
335
+ ### redDark
336
+
337
+ • **redDark**: `string`
338
+
339
+ ___
340
+
341
+ ### redLight
342
+
343
+ • **redLight**: `string`
344
+
345
+ ___
346
+
347
+ ### text
348
+
349
+ • **text**: `string`
350
+
351
+ ___
352
+
353
+ ### textGreyBase
354
+
355
+ • **textGreyBase**: `string`
356
+
357
+ ___
358
+
359
+ ### textGreyLevel1
360
+
361
+ • **textGreyLevel1**: `string`
362
+
363
+ ___
364
+
365
+ ### textGreyLevel2
366
+
367
+ • **textGreyLevel2**: `string`
368
+
369
+ ___
370
+
371
+ ### textGreyLevel3
372
+
373
+ • **textGreyLevel3**: `string`
374
+
375
+ ___
376
+
377
+ ### textGreyLevel4
378
+
379
+ • **textGreyLevel4**: `string`
380
+
381
+ ___
382
+
383
+ ### textLight
384
+
385
+ • **textLight**: `string`
386
+
387
+ ___
388
+
389
+ ### textPlaceholder
390
+
391
+ • **textPlaceholder**: `string`
392
+
393
+ ___
394
+
395
+ ### textPrimary
396
+
397
+ • **textPrimary**: `string`
398
+
399
+ ___
400
+
401
+ ### textSecondary
402
+
403
+ • **textSecondary**: `string`
404
+
405
+ ___
406
+
407
+ ### textTertiary
408
+
409
+ • **textTertiary**: `string`
410
+
411
+ ___
412
+
413
+ ### warningYellow
414
+
415
+ • **warningYellow**: `string`
@@ -0,0 +1,50 @@
1
+ # Interface: SBFileType
2
+
3
+ File type entity
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [default](../wiki/SBFileType#default)
10
+ - [doc](../wiki/SBFileType#doc)
11
+ - [img](../wiki/SBFileType#img)
12
+ - [pdf](../wiki/SBFileType#pdf)
13
+ - [ppt](../wiki/SBFileType#ppt)
14
+ - [xls](../wiki/SBFileType#xls)
15
+
16
+ ## Properties
17
+
18
+ ### default
19
+
20
+ • **default**: `string`
21
+
22
+ ___
23
+
24
+ ### doc
25
+
26
+ • **doc**: `string`
27
+
28
+ ___
29
+
30
+ ### img
31
+
32
+ • **img**: `string`
33
+
34
+ ___
35
+
36
+ ### pdf
37
+
38
+ • **pdf**: `string`
39
+
40
+ ___
41
+
42
+ ### ppt
43
+
44
+ • **ppt**: `string`
45
+
46
+ ___
47
+
48
+ ### xls
49
+
50
+ • **xls**: `string`
@@ -0,0 +1,50 @@
1
+ # Interface: SBImageEntity
2
+
3
+ Image entity definition
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [format](../wiki/SBImageEntity#format)
10
+ - [height](../wiki/SBImageEntity#height)
11
+ - [mimeType](../wiki/SBImageEntity#mimetype)
12
+ - [size](../wiki/SBImageEntity#size)
13
+ - [url](../wiki/SBImageEntity#url)
14
+ - [width](../wiki/SBImageEntity#width)
15
+
16
+ ## Properties
17
+
18
+ ### format
19
+
20
+ • `Optional` **format**: `string`
21
+
22
+ ___
23
+
24
+ ### height
25
+
26
+ • **height**: `number`
27
+
28
+ ___
29
+
30
+ ### mimeType
31
+
32
+ • `Optional` **mimeType**: `string`
33
+
34
+ ___
35
+
36
+ ### size
37
+
38
+ • `Optional` **size**: `number`
39
+
40
+ ___
41
+
42
+ ### url
43
+
44
+ • **url**: `string`
45
+
46
+ ___
47
+
48
+ ### width
49
+
50
+ • **width**: `number`
@@ -0,0 +1,36 @@
1
+ # Interface: SBUserAvatar
2
+
3
+ User avatar definition
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [icon](../wiki/SBUserAvatar#icon)
10
+ - [original](../wiki/SBUserAvatar#original)
11
+ - [publicID](../wiki/SBUserAvatar#publicid)
12
+ - [thumb](../wiki/SBUserAvatar#thumb)
13
+
14
+ ## Properties
15
+
16
+ ### icon
17
+
18
+ • **icon**: [`SBImageEntity`](../wiki/SBImageEntity)
19
+
20
+ ___
21
+
22
+ ### original
23
+
24
+ • **original**: [`SBImageEntity`](../wiki/SBImageEntity)
25
+
26
+ ___
27
+
28
+ ### publicID
29
+
30
+ • **publicID**: `string`
31
+
32
+ ___
33
+
34
+ ### thumb
35
+
36
+ • **thumb**: [`SBImageEntity`](../wiki/SBImageEntity)
@@ -0,0 +1,64 @@
1
+ # Interface: SBUserProfile
2
+
3
+ User profile data
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [avatar](../wiki/SBUserProfile#avatar)
10
+ - [department](../wiki/SBUserProfile#department)
11
+ - [firstName](../wiki/SBUserProfile#firstname)
12
+ - [lastName](../wiki/SBUserProfile#lastname)
13
+ - [location](../wiki/SBUserProfile#location)
14
+ - [phoneNumber](../wiki/SBUserProfile#phonenumber)
15
+ - [position](../wiki/SBUserProfile#position)
16
+ - [publicEmailAddress](../wiki/SBUserProfile#publicemailaddress)
17
+
18
+ ## Properties
19
+
20
+ ### avatar
21
+
22
+ • `Optional` **avatar**: [`SBUserAvatar`](../wiki/SBUserAvatar)
23
+
24
+ ___
25
+
26
+ ### department
27
+
28
+ • `Optional` **department**: `string`
29
+
30
+ ___
31
+
32
+ ### firstName
33
+
34
+ • **firstName**: `string`
35
+
36
+ ___
37
+
38
+ ### lastName
39
+
40
+ • **lastName**: `string`
41
+
42
+ ___
43
+
44
+ ### location
45
+
46
+ • `Optional` **location**: `string`
47
+
48
+ ___
49
+
50
+ ### phoneNumber
51
+
52
+ • `Optional` **phoneNumber**: `string`
53
+
54
+ ___
55
+
56
+ ### position
57
+
58
+ • `Optional` **position**: `string`
59
+
60
+ ___
61
+
62
+ ### publicEmailAddress
63
+
64
+ • `Optional` **publicEmailAddress**: `string`
@@ -0,0 +1,36 @@
1
+ # Interface: UserListItem
2
+
3
+ Single user item
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [entityType](../wiki/UserListItem#entitytype)
10
+ - [firstName](../wiki/UserListItem#firstname)
11
+ - [id](../wiki/UserListItem#id)
12
+ - [lastName](../wiki/UserListItem#lastname)
13
+
14
+ ## Properties
15
+
16
+ ### entityType
17
+
18
+ • `Optional` **entityType**: `string`
19
+
20
+ ___
21
+
22
+ ### firstName
23
+
24
+ • `Optional` **firstName**: `string`
25
+
26
+ ___
27
+
28
+ ### id
29
+
30
+ • `Optional` **id**: `string`
31
+
32
+ ___
33
+
34
+ ### lastName
35
+
36
+ • `Optional` **lastName**: `string`
@@ -0,0 +1,36 @@
1
+ # Interface: UserListRequestQuery
2
+
3
+ User list request parameters
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [filter](../wiki/UserListRequestQuery#filter)
10
+ - [limit](../wiki/UserListRequestQuery#limit)
11
+ - [offset](../wiki/UserListRequestQuery#offset)
12
+ - [sort](../wiki/UserListRequestQuery#sort)
13
+
14
+ ## Properties
15
+
16
+ ### filter
17
+
18
+ • `Optional` **filter**: `string`
19
+
20
+ ___
21
+
22
+ ### limit
23
+
24
+ • `Optional` **limit**: `number`
25
+
26
+ ___
27
+
28
+ ### offset
29
+
30
+ • `Optional` **offset**: `number`
31
+
32
+ ___
33
+
34
+ ### sort
35
+
36
+ • `Optional` **sort**: [`UserListSorting`](../wiki/Home#userlistsorting)
@@ -0,0 +1,36 @@
1
+ # Interface: UserListResponse
2
+
3
+ Responded user list
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [data](../wiki/UserListResponse#data)
10
+ - [limit](../wiki/UserListResponse#limit)
11
+ - [offset](../wiki/UserListResponse#offset)
12
+ - [total](../wiki/UserListResponse#total)
13
+
14
+ ## Properties
15
+
16
+ ### data
17
+
18
+ • **data**: [`UserListItem`](../wiki/UserListItem)[]
19
+
20
+ ___
21
+
22
+ ### limit
23
+
24
+ • **limit**: `number`
25
+
26
+ ___
27
+
28
+ ### offset
29
+
30
+ • **offset**: `number`
31
+
32
+ ___
33
+
34
+ ### total
35
+
36
+ • **total**: `number`