@telia-ace/knowledge-widget-components-notification-list 1.1.1-rc.0 → 1.1.1-rc.2
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/index-1cbc11d0.js +1724 -0
- package/index-e76b28a2.mjs +7276 -0
- package/index.js +1 -1
- package/index.mjs +6 -2
- package/notification-list-03572582.mjs +33 -0
- package/notification-list-260f7378.js +3 -0
- package/package.json +5 -5
- package/index-adea5bd2.js +0 -1757
- package/index-f1223b2b.mjs +0 -11152
- package/notification-list-069c05d2.mjs +0 -29
- package/notification-list-7f2f8b6c.js +0 -3
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./index-
|
|
1
|
+
"use strict";const e=require("./index-1cbc11d0.js");require("react/jsx-runtime");require("@emotion/styled");require("@emotion/react");require("react");require("react-transition-group");require("react-dom");require("react-router-dom");module.exports=e.NotificationListComponent;
|
package/index.mjs
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { b
|
|
1
|
+
import { b } from "./index-e76b28a2.mjs";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
+
import "@emotion/styled";
|
|
4
|
+
import "@emotion/react";
|
|
3
5
|
import "react";
|
|
6
|
+
import "react-transition-group";
|
|
4
7
|
import "react-dom";
|
|
8
|
+
import "react-router-dom";
|
|
5
9
|
export {
|
|
6
|
-
|
|
10
|
+
b as default
|
|
7
11
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "@emotion/styled";
|
|
3
|
+
import "@emotion/react";
|
|
4
|
+
import { E as p, C as m, u as c, a as f, N as u, c as l } from "./index-e76b28a2.mjs";
|
|
5
|
+
import { useContext as C } from "react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "react-transition-group";
|
|
8
|
+
import "react-router-dom";
|
|
9
|
+
const d = (t, o) => t.get("seoConfiguration") ? /* @__PURE__ */ r(p, { ...o }) : null, y = () => C(m), w = ({ className: t, ...o }) => {
|
|
10
|
+
const i = c(), {
|
|
11
|
+
showHeader: s,
|
|
12
|
+
notificationList: n,
|
|
13
|
+
loading: e = !1
|
|
14
|
+
} = y();
|
|
15
|
+
return !(n != null && n.notifications.length) && !e ? d(i, {
|
|
16
|
+
...o,
|
|
17
|
+
className: f(t, "humany-notification-list")
|
|
18
|
+
}) : /* @__PURE__ */ r(
|
|
19
|
+
x,
|
|
20
|
+
{
|
|
21
|
+
...o,
|
|
22
|
+
className: t,
|
|
23
|
+
notificationList: n,
|
|
24
|
+
loading: e,
|
|
25
|
+
showHeader: s
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}, x = a(u)`
|
|
29
|
+
${(t) => l(t)}
|
|
30
|
+
`;
|
|
31
|
+
export {
|
|
32
|
+
w as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),c=require("@emotion/styled");require("@emotion/react");const t=require("./index-1cbc11d0.js"),a=require("react");require("react-dom");require("react-transition-group");require("react-router-dom");const l=(e,n)=>e.get("seoConfiguration")?i.jsx(t.Empty,{...n}):null,p=()=>a.useContext(t.ComponentPropertyContext),f=({className:e,...n})=>{const s=t.useContainer(),{showHeader:u,notificationList:r,loading:o=!1}=p();return!(r!=null&&r.notifications.length)&&!o?l(s,{...n,className:t.appendClassNames(e,"humany-notification-list")}):i.jsx(d,{...n,className:e,notificationList:r,loading:o,showHeader:u})},d=c(t.NotificationList)`
|
|
2
|
+
${e=>t.contentBox(e)}
|
|
3
|
+
`;exports.default=f;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/knowledge-widget-components-notification-list",
|
|
3
|
-
"version": "1.1.1-rc.
|
|
3
|
+
"version": "1.1.1-rc.2",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@telia-ace/knowledge-widget-core": "^1.1.1-rc.
|
|
14
|
-
"@telia-ace/knowledge-widget-ui": "^1.1.1-rc.
|
|
15
|
-
"@telia-ace/widget-utilities": "^1.1.1-rc.
|
|
16
|
-
"@telia-ace/knowledge-data-client": "^1.1.1-rc.
|
|
13
|
+
"@telia-ace/knowledge-widget-core": "^1.1.1-rc.2",
|
|
14
|
+
"@telia-ace/knowledge-widget-ui": "^1.1.1-rc.2",
|
|
15
|
+
"@telia-ace/widget-utilities": "^1.1.1-rc.2",
|
|
16
|
+
"@telia-ace/knowledge-data-client": "^1.1.1-rc.2",
|
|
17
17
|
"@webprovisions/platform": "^1.1.4"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|