@coveops/abi 0.5.2 → 0.7.0

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.
Files changed (58) hide show
  1. package/dist/abi/abi.css +1 -1
  2. package/dist/abi/abi.esm.js +1 -1
  3. package/dist/abi/images/Default.png +0 -0
  4. package/dist/abi/images/Documents.png +0 -0
  5. package/dist/abi/images/FAQ.png +0 -0
  6. package/dist/abi/images/Images.png +0 -0
  7. package/dist/abi/images/Link.png +0 -0
  8. package/dist/abi/images/Movies.png +0 -0
  9. package/dist/abi/images/ProcessPeople.png +0 -0
  10. package/dist/abi/{p-b62c5f66.entry.js → p-24a5774b.entry.js} +1 -1
  11. package/dist/abi/p-3d7bc0f4.entry.js +1 -0
  12. package/dist/abi/p-5581aa22.entry.js +1 -0
  13. package/dist/bundle/index.css +1 -1
  14. package/dist/bundle/index.html +2 -2
  15. package/dist/bundle/index.js +441 -283
  16. package/dist/cjs/faq-popup-component.cjs.entry.js +8 -0
  17. package/dist/cjs/results-manager.cjs.entry.js +10 -10
  18. package/dist/cjs/strip-html-component.cjs.entry.js +1 -1
  19. package/dist/collection/components/faq-popup-component/faq-popup-component.css +0 -12
  20. package/dist/collection/components/faq-popup-component/faq-popup-component.js +8 -0
  21. package/dist/collection/components/strip-html-component/strip-html-component.js +1 -1
  22. package/dist/collection/images/Default.png +0 -0
  23. package/dist/collection/images/Documents.png +0 -0
  24. package/dist/collection/images/FAQ.png +0 -0
  25. package/dist/collection/images/Images.png +0 -0
  26. package/dist/collection/images/Link.png +0 -0
  27. package/dist/collection/images/Movies.png +0 -0
  28. package/dist/collection/images/ProcessPeople.png +0 -0
  29. package/dist/components/index.js +19 -11
  30. package/dist/esm/faq-popup-component.entry.js +8 -0
  31. package/dist/esm/results-manager.entry.js +10 -10
  32. package/dist/esm/strip-html-component.entry.js +1 -1
  33. package/package.json +1 -1
  34. package/src/components/faq-popup-component/faq-popup-component.css +0 -12
  35. package/src/components/faq-popup-component/faq-popup-component.tsx +12 -0
  36. package/src/components/results-manager/AppTemplate.html +18 -12
  37. package/src/components/results-manager/DocumentsTemplate.html +63 -27
  38. package/src/components/results-manager/ELearningTemplate.html +23 -14
  39. package/src/components/results-manager/FAQTemplate.html +48 -30
  40. package/src/components/results-manager/KATemplate.html +42 -27
  41. package/src/components/results-manager/MediaTemplate.html +26 -16
  42. package/src/components/results-manager/PeopleTemplate.html +13 -8
  43. package/src/components/results-manager/QuickLinksTemplate.html +14 -14
  44. package/src/components/results-manager/SitePagesTemplate.html +40 -18
  45. package/src/components/results-manager/template-1.html +21 -22
  46. package/src/components/strip-html-component/strip-html-component.tsx +1 -1
  47. package/src/images/Default.png +0 -0
  48. package/src/images/Documents.png +0 -0
  49. package/src/images/FAQ.png +0 -0
  50. package/src/images/Images.png +0 -0
  51. package/src/images/Link.png +0 -0
  52. package/src/images/Movies.png +0 -0
  53. package/src/images/ProcessPeople.png +0 -0
  54. package/src/pages/index.html +2 -2
  55. package/src/style/index.css +4 -1
  56. package/stencil.config.ts +5 -0
  57. package/dist/abi/p-5a5f74eb.entry.js +0 -1
  58. package/dist/abi/p-f23dd119.entry.js +0 -1
@@ -51,7 +51,7 @@ const StripHtmlComponent = class {
51
51
  if (typeof description === 'string') {
52
52
  strippedString = this.stripHtmlAndEntities(description);
53
53
  }
54
- return (index.h("div", { style: { fontSize: "13px" } }, strippedString));
54
+ return (index.h("div", { style: { fontSize: "1.3rem", maxHeight: "none", lineHeight: "normal" } }, strippedString));
55
55
  }
56
56
  get host() { return index.getElement(this); }
57
57
  };
@@ -1,15 +1,3 @@
1
1
  b {
2
2
  color: var(--atomic-primary);
3
3
  }
4
- /* :host {
5
- display: block;
6
- }
7
-
8
- .clickable-host {
9
- cursor: pointer;
10
- }
11
-
12
- .clickable-host:hover {
13
- cursor: pointer;
14
- text-decoration: underline; /* Optional: adds underline on hover */
15
- } */
@@ -16,6 +16,9 @@ export class FaqPopupComponent {
16
16
  this.bindings = await initializeBindings(this.host);
17
17
  this.result = await resultContext(this.host);
18
18
  this.modalElement = (_a = this.bindings) === null || _a === void 0 ? void 0 : _a.interfaceElement.querySelector('#faq-modal');
19
+ if (this.result && localStorage.getItem(`visited-${this.result.title}`)) {
20
+ this.host.classList.add('visited-title');
21
+ }
19
22
  }
20
23
  catch (error) {
21
24
  console.error(error);
@@ -64,6 +67,11 @@ export class FaqPopupComponent {
64
67
  bodySlot.appendChild(linkElement);
65
68
  this.modalElement.querySelector('#faq-modal-close').addEventListener('click', this.closeFAQModal);
66
69
  this.modalElement.setAttribute('is-open', 'true');
70
+ if (this.result) {
71
+ localStorage.setItem(`visited-${this.result.title}`, 'true');
72
+ }
73
+ // Add the class to change color
74
+ this.host.classList.add('visited-title');
67
75
  }
68
76
  render() {
69
77
  if (!this.result) {
@@ -47,7 +47,7 @@ export class StripHtmlComponent {
47
47
  if (typeof description === 'string') {
48
48
  strippedString = this.stripHtmlAndEntities(description);
49
49
  }
50
- return (h("div", { style: { fontSize: "13px" } }, strippedString));
50
+ return (h("div", { style: { fontSize: "1.3rem", maxHeight: "none", lineHeight: "normal" } }, strippedString));
51
51
  }
52
52
  static get is() { return "strip-html-component"; }
53
53
  static get encapsulation() { return "shadow"; }
Binary file
Binary file