@staffbase/widget-sdk 3.4.0-beta.2 → 3.4.0-beta.6
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/base-block.d.ts +98 -0
- package/{index.d.ts → dist/base-block.js} +2 -11
- package/{lib/block-attributes.ts → dist/block-attributes.d.ts} +2 -3
- package/dist/block-attributes.js +13 -0
- package/dist/block-definition.d.ts +91 -0
- package/dist/block-definition.js +13 -0
- package/dist/block-element.d.ts +45 -0
- package/dist/block-element.js +13 -0
- package/{lib/block-factory.ts → dist/block-factory.d.ts} +2 -6
- package/dist/block-factory.js +13 -0
- package/{lib/external-block-definition.ts → dist/external-block-definition.d.ts} +15 -19
- package/dist/external-block-definition.js +13 -0
- package/{lib → dist}/global.d.ts +6 -9
- package/dist/global.js +13 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/{lib/widget-api-types.ts → dist/widget-api-types.d.ts} +85 -83
- package/dist/widget-api-types.js +21 -0
- package/{lib/widget-api.ts → dist/widget-api.d.ts} +12 -12
- package/dist/widget-api.js +13 -0
- package/docs/.nojekyll +1 -0
- package/docs/BaseBlock.md +5887 -0
- package/docs/BlockAttributes.md +21 -0
- package/docs/BlockDefinition.md +167 -0
- package/docs/BlockElement.md +103 -0
- package/docs/ColorTheme.md +97 -0
- package/docs/ExternalBlockDefinition.md +58 -0
- package/docs/Home.md +56 -30
- package/docs/IntegrationInformation.md +70 -0
- package/docs/IntegrationState.md +41 -0
- package/docs/IntegrationToken.md +30 -0
- package/docs/SBColors.md +639 -0
- package/docs/SBFileType.md +74 -0
- package/docs/SBImageEntity.md +74 -0
- package/docs/SBUserAvatar.md +52 -0
- package/docs/SBUserProfile.md +96 -0
- package/docs/UserListItem.md +52 -0
- package/docs/UserListRequestQuery.md +52 -0
- package/docs/UserListResponse.md +52 -0
- package/docs/WidgetApi.md +142 -0
- package/docs/_Sidebar.md +2 -19
- package/package.json +22 -17
- package/.commitlintrc.json +0 -28
- package/.github/CODEOWNERS +0 -1
- package/.github/workflows/ci.yaml +0 -61
- package/.github/workflows/dependency-update.yml +0 -24
- package/.husky/commit-msg +0 -6
- package/.releaserc +0 -38
- package/CHANGELOG.md +0 -248
- package/CONTRIBUTING.md +0 -10
- package/catalog-info.yaml +0 -11
- package/docs/Interface: BaseBlock.md +0 -3226
- package/docs/Interface: BlockAttributes.md +0 -11
- package/docs/Interface: BlockDefinition.md +0 -117
- package/docs/Interface: BlockElement.md +0 -89
- package/docs/Interface: ColorTheme.md +0 -52
- package/docs/Interface: ExternalBlockDefinition.md +0 -38
- package/docs/Interface: SBColors.md +0 -354
- package/docs/Interface: SBFileType.md +0 -39
- package/docs/Interface: SBImageEntity.md +0 -39
- package/docs/Interface: SBUserAvatar.md +0 -27
- package/docs/Interface: SBUserProfile.md +0 -51
- package/docs/Interface: UserListItem.md +0 -27
- package/docs/Interface: UserListRequestQuery.md +0 -27
- package/docs/Interface: UserListResponse.md +0 -27
- package/docs/Interface: WidgetApi.md +0 -75
- package/lib/base-block.ts +0 -117
- package/lib/block-definition.ts +0 -101
- package/lib/block-element.ts +0 -56
- package/tsconfig.json +0 -13
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Interface: IntegrationToken
|
|
2
|
+
|
|
3
|
+
Integration Token including the expiration time
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [accessToken](../wiki/IntegrationToken#accesstoken)
|
|
10
|
+
- [accessTokenExpiresAt](../wiki/IntegrationToken#accesstokenexpiresat)
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### accessToken
|
|
15
|
+
|
|
16
|
+
• **accessToken**: `string`
|
|
17
|
+
|
|
18
|
+
#### Defined in
|
|
19
|
+
|
|
20
|
+
[lib/widget-api-types.ts:196](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L196)
|
|
21
|
+
|
|
22
|
+
___
|
|
23
|
+
|
|
24
|
+
### accessTokenExpiresAt
|
|
25
|
+
|
|
26
|
+
• `Optional` **accessTokenExpiresAt**: `Date`
|
|
27
|
+
|
|
28
|
+
#### Defined in
|
|
29
|
+
|
|
30
|
+
[lib/widget-api-types.ts:199](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L199)
|
package/docs/SBColors.md
ADDED
|
@@ -0,0 +1,639 @@
|
|
|
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
|
+
#### Defined in
|
|
88
|
+
|
|
89
|
+
[lib/widget-api-types.ts:41](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L41)
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### backgroundBase
|
|
94
|
+
|
|
95
|
+
• **backgroundBase**: `string`
|
|
96
|
+
|
|
97
|
+
#### Defined in
|
|
98
|
+
|
|
99
|
+
[lib/widget-api-types.ts:61](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L61)
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### backgroundField
|
|
104
|
+
|
|
105
|
+
• **backgroundField**: `string`
|
|
106
|
+
|
|
107
|
+
#### Defined in
|
|
108
|
+
|
|
109
|
+
[lib/widget-api-types.ts:42](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L42)
|
|
110
|
+
|
|
111
|
+
___
|
|
112
|
+
|
|
113
|
+
### backgroundFieldLight
|
|
114
|
+
|
|
115
|
+
• **backgroundFieldLight**: `string`
|
|
116
|
+
|
|
117
|
+
#### Defined in
|
|
118
|
+
|
|
119
|
+
[lib/widget-api-types.ts:43](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L43)
|
|
120
|
+
|
|
121
|
+
___
|
|
122
|
+
|
|
123
|
+
### backgroundLevel1
|
|
124
|
+
|
|
125
|
+
• **backgroundLevel1**: `string`
|
|
126
|
+
|
|
127
|
+
#### Defined in
|
|
128
|
+
|
|
129
|
+
[lib/widget-api-types.ts:62](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L62)
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### backgroundLevel2
|
|
134
|
+
|
|
135
|
+
• **backgroundLevel2**: `string`
|
|
136
|
+
|
|
137
|
+
#### Defined in
|
|
138
|
+
|
|
139
|
+
[lib/widget-api-types.ts:63](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L63)
|
|
140
|
+
|
|
141
|
+
___
|
|
142
|
+
|
|
143
|
+
### backgroundLevel3
|
|
144
|
+
|
|
145
|
+
• **backgroundLevel3**: `string`
|
|
146
|
+
|
|
147
|
+
#### Defined in
|
|
148
|
+
|
|
149
|
+
[lib/widget-api-types.ts:64](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L64)
|
|
150
|
+
|
|
151
|
+
___
|
|
152
|
+
|
|
153
|
+
### backgroundLevel4
|
|
154
|
+
|
|
155
|
+
• **backgroundLevel4**: `string`
|
|
156
|
+
|
|
157
|
+
#### Defined in
|
|
158
|
+
|
|
159
|
+
[lib/widget-api-types.ts:65](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L65)
|
|
160
|
+
|
|
161
|
+
___
|
|
162
|
+
|
|
163
|
+
### backgroundPrimary
|
|
164
|
+
|
|
165
|
+
• **backgroundPrimary**: `string`
|
|
166
|
+
|
|
167
|
+
#### Defined in
|
|
168
|
+
|
|
169
|
+
[lib/widget-api-types.ts:44](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L44)
|
|
170
|
+
|
|
171
|
+
___
|
|
172
|
+
|
|
173
|
+
### backgroundSecondary
|
|
174
|
+
|
|
175
|
+
• **backgroundSecondary**: `string`
|
|
176
|
+
|
|
177
|
+
#### Defined in
|
|
178
|
+
|
|
179
|
+
[lib/widget-api-types.ts:45](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L45)
|
|
180
|
+
|
|
181
|
+
___
|
|
182
|
+
|
|
183
|
+
### backgroundTertiary
|
|
184
|
+
|
|
185
|
+
• **backgroundTertiary**: `string`
|
|
186
|
+
|
|
187
|
+
#### Defined in
|
|
188
|
+
|
|
189
|
+
[lib/widget-api-types.ts:46](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L46)
|
|
190
|
+
|
|
191
|
+
___
|
|
192
|
+
|
|
193
|
+
### black
|
|
194
|
+
|
|
195
|
+
• **black**: `string`
|
|
196
|
+
|
|
197
|
+
#### Defined in
|
|
198
|
+
|
|
199
|
+
[lib/widget-api-types.ts:47](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L47)
|
|
200
|
+
|
|
201
|
+
___
|
|
202
|
+
|
|
203
|
+
### blue
|
|
204
|
+
|
|
205
|
+
• **blue**: `string`
|
|
206
|
+
|
|
207
|
+
#### Defined in
|
|
208
|
+
|
|
209
|
+
[lib/widget-api-types.ts:66](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L66)
|
|
210
|
+
|
|
211
|
+
___
|
|
212
|
+
|
|
213
|
+
### blueDark
|
|
214
|
+
|
|
215
|
+
• **blueDark**: `string`
|
|
216
|
+
|
|
217
|
+
#### Defined in
|
|
218
|
+
|
|
219
|
+
[lib/widget-api-types.ts:67](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L67)
|
|
220
|
+
|
|
221
|
+
___
|
|
222
|
+
|
|
223
|
+
### blueLight
|
|
224
|
+
|
|
225
|
+
• **blueLight**: `string`
|
|
226
|
+
|
|
227
|
+
#### Defined in
|
|
228
|
+
|
|
229
|
+
[lib/widget-api-types.ts:68](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L68)
|
|
230
|
+
|
|
231
|
+
___
|
|
232
|
+
|
|
233
|
+
### borderSolid
|
|
234
|
+
|
|
235
|
+
• **borderSolid**: `string`
|
|
236
|
+
|
|
237
|
+
#### Defined in
|
|
238
|
+
|
|
239
|
+
[lib/widget-api-types.ts:48](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L48)
|
|
240
|
+
|
|
241
|
+
___
|
|
242
|
+
|
|
243
|
+
### borderTranslucent
|
|
244
|
+
|
|
245
|
+
• **borderTranslucent**: `string`
|
|
246
|
+
|
|
247
|
+
#### Defined in
|
|
248
|
+
|
|
249
|
+
[lib/widget-api-types.ts:49](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L49)
|
|
250
|
+
|
|
251
|
+
___
|
|
252
|
+
|
|
253
|
+
### clientForeground
|
|
254
|
+
|
|
255
|
+
• **clientForeground**: `string`
|
|
256
|
+
|
|
257
|
+
#### Defined in
|
|
258
|
+
|
|
259
|
+
[lib/widget-api-types.ts:50](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L50)
|
|
260
|
+
|
|
261
|
+
___
|
|
262
|
+
|
|
263
|
+
### clientPrimary
|
|
264
|
+
|
|
265
|
+
• **clientPrimary**: `string`
|
|
266
|
+
|
|
267
|
+
#### Defined in
|
|
268
|
+
|
|
269
|
+
[lib/widget-api-types.ts:51](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L51)
|
|
270
|
+
|
|
271
|
+
___
|
|
272
|
+
|
|
273
|
+
### clientPrimaryA11y
|
|
274
|
+
|
|
275
|
+
• **clientPrimaryA11y**: `string`
|
|
276
|
+
|
|
277
|
+
#### Defined in
|
|
278
|
+
|
|
279
|
+
[lib/widget-api-types.ts:52](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L52)
|
|
280
|
+
|
|
281
|
+
___
|
|
282
|
+
|
|
283
|
+
### clientSecondary
|
|
284
|
+
|
|
285
|
+
• **clientSecondary**: `string`
|
|
286
|
+
|
|
287
|
+
#### Defined in
|
|
288
|
+
|
|
289
|
+
[lib/widget-api-types.ts:53](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L53)
|
|
290
|
+
|
|
291
|
+
___
|
|
292
|
+
|
|
293
|
+
### clientSecondaryA11y
|
|
294
|
+
|
|
295
|
+
• **clientSecondaryA11y**: `string`
|
|
296
|
+
|
|
297
|
+
#### Defined in
|
|
298
|
+
|
|
299
|
+
[lib/widget-api-types.ts:54](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L54)
|
|
300
|
+
|
|
301
|
+
___
|
|
302
|
+
|
|
303
|
+
### fileType
|
|
304
|
+
|
|
305
|
+
• **fileType**: [`SBFileType`](../wiki/SBFileType)
|
|
306
|
+
|
|
307
|
+
#### Defined in
|
|
308
|
+
|
|
309
|
+
[lib/widget-api-types.ts:40](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L40)
|
|
310
|
+
|
|
311
|
+
___
|
|
312
|
+
|
|
313
|
+
### green
|
|
314
|
+
|
|
315
|
+
• **green**: `string`
|
|
316
|
+
|
|
317
|
+
#### Defined in
|
|
318
|
+
|
|
319
|
+
[lib/widget-api-types.ts:69](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L69)
|
|
320
|
+
|
|
321
|
+
___
|
|
322
|
+
|
|
323
|
+
### greenDark
|
|
324
|
+
|
|
325
|
+
• **greenDark**: `string`
|
|
326
|
+
|
|
327
|
+
#### Defined in
|
|
328
|
+
|
|
329
|
+
[lib/widget-api-types.ts:70](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L70)
|
|
330
|
+
|
|
331
|
+
___
|
|
332
|
+
|
|
333
|
+
### greenLight
|
|
334
|
+
|
|
335
|
+
• **greenLight**: `string`
|
|
336
|
+
|
|
337
|
+
#### Defined in
|
|
338
|
+
|
|
339
|
+
[lib/widget-api-types.ts:71](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L71)
|
|
340
|
+
|
|
341
|
+
___
|
|
342
|
+
|
|
343
|
+
### grey
|
|
344
|
+
|
|
345
|
+
• **grey**: `string`
|
|
346
|
+
|
|
347
|
+
#### Defined in
|
|
348
|
+
|
|
349
|
+
[lib/widget-api-types.ts:72](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L72)
|
|
350
|
+
|
|
351
|
+
___
|
|
352
|
+
|
|
353
|
+
### greyDark
|
|
354
|
+
|
|
355
|
+
• **greyDark**: `string`
|
|
356
|
+
|
|
357
|
+
#### Defined in
|
|
358
|
+
|
|
359
|
+
[lib/widget-api-types.ts:73](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L73)
|
|
360
|
+
|
|
361
|
+
___
|
|
362
|
+
|
|
363
|
+
### greyLight
|
|
364
|
+
|
|
365
|
+
• **greyLight**: `string`
|
|
366
|
+
|
|
367
|
+
#### Defined in
|
|
368
|
+
|
|
369
|
+
[lib/widget-api-types.ts:74](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L74)
|
|
370
|
+
|
|
371
|
+
___
|
|
372
|
+
|
|
373
|
+
### hairline
|
|
374
|
+
|
|
375
|
+
• **hairline**: `string`
|
|
376
|
+
|
|
377
|
+
#### Defined in
|
|
378
|
+
|
|
379
|
+
[lib/widget-api-types.ts:75](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L75)
|
|
380
|
+
|
|
381
|
+
___
|
|
382
|
+
|
|
383
|
+
### hairlineDark
|
|
384
|
+
|
|
385
|
+
• **hairlineDark**: `string`
|
|
386
|
+
|
|
387
|
+
#### Defined in
|
|
388
|
+
|
|
389
|
+
[lib/widget-api-types.ts:76](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L76)
|
|
390
|
+
|
|
391
|
+
___
|
|
392
|
+
|
|
393
|
+
### hoverState
|
|
394
|
+
|
|
395
|
+
• **hoverState**: `string`
|
|
396
|
+
|
|
397
|
+
#### Defined in
|
|
398
|
+
|
|
399
|
+
[lib/widget-api-types.ts:60](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L60)
|
|
400
|
+
|
|
401
|
+
___
|
|
402
|
+
|
|
403
|
+
### neutral
|
|
404
|
+
|
|
405
|
+
• **neutral**: `string`
|
|
406
|
+
|
|
407
|
+
#### Defined in
|
|
408
|
+
|
|
409
|
+
[lib/widget-api-types.ts:77](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L77)
|
|
410
|
+
|
|
411
|
+
___
|
|
412
|
+
|
|
413
|
+
### neutralDark
|
|
414
|
+
|
|
415
|
+
• **neutralDark**: `string`
|
|
416
|
+
|
|
417
|
+
#### Defined in
|
|
418
|
+
|
|
419
|
+
[lib/widget-api-types.ts:78](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L78)
|
|
420
|
+
|
|
421
|
+
___
|
|
422
|
+
|
|
423
|
+
### neutralLight
|
|
424
|
+
|
|
425
|
+
• **neutralLight**: `string`
|
|
426
|
+
|
|
427
|
+
#### Defined in
|
|
428
|
+
|
|
429
|
+
[lib/widget-api-types.ts:79](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L79)
|
|
430
|
+
|
|
431
|
+
___
|
|
432
|
+
|
|
433
|
+
### orange
|
|
434
|
+
|
|
435
|
+
• **orange**: `string`
|
|
436
|
+
|
|
437
|
+
#### Defined in
|
|
438
|
+
|
|
439
|
+
[lib/widget-api-types.ts:80](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L80)
|
|
440
|
+
|
|
441
|
+
___
|
|
442
|
+
|
|
443
|
+
### orangeDark
|
|
444
|
+
|
|
445
|
+
• **orangeDark**: `string`
|
|
446
|
+
|
|
447
|
+
#### Defined in
|
|
448
|
+
|
|
449
|
+
[lib/widget-api-types.ts:81](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L81)
|
|
450
|
+
|
|
451
|
+
___
|
|
452
|
+
|
|
453
|
+
### orangeLight
|
|
454
|
+
|
|
455
|
+
• **orangeLight**: `string`
|
|
456
|
+
|
|
457
|
+
#### Defined in
|
|
458
|
+
|
|
459
|
+
[lib/widget-api-types.ts:82](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L82)
|
|
460
|
+
|
|
461
|
+
___
|
|
462
|
+
|
|
463
|
+
### overlay
|
|
464
|
+
|
|
465
|
+
• **overlay**: `string`
|
|
466
|
+
|
|
467
|
+
#### Defined in
|
|
468
|
+
|
|
469
|
+
[lib/widget-api-types.ts:83](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L83)
|
|
470
|
+
|
|
471
|
+
___
|
|
472
|
+
|
|
473
|
+
### overlayDark
|
|
474
|
+
|
|
475
|
+
• **overlayDark**: `string`
|
|
476
|
+
|
|
477
|
+
#### Defined in
|
|
478
|
+
|
|
479
|
+
[lib/widget-api-types.ts:84](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L84)
|
|
480
|
+
|
|
481
|
+
___
|
|
482
|
+
|
|
483
|
+
### pressedState
|
|
484
|
+
|
|
485
|
+
• **pressedState**: `string`
|
|
486
|
+
|
|
487
|
+
#### Defined in
|
|
488
|
+
|
|
489
|
+
[lib/widget-api-types.ts:59](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L59)
|
|
490
|
+
|
|
491
|
+
___
|
|
492
|
+
|
|
493
|
+
### red
|
|
494
|
+
|
|
495
|
+
• **red**: `string`
|
|
496
|
+
|
|
497
|
+
#### Defined in
|
|
498
|
+
|
|
499
|
+
[lib/widget-api-types.ts:85](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L85)
|
|
500
|
+
|
|
501
|
+
___
|
|
502
|
+
|
|
503
|
+
### redDark
|
|
504
|
+
|
|
505
|
+
• **redDark**: `string`
|
|
506
|
+
|
|
507
|
+
#### Defined in
|
|
508
|
+
|
|
509
|
+
[lib/widget-api-types.ts:86](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L86)
|
|
510
|
+
|
|
511
|
+
___
|
|
512
|
+
|
|
513
|
+
### redLight
|
|
514
|
+
|
|
515
|
+
• **redLight**: `string`
|
|
516
|
+
|
|
517
|
+
#### Defined in
|
|
518
|
+
|
|
519
|
+
[lib/widget-api-types.ts:87](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L87)
|
|
520
|
+
|
|
521
|
+
___
|
|
522
|
+
|
|
523
|
+
### text
|
|
524
|
+
|
|
525
|
+
• **text**: `string`
|
|
526
|
+
|
|
527
|
+
#### Defined in
|
|
528
|
+
|
|
529
|
+
[lib/widget-api-types.ts:88](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L88)
|
|
530
|
+
|
|
531
|
+
___
|
|
532
|
+
|
|
533
|
+
### textGreyBase
|
|
534
|
+
|
|
535
|
+
• **textGreyBase**: `string`
|
|
536
|
+
|
|
537
|
+
#### Defined in
|
|
538
|
+
|
|
539
|
+
[lib/widget-api-types.ts:89](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L89)
|
|
540
|
+
|
|
541
|
+
___
|
|
542
|
+
|
|
543
|
+
### textGreyLevel1
|
|
544
|
+
|
|
545
|
+
• **textGreyLevel1**: `string`
|
|
546
|
+
|
|
547
|
+
#### Defined in
|
|
548
|
+
|
|
549
|
+
[lib/widget-api-types.ts:90](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L90)
|
|
550
|
+
|
|
551
|
+
___
|
|
552
|
+
|
|
553
|
+
### textGreyLevel2
|
|
554
|
+
|
|
555
|
+
• **textGreyLevel2**: `string`
|
|
556
|
+
|
|
557
|
+
#### Defined in
|
|
558
|
+
|
|
559
|
+
[lib/widget-api-types.ts:91](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L91)
|
|
560
|
+
|
|
561
|
+
___
|
|
562
|
+
|
|
563
|
+
### textGreyLevel3
|
|
564
|
+
|
|
565
|
+
• **textGreyLevel3**: `string`
|
|
566
|
+
|
|
567
|
+
#### Defined in
|
|
568
|
+
|
|
569
|
+
[lib/widget-api-types.ts:92](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L92)
|
|
570
|
+
|
|
571
|
+
___
|
|
572
|
+
|
|
573
|
+
### textGreyLevel4
|
|
574
|
+
|
|
575
|
+
• **textGreyLevel4**: `string`
|
|
576
|
+
|
|
577
|
+
#### Defined in
|
|
578
|
+
|
|
579
|
+
[lib/widget-api-types.ts:93](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L93)
|
|
580
|
+
|
|
581
|
+
___
|
|
582
|
+
|
|
583
|
+
### textLight
|
|
584
|
+
|
|
585
|
+
• **textLight**: `string`
|
|
586
|
+
|
|
587
|
+
#### Defined in
|
|
588
|
+
|
|
589
|
+
[lib/widget-api-types.ts:94](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L94)
|
|
590
|
+
|
|
591
|
+
___
|
|
592
|
+
|
|
593
|
+
### textPlaceholder
|
|
594
|
+
|
|
595
|
+
• **textPlaceholder**: `string`
|
|
596
|
+
|
|
597
|
+
#### Defined in
|
|
598
|
+
|
|
599
|
+
[lib/widget-api-types.ts:55](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L55)
|
|
600
|
+
|
|
601
|
+
___
|
|
602
|
+
|
|
603
|
+
### textPrimary
|
|
604
|
+
|
|
605
|
+
• **textPrimary**: `string`
|
|
606
|
+
|
|
607
|
+
#### Defined in
|
|
608
|
+
|
|
609
|
+
[lib/widget-api-types.ts:56](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L56)
|
|
610
|
+
|
|
611
|
+
___
|
|
612
|
+
|
|
613
|
+
### textSecondary
|
|
614
|
+
|
|
615
|
+
• **textSecondary**: `string`
|
|
616
|
+
|
|
617
|
+
#### Defined in
|
|
618
|
+
|
|
619
|
+
[lib/widget-api-types.ts:57](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L57)
|
|
620
|
+
|
|
621
|
+
___
|
|
622
|
+
|
|
623
|
+
### textTertiary
|
|
624
|
+
|
|
625
|
+
• **textTertiary**: `string`
|
|
626
|
+
|
|
627
|
+
#### Defined in
|
|
628
|
+
|
|
629
|
+
[lib/widget-api-types.ts:58](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L58)
|
|
630
|
+
|
|
631
|
+
___
|
|
632
|
+
|
|
633
|
+
### warningYellow
|
|
634
|
+
|
|
635
|
+
• **warningYellow**: `string`
|
|
636
|
+
|
|
637
|
+
#### Defined in
|
|
638
|
+
|
|
639
|
+
[lib/widget-api-types.ts:95](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L95)
|