@telia-ace/widget-components-copyright 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/{copyright-c48fa101.mjs → copyright-17a67d07.mjs} +16 -12
- package/{copyright-1ab279c6.js → copyright-1f7fe0e7.js} +4 -4
- package/index-6ac9584a.js +591 -0
- package/index-91f1324d.mjs +4017 -0
- package/index.js +1 -1
- package/index.mjs +6 -2
- package/package.json +4 -4
- package/index-09163fc2.mjs +0 -7894
- package/index-56fbe768.js +0 -624
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { jsx as c, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as c, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import e from "@emotion/styled";
|
|
3
|
+
import "@emotion/react";
|
|
4
|
+
import { C as r, a, l as p } from "./index-91f1324d.mjs";
|
|
3
5
|
import { useContext as o } from "react";
|
|
4
6
|
import "react-dom";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
import "react-transition-group";
|
|
8
|
+
import "react-router-dom";
|
|
9
|
+
const i = () => o(r), x = ({ className: h, ...n }) => {
|
|
10
|
+
const { mode: l = "compact" } = i();
|
|
11
|
+
return /* @__PURE__ */ c(s, { ...n, className: a(h, "humany-copyright"), children: /* @__PURE__ */ c(
|
|
8
12
|
"a",
|
|
9
13
|
{
|
|
10
14
|
"aria-label": "Powered by Telia ACE",
|
|
11
15
|
href: "https://ace-showcase.com/marketplace/ace-knowledge/",
|
|
12
16
|
target: "_blank",
|
|
13
17
|
rel: "noopener noreferrer",
|
|
14
|
-
children: /* @__PURE__ */
|
|
18
|
+
children: /* @__PURE__ */ t(
|
|
15
19
|
d,
|
|
16
20
|
{
|
|
17
21
|
version: "1.1",
|
|
@@ -20,7 +24,7 @@ const s = () => o(a), H = ({ className: h, ...n }) => {
|
|
|
20
24
|
viewBox: "0 0 1000 150",
|
|
21
25
|
mode: l,
|
|
22
26
|
children: [
|
|
23
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ t("g", { children: [
|
|
24
28
|
/* @__PURE__ */ c(
|
|
25
29
|
"path",
|
|
26
30
|
{
|
|
@@ -82,7 +86,7 @@ const s = () => o(a), H = ({ className: h, ...n }) => {
|
|
|
82
86
|
),
|
|
83
87
|
/* @__PURE__ */ c("path", { d: "M540.8,100.5h-7V79l-20.3-31h8.3l15.7,25l15.4-25h7.9l-20.1,31V100.5z" })
|
|
84
88
|
] }),
|
|
85
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ t("g", { children: [
|
|
86
90
|
/* @__PURE__ */ c(
|
|
87
91
|
"path",
|
|
88
92
|
{
|
|
@@ -158,7 +162,7 @@ const s = () => o(a), H = ({ className: h, ...n }) => {
|
|
|
158
162
|
)
|
|
159
163
|
}
|
|
160
164
|
) });
|
|
161
|
-
},
|
|
165
|
+
}, s = e.div`
|
|
162
166
|
padding: ${(h) => {
|
|
163
167
|
var n;
|
|
164
168
|
return (n = h.theme.sizes) == null ? void 0 : n.cardinal;
|
|
@@ -169,13 +173,13 @@ const s = () => o(a), H = ({ className: h, ...n }) => {
|
|
|
169
173
|
justify-content: center;
|
|
170
174
|
align-items: center;
|
|
171
175
|
&:focus-visible svg {
|
|
172
|
-
${
|
|
176
|
+
${p};
|
|
173
177
|
}
|
|
174
178
|
outline: none;
|
|
175
179
|
}
|
|
176
|
-
`, d =
|
|
180
|
+
`, d = e.svg`
|
|
177
181
|
width: ${(h) => h.mode === "compact" ? "130px" : "145px"};
|
|
178
182
|
`;
|
|
179
183
|
export {
|
|
180
|
-
|
|
184
|
+
x as default
|
|
181
185
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),t=require("@emotion/styled");require("@emotion/react");const n=require("./index-6ac9584a.js"),l=require("react");require("react-dom");require("react-transition-group");require("react-router-dom");const r=()=>l.useContext(n.ComponentPropertyContext),i=({className:e,...h})=>{const{mode:s="compact"}=r();return c.jsx(a,{...h,className:n.appendClassNames(e,"humany-copyright"),children:c.jsx("a",{"aria-label":"Powered by Telia ACE",href:"https://ace-showcase.com/marketplace/ace-knowledge/",target:"_blank",rel:"noopener noreferrer",children:c.jsxs(o,{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink",viewBox:"0 0 1000 150",mode:s,children:[c.jsxs("g",{children:[c.jsx("path",{d:`M107.5,47.9c5.3,0,9.3,1.4,12,4.1s4.1,6.5,4.1,11.4c0,4.9-1.4,8.7-4.1,11.5c-2.7,2.7-6.7,4.1-12,4h-16v21.5h-7V47.9H107.5z
|
|
2
2
|
M105.2,73.1c4,0,6.9-0.8,8.7-2.4c1.8-1.7,2.8-4.1,2.8-7.2c0-3.1-0.9-5.5-2.8-7.2c-1.8-1.6-4.7-2.5-8.7-2.5H91.5v19.3H105.2z`}),c.jsx("path",{d:`M130.8,63.9c1.1-3.3,2.6-6.2,4.7-8.8c2.1-2.5,4.7-4.6,7.9-6.1c3.1-1.5,6.8-2.3,11-2.3c4.2,0,7.8,0.8,11,2.3
|
|
3
3
|
c3.1,1.5,5.8,3.6,7.9,6.1c2.1,2.6,3.7,5.5,4.7,8.8c1.1,3.3,1.6,6.8,1.6,10.3c0,3.6-0.5,7-1.6,10.3c-1.1,3.3-2.6,6.2-4.7,8.8
|
|
4
4
|
c-2.1,2.6-4.7,4.6-7.9,6.1c-3.1,1.5-6.8,2.2-11,2.2c-4.2,0-7.8-0.7-11-2.2c-3.1-1.5-5.8-3.5-7.9-6.1c-2.1-2.5-3.7-5.5-4.7-8.8
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
c-3-1.5-5.9-2.3-8.7-2.3c-6.2,0-11.3,3.2-13.8,8.1c-1.3,2.5-2,5.2-2,8.2c0,6.3,3,11.5,7.7,14.1c2.3,1.4,4.9,2.1,7.7,2.1
|
|
33
33
|
c3.2,0,6.4-0.7,9.6-2.1c1.7-0.7,3-1.1,4-1.1c1.8,0,2.6,0.9,2.6,2.6c0,2.6-1.2,5.3-2.9,6.8C871.4,99.7,865.6,101.6,860.4,101.6z`}),c.jsx("path",{fill:"#9924DF",d:`M889.3,100.5c-2.6,0-5.1-4.5-5.1-5.9V53.8c0-2.4,3.8-4.8,7.4-4.8h24.2c1.8,0,2.7,0.9,2.7,2.6
|
|
34
34
|
c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1h-19.1v10.4h18c1.7,0,2.6,0.8,2.6,2.4c0,3.6-2.3,7.1-4.6,7.1h-16v11h22
|
|
35
|
-
c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z`})]})]})})})},a=
|
|
35
|
+
c1.8,0,2.7,0.9,2.7,2.6c0,2.6-1.2,5.3-2.6,6.7c-0.8,0.7-1.5,1-2.3,1H889.3z`})]})]})})})},a=t.div`
|
|
36
36
|
padding: ${e=>{var h;return(h=e.theme.sizes)==null?void 0:h.cardinal}}px;
|
|
37
37
|
|
|
38
38
|
a {
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
}
|
|
45
45
|
outline: none;
|
|
46
46
|
}
|
|
47
|
-
`,
|
|
47
|
+
`,o=t.svg`
|
|
48
48
|
width: ${e=>e.mode==="compact"?"130px":"145px"};
|
|
49
|
-
`;exports.default=
|
|
49
|
+
`;exports.default=i;
|