@telia-ace/knowledge-widget-adapters 1.0.44-experimental.9 → 1.0.44
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/contact-methods/email/email-form-component.d.ts +1 -1
- package/dist/contact-methods/email/email-plugin.d.ts +1 -2
- package/dist/contact-methods/free-text/free-text-component.d.ts +1 -1
- package/dist/contact-methods/index.d.ts +2 -1
- package/dist/contact-methods/link/link-component.d.ts +1 -1
- package/dist/contact-methods/phone/phone-component.d.ts +1 -1
- package/dist/contact-methods/platform.d.ts +1 -1
- package/dist/contact-methods/ui/contact-list.d.ts +18 -2
- package/dist/contact-methods/ui/contact-method.d.ts +41 -1
- package/dist/contact-methods/ui/description.d.ts +3 -4
- package/dist/contact-methods/ui/form.d.ts +2 -1
- package/dist/contact-methods/ui/index.d.ts +3 -0
- package/dist/email-form-component.c12f6804.js +65 -0
- package/dist/email-form-component.c12f6804.js.map +1 -0
- package/dist/free-text-component.c06abc12.js +20 -0
- package/dist/free-text-component.c06abc12.js.map +1 -0
- package/dist/index.c1d1bd5b.js +581 -0
- package/dist/index.c1d1bd5b.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +27 -350
- package/dist/index.js.map +1 -1
- package/dist/link-component.484bbcf2.js.map +1 -1
- package/dist/phone-component.0c878514.js.map +1 -1
- package/package.json +7 -7
- package/dist/email-form-component.26ca3985.js +0 -6
- package/dist/email-form-component.26ca3985.js.map +0 -1
- package/dist/free-text-component.037b4db9.js +0 -11
- package/dist/free-text-component.037b4db9.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/knowledge-widget-adapters",
|
|
3
|
-
"version": "1.0.44
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"description": "ACE knowledge adapters for ACE widgets.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@telia-ace/knowledge-serviceclient": "1.0.23
|
|
25
|
-
"@telia-ace/knowledge-widget-core": "1.0.34
|
|
26
|
-
"@telia-ace/knowledge-widget-ui": "1.0.40
|
|
27
|
-
"@telia-ace/widget-forms": "^1.0.
|
|
28
|
-
"@telia-ace/widget-routing": "^1.0.
|
|
29
|
-
"@telia-ace/widget-utilities": "^1.0.
|
|
24
|
+
"@telia-ace/knowledge-serviceclient": "^1.0.23",
|
|
25
|
+
"@telia-ace/knowledge-widget-core": "^1.0.34",
|
|
26
|
+
"@telia-ace/knowledge-widget-ui": "^1.0.40",
|
|
27
|
+
"@telia-ace/widget-forms": "^1.0.27",
|
|
28
|
+
"@telia-ace/widget-routing": "^1.0.21",
|
|
29
|
+
"@telia-ace/widget-utilities": "^1.0.9",
|
|
30
30
|
"@webprovisions/platform": "^1.1.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email-form-component.26ca3985.js","sources":["../src/contact-methods/email/email-form-component.tsx"],"sourcesContent":["// import { genericHtml, headingElement, Html } from '@telia-ace/knowledge-widget-ui';\nimport React from 'react';\n// import { ContactMethodProps } from '../ui';\ntype ContactMethodProps = any;\n\n// const StyledHtml = styled(Html)`\n// ${genericHtml}\n\n// ${(p) =>\n// headingElement(p)(\n// 'h1',\n// css`\n// font-weight: normal;\n// font-size: ${p.theme.fonts?.medium};\n// `\n// )}\n// `;\n\nconst EmailFormComponent: React.FC<ContactMethodProps> = (props) => {\n return <div>Todo</div>;\n};\n// const EmailFormComponent: React.FC<ContactMethodProps> = (props) => {\n// const {\n// className,\n// renderDefault = () => {},\n// body: { form },\n// confirmation,\n// htmlParseInstruction,\n// disabled,\n// } = props;\n\n// if (confirmation) {\n// return (\n// <StyledHtml\n// className={appendClassNames(\n// className,\n// 'humany-contact-method-confirmation',\n// 'humany-contact-method-email'\n// )}\n// html={confirmation}\n// htmlParseInstruction={htmlParseInstruction}\n// />\n// );\n// }\n\n// if (form && !disabled) {\n// return (\n// <Form\n// {...props}\n// className={appendClassNames(className, 'humany-contact-method-email')}\n// />\n// );\n// }\n\n// return renderDefault();\n// };\n\nexport default EmailFormComponent;\n"],"names":["EmailFormComponent","props","React"],"mappings":";AAkBM,MAAAA,IAAmD,CAACC,MAC/C,gBAAAC,EAAA,cAAC,aAAI,MAAI;"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import e from "react";
|
|
2
|
-
const s = ({
|
|
3
|
-
className: t,
|
|
4
|
-
description: o,
|
|
5
|
-
body: { freetext: r },
|
|
6
|
-
htmlParseInstruction: n
|
|
7
|
-
}) => /* @__PURE__ */ e.createElement("div", null, "Todo");
|
|
8
|
-
export {
|
|
9
|
-
s as default
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=free-text-component.037b4db9.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"free-text-component.037b4db9.js","sources":["../src/contact-methods/free-text/free-text-component.tsx"],"sourcesContent":["// import { genericHtml, Html } from '@telia-ace/knowledge-widget-ui';\nimport React from 'react';\n// import { ContactMethodProps } from '../ui';\ntype ContactMethodProps = any;\nconst FreeTextComponent: React.FC<ContactMethodProps> = ({\n className,\n description,\n body: { freetext },\n htmlParseInstruction,\n}) => {\n return <div>Todo</div>;\n // if (!freetext) {\n // return null;\n // }\n // return (\n // <div className={appendClassNames(className, 'humany-contact-method-free-text')}>\n // <StyledHtml html={freetext} htmlParseInstruction={htmlParseInstruction} />\n // {description && (\n // <Description html={description} htmlParseInstruction={htmlParseInstruction} />\n // )}\n // </div>\n // );\n};\n\nexport default FreeTextComponent;\n\n// const StyledHtml = styled(Html)`\n// ${genericHtml};\n// `;\n"],"names":["FreeTextComponent","className","description","freetext","htmlParseInstruction","React"],"mappings":";AAIA,MAAMA,IAAkD,CAAC;AAAA,EACrD,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,MAAM,EAAE,UAAAC,EAAS;AAAA,EACjB,sBAAAC;AACJ,MACW,gBAAAC,EAAA,cAAC,aAAI,MAAI;"}
|