@teambit/notifications 1.0.257 → 1.0.259

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.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.ui-foundation/notifications@1.0.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.ui-foundation/notifications@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,467 +14,486 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "notification.ui.runtime.tsx",
20
- "line": 17,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 26
22
22
  },
23
- "doc": {
24
- "__schema": "DocSchema",
23
+ "name": "default",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
25
26
  "location": {
26
27
  "filePath": "notification.ui.runtime.tsx",
27
- "line": 14,
28
+ "line": 17,
28
29
  "character": 1
29
30
  },
30
- "raw": "/**\n * extension\n */",
31
- "comment": "extension"
32
- },
33
- "signature": "class NotificationUI",
34
- "name": "NotificationUI",
35
- "members": [
36
- {
37
- "__schema": "VariableLikeSchema",
31
+ "doc": {
32
+ "__schema": "DocSchema",
38
33
  "location": {
39
34
  "filePath": "notification.ui.runtime.tsx",
40
- "line": 18,
41
- "character": 3
35
+ "line": 14,
36
+ "character": 1
42
37
  },
43
- "signature": "(property) NotificationUI.dependencies: Aspect[]",
44
- "name": "dependencies",
45
- "type": {
46
- "__schema": "InferenceTypeSchema",
38
+ "raw": "/**\n * extension\n */",
39
+ "comment": "extension"
40
+ },
41
+ "signature": "class NotificationUI",
42
+ "name": "NotificationUI",
43
+ "members": [
44
+ {
45
+ "__schema": "VariableLikeSchema",
47
46
  "location": {
48
47
  "filePath": "notification.ui.runtime.tsx",
49
48
  "line": 18,
50
49
  "character": 3
51
50
  },
52
- "type": "Aspect[]"
53
- },
54
- "isOptional": true,
55
- "defaultValue": "[UIAspect]"
56
- },
57
- {
58
- "__schema": "VariableLikeSchema",
59
- "location": {
60
- "filePath": "notification.ui.runtime.tsx",
61
- "line": 20,
62
- "character": 3
51
+ "signature": "(property) NotificationUI.dependencies: Aspect[]",
52
+ "name": "dependencies",
53
+ "type": {
54
+ "__schema": "InferenceTypeSchema",
55
+ "location": {
56
+ "filePath": "notification.ui.runtime.tsx",
57
+ "line": 18,
58
+ "character": 3
59
+ },
60
+ "type": "Aspect[]"
61
+ },
62
+ "isOptional": true,
63
+ "defaultValue": "[UIAspect]"
63
64
  },
64
- "signature": "(property) NotificationUI.runtime: RuntimeDefinition",
65
- "name": "runtime",
66
- "type": {
67
- "__schema": "InferenceTypeSchema",
65
+ {
66
+ "__schema": "VariableLikeSchema",
68
67
  "location": {
69
68
  "filePath": "notification.ui.runtime.tsx",
70
69
  "line": 20,
71
70
  "character": 3
72
71
  },
73
- "type": "RuntimeDefinition"
74
- },
75
- "isOptional": true,
76
- "defaultValue": "UIRuntime"
77
- },
78
- {
79
- "__schema": "FunctionLikeSchema",
80
- "location": {
81
- "filePath": "notification.ui.runtime.tsx",
82
- "line": 22,
83
- "character": 3
84
- },
85
- "signature": "(method) NotificationUI.provider([uiRuntimeExtension]: [UiUI]): Promise<NotificationUI>",
86
- "name": "provider",
87
- "params": [
88
- {
89
- "__schema": "ParameterSchema",
72
+ "signature": "(property) NotificationUI.runtime: RuntimeDefinition",
73
+ "name": "runtime",
74
+ "type": {
75
+ "__schema": "InferenceTypeSchema",
90
76
  "location": {
91
77
  "filePath": "notification.ui.runtime.tsx",
92
- "line": 22,
93
- "character": 25
78
+ "line": 20,
79
+ "character": 3
94
80
  },
95
- "name": "[ uiRuntimeExtension ]",
96
- "type": {
97
- "__schema": "TupleTypeSchema",
81
+ "type": "RuntimeDefinition"
82
+ },
83
+ "isOptional": true,
84
+ "defaultValue": "UIRuntime"
85
+ },
86
+ {
87
+ "__schema": "FunctionLikeSchema",
88
+ "location": {
89
+ "filePath": "notification.ui.runtime.tsx",
90
+ "line": 22,
91
+ "character": 3
92
+ },
93
+ "signature": "(method) NotificationUI.provider([uiRuntimeExtension]: [UiUI]): Promise<NotificationUI>",
94
+ "name": "provider",
95
+ "params": [
96
+ {
97
+ "__schema": "ParameterSchema",
98
98
  "location": {
99
99
  "filePath": "notification.ui.runtime.tsx",
100
100
  "line": 22,
101
- "character": 47
101
+ "character": 25
102
102
  },
103
- "elements": [
104
- {
105
- "__schema": "TypeRefSchema",
106
- "location": {
107
- "filePath": "notification.ui.runtime.tsx",
108
- "line": 22,
109
- "character": 48
110
- },
111
- "name": "UiUI",
112
- "componentId": {
113
- "scope": "teambit.ui-foundation",
114
- "name": "ui"
103
+ "name": "[ uiRuntimeExtension ]",
104
+ "type": {
105
+ "__schema": "TupleTypeSchema",
106
+ "location": {
107
+ "filePath": "notification.ui.runtime.tsx",
108
+ "line": 22,
109
+ "character": 47
110
+ },
111
+ "elements": [
112
+ {
113
+ "__schema": "TypeRefSchema",
114
+ "location": {
115
+ "filePath": "notification.ui.runtime.tsx",
116
+ "line": 22,
117
+ "character": 48
118
+ },
119
+ "name": "UiUI",
120
+ "componentId": {
121
+ "scope": "teambit.ui-foundation",
122
+ "name": "ui"
123
+ }
115
124
  }
116
- }
117
- ]
125
+ ]
126
+ },
127
+ "isOptional": false,
128
+ "isSpread": false
129
+ }
130
+ ],
131
+ "returnType": {
132
+ "__schema": "InferenceTypeSchema",
133
+ "location": {
134
+ "filePath": "notification.ui.runtime.tsx",
135
+ "line": 22,
136
+ "character": 3
118
137
  },
119
- "isOptional": false,
120
- "isSpread": false
121
- }
122
- ],
123
- "returnType": {
124
- "__schema": "InferenceTypeSchema",
138
+ "type": "Promise<NotificationUI>"
139
+ },
140
+ "modifiers": [
141
+ "static",
142
+ "async"
143
+ ]
144
+ },
145
+ {
146
+ "__schema": "ConstructorSchema",
125
147
  "location": {
126
148
  "filePath": "notification.ui.runtime.tsx",
127
- "line": 22,
149
+ "line": 26,
128
150
  "character": 3
129
151
  },
130
- "type": "Promise<NotificationUI>"
131
- },
132
- "modifiers": [
133
- "static",
134
- "async"
135
- ]
136
- },
137
- {
138
- "__schema": "ConstructorSchema",
139
- "location": {
140
- "filePath": "notification.ui.runtime.tsx",
141
- "line": 26,
142
- "character": 3
143
- },
144
- "signature": "constructor NotificationUI(uiRuntimeExtension: UiUI): NotificationUI",
145
- "name": "constructor",
146
- "params": [
147
- {
148
- "__schema": "ParameterSchema",
149
- "location": {
150
- "filePath": "notification.ui.runtime.tsx",
151
- "line": 26,
152
- "character": 15
153
- },
154
- "name": "uiRuntimeExtension",
155
- "type": {
156
- "__schema": "TypeRefSchema",
152
+ "signature": "constructor NotificationUI(uiRuntimeExtension: UiUI): NotificationUI",
153
+ "name": "constructor",
154
+ "params": [
155
+ {
156
+ "__schema": "ParameterSchema",
157
157
  "location": {
158
158
  "filePath": "notification.ui.runtime.tsx",
159
159
  "line": 26,
160
- "character": 35
160
+ "character": 15
161
161
  },
162
- "name": "UiUI",
163
- "componentId": {
164
- "scope": "teambit.ui-foundation",
165
- "name": "ui"
166
- }
162
+ "name": "uiRuntimeExtension",
163
+ "type": {
164
+ "__schema": "TypeRefSchema",
165
+ "location": {
166
+ "filePath": "notification.ui.runtime.tsx",
167
+ "line": 26,
168
+ "character": 35
169
+ },
170
+ "name": "UiUI",
171
+ "componentId": {
172
+ "scope": "teambit.ui-foundation",
173
+ "name": "ui"
174
+ }
175
+ },
176
+ "isOptional": false,
177
+ "isSpread": false
178
+ }
179
+ ],
180
+ "returnType": {
181
+ "__schema": "ThisTypeSchema",
182
+ "location": {
183
+ "filePath": "notification.ui.runtime.tsx",
184
+ "line": 17,
185
+ "character": 1
167
186
  },
168
- "isOptional": false,
169
- "isSpread": false
170
- }
171
- ],
172
- "returnType": {
173
- "__schema": "ThisTypeSchema",
174
- "location": {
175
- "filePath": "notification.ui.runtime.tsx",
176
- "line": 17,
177
- "character": 1
178
- },
179
- "name": "NotificationUI"
180
- },
181
- "modifiers": []
182
- },
183
- {
184
- "__schema": "VariableLikeSchema",
185
- "location": {
186
- "filePath": "notification.ui.runtime.tsx",
187
- "line": 34,
188
- "character": 3
189
- },
190
- "doc": {
191
- "__schema": "DocSchema",
192
- "location": {
193
- "filePath": "notification.ui.runtime.tsx",
194
- "line": 33,
195
- "character": 3
187
+ "name": "NotificationUI"
196
188
  },
197
- "raw": "/** adds a full message to the log */",
198
- "comment": "adds a full message to the log"
189
+ "modifiers": []
199
190
  },
200
- "signature": "(property) NotificationUI.add: (message: string, level: MessageLevel) => string",
201
- "name": "add",
202
- "type": {
203
- "__schema": "InferenceTypeSchema",
191
+ {
192
+ "__schema": "VariableLikeSchema",
204
193
  "location": {
205
194
  "filePath": "notification.ui.runtime.tsx",
206
195
  "line": 34,
207
196
  "character": 3
208
197
  },
209
- "type": "(message: string, level: MessageLevel) => string"
210
- },
211
- "isOptional": true,
212
- "defaultValue": "(message: string, level: MessageLevel) => {\n const id = v1();\n\n this.dispatch?.({\n type: 'add',\n content: {\n id,\n message,\n level,\n time: new Date().toISOString(),\n },\n });\n\n return id;\n }"
213
- },
214
- {
215
- "__schema": "FunctionLikeSchema",
216
- "location": {
217
- "filePath": "notification.ui.runtime.tsx",
218
- "line": 51,
219
- "character": 3
198
+ "doc": {
199
+ "__schema": "DocSchema",
200
+ "location": {
201
+ "filePath": "notification.ui.runtime.tsx",
202
+ "line": 33,
203
+ "character": 3
204
+ },
205
+ "raw": "/** adds a full message to the log */",
206
+ "comment": "adds a full message to the log"
207
+ },
208
+ "signature": "(property) NotificationUI.add: (message: string, level: MessageLevel) => string",
209
+ "name": "add",
210
+ "type": {
211
+ "__schema": "InferenceTypeSchema",
212
+ "location": {
213
+ "filePath": "notification.ui.runtime.tsx",
214
+ "line": 34,
215
+ "character": 3
216
+ },
217
+ "type": "(message: string, level: MessageLevel) => string"
218
+ },
219
+ "isOptional": true,
220
+ "defaultValue": "(message: string, level: MessageLevel) => {\n const id = v1();\n\n this.dispatch?.({\n type: 'add',\n content: {\n id,\n message,\n level,\n time: new Date().toISOString(),\n },\n });\n\n return id;\n }"
220
221
  },
221
- "doc": {
222
- "__schema": "DocSchema",
222
+ {
223
+ "__schema": "FunctionLikeSchema",
223
224
  "location": {
224
225
  "filePath": "notification.ui.runtime.tsx",
225
- "line": 50,
226
+ "line": 51,
226
227
  "character": 3
227
228
  },
228
- "raw": "/** removes/archives a message from the log */",
229
- "comment": "removes/archives a message from the log"
230
- },
231
- "signature": "(method) NotificationUI.dismiss(id: string): void",
232
- "name": "dismiss",
233
- "params": [
234
- {
235
- "__schema": "ParameterSchema",
229
+ "doc": {
230
+ "__schema": "DocSchema",
236
231
  "location": {
237
232
  "filePath": "notification.ui.runtime.tsx",
238
- "line": 51,
239
- "character": 11
233
+ "line": 50,
234
+ "character": 3
240
235
  },
241
- "name": "id",
242
- "type": {
243
- "__schema": "KeywordTypeSchema",
236
+ "raw": "/** removes/archives a message from the log */",
237
+ "comment": "removes/archives a message from the log"
238
+ },
239
+ "signature": "(method) NotificationUI.dismiss(id: string): void",
240
+ "name": "dismiss",
241
+ "params": [
242
+ {
243
+ "__schema": "ParameterSchema",
244
244
  "location": {
245
245
  "filePath": "notification.ui.runtime.tsx",
246
246
  "line": 51,
247
- "character": 15
247
+ "character": 11
248
+ },
249
+ "name": "id",
250
+ "type": {
251
+ "__schema": "KeywordTypeSchema",
252
+ "location": {
253
+ "filePath": "notification.ui.runtime.tsx",
254
+ "line": 51,
255
+ "character": 15
256
+ },
257
+ "name": "string"
248
258
  },
249
- "name": "string"
259
+ "isOptional": false,
260
+ "isSpread": false
261
+ }
262
+ ],
263
+ "returnType": {
264
+ "__schema": "InferenceTypeSchema",
265
+ "location": {
266
+ "filePath": "notification.ui.runtime.tsx",
267
+ "line": 51,
268
+ "character": 3
250
269
  },
251
- "isOptional": false,
252
- "isSpread": false
253
- }
254
- ],
255
- "returnType": {
256
- "__schema": "InferenceTypeSchema",
257
- "location": {
258
- "filePath": "notification.ui.runtime.tsx",
259
- "line": 51,
260
- "character": 3
261
- },
262
- "type": "void"
263
- },
264
- "modifiers": []
265
- },
266
- {
267
- "__schema": "VariableLikeSchema",
268
- "location": {
269
- "filePath": "notification.ui.runtime.tsx",
270
- "line": 59,
271
- "character": 3
272
- },
273
- "doc": {
274
- "__schema": "DocSchema",
275
- "location": {
276
- "filePath": "notification.ui.runtime.tsx",
277
- "line": 58,
278
- "character": 3
270
+ "type": "void"
279
271
  },
280
- "raw": "/** adds a message with level \"info\" to the log */",
281
- "comment": "adds a message with level \"info\" to the log"
272
+ "modifiers": []
282
273
  },
283
- "signature": "(property) NotificationUI.log: (message: string) => string",
284
- "name": "log",
285
- "type": {
286
- "__schema": "InferenceTypeSchema",
274
+ {
275
+ "__schema": "VariableLikeSchema",
287
276
  "location": {
288
277
  "filePath": "notification.ui.runtime.tsx",
289
278
  "line": 59,
290
279
  "character": 3
291
280
  },
292
- "type": "(message: string) => string"
293
- },
294
- "isOptional": true,
295
- "defaultValue": "(message: string) => this.add(message, MessageLevel.info)"
296
- },
297
- {
298
- "__schema": "VariableLikeSchema",
299
- "location": {
300
- "filePath": "notification.ui.runtime.tsx",
301
- "line": 61,
302
- "character": 3
303
- },
304
- "doc": {
305
- "__schema": "DocSchema",
306
- "location": {
307
- "filePath": "notification.ui.runtime.tsx",
308
- "line": 60,
309
- "character": 3
281
+ "doc": {
282
+ "__schema": "DocSchema",
283
+ "location": {
284
+ "filePath": "notification.ui.runtime.tsx",
285
+ "line": 58,
286
+ "character": 3
287
+ },
288
+ "raw": "/** adds a message with level \"info\" to the log */",
289
+ "comment": "adds a message with level \"info\" to the log"
290
+ },
291
+ "signature": "(property) NotificationUI.log: (message: string) => string",
292
+ "name": "log",
293
+ "type": {
294
+ "__schema": "InferenceTypeSchema",
295
+ "location": {
296
+ "filePath": "notification.ui.runtime.tsx",
297
+ "line": 59,
298
+ "character": 3
299
+ },
300
+ "type": "(message: string) => string"
310
301
  },
311
- "raw": "/** adds a message with level \"warning\" to the log */",
312
- "comment": "adds a message with level \"warning\" to the log"
302
+ "isOptional": true,
303
+ "defaultValue": "(message: string) => this.add(message, MessageLevel.info)"
313
304
  },
314
- "signature": "(property) NotificationUI.warn: (message: string) => string",
315
- "name": "warn",
316
- "type": {
317
- "__schema": "InferenceTypeSchema",
305
+ {
306
+ "__schema": "VariableLikeSchema",
318
307
  "location": {
319
308
  "filePath": "notification.ui.runtime.tsx",
320
309
  "line": 61,
321
310
  "character": 3
322
311
  },
323
- "type": "(message: string) => string"
324
- },
325
- "isOptional": true,
326
- "defaultValue": "(message: string) => this.add(message, MessageLevel.warning)"
327
- },
328
- {
329
- "__schema": "VariableLikeSchema",
330
- "location": {
331
- "filePath": "notification.ui.runtime.tsx",
332
- "line": 63,
333
- "character": 3
334
- },
335
- "doc": {
336
- "__schema": "DocSchema",
337
- "location": {
338
- "filePath": "notification.ui.runtime.tsx",
339
- "line": 62,
340
- "character": 3
312
+ "doc": {
313
+ "__schema": "DocSchema",
314
+ "location": {
315
+ "filePath": "notification.ui.runtime.tsx",
316
+ "line": 60,
317
+ "character": 3
318
+ },
319
+ "raw": "/** adds a message with level \"warning\" to the log */",
320
+ "comment": "adds a message with level \"warning\" to the log"
321
+ },
322
+ "signature": "(property) NotificationUI.warn: (message: string) => string",
323
+ "name": "warn",
324
+ "type": {
325
+ "__schema": "InferenceTypeSchema",
326
+ "location": {
327
+ "filePath": "notification.ui.runtime.tsx",
328
+ "line": 61,
329
+ "character": 3
330
+ },
331
+ "type": "(message: string) => string"
341
332
  },
342
- "raw": "/** adds a message with level \"error\" to the log */",
343
- "comment": "adds a message with level \"error\" to the log"
333
+ "isOptional": true,
334
+ "defaultValue": "(message: string) => this.add(message, MessageLevel.warning)"
344
335
  },
345
- "signature": "(property) NotificationUI.error: (message: string) => string",
346
- "name": "error",
347
- "type": {
348
- "__schema": "InferenceTypeSchema",
336
+ {
337
+ "__schema": "VariableLikeSchema",
349
338
  "location": {
350
339
  "filePath": "notification.ui.runtime.tsx",
351
340
  "line": 63,
352
341
  "character": 3
353
342
  },
354
- "type": "(message: string) => string"
355
- },
356
- "isOptional": true,
357
- "defaultValue": "(message: string) => this.add(message, MessageLevel.error)"
358
- },
359
- {
360
- "__schema": "VariableLikeSchema",
361
- "location": {
362
- "filePath": "notification.ui.runtime.tsx",
363
- "line": 65,
364
- "character": 3
365
- },
366
- "doc": {
367
- "__schema": "DocSchema",
368
- "location": {
369
- "filePath": "notification.ui.runtime.tsx",
370
- "line": 64,
371
- "character": 3
343
+ "doc": {
344
+ "__schema": "DocSchema",
345
+ "location": {
346
+ "filePath": "notification.ui.runtime.tsx",
347
+ "line": 62,
348
+ "character": 3
349
+ },
350
+ "raw": "/** adds a message with level \"error\" to the log */",
351
+ "comment": "adds a message with level \"error\" to the log"
372
352
  },
373
- "raw": "/** adds a message with level \"success\" to the log */",
374
- "comment": "adds a message with level \"success\" to the log"
353
+ "signature": "(property) NotificationUI.error: (message: string) => string",
354
+ "name": "error",
355
+ "type": {
356
+ "__schema": "InferenceTypeSchema",
357
+ "location": {
358
+ "filePath": "notification.ui.runtime.tsx",
359
+ "line": 63,
360
+ "character": 3
361
+ },
362
+ "type": "(message: string) => string"
363
+ },
364
+ "isOptional": true,
365
+ "defaultValue": "(message: string) => this.add(message, MessageLevel.error)"
375
366
  },
376
- "signature": "(property) NotificationUI.success: (message: string) => string",
377
- "name": "success",
378
- "type": {
379
- "__schema": "InferenceTypeSchema",
367
+ {
368
+ "__schema": "VariableLikeSchema",
380
369
  "location": {
381
370
  "filePath": "notification.ui.runtime.tsx",
382
371
  "line": 65,
383
372
  "character": 3
384
373
  },
385
- "type": "(message: string) => string"
386
- },
387
- "isOptional": true,
388
- "defaultValue": "(message: string) => this.add(message, MessageLevel.success)"
389
- },
390
- {
391
- "__schema": "VariableLikeSchema",
392
- "location": {
393
- "filePath": "notification.ui.runtime.tsx",
394
- "line": 68,
395
- "character": 3
396
- },
397
- "doc": {
398
- "__schema": "DocSchema",
399
- "location": {
400
- "filePath": "notification.ui.runtime.tsx",
401
- "line": 67,
402
- "character": 3
374
+ "doc": {
375
+ "__schema": "DocSchema",
376
+ "location": {
377
+ "filePath": "notification.ui.runtime.tsx",
378
+ "line": 64,
379
+ "character": 3
380
+ },
381
+ "raw": "/** adds a message with level \"success\" to the log */",
382
+ "comment": "adds a message with level \"success\" to the log"
403
383
  },
404
- "raw": "/** removes all notifications */",
405
- "comment": "removes all notifications"
384
+ "signature": "(property) NotificationUI.success: (message: string) => string",
385
+ "name": "success",
386
+ "type": {
387
+ "__schema": "InferenceTypeSchema",
388
+ "location": {
389
+ "filePath": "notification.ui.runtime.tsx",
390
+ "line": 65,
391
+ "character": 3
392
+ },
393
+ "type": "(message: string) => string"
394
+ },
395
+ "isOptional": true,
396
+ "defaultValue": "(message: string) => this.add(message, MessageLevel.success)"
406
397
  },
407
- "signature": "(property) NotificationUI.clear: () => void",
408
- "name": "clear",
409
- "type": {
410
- "__schema": "InferenceTypeSchema",
398
+ {
399
+ "__schema": "VariableLikeSchema",
411
400
  "location": {
412
401
  "filePath": "notification.ui.runtime.tsx",
413
402
  "line": 68,
414
403
  "character": 3
415
404
  },
416
- "type": "() => void"
417
- },
418
- "isOptional": true,
419
- "defaultValue": "() => {\n this.dispatch?.({\n type: 'clear',\n });\n }"
420
- }
421
- ],
422
- "extendsNodes": [],
423
- "implementNodes": [
424
- {
425
- "__schema": "ExpressionWithTypeArgumentsSchema",
426
- "location": {
427
- "filePath": "notification.ui.runtime.tsx",
428
- "line": 17,
429
- "character": 48
430
- },
431
- "name": "implements NotificationsStore",
432
- "typeArgs": [],
433
- "expression": {
434
- "__schema": "TypeRefSchema",
405
+ "doc": {
406
+ "__schema": "DocSchema",
407
+ "location": {
408
+ "filePath": "notification.ui.runtime.tsx",
409
+ "line": 67,
410
+ "character": 3
411
+ },
412
+ "raw": "/** removes all notifications */",
413
+ "comment": "removes all notifications"
414
+ },
415
+ "signature": "(property) NotificationUI.clear: () => void",
416
+ "name": "clear",
417
+ "type": {
418
+ "__schema": "InferenceTypeSchema",
419
+ "location": {
420
+ "filePath": "notification.ui.runtime.tsx",
421
+ "line": 68,
422
+ "character": 3
423
+ },
424
+ "type": "() => void"
425
+ },
426
+ "isOptional": true,
427
+ "defaultValue": "() => {\n this.dispatch?.({\n type: 'clear',\n });\n }"
428
+ }
429
+ ],
430
+ "extendsNodes": [],
431
+ "implementNodes": [
432
+ {
433
+ "__schema": "ExpressionWithTypeArgumentsSchema",
435
434
  "location": {
436
435
  "filePath": "notification.ui.runtime.tsx",
437
436
  "line": 17,
438
437
  "character": 48
439
438
  },
440
- "name": "NotificationsStore",
441
- "componentId": {
442
- "_legacy": {
443
- "scope": "teambit.ui-foundation",
444
- "name": "notifications",
445
- "version": "1.0.257"
439
+ "name": "implements NotificationsStore",
440
+ "typeArgs": [],
441
+ "expression": {
442
+ "__schema": "TypeRefSchema",
443
+ "location": {
444
+ "filePath": "notification.ui.runtime.tsx",
445
+ "line": 17,
446
+ "character": 48
446
447
  },
447
- "_scope": "teambit.ui-foundation"
448
+ "name": "NotificationsStore",
449
+ "componentId": {
450
+ "_legacy": {
451
+ "scope": "teambit.ui-foundation",
452
+ "name": "notifications",
453
+ "version": "1.0.259"
454
+ },
455
+ "_scope": "teambit.ui-foundation"
456
+ }
448
457
  }
449
458
  }
450
- }
451
- ]
459
+ ]
460
+ },
461
+ "alias": "NotificationUI"
452
462
  },
453
463
  {
454
- "__schema": "VariableLikeSchema",
464
+ "__schema": "ExportSchema",
455
465
  "location": {
456
- "filePath": "notifications.aspect.ts",
457
- "line": 3,
458
- "character": 14
466
+ "filePath": "index.ts",
467
+ "line": 5,
468
+ "character": 10
459
469
  },
460
- "signature": "const NotificationsAspect: Aspect",
461
470
  "name": "NotificationsAspect",
462
- "type": {
463
- "__schema": "TypeRefSchema",
471
+ "exportNode": {
472
+ "__schema": "VariableLikeSchema",
464
473
  "location": {
465
474
  "filePath": "notifications.aspect.ts",
466
475
  "line": 3,
467
476
  "character": 14
468
477
  },
469
- "name": "Aspect",
470
- "componentId": {
471
- "scope": "teambit.harmony",
472
- "name": "harmony",
473
- "version": "0.4.6"
474
- }
475
- },
476
- "isOptional": false,
477
- "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n})"
478
+ "signature": "const NotificationsAspect: Aspect",
479
+ "name": "NotificationsAspect",
480
+ "type": {
481
+ "__schema": "TypeRefSchema",
482
+ "location": {
483
+ "filePath": "notifications.aspect.ts",
484
+ "line": 3,
485
+ "character": 14
486
+ },
487
+ "name": "Aspect",
488
+ "componentId": {
489
+ "scope": "teambit.harmony",
490
+ "name": "harmony",
491
+ "version": "0.4.6"
492
+ }
493
+ },
494
+ "isOptional": false,
495
+ "defaultValue": "Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n})"
496
+ }
478
497
  },
479
498
  {
480
499
  "__schema": "UnImplementedSchema",
@@ -927,7 +946,7 @@
927
946
  "_legacy": {
928
947
  "scope": "teambit.ui-foundation",
929
948
  "name": "notifications",
930
- "version": "1.0.257"
949
+ "version": "1.0.259"
931
950
  },
932
951
  "_scope": "teambit.ui-foundation"
933
952
  }
@@ -1000,7 +1019,7 @@
1000
1019
  "componentId": {
1001
1020
  "scope": "teambit.ui-foundation",
1002
1021
  "name": "notifications",
1003
- "version": "1.0.257"
1022
+ "version": "1.0.259"
1004
1023
  },
1005
1024
  "taggedModuleExports": []
1006
1025
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/notifications",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
4
4
  "homepage": "https://bit.cloud/teambit/ui-foundation/notifications",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.ui-foundation",
8
8
  "name": "notifications",
9
- "version": "1.0.257"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "uuid": "8.3.2",
@@ -14,7 +14,7 @@
14
14
  "@teambit/ui-foundation.ui.notifications.notification-center": "0.0.523",
15
15
  "@teambit/ui-foundation.ui.notifications.notification-context": "0.0.501",
16
16
  "@teambit/harmony": "0.4.6",
17
- "@teambit/ui": "1.0.257"
17
+ "@teambit/ui": "1.0.259"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/uuid": "8.3.4",