@coveops/abi 0.4.1 → 0.5.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 (61) hide show
  1. package/dist/abi/abi.css +1 -1
  2. package/dist/abi/abi.esm.js +1 -1
  3. package/dist/abi/p-0f4a7ce9.js +49 -0
  4. package/dist/abi/p-52c70e74.js +2 -0
  5. package/dist/abi/p-5a5f74eb.entry.js +1 -0
  6. package/dist/abi/p-adb4a9f9.entry.js +1 -0
  7. package/dist/abi/p-b62c5f66.entry.js +1 -0
  8. package/dist/abi/p-b83bab81.js +1 -0
  9. package/dist/abi/p-d20ee37c.js +18 -0
  10. package/dist/abi/p-e7475cc6.entry.js +1 -0
  11. package/dist/bundle/index.css +1 -1
  12. package/dist/bundle/index.html +6 -6
  13. package/dist/bundle/index.js +170 -91
  14. package/dist/cjs/abi.cjs.js +2 -2
  15. package/dist/cjs/faq-popup-component.cjs.entry.js +10 -36
  16. package/dist/cjs/{index-daa118f5.js → headless.esm-085e70ed-f2e18485.js} +0 -96
  17. package/dist/cjs/index-03be0841.js +100 -0
  18. package/dist/cjs/{index-bea59ea1.js → index-9c1d2337.js} +25 -0
  19. package/dist/cjs/loader.cjs.js +2 -2
  20. package/dist/cjs/result-template-decorators-881a4c8e-4ff46481.js +33 -0
  21. package/dist/cjs/results-manager.cjs.entry.js +11 -11
  22. package/dist/cjs/sample-component.cjs.entry.js +3 -2
  23. package/dist/cjs/strip-html-component.cjs.entry.js +60 -0
  24. package/dist/collection/collection-manifest.json +2 -1
  25. package/dist/collection/components/strip-html-component/strip-html-component.css +3 -0
  26. package/dist/collection/components/strip-html-component/strip-html-component.js +64 -0
  27. package/dist/components/index.d.ts +6 -0
  28. package/dist/components/index.js +92 -12
  29. package/dist/esm/abi.js +2 -2
  30. package/dist/esm/faq-popup-component.entry.js +4 -30
  31. package/dist/esm/{index-77ebb3d5.js → headless.esm-085e70ed-c4dfb380.js} +1 -93
  32. package/dist/esm/index-42e9a708.js +95 -0
  33. package/dist/esm/{index-51334f26.js → index-8b0b351b.js} +25 -0
  34. package/dist/esm/loader.js +2 -2
  35. package/dist/esm/result-template-decorators-881a4c8e-ed85ad21.js +31 -0
  36. package/dist/esm/results-manager.entry.js +11 -11
  37. package/dist/esm/sample-component.entry.js +3 -2
  38. package/dist/esm/strip-html-component.entry.js +56 -0
  39. package/dist/types/components/strip-html-component/strip-html-component.d.ts +14 -0
  40. package/dist/types/components.d.ts +13 -0
  41. package/package.json +1 -1
  42. package/src/components/results-manager/AppTemplate.html +32 -14
  43. package/src/components/results-manager/DocumentsTemplate.html +16 -4
  44. package/src/components/results-manager/ELearningTemplate.html +10 -8
  45. package/src/components/results-manager/FAQTemplate.html +11 -6
  46. package/src/components/results-manager/KATemplate.html +12 -8
  47. package/src/components/results-manager/MediaTemplate.html +18 -0
  48. package/src/components/results-manager/PeopleTemplate.html +3 -3
  49. package/src/components/results-manager/QuickLinksTemplate.html +15 -3
  50. package/src/components/results-manager/SitePagesTemplate.html +8 -2
  51. package/src/components/results-manager/template-1.html +83 -41
  52. package/src/components/strip-html-component/strip-html-component.css +3 -0
  53. package/src/components/strip-html-component/strip-html-component.tsx +77 -0
  54. package/src/components.d.ts +13 -0
  55. package/src/pages/index.html +6 -6
  56. package/src/style/index.css +13 -4
  57. package/dist/abi/p-0ae1e588.js +0 -2
  58. package/dist/abi/p-27bd9f1c.entry.js +0 -1
  59. package/dist/abi/p-63fd8dcd.js +0 -66
  60. package/dist/abi/p-e04b6a2c.entry.js +0 -1
  61. package/dist/abi/p-fc39046e.entry.js +0 -1
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h, g as getElement, f as forceUpdate } from './index-51334f26.js';
2
- import { i as initializeBindings, n as nw, D as DI } from './index-77ebb3d5.js';
1
+ import { r as registerInstance, h, g as getElement, f as forceUpdate } from './index-8b0b351b.js';
2
+ import { i as initializeBindings, n as nw, D as DI } from './index-42e9a708.js';
3
3
  import { w as waitForAtomic } from './atomic-0e957d02.js';
4
+ import './headless.esm-085e70ed-c4dfb380.js';
4
5
 
5
6
  const sampleComponentCss = "nav{width:300px;display:flex;justify-content:space-around}button{color:var(--atomic-on-primary);background-color:var(--atomic-primary)}";
6
7
 
@@ -0,0 +1,56 @@
1
+ import { r as registerInstance, h, g as getElement } from './index-8b0b351b.js';
2
+ import './headless.esm-085e70ed-c4dfb380.js';
3
+ import { r as resultContext } from './result-template-decorators-881a4c8e-ed85ad21.js';
4
+
5
+ const stripHtmlComponentCss = "b{color:var(--atomic-primary)}";
6
+
7
+ const StripHtmlComponent = class {
8
+ constructor(hostRef) {
9
+ registerInstance(this, hostRef);
10
+ }
11
+ // We recommended fetching the result context using the `connectedCallback` lifecycle method
12
+ // with async/await. Using `componentWillLoad` will hang the parent `atomic-search-interface` initialization.
13
+ async connectedCallback() {
14
+ try {
15
+ this.result = await resultContext(this.host);
16
+ }
17
+ catch (error) {
18
+ console.error(error);
19
+ this.host.remove();
20
+ }
21
+ }
22
+ // Function to strip HTML tags and decode HTML entities
23
+ stripHtmlAndEntities(str) {
24
+ // Create a temporary DOM element
25
+ var tempDiv = document.createElement("div");
26
+ // Set its innerHTML to the input string
27
+ tempDiv.innerHTML = str;
28
+ // Use textContent to get the plain text
29
+ var text = tempDiv.textContent || tempDiv.innerText || "";
30
+ // Replace HTML entities
31
+ var decodedText = text.replace(/&#(\d+);/g, (_, dec) => String.fromCharCode(dec));
32
+ return decodedText;
33
+ }
34
+ render() {
35
+ // Do not render the component until the result object has been resolved.
36
+ if (!this.result) {
37
+ return;
38
+ }
39
+ let description;
40
+ if (this.result.raw.abicontenttype == "Quick Links") {
41
+ description = this.result.excerpt || "No description available";
42
+ }
43
+ else {
44
+ description = this.result.raw.description;
45
+ }
46
+ let strippedString = '';
47
+ if (typeof description === 'string') {
48
+ strippedString = this.stripHtmlAndEntities(description);
49
+ }
50
+ return (h("div", { style: { fontSize: "13px" } }, strippedString));
51
+ }
52
+ get host() { return getElement(this); }
53
+ };
54
+ StripHtmlComponent.style = stripHtmlComponentCss;
55
+
56
+ export { StripHtmlComponent as strip_html_component };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Sample custom Atomic result component, to be used inside an Atomic Result Template.
3
+ *
4
+ * This component showcases a component that conditionally renders the author of a result, with a fallback to display "anonymous" in the event that no author is available for a document, for educational purposes.
5
+ *
6
+ * In a real life scenario, we recommend using [result-field-condition](https://docs.coveo.com/en/atomic/latest/reference/result-template-components/atomic-field-condition/) and [atomic-result-text](https://docs.coveo.com/en/atomic/latest/reference/result-template-components/atomic-result-text/).
7
+ */
8
+ export declare class StripHtmlComponent {
9
+ private result?;
10
+ private host;
11
+ connectedCallback(): Promise<void>;
12
+ private stripHtmlAndEntities;
13
+ render(): any;
14
+ }
@@ -12,6 +12,8 @@ export namespace Components {
12
12
  }
13
13
  interface SampleComponent {
14
14
  }
15
+ interface StripHtmlComponent {
16
+ }
15
17
  }
16
18
  declare global {
17
19
  interface HTMLFaqPopupComponentElement extends Components.FaqPopupComponent, HTMLStencilElement {
@@ -32,10 +34,17 @@ declare global {
32
34
  prototype: HTMLSampleComponentElement;
33
35
  new (): HTMLSampleComponentElement;
34
36
  };
37
+ interface HTMLStripHtmlComponentElement extends Components.StripHtmlComponent, HTMLStencilElement {
38
+ }
39
+ var HTMLStripHtmlComponentElement: {
40
+ prototype: HTMLStripHtmlComponentElement;
41
+ new (): HTMLStripHtmlComponentElement;
42
+ };
35
43
  interface HTMLElementTagNameMap {
36
44
  "faq-popup-component": HTMLFaqPopupComponentElement;
37
45
  "results-manager": HTMLResultsManagerElement;
38
46
  "sample-component": HTMLSampleComponentElement;
47
+ "strip-html-component": HTMLStripHtmlComponentElement;
39
48
  }
40
49
  }
41
50
  declare namespace LocalJSX {
@@ -45,10 +54,13 @@ declare namespace LocalJSX {
45
54
  }
46
55
  interface SampleComponent {
47
56
  }
57
+ interface StripHtmlComponent {
58
+ }
48
59
  interface IntrinsicElements {
49
60
  "faq-popup-component": FaqPopupComponent;
50
61
  "results-manager": ResultsManager;
51
62
  "sample-component": SampleComponent;
63
+ "strip-html-component": StripHtmlComponent;
52
64
  }
53
65
  }
54
66
  export { LocalJSX as JSX };
@@ -58,6 +70,7 @@ declare module "@stencil/core" {
58
70
  "faq-popup-component": LocalJSX.FaqPopupComponent & JSXBase.HTMLAttributes<HTMLFaqPopupComponentElement>;
59
71
  "results-manager": LocalJSX.ResultsManager & JSXBase.HTMLAttributes<HTMLResultsManagerElement>;
60
72
  "sample-component": LocalJSX.SampleComponent & JSXBase.HTMLAttributes<HTMLSampleComponentElement>;
73
+ "strip-html-component": LocalJSX.StripHtmlComponent & JSXBase.HTMLAttributes<HTMLStripHtmlComponentElement>;
61
74
  }
62
75
  }
63
76
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coveops/abi",
3
3
  "description": "Abi project",
4
- "version": "0.4.1",
4
+ "version": "0.5.0",
5
5
  "private": false,
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.js",
@@ -15,31 +15,49 @@
15
15
  }
16
16
 
17
17
  atomic-result-section-title a {
18
- color: #b11f24 !important;
19
- font-size: 18px;
18
+ color: #F2DC39 !important;
19
+ font-size: 18px !important;
20
20
  font-weight: 600;
21
21
  }
22
22
 
23
+ atomic-result-link a:visited {
24
+ color: #45130f !important;
25
+ }
26
+
23
27
  atomic-result-section-excerpt {
24
- font-size: 13px;
28
+ font-size: 13px !important;
25
29
  margin-top: 2px !important;
26
30
  }
27
31
 
28
- atomic-result-link a:visited {
29
- color: #45130f !important;
32
+ atomic-result-section-visual {
33
+ width: 4rem !important;
34
+ height: 5rem !important;
35
+
30
36
  }
31
37
  </style>
32
38
 
33
39
  <atomic-result-section-visual>
34
40
  <atomic-icon class="icon"></atomic-icon>
35
41
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="38" height="35" viewBox="0 0 60 50">
36
- <path d="M0 0 C0.8245166 -0.00478363 1.6490332 -0.00956726 2.49853516 -0.01449585 C4.23667313 -0.01788872 5.97487544 -0.00872903 7.71289062 0.01220703 C10.36733825 0.03898521 13.01755825 0.01244254 15.671875 -0.01953125 C17.36459263 -0.01622704 19.05730763 -0.00982056 20.75 0 C21.93456787 -0.01518173 21.93456787 -0.01518173 23.14306641 -0.03067017 C27.11276955 0.05339275 28.99170918 0.40801499 32.37255859 2.66650391 C35.0441572 6.66575868 35.09944932 9.57732793 35.0390625 14.2890625 C35.04384613 15.1135791 35.04862976 15.9380957 35.05355835 16.78759766 C35.05695122 18.52573563 35.04779153 20.26393794 35.02685547 22.00195312 C35.00007729 24.65640075 35.02661996 27.30662075 35.05859375 29.9609375 C35.05528954 31.65365513 35.04888306 33.34637013 35.0390625 35.0390625 C35.04918365 35.82877441 35.05930481 36.61848633 35.06973267 37.43212891 C34.98566975 41.40183205 34.63104751 43.28077168 32.37255859 46.66162109 C28.37330382 49.3332197 25.46173457 49.38851182 20.75 49.328125 C19.5132251 49.33530045 19.5132251 49.33530045 18.25146484 49.34262085 C16.51332687 49.34601372 14.77512456 49.33685403 13.03710938 49.31591797 C10.38266175 49.28913979 7.73244175 49.31568246 5.078125 49.34765625 C3.38540737 49.34435204 1.69269237 49.33794556 0 49.328125 C-0.78971191 49.33824615 -1.57942383 49.34836731 -2.39306641 49.35879517 C-6.36276955 49.27473225 -8.24170918 48.92011001 -11.62255859 46.66162109 C-14.2941572 42.66236632 -14.34944932 39.75079707 -14.2890625 35.0390625 C-14.29384613 34.2145459 -14.29862976 33.3900293 -14.30355835 32.54052734 C-14.30695122 30.80238937 -14.29779153 29.06418706 -14.27685547 27.32617188 C-14.25007729 24.67172425 -14.27661996 22.02150425 -14.30859375 19.3671875 C-14.30528954 17.67446987 -14.29888306 15.98175487 -14.2890625 14.2890625 C-14.29918365 13.49935059 -14.30930481 12.70963867 -14.31973267 11.89599609 C-14.23566975 7.92629295 -13.88104751 6.04735332 -11.62255859 2.66650391 C-7.62330382 -0.0050947 -4.71173457 -0.06038682 0 0 Z " fill="#090909" transform="translate(13.625,-0.6640625)"></path>
37
- <path d="M0 0 C5.60625406 3.00563431 11.18661116 6.05492007 16.6875 9.25 C17.51636719 9.72953125 18.34523438 10.2090625 19.19921875 10.703125 C19.79347656 11.13109375 20.38773438 11.5590625 21 12 C21 12.66 21 13.32 21 14 C19.02 14.99 19.02 14.99 17 16 C18.32 17.32 19.64 18.64 21 20 C19.95125002 22.62187494 19.35068687 23.79371361 16.875 25.25 C16.25625 25.4975 15.6375 25.745 15 26 C13.02 24.35 11.04 22.7 9 21 C8.34 21.99 7.68 22.98 7 24 C6.34 24 5.68 24 5 24 C4.35284867 21.9170757 3.70732834 19.83364461 3.0625 17.75 C2.70285156 16.58984375 2.34320312 15.4296875 1.97265625 14.234375 C0.46331884 9.2153735 -0.10177317 5.29220494 0 0 Z " fill="#DCDCDC" transform="translate(19,16)"></path>
38
- <path d="M0 0 C3.81275879 1.52510352 6.86017055 3.00757127 10.3125 5.125 C11.19550781 5.66382813 12.07851563 6.20265625 12.98828125 6.7578125 C13.65214844 7.16773438 14.31601562 7.57765625 15 8 C13.02 8.99 13.02 8.99 11 10 C11.845625 10.928125 12.69125 11.85625 13.5625 12.8125 C15.00390625 14.39453125 15.00390625 14.39453125 16 16 C15.67 16.99 15.34 17.98 15 19 C12.33333333 17.66666667 9.66666667 16.33333333 7 15 C6.01 15.66 5.02 16.32 4 17 C2.68 11.39 1.36 5.78 0 0 Z " fill="#070707" transform="translate(21,20)"></path>
39
- <path d="M0 0 C1.98 0.99 1.98 0.99 4 2 C3.8040625 2.53625 3.608125 3.0725 3.40625 3.625 C2.86836562 6.76955484 3.61487629 8.94784926 4.5 12 C6.33802817 18.33802817 6.33802817 18.33802817 5 22 C0.80891282 15.71336924 -0.50995408 7.47932645 0 0 Z " fill="#C9C9C9" transform="translate(19,16)"></path>
40
- <path d="M0 0 C3.43595166 1.52708963 6.11912454 3.59927045 9 6 C8.01 6.66 7.02 7.32 6 8 C4.02 6.35 2.04 4.7 0 3 C-0.99 4.485 -0.99 4.485 -2 6 C-2.66 6 -3.32 6 -4 6 C-4 5.01 -4 4.02 -4 3 C-2 1.3125 -2 1.3125 0 0 Z " fill="#DFDFDF" transform="translate(28,34)"></path>
41
- <path d="M0 0 C1 3 1 3 1 5 C2.45833358 6.62514468 2.45833358 6.62514468 4 8 C3.34 9.32 2.68 10.64 2 12 C0.00449854 10.00449854 -0.81376393 8.52075165 -2 6 C-2.37125 5.2575 -2.7425 4.515 -3.125 3.75 C-3.41375 3.1725 -3.7025 2.595 -4 2 C-2.68 1.34 -1.36 0.68 0 0 Z " fill="#C6C6C6" transform="translate(36,28)"></path>
42
- </svg>
42
+ <path
43
+ d="M0 0 C0.8245166 -0.00478363 1.6490332 -0.00956726 2.49853516 -0.01449585 C4.23667313 -0.01788872 5.97487544 -0.00872903 7.71289062 0.01220703 C10.36733825 0.03898521 13.01755825 0.01244254 15.671875 -0.01953125 C17.36459263 -0.01622704 19.05730763 -0.00982056 20.75 0 C21.93456787 -0.01518173 21.93456787 -0.01518173 23.14306641 -0.03067017 C27.11276955 0.05339275 28.99170918 0.40801499 32.37255859 2.66650391 C35.0441572 6.66575868 35.09944932 9.57732793 35.0390625 14.2890625 C35.04384613 15.1135791 35.04862976 15.9380957 35.05355835 16.78759766 C35.05695122 18.52573563 35.04779153 20.26393794 35.02685547 22.00195312 C35.00007729 24.65640075 35.02661996 27.30662075 35.05859375 29.9609375 C35.05528954 31.65365513 35.04888306 33.34637013 35.0390625 35.0390625 C35.04918365 35.82877441 35.05930481 36.61848633 35.06973267 37.43212891 C34.98566975 41.40183205 34.63104751 43.28077168 32.37255859 46.66162109 C28.37330382 49.3332197 25.46173457 49.38851182 20.75 49.328125 C19.5132251 49.33530045 19.5132251 49.33530045 18.25146484 49.34262085 C16.51332687 49.34601372 14.77512456 49.33685403 13.03710938 49.31591797 C10.38266175 49.28913979 7.73244175 49.31568246 5.078125 49.34765625 C3.38540737 49.34435204 1.69269237 49.33794556 0 49.328125 C-0.78971191 49.33824615 -1.57942383 49.34836731 -2.39306641 49.35879517 C-6.36276955 49.27473225 -8.24170918 48.92011001 -11.62255859 46.66162109 C-14.2941572 42.66236632 -14.34944932 39.75079707 -14.2890625 35.0390625 C-14.29384613 34.2145459 -14.29862976 33.3900293 -14.30355835 32.54052734 C-14.30695122 30.80238937 -14.29779153 29.06418706 -14.27685547 27.32617188 C-14.25007729 24.67172425 -14.27661996 22.02150425 -14.30859375 19.3671875 C-14.30528954 17.67446987 -14.29888306 15.98175487 -14.2890625 14.2890625 C-14.29918365 13.49935059 -14.30930481 12.70963867 -14.31973267 11.89599609 C-14.23566975 7.92629295 -13.88104751 6.04735332 -11.62255859 2.66650391 C-7.62330382 -0.0050947 -4.71173457 -0.06038682 0 0 Z "
44
+ fill="#090909" transform="translate(13.625,-0.6640625)"></path>
45
+ <path
46
+ d="M0 0 C5.60625406 3.00563431 11.18661116 6.05492007 16.6875 9.25 C17.51636719 9.72953125 18.34523438 10.2090625 19.19921875 10.703125 C19.79347656 11.13109375 20.38773438 11.5590625 21 12 C21 12.66 21 13.32 21 14 C19.02 14.99 19.02 14.99 17 16 C18.32 17.32 19.64 18.64 21 20 C19.95125002 22.62187494 19.35068687 23.79371361 16.875 25.25 C16.25625 25.4975 15.6375 25.745 15 26 C13.02 24.35 11.04 22.7 9 21 C8.34 21.99 7.68 22.98 7 24 C6.34 24 5.68 24 5 24 C4.35284867 21.9170757 3.70732834 19.83364461 3.0625 17.75 C2.70285156 16.58984375 2.34320312 15.4296875 1.97265625 14.234375 C0.46331884 9.2153735 -0.10177317 5.29220494 0 0 Z "
47
+ fill="#DCDCDC" transform="translate(19,16)"></path>
48
+ <path
49
+ d="M0 0 C3.81275879 1.52510352 6.86017055 3.00757127 10.3125 5.125 C11.19550781 5.66382813 12.07851563 6.20265625 12.98828125 6.7578125 C13.65214844 7.16773438 14.31601562 7.57765625 15 8 C13.02 8.99 13.02 8.99 11 10 C11.845625 10.928125 12.69125 11.85625 13.5625 12.8125 C15.00390625 14.39453125 15.00390625 14.39453125 16 16 C15.67 16.99 15.34 17.98 15 19 C12.33333333 17.66666667 9.66666667 16.33333333 7 15 C6.01 15.66 5.02 16.32 4 17 C2.68 11.39 1.36 5.78 0 0 Z "
50
+ fill="#070707" transform="translate(21,20)"></path>
51
+ <path
52
+ d="M0 0 C1.98 0.99 1.98 0.99 4 2 C3.8040625 2.53625 3.608125 3.0725 3.40625 3.625 C2.86836562 6.76955484 3.61487629 8.94784926 4.5 12 C6.33802817 18.33802817 6.33802817 18.33802817 5 22 C0.80891282 15.71336924 -0.50995408 7.47932645 0 0 Z "
53
+ fill="#C9C9C9" transform="translate(19,16)"></path>
54
+ <path
55
+ d="M0 0 C3.43595166 1.52708963 6.11912454 3.59927045 9 6 C8.01 6.66 7.02 7.32 6 8 C4.02 6.35 2.04 4.7 0 3 C-0.99 4.485 -0.99 4.485 -2 6 C-2.66 6 -3.32 6 -4 6 C-4 5.01 -4 4.02 -4 3 C-2 1.3125 -2 1.3125 0 0 Z "
56
+ fill="#DFDFDF" transform="translate(28,34)"></path>
57
+ <path
58
+ d="M0 0 C1 3 1 3 1 5 C2.45833358 6.62514468 2.45833358 6.62514468 4 8 C3.34 9.32 2.68 10.64 2 12 C0.00449854 10.00449854 -0.81376393 8.52075165 -2 6 C-2.37125 5.2575 -2.7425 4.515 -3.125 3.75 C-3.41375 3.1725 -3.7025 2.595 -4 2 C-2.68 1.34 -1.36 0.68 0 0 Z "
59
+ fill="#C6C6C6" transform="translate(36,28)"></path>
60
+ </svg>
43
61
  </atomic-result-section-visual>
44
62
 
45
63
  <atomic-result-section-title>
@@ -47,5 +65,5 @@
47
65
  </atomic-result-section-title>
48
66
  <!-- sfppcustomlinkcpplinkurlc -->
49
67
  <atomic-result-section-excerpt>
50
- <atomic-result-html field="sfppcustomlinkcppdescriptionc"></atomic-result-html>
51
- </atomic-result-section-excerpt>
68
+ <atomic-result-text field="sfppcustomlinkcppdescriptionc"></atomic-result-text>
69
+ </atomic-result-section-excerpt>
@@ -8,9 +8,7 @@
8
8
  font-weight: bold;
9
9
  margin-right: 0.25rem;
10
10
  }
11
- atomic-result-section-excerpt{
12
- margin-top:2px !important;
13
- }
11
+
14
12
  atomic-result-section-bottom-metadata a{
15
13
  color: grey !important;
16
14
  }
@@ -22,7 +20,21 @@
22
20
  line-height: 18px !important;
23
21
  }
24
22
 
23
+ atomic-result-section-title a {
24
+ color: #F2DC39 !important;
25
+ font-size: 18px !important;
26
+ font-weight: 600;
27
+ }
28
+ atomic-result-section-excerpt{
29
+ margin-top:2px !important;
30
+ font-size: 13px;
31
+ }
32
+
33
+ atomic-result-section-visual {
34
+ width: 4rem !important;
35
+ height: 5rem !important;
25
36
 
37
+ }
26
38
 
27
39
  </style>
28
40
 
@@ -46,7 +58,7 @@
46
58
  </atomic-result-section-title>
47
59
 
48
60
  <atomic-result-section-excerpt>
49
- <atomic-result-html field="excerpt"></atomic-result-html>
61
+ <atomic-result-text field="excerpt"></atomic-result-text>
50
62
  </atomic-result-section-excerpt>
51
63
 
52
64
  <atomic-result-section-bottom-metadata>
@@ -19,20 +19,22 @@
19
19
  }
20
20
 
21
21
  atomic-result-section-title a {
22
- color: #b11f24 !important;
23
- font-size: 18px;
22
+ color: #F2DC39 !important;
23
+ font-size: 18px !important;
24
24
  font-weight: 600;
25
25
  }
26
-
26
+ atomic-result-link a:visited {
27
+ color: #45130f !important;
28
+ }
27
29
  atomic-result-section-excerpt {
28
- font-size: 13px;
30
+ font-size: 13px !important;
29
31
  margin-top: 2px !important;
30
32
  }
33
+ atomic-result-section-visual {
34
+ width: 4rem !important;
35
+ height: 5rem !important;
31
36
 
32
- atomic-result-link a:visited {
33
- color: #b11f24 !important;
34
-
35
- }
37
+ }
36
38
  </style>
37
39
 
38
40
  <atomic-result-section-visual>
@@ -27,14 +27,14 @@
27
27
 
28
28
  }
29
29
 
30
- atomic-result-section-title a {
31
- color: #b11f24 !important;
32
- font-size: 18px;
30
+ atomic-result-section-title{
31
+ color: #F2DC39 !important;
32
+ font-size: 18px !important ;
33
33
  font-weight: 600;
34
34
  }
35
35
 
36
36
  atomic-result-link a {
37
- color: #b11f24;
37
+ color: #45130f;
38
38
  }
39
39
 
40
40
  atomic-result-section-bottom-metadata {
@@ -51,9 +51,14 @@
51
51
 
52
52
  atomic-result-section-title:hover {
53
53
  cursor: pointer;
54
- text-decoration: underline; /* Optional: adds underline on hover */
54
+ text-decoration: underline;
55
55
  }
56
56
 
57
+ atomic-result-section-visual {
58
+ width: 4rem !important;
59
+ height: 5rem !important;
60
+
61
+ }
57
62
  </style>
58
63
 
59
64
  <atomic-result-section-visual>
@@ -74,7 +79,7 @@
74
79
  </atomic-result-section-title>
75
80
 
76
81
  <atomic-result-section-excerpt>
77
- <atomic-result-html field="answer"></atomic-result-html>
82
+ <strip-html-component></strip-html-component>
78
83
  </atomic-result-section-excerpt>
79
84
 
80
85
  <atomic-result-section-bottom-metadata>
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
  atomic-result-section-excerpt {
14
- font-size: 13px;
14
+ font-size: 13px !important;
15
15
  margin-top:2px !important;
16
16
  }
17
17
  atomic-text {
@@ -21,24 +21,28 @@
21
21
  line-height: 18px !important;
22
22
  }
23
23
 
24
- atomic-result-link a:visited {
25
- color: #45130f !important;
26
24
 
27
- }
28
25
 
29
26
  atomic-result-section-bottom-metadata{
30
27
  margin-top: 2px;
31
28
  }
32
29
 
33
30
  atomic-result-section-title a {
34
- color: #b11f24 !important;
35
- font-size: 18px;
31
+ color: #F2DC39 !important;
32
+ font-size: 18px !important;
36
33
  font-weight: 600;
37
34
  }
38
- atomic-result-link a{
39
- color: #b11f24;
35
+
36
+ atomic-result-link a:visited {
37
+ color: #45130f !important;
38
+
40
39
  }
41
40
 
41
+ atomic-result-section-visual {
42
+ width: 4rem !important;
43
+ height: 5rem !important;
44
+
45
+ }
42
46
  </style>
43
47
 
44
48
  <atomic-result-section-visual>
@@ -14,6 +14,24 @@
14
14
  atomic-result-section-bottom-metadata{
15
15
  margin-top: 2px;
16
16
  }
17
+ atomic-result-section-bottom-metadata{
18
+ margin-top: 2px;
19
+ }
20
+
21
+ atomic-result-section-title a {
22
+ color: #F2DC39 !important;
23
+ font-size: 18px !important;
24
+ font-weight: 600;
25
+ }
26
+
27
+ atomic-result-link a:visited {
28
+ color: #45130f !important;
29
+ }
30
+ atomic-result-section-visual {
31
+ width: 4rem !important;
32
+ height: 5rem !important;
33
+
34
+ }
17
35
  </style>
18
36
 
19
37
  <atomic-result-section-visual>
@@ -19,9 +19,9 @@
19
19
  atomic-result-section-excerpt{
20
20
  margin-top:2px !important;
21
21
  }
22
- atomic-result-section-title a {
23
- color: #b11f24 !important;
24
- font-size: 18px;
22
+ atomic-result-section-title{
23
+ color: #F2DC39 !important;
24
+ font-size: 18px !important;
25
25
  font-weight: 600;
26
26
  }
27
27
 
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  atomic-result-section-title a {
18
- color: #b11f24 !important;
18
+ color: #F2DC39 !important;
19
19
  font-size: 18px;
20
20
  font-weight: 600;
21
21
  }
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  atomic-result-link a:visited {
29
- color: #b11f24 !important;
29
+ color: #F2DC39 !important;
30
30
 
31
31
  }
32
32
 
@@ -34,6 +34,18 @@
34
34
  color: #45130f !important;
35
35
 
36
36
  }
37
+
38
+ atomic-result-section-visual {
39
+ width: 4rem;
40
+ height: 5rem;
41
+ margin-top: -9px;
42
+ }
43
+
44
+ atomic-result-section-visual {
45
+ width: 4rem !important;
46
+ height: 5rem !important;
47
+
48
+ }
37
49
  </style>
38
50
 
39
51
  <atomic-result-section-visual>
@@ -56,5 +68,5 @@
56
68
  </atomic-result-section-title>
57
69
  <!-- sfppcustomlinkcpplinkurlc -->
58
70
  <atomic-result-section-excerpt>
59
- <atomic-result-html field="description"></atomic-result-html>
71
+ <strip-html-component></strip-html-component>
60
72
  </atomic-result-section-excerpt>
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  atomic-result-section-excerpt {
18
- font-size: 13px;
18
+ font-size: 13px !important;
19
19
  margin-top:2px !important;
20
20
  }
21
21
 
@@ -40,11 +40,17 @@
40
40
  }
41
41
 
42
42
  atomic-result-section-title a {
43
- color: #b11f24 !important;
43
+ color: #F2DC39 !important;
44
44
  font-size: 18px;
45
45
  font-weight: 600;
46
46
  }
47
47
 
48
+
49
+ atomic-result-section-visual {
50
+ width: 4rem !important;
51
+ height: 5rem !important;
52
+
53
+ }
48
54
  </style>
49
55
 
50
56
  <atomic-result-section-visual>