@teambit/notifications 0.0.881 → 0.0.883
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/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/dist/notification-reducer.js +0 -4
- package/dist/notification-reducer.js.map +1 -1
- package/dist/notification.ui.runtime.js +1 -45
- package/dist/notification.ui.runtime.js.map +1 -1
- package/dist/notifications.aspect.js +0 -5
- package/dist/notifications.aspect.js.map +1 -1
- package/package-tar/teambit-notifications-0.0.883.tgz +0 -0
- package/package.json +3 -3
- /package/{preview-1666409808293.js → preview-1666582798766.js} +0 -0
- package/package-tar/teambit-notifications-0.0.881.tgz +0 -0
package/dist/index.js
CHANGED
|
@@ -10,19 +10,14 @@ Object.defineProperty(exports, "NotificationsAspect", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
exports.default = void 0;
|
|
13
|
-
|
|
14
13
|
function _notifications() {
|
|
15
14
|
const data = require("./notifications.aspect");
|
|
16
|
-
|
|
17
15
|
_notifications = function () {
|
|
18
16
|
return data;
|
|
19
17
|
};
|
|
20
|
-
|
|
21
18
|
return data;
|
|
22
19
|
}
|
|
23
|
-
|
|
24
20
|
var _default = _notifications().NotificationsAspect;
|
|
25
|
-
|
|
26
21
|
exports.default = _default;
|
|
27
22
|
|
|
28
23
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NotificationsAspect"],"sources":["index.ts"],"sourcesContent":["import { NotificationsAspect } from './notifications.aspect';\n\nexport type { default as NotificationUI } from './notification.ui.runtime';\n\nexport { NotificationsAspect };\nexport default NotificationsAspect;\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["NotificationsAspect"],"sources":["index.ts"],"sourcesContent":["import { NotificationsAspect } from './notifications.aspect';\n\nexport type { default as NotificationUI } from './notification.ui.runtime';\n\nexport { NotificationsAspect };\nexport default NotificationsAspect;\n"],"mappings":";;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAA6D,eAK9CA,oCAAmB;AAAA"}
|
|
@@ -4,19 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.notificationReducer = notificationReducer;
|
|
7
|
-
|
|
8
7
|
function notificationReducer(state, action) {
|
|
9
8
|
switch (action.type) {
|
|
10
9
|
case 'dismiss':
|
|
11
10
|
return state.filter(x => x.id !== action.id);
|
|
12
|
-
|
|
13
11
|
case 'add':
|
|
14
12
|
if (!action.content) return state;
|
|
15
13
|
return state.concat(action.content);
|
|
16
|
-
|
|
17
14
|
case 'clear':
|
|
18
15
|
return [];
|
|
19
|
-
|
|
20
16
|
default:
|
|
21
17
|
return state;
|
|
22
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["notificationReducer","state","action","type","filter","x","id","content","concat"],"sources":["notification-reducer.tsx"],"sourcesContent":["import { Message } from '@teambit/ui-foundation.ui.notifications.store';\n\nexport type NotificationAction = {\n type: 'add' | 'dismiss' | 'clear';\n content?: Message;\n id?: string;\n};\n\nexport function notificationReducer(state: Message[], action: NotificationAction) {\n switch (action.type) {\n case 'dismiss':\n return state.filter((x) => x.id !== action.id);\n case 'add':\n if (!action.content) return state;\n return state.concat(action.content);\n case 'clear':\n return [];\n default:\n return state;\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["notificationReducer","state","action","type","filter","x","id","content","concat"],"sources":["notification-reducer.tsx"],"sourcesContent":["import { Message } from '@teambit/ui-foundation.ui.notifications.store';\n\nexport type NotificationAction = {\n type: 'add' | 'dismiss' | 'clear';\n content?: Message;\n id?: string;\n};\n\nexport function notificationReducer(state: Message[], action: NotificationAction) {\n switch (action.type) {\n case 'dismiss':\n return state.filter((x) => x.id !== action.id);\n case 'add':\n if (!action.content) return state;\n return state.concat(action.content);\n case 'clear':\n return [];\n default:\n return state;\n }\n}\n"],"mappings":";;;;;;AAQO,SAASA,mBAAmB,CAACC,KAAgB,EAAEC,MAA0B,EAAE;EAChF,QAAQA,MAAM,CAACC,IAAI;IACjB,KAAK,SAAS;MACZ,OAAOF,KAAK,CAACG,MAAM,CAAEC,CAAC,IAAKA,CAAC,CAACC,EAAE,KAAKJ,MAAM,CAACI,EAAE,CAAC;IAChD,KAAK,KAAK;MACR,IAAI,CAACJ,MAAM,CAACK,OAAO,EAAE,OAAON,KAAK;MACjC,OAAOA,KAAK,CAACO,MAAM,CAACN,MAAM,CAACK,OAAO,CAAC;IACrC,KAAK,OAAO;MACV,OAAO,EAAE;IACX;MACE,OAAON,KAAK;EAAC;AAEnB"}
|
|
@@ -1,120 +1,84 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
require("core-js/modules/es.array.iterator.js");
|
|
6
|
-
|
|
7
5
|
require("core-js/modules/es.promise.js");
|
|
8
|
-
|
|
9
6
|
Object.defineProperty(exports, "__esModule", {
|
|
10
7
|
value: true
|
|
11
8
|
});
|
|
12
9
|
exports.default = void 0;
|
|
13
|
-
|
|
14
10
|
function _extends2() {
|
|
15
11
|
const data = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
16
|
-
|
|
17
12
|
_extends2 = function () {
|
|
18
13
|
return data;
|
|
19
14
|
};
|
|
20
|
-
|
|
21
15
|
return data;
|
|
22
16
|
}
|
|
23
|
-
|
|
24
17
|
function _defineProperty2() {
|
|
25
18
|
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
26
|
-
|
|
27
19
|
_defineProperty2 = function () {
|
|
28
20
|
return data;
|
|
29
21
|
};
|
|
30
|
-
|
|
31
22
|
return data;
|
|
32
23
|
}
|
|
33
|
-
|
|
34
24
|
function _ui() {
|
|
35
25
|
const data = require("@teambit/ui");
|
|
36
|
-
|
|
37
26
|
_ui = function () {
|
|
38
27
|
return data;
|
|
39
28
|
};
|
|
40
|
-
|
|
41
29
|
return data;
|
|
42
30
|
}
|
|
43
|
-
|
|
44
31
|
function _react() {
|
|
45
32
|
const data = _interopRequireWildcard(require("react"));
|
|
46
|
-
|
|
47
33
|
_react = function () {
|
|
48
34
|
return data;
|
|
49
35
|
};
|
|
50
|
-
|
|
51
36
|
return data;
|
|
52
37
|
}
|
|
53
|
-
|
|
54
38
|
function _uuid() {
|
|
55
39
|
const data = require("uuid");
|
|
56
|
-
|
|
57
40
|
_uuid = function () {
|
|
58
41
|
return data;
|
|
59
42
|
};
|
|
60
|
-
|
|
61
43
|
return data;
|
|
62
44
|
}
|
|
63
|
-
|
|
64
45
|
function _uiFoundationUiNotifications() {
|
|
65
46
|
const data = require("@teambit/ui-foundation.ui.notifications.notification-context");
|
|
66
|
-
|
|
67
47
|
_uiFoundationUiNotifications = function () {
|
|
68
48
|
return data;
|
|
69
49
|
};
|
|
70
|
-
|
|
71
50
|
return data;
|
|
72
51
|
}
|
|
73
|
-
|
|
74
52
|
function _uiFoundationUiNotifications2() {
|
|
75
53
|
const data = require("@teambit/ui-foundation.ui.notifications.notification-center");
|
|
76
|
-
|
|
77
54
|
_uiFoundationUiNotifications2 = function () {
|
|
78
55
|
return data;
|
|
79
56
|
};
|
|
80
|
-
|
|
81
57
|
return data;
|
|
82
58
|
}
|
|
83
|
-
|
|
84
59
|
function _uiFoundationUiNotifications3() {
|
|
85
60
|
const data = require("@teambit/ui-foundation.ui.notifications.store");
|
|
86
|
-
|
|
87
61
|
_uiFoundationUiNotifications3 = function () {
|
|
88
62
|
return data;
|
|
89
63
|
};
|
|
90
|
-
|
|
91
64
|
return data;
|
|
92
65
|
}
|
|
93
|
-
|
|
94
66
|
function _notificationReducer() {
|
|
95
67
|
const data = require("./notification-reducer");
|
|
96
|
-
|
|
97
68
|
_notificationReducer = function () {
|
|
98
69
|
return data;
|
|
99
70
|
};
|
|
100
|
-
|
|
101
71
|
return data;
|
|
102
72
|
}
|
|
103
|
-
|
|
104
73
|
function _notifications() {
|
|
105
74
|
const data = require("./notifications.aspect");
|
|
106
|
-
|
|
107
75
|
_notifications = function () {
|
|
108
76
|
return data;
|
|
109
77
|
};
|
|
110
|
-
|
|
111
78
|
return data;
|
|
112
79
|
}
|
|
113
|
-
|
|
114
80
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
115
|
-
|
|
116
81
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
117
|
-
|
|
118
82
|
/**
|
|
119
83
|
* extension
|
|
120
84
|
*/
|
|
@@ -122,12 +86,10 @@ class NotificationUI {
|
|
|
122
86
|
static async provider([uiRuntimeExtension]) {
|
|
123
87
|
return new NotificationUI(uiRuntimeExtension);
|
|
124
88
|
}
|
|
125
|
-
|
|
126
89
|
constructor(uiRuntimeExtension) {
|
|
127
90
|
(0, _defineProperty2().default)(this, "dispatch", void 0);
|
|
128
91
|
(0, _defineProperty2().default)(this, "add", (message, level) => {
|
|
129
92
|
var _this$dispatch;
|
|
130
|
-
|
|
131
93
|
const id = (0, _uuid().v1)();
|
|
132
94
|
(_this$dispatch = this.dispatch) === null || _this$dispatch === void 0 ? void 0 : _this$dispatch.call(this, {
|
|
133
95
|
type: 'add',
|
|
@@ -146,7 +108,6 @@ class NotificationUI {
|
|
|
146
108
|
(0, _defineProperty2().default)(this, "success", message => this.add(message, _uiFoundationUiNotifications3().MessageLevel.success));
|
|
147
109
|
(0, _defineProperty2().default)(this, "clear", () => {
|
|
148
110
|
var _this$dispatch2;
|
|
149
|
-
|
|
150
111
|
(_this$dispatch2 = this.dispatch) === null || _this$dispatch2 === void 0 ? void 0 : _this$dispatch2.call(this, {
|
|
151
112
|
type: 'clear'
|
|
152
113
|
});
|
|
@@ -173,25 +134,20 @@ class NotificationUI {
|
|
|
173
134
|
reactContext: this.renderContext
|
|
174
135
|
});
|
|
175
136
|
}
|
|
176
|
-
|
|
177
137
|
/** removes/archives a message from the log */
|
|
178
138
|
dismiss(id) {
|
|
179
139
|
var _this$dispatch3;
|
|
180
|
-
|
|
181
140
|
(_this$dispatch3 = this.dispatch) === null || _this$dispatch3 === void 0 ? void 0 : _this$dispatch3.call(this, {
|
|
182
141
|
type: 'dismiss',
|
|
183
142
|
id
|
|
184
143
|
});
|
|
185
144
|
}
|
|
186
|
-
/** adds a message with level "info" to the log */
|
|
187
|
-
|
|
188
145
|
|
|
146
|
+
/** adds a message with level "info" to the log */
|
|
189
147
|
}
|
|
190
|
-
|
|
191
148
|
exports.default = NotificationUI;
|
|
192
149
|
(0, _defineProperty2().default)(NotificationUI, "dependencies", [_ui().UIAspect]);
|
|
193
150
|
(0, _defineProperty2().default)(NotificationUI, "runtime", _ui().UIRuntime);
|
|
194
|
-
|
|
195
151
|
_notifications().NotificationsAspect.addRuntime(NotificationUI);
|
|
196
152
|
|
|
197
153
|
//# sourceMappingURL=notification.ui.runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NotificationUI","provider","uiRuntimeExtension","constructor","message","level","id","v1","dispatch","type","content","time","Date","toISOString","add","MessageLevel","info","warning","error","success","props","messages","useReducer","notificationReducer","children","registerHudItem","registerRenderHooks","reactContext","renderContext","dismiss","UIAspect","UIRuntime","NotificationsAspect","addRuntime"],"sources":["notification.ui.runtime.tsx"],"sourcesContent":["import { UIAspect, UIRuntime, UiUI } from '@teambit/ui';\nimport React, { ReactNode, useReducer } from 'react';\nimport { v1 } from 'uuid';\n\nimport { NotificationContext } from '@teambit/ui-foundation.ui.notifications.notification-context';\nimport {\n NotificationCenter,\n NotificationCenterProps,\n} from '@teambit/ui-foundation.ui.notifications.notification-center';\nimport { MessageLevel, NotificationsStore } from '@teambit/ui-foundation.ui.notifications.store';\nimport { NotificationAction, notificationReducer } from './notification-reducer';\nimport { NotificationsAspect } from './notifications.aspect';\n\n/**\n * extension\n */\nexport default class NotificationUI implements NotificationsStore {\n static dependencies = [UIAspect];\n\n static runtime = UIRuntime;\n\n static async provider([uiRuntimeExtension]: [UiUI]) {\n return new NotificationUI(uiRuntimeExtension);\n }\n\n constructor(uiRuntimeExtension: UiUI) {\n uiRuntimeExtension.registerHudItem(<this.render key=\"NotificationUI\" />);\n uiRuntimeExtension.registerRenderHooks({ reactContext: this.renderContext });\n }\n\n private dispatch?: React.Dispatch<NotificationAction>;\n\n /** adds a full message to the log */\n add = (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 };\n\n /** removes/archives a message from the log */\n dismiss(id: string) {\n this.dispatch?.({\n type: 'dismiss',\n id,\n });\n }\n\n /** adds a message with level \"info\" to the log */\n log = (message: string) => this.add(message, MessageLevel.info);\n /** adds a message with level \"warning\" to the log */\n warn = (message: string) => this.add(message, MessageLevel.warning);\n /** adds a message with level \"error\" to the log */\n error = (message: string) => this.add(message, MessageLevel.error);\n /** adds a message with level \"success\" to the log */\n success = (message: string) => this.add(message, MessageLevel.success);\n\n /** removes all notifications */\n clear = () => {\n this.dispatch?.({\n type: 'clear',\n });\n };\n\n private render = (props: Omit<NotificationCenterProps, 'notifications'>) => {\n // this code assumes a single place of render per instance of NotificationUI\n const [messages, dispatch] = useReducer(notificationReducer, []);\n this.dispatch = dispatch;\n\n return <NotificationCenter {...props} notifications={messages} />;\n };\n\n private renderContext = ({ children }: { children: ReactNode }) => {\n return <NotificationContext.Provider value={this}>{children}</NotificationContext.Provider>;\n };\n}\n\nNotificationsAspect.addRuntime(NotificationUI);\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["NotificationUI","provider","uiRuntimeExtension","constructor","message","level","id","v1","dispatch","type","content","time","Date","toISOString","add","MessageLevel","info","warning","error","success","props","messages","useReducer","notificationReducer","children","registerHudItem","registerRenderHooks","reactContext","renderContext","dismiss","UIAspect","UIRuntime","NotificationsAspect","addRuntime"],"sources":["notification.ui.runtime.tsx"],"sourcesContent":["import { UIAspect, UIRuntime, UiUI } from '@teambit/ui';\nimport React, { ReactNode, useReducer } from 'react';\nimport { v1 } from 'uuid';\n\nimport { NotificationContext } from '@teambit/ui-foundation.ui.notifications.notification-context';\nimport {\n NotificationCenter,\n NotificationCenterProps,\n} from '@teambit/ui-foundation.ui.notifications.notification-center';\nimport { MessageLevel, NotificationsStore } from '@teambit/ui-foundation.ui.notifications.store';\nimport { NotificationAction, notificationReducer } from './notification-reducer';\nimport { NotificationsAspect } from './notifications.aspect';\n\n/**\n * extension\n */\nexport default class NotificationUI implements NotificationsStore {\n static dependencies = [UIAspect];\n\n static runtime = UIRuntime;\n\n static async provider([uiRuntimeExtension]: [UiUI]) {\n return new NotificationUI(uiRuntimeExtension);\n }\n\n constructor(uiRuntimeExtension: UiUI) {\n uiRuntimeExtension.registerHudItem(<this.render key=\"NotificationUI\" />);\n uiRuntimeExtension.registerRenderHooks({ reactContext: this.renderContext });\n }\n\n private dispatch?: React.Dispatch<NotificationAction>;\n\n /** adds a full message to the log */\n add = (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 };\n\n /** removes/archives a message from the log */\n dismiss(id: string) {\n this.dispatch?.({\n type: 'dismiss',\n id,\n });\n }\n\n /** adds a message with level \"info\" to the log */\n log = (message: string) => this.add(message, MessageLevel.info);\n /** adds a message with level \"warning\" to the log */\n warn = (message: string) => this.add(message, MessageLevel.warning);\n /** adds a message with level \"error\" to the log */\n error = (message: string) => this.add(message, MessageLevel.error);\n /** adds a message with level \"success\" to the log */\n success = (message: string) => this.add(message, MessageLevel.success);\n\n /** removes all notifications */\n clear = () => {\n this.dispatch?.({\n type: 'clear',\n });\n };\n\n private render = (props: Omit<NotificationCenterProps, 'notifications'>) => {\n // this code assumes a single place of render per instance of NotificationUI\n const [messages, dispatch] = useReducer(notificationReducer, []);\n this.dispatch = dispatch;\n\n return <NotificationCenter {...props} notifications={messages} />;\n };\n\n private renderContext = ({ children }: { children: ReactNode }) => {\n return <NotificationContext.Provider value={this}>{children}</NotificationContext.Provider>;\n };\n}\n\nNotificationsAspect.addRuntime(NotificationUI);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAIA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAA6D;AAAA;AAE7D;AACA;AACA;AACe,MAAMA,cAAc,CAA+B;EAKhE,aAAaC,QAAQ,CAAC,CAACC,kBAAkB,CAAS,EAAE;IAClD,OAAO,IAAIF,cAAc,CAACE,kBAAkB,CAAC;EAC/C;EAEAC,WAAW,CAACD,kBAAwB,EAAE;IAAA;IAAA,6CAQhC,CAACE,OAAe,EAAEC,KAAmB,KAAK;MAAA;MAC9C,MAAMC,EAAE,GAAG,IAAAC,UAAE,GAAE;MAEf,sBAAI,CAACC,QAAQ,mDAAb,wBAAI,EAAY;QACdC,IAAI,EAAE,KAAK;QACXC,OAAO,EAAE;UACPJ,EAAE;UACFF,OAAO;UACPC,KAAK;UACLM,IAAI,EAAE,IAAIC,IAAI,EAAE,CAACC,WAAW;QAC9B;MACF,CAAC,CAAC;MAEF,OAAOP,EAAE;IACX,CAAC;IAAA,6CAWMF,OAAe,IAAK,IAAI,CAACU,GAAG,CAACV,OAAO,EAAEW,4CAAY,CAACC,IAAI,CAAC;IAAA,8CAEvDZ,OAAe,IAAK,IAAI,CAACU,GAAG,CAACV,OAAO,EAAEW,4CAAY,CAACE,OAAO,CAAC;IAAA,+CAE1Db,OAAe,IAAK,IAAI,CAACU,GAAG,CAACV,OAAO,EAAEW,4CAAY,CAACG,KAAK,CAAC;IAAA,iDAEvDd,OAAe,IAAK,IAAI,CAACU,GAAG,CAACV,OAAO,EAAEW,4CAAY,CAACI,OAAO,CAAC;IAAA,+CAG9D,MAAM;MAAA;MACZ,uBAAI,CAACX,QAAQ,oDAAb,yBAAI,EAAY;QACdC,IAAI,EAAE;MACR,CAAC,CAAC;IACJ,CAAC;IAAA,gDAEiBW,KAAqD,IAAK;MAC1E;MACA,MAAM,CAACC,QAAQ,EAAEb,QAAQ,CAAC,GAAG,IAAAc,mBAAU,EAACC,0CAAmB,EAAE,EAAE,CAAC;MAChE,IAAI,CAACf,QAAQ,GAAGA,QAAQ;MAExB,oBAAO,+BAAC,kDAAkB,+BAAKY,KAAK;QAAE,aAAa,EAAEC;MAAS,GAAG;IACnE,CAAC;IAAA,uDAEuB,CAAC;MAAEG;IAAkC,CAAC,KAAK;MACjE,oBAAO,+BAAC,kDAAmB,CAAC,QAAQ;QAAC,KAAK,EAAE;MAAK,GAAEA,QAAQ,CAAgC;IAC7F,CAAC;IAzDCtB,kBAAkB,CAACuB,eAAe,eAAC,oCAAM,MAAM;MAAC,GAAG,EAAC;IAAgB,EAAG,CAAC;IACxEvB,kBAAkB,CAACwB,mBAAmB,CAAC;MAAEC,YAAY,EAAE,IAAI,CAACC;IAAc,CAAC,CAAC;EAC9E;EAqBA;EACAC,OAAO,CAACvB,EAAU,EAAE;IAAA;IAClB,uBAAI,CAACE,QAAQ,oDAAb,yBAAI,EAAY;MACdC,IAAI,EAAE,SAAS;MACfH;IACF,CAAC,CAAC;EACJ;;EAEA;AA2BF;AAAC;AAAA,gCApEoBN,cAAc,kBACX,CAAC8B,cAAQ,CAAC;AAAA,gCADb9B,cAAc,aAGhB+B,eAAS;AAmE5BC,oCAAmB,CAACC,UAAU,CAACjC,cAAc,CAAC"}
|
|
@@ -4,21 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = exports.NotificationsAspect = void 0;
|
|
7
|
-
|
|
8
7
|
function _harmony() {
|
|
9
8
|
const data = require("@teambit/harmony");
|
|
10
|
-
|
|
11
9
|
_harmony = function () {
|
|
12
10
|
return data;
|
|
13
11
|
};
|
|
14
|
-
|
|
15
12
|
return data;
|
|
16
13
|
}
|
|
17
|
-
|
|
18
14
|
const NotificationsAspect = _harmony().Aspect.create({
|
|
19
15
|
id: 'teambit.ui-foundation/notifications'
|
|
20
16
|
});
|
|
21
|
-
|
|
22
17
|
exports.NotificationsAspect = NotificationsAspect;
|
|
23
18
|
var _default = NotificationsAspect;
|
|
24
19
|
exports.default = _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NotificationsAspect","Aspect","create","id"],"sources":["notifications.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const NotificationsAspect = Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n});\n\nexport default NotificationsAspect;\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["NotificationsAspect","Aspect","create","id"],"sources":["notifications.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const NotificationsAspect = Aspect.create({\n id: 'teambit.ui-foundation/notifications',\n});\n\nexport default NotificationsAspect;\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,mBAAmB,GAAGC,iBAAM,CAACC,MAAM,CAAC;EAC/CC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC;AAAA,eAEYH,mBAAmB;AAAA"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/notifications",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.883",
|
|
4
4
|
"homepage": "https://bit.dev/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": "0.0.
|
|
9
|
+
"version": "0.0.883"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"uuid": "8.3.2",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@teambit/ui-foundation.ui.notifications.store": "0.0.492",
|
|
17
17
|
"@teambit/ui-foundation.ui.notifications.notification-center": "0.0.504",
|
|
18
18
|
"@teambit/ui-foundation.ui.notifications.notification-context": "0.0.493",
|
|
19
|
-
"@teambit/ui": "0.0.
|
|
19
|
+
"@teambit/ui": "0.0.883"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/react": "^17.0.8",
|
|
File without changes
|
|
Binary file
|