@teambit/notifications 1.0.226 → 1.0.228
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/schema.json +7 -23
- package/package.json +4 -4
- package/tsconfig.json +7 -1
- package/dist/index.d.ts +0 -4
- package/dist/notification-reducer.d.ts +0 -7
- package/dist/notification.ui.runtime.d.ts +0 -28
- package/dist/notifications.aspect.d.ts +0 -3
- /package/dist/{preview-1712632644937.js → preview-1712805335812.js} +0 -0
|
@@ -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.
|
|
3
|
+
<testsuite name="teambit.ui-foundation/notifications@1.0.228" tests="0" failures="0" errors="0" skipped="0"/>
|
|
4
4
|
</testsuites>
|
package/artifacts/schema.json
CHANGED
|
@@ -108,11 +108,7 @@
|
|
|
108
108
|
"line": 22,
|
|
109
109
|
"character": 48
|
|
110
110
|
},
|
|
111
|
-
"name": "UiUI"
|
|
112
|
-
"componentId": {
|
|
113
|
-
"scope": "teambit.ui-foundation",
|
|
114
|
-
"name": "ui"
|
|
115
|
-
}
|
|
111
|
+
"name": "UiUI"
|
|
116
112
|
}
|
|
117
113
|
]
|
|
118
114
|
},
|
|
@@ -159,11 +155,7 @@
|
|
|
159
155
|
"line": 26,
|
|
160
156
|
"character": 35
|
|
161
157
|
},
|
|
162
|
-
"name": "UiUI"
|
|
163
|
-
"componentId": {
|
|
164
|
-
"scope": "teambit.ui-foundation",
|
|
165
|
-
"name": "ui"
|
|
166
|
-
}
|
|
158
|
+
"name": "UiUI"
|
|
167
159
|
},
|
|
168
160
|
"isOptional": false,
|
|
169
161
|
"isSpread": false
|
|
@@ -442,7 +434,7 @@
|
|
|
442
434
|
"_legacy": {
|
|
443
435
|
"scope": "teambit.ui-foundation",
|
|
444
436
|
"name": "notifications",
|
|
445
|
-
"version": "1.0.
|
|
437
|
+
"version": "1.0.228"
|
|
446
438
|
},
|
|
447
439
|
"_scope": "teambit.ui-foundation"
|
|
448
440
|
}
|
|
@@ -593,11 +585,7 @@
|
|
|
593
585
|
"line": 22,
|
|
594
586
|
"character": 48
|
|
595
587
|
},
|
|
596
|
-
"name": "UiUI"
|
|
597
|
-
"componentId": {
|
|
598
|
-
"scope": "teambit.ui-foundation",
|
|
599
|
-
"name": "ui"
|
|
600
|
-
}
|
|
588
|
+
"name": "UiUI"
|
|
601
589
|
}
|
|
602
590
|
]
|
|
603
591
|
},
|
|
@@ -644,11 +632,7 @@
|
|
|
644
632
|
"line": 26,
|
|
645
633
|
"character": 35
|
|
646
634
|
},
|
|
647
|
-
"name": "UiUI"
|
|
648
|
-
"componentId": {
|
|
649
|
-
"scope": "teambit.ui-foundation",
|
|
650
|
-
"name": "ui"
|
|
651
|
-
}
|
|
635
|
+
"name": "UiUI"
|
|
652
636
|
},
|
|
653
637
|
"isOptional": false,
|
|
654
638
|
"isSpread": false
|
|
@@ -927,7 +911,7 @@
|
|
|
927
911
|
"_legacy": {
|
|
928
912
|
"scope": "teambit.ui-foundation",
|
|
929
913
|
"name": "notifications",
|
|
930
|
-
"version": "1.0.
|
|
914
|
+
"version": "1.0.228"
|
|
931
915
|
},
|
|
932
916
|
"_scope": "teambit.ui-foundation"
|
|
933
917
|
}
|
|
@@ -1000,7 +984,7 @@
|
|
|
1000
984
|
"componentId": {
|
|
1001
985
|
"scope": "teambit.ui-foundation",
|
|
1002
986
|
"name": "notifications",
|
|
1003
|
-
"version": "1.0.
|
|
987
|
+
"version": "1.0.228"
|
|
1004
988
|
},
|
|
1005
989
|
"taggedModuleExports": []
|
|
1006
990
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/notifications",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.228",
|
|
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.
|
|
9
|
+
"version": "1.0.228"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"uuid": "8.3.2",
|
|
@@ -14,13 +14,13 @@
|
|
|
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.
|
|
17
|
+
"@teambit/ui": "1.0.228"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/uuid": "8.3.4",
|
|
21
21
|
"@types/mocha": "9.1.0",
|
|
22
22
|
"chai": "4.3.0",
|
|
23
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
23
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.30"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^17.0.0 || ^18.0.0",
|
package/tsconfig.json
CHANGED
|
@@ -20,7 +20,8 @@
|
|
|
20
20
|
"emitDeclarationOnly": true,
|
|
21
21
|
"strict": true,
|
|
22
22
|
"strictPropertyInitialization": false,
|
|
23
|
-
"noImplicitAny": false
|
|
23
|
+
"noImplicitAny": false,
|
|
24
|
+
"composite": true
|
|
24
25
|
},
|
|
25
26
|
"exclude": [
|
|
26
27
|
"artifacts",
|
|
@@ -35,5 +36,10 @@
|
|
|
35
36
|
"include": [
|
|
36
37
|
"**/*",
|
|
37
38
|
"**/*.json"
|
|
39
|
+
],
|
|
40
|
+
"references": [
|
|
41
|
+
{
|
|
42
|
+
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.ui-foundation_ui@1.0.228"
|
|
43
|
+
}
|
|
38
44
|
]
|
|
39
45
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Message } from '@teambit/ui-foundation.ui.notifications.store';
|
|
2
|
-
export type NotificationAction = {
|
|
3
|
-
type: 'add' | 'dismiss' | 'clear';
|
|
4
|
-
content?: Message;
|
|
5
|
-
id?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function notificationReducer(state: Message[], action: NotificationAction): Message[];
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { UiUI } from '@teambit/ui';
|
|
2
|
-
import { MessageLevel, NotificationsStore } from '@teambit/ui-foundation.ui.notifications.store';
|
|
3
|
-
/**
|
|
4
|
-
* extension
|
|
5
|
-
*/
|
|
6
|
-
export default class NotificationUI implements NotificationsStore {
|
|
7
|
-
static dependencies: import("@teambit/harmony").Aspect[];
|
|
8
|
-
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
9
|
-
static provider([uiRuntimeExtension]: [UiUI]): Promise<NotificationUI>;
|
|
10
|
-
constructor(uiRuntimeExtension: UiUI);
|
|
11
|
-
private dispatch?;
|
|
12
|
-
/** adds a full message to the log */
|
|
13
|
-
add: (message: string, level: MessageLevel) => string;
|
|
14
|
-
/** removes/archives a message from the log */
|
|
15
|
-
dismiss(id: string): void;
|
|
16
|
-
/** adds a message with level "info" to the log */
|
|
17
|
-
log: (message: string) => string;
|
|
18
|
-
/** adds a message with level "warning" to the log */
|
|
19
|
-
warn: (message: string) => string;
|
|
20
|
-
/** adds a message with level "error" to the log */
|
|
21
|
-
error: (message: string) => string;
|
|
22
|
-
/** adds a message with level "success" to the log */
|
|
23
|
-
success: (message: string) => string;
|
|
24
|
-
/** removes all notifications */
|
|
25
|
-
clear: () => void;
|
|
26
|
-
private render;
|
|
27
|
-
private renderContext;
|
|
28
|
-
}
|
|
File without changes
|