@telia-ace/widget-components-not-found 1.0.21-next.3 → 1.0.21-next.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createReactComponent as t } from "@telia-ace/widget-ui";
2
- const e = (o) => t(o, "not-found", import("./not-found.95856431.js"));
2
+ const n = (o) => t(o, "not-found", import("./not-found.2bdc2d40.js")), r = n;
3
3
  export {
4
- e as default
4
+ r as default
5
5
  };
6
6
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/not-found-component.tsx"],"sourcesContent":["import { createReactComponent } from '@telia-ace/widget-ui';\nimport { Container } from '@webprovisions/platform';\n\nexport type NotFoundComponentProps = {\n header?: string;\n linkLabel?: string;\n suggestionHeader?: string;\n suggestionLabel?: string;\n showSearch?: boolean;\n};\n\nconst NotFoundComponent = (container: Container) => {\n return createReactComponent(container, 'not-found', import('./not-found'));\n};\n\nexport default NotFoundComponent;\n"],"names":["NotFoundComponent","container","createReactComponent"],"mappings":";AAWM,MAAAA,IAAoB,CAACC,MAChBC,EAAqBD,GAAW,aAAa,OAAO,0BAAc;"}
1
+ {"version":3,"file":"index.js","sources":["../src/not-found-component.tsx"],"sourcesContent":["import { createReactComponent } from '@telia-ace/widget-ui';\nimport { Container } from '@webprovisions/platform';\n\nexport type NotFoundComponentProps = {\n header?: string;\n linkLabel?: string;\n suggestionHeader?: string;\n suggestionLabel?: string;\n showSearch?: boolean;\n};\n\nconst NotFoundComponent = (container: Container) => {\n return createReactComponent(container, 'not-found', import('./not-found'));\n};\n\nexport default NotFoundComponent;\n"],"names":["NotFoundComponent","container","createReactComponent","NotFoundComponent$1"],"mappings":";AAWA,MAAMA,IAAoB,CAACC,MAChBC,EAAqBD,GAAW,aAAa,OAAO,0BAAc,GAG7EE,IAAeH;"}
@@ -9,25 +9,26 @@ var d = (t, e, n) => e in t ? z(t, e, { enumerable: !0, configurable: !0, writab
9
9
  v.call(e, n) && d(t, n, e[n]);
10
10
  return t;
11
11
  };
12
+ import { css as f, useTheme as N } from "@emotion/react";
12
13
  import { DetachedComponent as C } from "@telia-ace/widget-types-grid";
13
- import { contentBox as N, headingElement as f, Typography as h, TextLink as L, useProperties as k, useContainer as F } from "@telia-ace/widget-ui";
14
- import r, { useContext as P } from "react";
15
- import o, { css as g, ThemeContext as T } from "styled-components";
16
- const j = ({
14
+ import { Typography as h, TextLink as F, contentBox as L, headingElement as g, useProperties as k, useContainer as B } from "@telia-ace/widget-ui";
15
+ import r from "react";
16
+ import o from "@emotion/styled";
17
+ const P = ({
17
18
  header: t = "",
18
19
  link: e = "",
19
20
  suggestionHeader: n = "",
20
21
  suggestion: a = ""
21
- }) => /* @__PURE__ */ r.createElement(B, null, /* @__PURE__ */ r.createElement(H, null, /* @__PURE__ */ r.createElement(h, {
22
+ }) => /* @__PURE__ */ r.createElement(j, null, /* @__PURE__ */ r.createElement(H, null, /* @__PURE__ */ r.createElement(h, {
22
23
  variant: "h2"
23
24
  }, "404")), /* @__PURE__ */ r.createElement(S, null, /* @__PURE__ */ r.createElement(h, {
24
25
  variant: "h3"
25
- }, t), /* @__PURE__ */ r.createElement(L, {
26
+ }, t), /* @__PURE__ */ r.createElement(F, {
26
27
  routeName: "index",
27
28
  "aria-label": e,
28
29
  text: e
29
- })), /* @__PURE__ */ r.createElement(D, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, a)))), B = o.div`
30
- ${N}
30
+ })), /* @__PURE__ */ r.createElement(D, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, a)))), T = P, j = o.div`
31
+ ${(t) => L(t)}
31
32
  display: flex;
32
33
  flex-wrap: wrap;
33
34
  flex-direction: row;
@@ -37,34 +38,34 @@ const j = ({
37
38
  return (e = t.theme.sizes) == null ? void 0 : e.medium;
38
39
  }};
39
40
  `, H = o.div`
40
- ${f(
41
- "h2",
42
- g`
43
- padding: 0;
44
- margin: 0;
45
- color: gray;
46
- font-size: ${(t) => {
47
- var e;
48
- return (e = t.theme.fonts) == null ? void 0 : e.huge;
49
- }};
50
- `
51
- )}
41
+ ${(t) => {
42
+ var e;
43
+ return g(t)(
44
+ "h2",
45
+ f`
46
+ padding: 0;
47
+ margin: 0;
48
+ color: gray;
49
+ font-size: ${(e = t.theme.fonts) == null ? void 0 : e.huge};
50
+ `
51
+ );
52
+ }}
52
53
  `, S = o.div`
53
54
  margin-left: ${(t) => {
54
55
  var e;
55
56
  return (e = t.theme.sizes) == null ? void 0 : e.medium;
56
57
  }};
57
58
 
58
- ${f(
59
- "h3",
60
- g`
61
- text-transform: uppercase;
62
- font-size: ${(t) => {
63
- var e;
64
- return (e = t.theme.fonts) == null ? void 0 : e.normal;
65
- }};
66
- `
67
- )}
59
+ ${(t) => {
60
+ var e;
61
+ return g(t)(
62
+ "h3",
63
+ f`
64
+ text-transform: uppercase;
65
+ font-size: ${(e = t.theme.fonts) == null ? void 0 : e.normal};
66
+ `
67
+ );
68
+ }}
68
69
 
69
70
  a {
70
71
  color: ${(t) => {
@@ -86,20 +87,20 @@ const j = ({
86
87
  span {
87
88
  font-weight: bold;
88
89
  }
89
- `, G = () => {
90
- const { header: t, linkLabel: e, suggestionHeader: n, suggestionLabel: a, showSearch: E } = k(), x = F(), s = P(T);
90
+ `, I = () => {
91
+ const { header: t, linkLabel: e, suggestionHeader: n, suggestionLabel: a, showSearch: E } = k(), x = B(), s = N();
91
92
  return /* @__PURE__ */ r.createElement(r.Fragment, null, E && /* @__PURE__ */ r.createElement(C, {
92
93
  builder: ($) => x.get("settings").then((l) => {
93
- var m;
94
+ var i;
94
95
  const w = Object.keys(l.components).reduce(
95
96
  (y, c) => l.components[c].type === "search" ? l.components[c].properties : y,
96
97
  {}
97
- ), i = $.createNode("search", { detached: !0 });
98
- return i.writeLayout({ size: "full" }), i.writeProperties(p({
99
- "css-margin-bottom": ((m = s == null ? void 0 : s.sizes) == null ? void 0 : m.normal) || "15px"
100
- }, w)), i;
98
+ ), m = $.createNode("search", { detached: !0 });
99
+ return m.writeLayout({ size: "full" }), m.writeProperties(p({
100
+ "css-margin-bottom": ((i = s == null ? void 0 : s.sizes) == null ? void 0 : i.normal) || "15px"
101
+ }, w)), m;
101
102
  })
102
- }), /* @__PURE__ */ r.createElement(j, {
103
+ }), /* @__PURE__ */ r.createElement(T, {
103
104
  header: t,
104
105
  link: e,
105
106
  suggestionHeader: n,
@@ -107,6 +108,6 @@ const j = ({
107
108
  }));
108
109
  };
109
110
  export {
110
- G as default
111
+ I as default
111
112
  };
112
- //# sourceMappingURL=not-found.95856431.js.map
113
+ //# sourceMappingURL=not-found.2bdc2d40.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"not-found.2bdc2d40.js","sources":["../src/not-found-base.tsx","../src/not-found.tsx"],"sourcesContent":["import { css } from '@emotion/react';\nimport styled from '@emotion/styled';\nimport { contentBox, headingElement, TextLink, Typography } from '@telia-ace/widget-ui';\nimport React from 'react';\n\ntype Props = {\n header?: string;\n link?: string;\n suggestionHeader?: string;\n suggestion?: string;\n};\n\nconst NotFoundBase: React.FC<Props> = ({\n header = '',\n link = '',\n suggestionHeader = '',\n suggestion = '',\n}) => {\n return (\n <Wrapper>\n <Status>\n <Typography variant=\"h2\">404</Typography>\n </Status>\n <Header>\n <Typography variant=\"h3\">{header}</Typography>\n <TextLink routeName=\"index\" aria-label={link} text={link} />\n </Header>\n <Content>\n <span>{suggestionHeader}</span>\n <ul>\n <li>{suggestion}</li>\n </ul>\n </Content>\n </Wrapper>\n );\n};\n\nexport default NotFoundBase;\n\nconst Wrapper = styled.div`\n ${(p) => contentBox(p)}\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n justify-content: flex-start;\n padding: ${(p) => p.theme.sizes?.medium};\n`;\n\nconst Status = styled.div`\n ${(p) =>\n headingElement(p)(\n 'h2',\n css`\n padding: 0;\n margin: 0;\n color: gray;\n font-size: ${p.theme.fonts?.huge};\n `\n )}\n`;\n\nconst Header = styled.div`\n margin-left: ${(p) => p.theme.sizes?.medium};\n\n ${(p) =>\n headingElement(p)(\n 'h3',\n css`\n text-transform: uppercase;\n font-size: ${p.theme.fonts?.normal};\n `\n )}\n\n a {\n color: ${(p) => p.theme.colors?.link};\n font-size: ${(p) => p.theme.fonts?.small};\n }\n`;\n\nconst Content = styled.div`\n margin-top: ${(p) => p.theme.sizes?.medium};\n min-width: 100%;\n\n span {\n font-weight: bold;\n }\n`;\n","import { useTheme } from '@emotion/react';\nimport { DetachedComponent } from '@telia-ace/widget-types-grid';\nimport { useContainer, useProperties } from '@telia-ace/widget-ui';\nimport React from 'react';\nimport NotFoundBase from './not-found-base';\nimport { NotFoundComponentProps } from './not-found-component';\n\ntype Props = {};\n\nconst NotFound: React.FC<Props> = () => {\n const { header, linkLabel, suggestionHeader, suggestionLabel, showSearch } =\n useProperties<NotFoundComponentProps>();\n const container = useContainer();\n const theme = useTheme();\n\n return (\n <>\n {showSearch && (\n <DetachedComponent\n builder={(components: any) => {\n return container.get('settings').then((settings: any) => {\n const searchComponentProps = Object.keys(settings.components).reduce(\n (acc, key) => {\n if (settings.components[key].type === 'search') {\n return settings.components[key].properties;\n }\n\n return acc;\n },\n {}\n );\n const searchNode = components.createNode('search', { detached: true });\n searchNode.writeLayout({ size: 'full' });\n searchNode.writeProperties({\n 'css-margin-bottom': theme?.sizes?.normal || '15px',\n ...searchComponentProps,\n });\n\n return searchNode;\n });\n }}\n />\n )}\n <NotFoundBase\n header={header}\n link={linkLabel}\n suggestionHeader={suggestionHeader}\n suggestion={suggestionLabel}\n />\n </>\n );\n};\n\nexport default NotFound;\n"],"names":["NotFoundBase","header","link","suggestionHeader","suggestion","React","Wrapper","Status","Typography","Header","TextLink","Content","NotFoundBase$1","styled","p","contentBox","_a","headingElement","css","NotFound","linkLabel","suggestionLabel","showSearch","useProperties","container","useContainer","theme","useTheme","DetachedComponent","components","settings","searchComponentProps","acc","key","searchNode","__spreadValues"],"mappings":";;;;;;;;;;;;;;;;AAYA,MAAMA,IAAgC,CAAC;AAAA,EACnC,QAAAC,IAAS;AAAA,EACT,MAAAC,IAAO;AAAA,EACP,kBAAAC,IAAmB;AAAA,EACnB,YAAAC,IAAa;AACjB,MAES,gBAAAC,EAAA,cAAAC,GAAA,MACI,gBAAAD,EAAA,cAAAE,GAAA,MACI,gBAAAF,EAAA,cAAAG,GAAA;AAAA,EAAW,SAAQ;AAAA,GAAK,KAAG,CAChC,GACA,gBAAAH,EAAA,cAACI,SACI,gBAAAJ,EAAA,cAAAG,GAAA;AAAA,EAAW,SAAQ;AAAM,GAAAP,CAAO,GAChC,gBAAAI,EAAA,cAAAK,GAAA;AAAA,EAAS,WAAU;AAAA,EAAQ,cAAYR;AAAA,EAAM,MAAMA;AAAA,CAAM,CAC9D,GACC,gBAAAG,EAAA,cAAAM,GAAA,sCACI,QAAM,MAAAR,CAAiB,GACxB,gBAAAE,EAAA,cAAC,YACI,gBAAAA,EAAA,cAAA,MAAA,MAAID,CAAW,CACpB,CACJ,CACJ,GAIRQ,IAAeZ,GAETM,IAAUO,EAAO;AAAA,MACjB,CAACC,MAAMC,EAAWD,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,eAKV,CAACA,MAAM;;AAAA,UAAAE,IAAAF,EAAE,MAAM,UAAR,gBAAAE,EAAe;AAAA;AAAA,GAG/BT,IAASM,EAAO;AAAA,MAChB,CAACC;;AACC,SAAAG,EAAeH,CAAC;AAAA,IACZ;AAAA,IACAI;AAAA;AAAA;AAAA;AAAA,8BAIiBF,IAAAF,EAAE,MAAM,UAAR,gBAAAE,EAAe;AAAA;AAAA,EAEpC;AAAA;AAAA,GAGFP,IAASI,EAAO;AAAA,mBACH,CAACC,MAAM;;AAAA,UAAAE,IAAAF,EAAE,MAAM,UAAR,gBAAAE,EAAe;AAA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IAAA,CACV;AAAA,EACL,CACJ,GAEH,gBAAA7B,EAAA,cAAAL,GAAA;AAAA,IACG,QAAAC;AAAA,IACA,MAAMmB;AAAA,IACN,kBAAAjB;AAAA,IACA,YAAYkB;AAAA,EAChB,CAAA,CACJ;AAER;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-not-found",
3
- "version": "1.0.21-next.3",
3
+ "version": "1.0.21-next.4",
4
4
  "description": "Not found component for ACE Widgets.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -32,16 +32,17 @@
32
32
  "@webprovisions/platform": "^1.1.2"
33
33
  },
34
34
  "peerDependencies": {
35
+ "@emotion/react": "^11.10.4",
36
+ "@emotion/styled": "^11.10.4",
35
37
  "react": "^18.2.0",
36
- "react-dom": "^18.2.0",
37
- "styled-components": "^5.3.6"
38
+ "react-dom": "^18.2.0"
38
39
  },
39
40
  "devDependencies": {
41
+ "@emotion/react": "^11.10.4",
42
+ "@emotion/styled": "^11.10.4",
40
43
  "@types/react-dom": "^18.0.6",
41
- "@types/styled-components": "^5.1.26",
42
44
  "react": "^18.2.0",
43
- "react-dom": "^18.2.0",
44
- "styled-components": "^5.3.6"
45
+ "react-dom": "^18.2.0"
45
46
  },
46
- "gitHead": "2097fcca840d4a41a639f78c53af2f43c36d287a"
47
+ "gitHead": "eceba39c106d39bcb0064769bb5406db88771686"
47
48
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"not-found.95856431.js","sources":["../src/not-found-base.tsx","../src/not-found.tsx"],"sourcesContent":["import { contentBox, headingElement, TextLink, Typography } from '@telia-ace/widget-ui';\nimport React from 'react';\nimport styled, { css } from 'styled-components';\n\ntype Props = {\n header?: string;\n link?: string;\n suggestionHeader?: string;\n suggestion?: string;\n};\n\nconst NotFoundBase: React.FC<Props> = ({\n header = '',\n link = '',\n suggestionHeader = '',\n suggestion = '',\n}) => {\n return (\n <Wrapper>\n <Status>\n <Typography variant=\"h2\">404</Typography>\n </Status>\n <Header>\n <Typography variant=\"h3\">{header}</Typography>\n <TextLink routeName=\"index\" aria-label={link} text={link} />\n </Header>\n <Content>\n <span>{suggestionHeader}</span>\n <ul>\n <li>{suggestion}</li>\n </ul>\n </Content>\n </Wrapper>\n );\n};\n\nexport default NotFoundBase;\n\nconst Wrapper = styled.div`\n ${contentBox}\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n justify-content: flex-start;\n padding: ${(p) => p.theme.sizes?.medium};\n`;\n\nconst Status = styled.div`\n ${headingElement(\n 'h2',\n css`\n padding: 0;\n margin: 0;\n color: gray;\n font-size: ${(p) => p.theme.fonts?.huge};\n `\n )}\n`;\n\nconst Header = styled.div`\n margin-left: ${(p) => p.theme.sizes?.medium};\n\n ${headingElement(\n 'h3',\n css`\n text-transform: uppercase;\n font-size: ${(p) => p.theme.fonts?.normal};\n `\n )}\n\n a {\n color: ${(p) => p.theme.colors?.link};\n font-size: ${(p) => p.theme.fonts?.small};\n }\n`;\n\nconst Content = styled.div`\n margin-top: ${(p) => p.theme.sizes?.medium};\n min-width: 100%;\n\n span {\n font-weight: bold;\n }\n`;\n","import { ComponentPlatform } from '@telia-ace/widget-core';\nimport { DetachedComponent } from '@telia-ace/widget-types-grid';\nimport { useContainer, useProperties } from '@telia-ace/widget-ui';\nimport React, { useContext } from 'react';\nimport { ThemeContext } from 'styled-components';\nimport NotFoundBase from './not-found-base';\nimport { NotFoundComponentProps } from './not-found-component';\n\ntype Props = {};\n\nconst NotFound: React.FC<Props> = () => {\n const { header, linkLabel, suggestionHeader, suggestionLabel, showSearch } =\n useProperties<NotFoundComponentProps>();\n const container = useContainer();\n const themeContext = useContext(ThemeContext);\n\n return (\n <>\n {showSearch && (\n <DetachedComponent\n builder={(components: ComponentPlatform) => {\n return container.get('settings').then((settings: any) => {\n const searchComponentProps = Object.keys(settings.components).reduce(\n (acc, key) => {\n if (settings.components[key].type === 'search') {\n return settings.components[key].properties;\n }\n\n return acc;\n },\n {}\n );\n const searchNode = components.createNode('search', { detached: true });\n searchNode.writeLayout({ size: 'full' });\n searchNode.writeProperties({\n 'css-margin-bottom': themeContext?.sizes?.normal || '15px',\n ...searchComponentProps,\n });\n\n return searchNode;\n });\n }}\n />\n )}\n <NotFoundBase\n header={header}\n link={linkLabel}\n suggestionHeader={suggestionHeader}\n suggestion={suggestionLabel}\n />\n </>\n );\n};\n\nexport default NotFound;\n"],"names":["NotFoundBase","header","link","suggestionHeader","suggestion","React","Wrapper","Status","Typography","Header","TextLink","Content","styled","contentBox","p","_a","headingElement","css","NotFound","linkLabel","suggestionLabel","showSearch","useProperties","container","useContainer","themeContext","useContext","ThemeContext","DetachedComponent","components","settings","searchComponentProps","acc","key","searchNode","__spreadValues"],"mappings":";;;;;;;;;;;;;;;AAWA,MAAMA,IAAgC,CAAC;AAAA,EACnC,QAAAC,IAAS;AAAA,EACT,MAAAC,IAAO;AAAA,EACP,kBAAAC,IAAmB;AAAA,EACnB,YAAAC,IAAa;AACjB,MAES,gBAAAC,EAAA,cAAAC,GAAA,MACI,gBAAAD,EAAA,cAAAE,GAAA,MACI,gBAAAF,EAAA,cAAAG,GAAA;AAAA,EAAW,SAAQ;AAAA,GAAK,KAAG,CAChC,GACA,gBAAAH,EAAA,cAACI,SACI,gBAAAJ,EAAA,cAAAG,GAAA;AAAA,EAAW,SAAQ;AAAM,GAAAP,CAAO,GAChC,gBAAAI,EAAA,cAAAK,GAAA;AAAA,EAAS,WAAU;AAAA,EAAQ,cAAYR;AAAA,EAAM,MAAMA;AAAA,CAAM,CAC9D,GACC,gBAAAG,EAAA,cAAAM,GAAA,sCACI,QAAM,MAAAR,CAAiB,GACxB,gBAAAE,EAAA,cAAC,YACI,gBAAAA,EAAA,cAAA,MAAA,MAAID,CAAW,CACpB,CACJ,CACJ,GAMFE,IAAUM,EAAO;AAAA,MACjBC;AAAA;AAAA;AAAA;AAAA;AAAA,eAKS,CAACC,MAAM;;AAAA,UAAAC,IAA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