@coveo/atomic 3.32.4-pre.fa85bf855f → 3.32.4-pre.fbe3129c94

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 (123) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/autoloader/index.cjs.js +2 -2
  3. package/dist/atomic/autoloader/index.esm.js +2 -2
  4. package/dist/atomic/components/analytics-config.js +1 -1
  5. package/dist/atomic/components/atomic-insight-interface.js +1 -1
  6. package/dist/atomic/components/atomic-insight-interface.js.map +1 -1
  7. package/dist/atomic/components/atomic-insight-user-actions-timeline2.js.map +1 -1
  8. package/dist/atomic/components/atomic-insight-user-actions-toggle.js +1 -1
  9. package/dist/atomic/components/atomic-insight-user-actions-toggle.js.map +1 -1
  10. package/dist/atomic/components/atomic-quickview-modal2.js +4 -4
  11. package/dist/atomic/components/atomic-quickview-modal2.js.map +1 -1
  12. package/dist/atomic/components/components/commerce/atomic-commerce-interface/atomic-commerce-interface.js +15 -0
  13. package/dist/atomic/components/components/commerce/atomic-commerce-layout/atomic-commerce-layout.js +8 -16
  14. package/dist/atomic/components/components/commerce/atomic-commerce-layout/commerce-layout.js +2 -2
  15. package/dist/atomic/components/components/commerce/atomic-commerce-numeric-facet/atomic-commerce-numeric-facet.js +1 -1
  16. package/dist/atomic/components/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.js +3 -6
  17. package/dist/atomic/components/components/commerce/atomic-product-description/atomic-product-description.js +1 -0
  18. package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +1 -1
  19. package/dist/atomic/components/components/commerce/atomic-product-text/atomic-product-text.js +20 -2
  20. package/dist/atomic/components/components/common/atomic-layout-section/{layout.js → search-layout.js} +2 -2
  21. package/dist/atomic/components/components/search/atomic-layout/search-layout.js +2 -2
  22. package/dist/atomic/components/decorators/bind-state.js +6 -6
  23. package/dist/atomic/components/global/environment.js +1 -1
  24. package/dist/atomic/components/mixins/commerce-layout-mixin.js +48 -0
  25. package/dist/atomic/components/search-layout.js +2 -2
  26. package/dist/atomic/components/search-layout.js.map +1 -1
  27. package/dist/atomic/lang/cs.json +1 -1
  28. package/dist/atomic/lang/da.json +1 -1
  29. package/dist/atomic/lang/de.json +1 -1
  30. package/dist/atomic/lang/dev.json +1 -1
  31. package/dist/atomic/lang/el.json +1 -1
  32. package/dist/atomic/lang/en.json +1 -1
  33. package/dist/atomic/lang/es.json +1 -1
  34. package/dist/atomic/lang/fi.json +1 -1
  35. package/dist/atomic/lang/fr.json +1 -1
  36. package/dist/atomic/lang/hu.json +1 -1
  37. package/dist/atomic/lang/id.json +1 -1
  38. package/dist/atomic/lang/it.json +1 -1
  39. package/dist/atomic/lang/ja.json +1 -1
  40. package/dist/atomic/lang/ko.json +1 -1
  41. package/dist/atomic/lang/nl.json +1 -1
  42. package/dist/atomic/lang/no.json +1 -1
  43. package/dist/atomic/lang/pl.json +1 -1
  44. package/dist/atomic/lang/pt-BR.json +1 -1
  45. package/dist/atomic/lang/pt.json +1 -1
  46. package/dist/atomic/lang/ru.json +1 -1
  47. package/dist/atomic/lang/sv.json +1 -1
  48. package/dist/atomic/lang/th.json +1 -1
  49. package/dist/atomic/lang/tr.json +1 -1
  50. package/dist/atomic/lang/zh-CN.json +1 -1
  51. package/dist/atomic/lang/zh-TW.json +1 -1
  52. package/dist/atomic/lang/zh.json +1 -1
  53. package/dist/atomic/{p-c37e65e8.js → p-2b95966b.js} +2 -2
  54. package/dist/atomic/{p-d42629c3.entry.js → p-38e3e4b6.entry.js} +2 -2
  55. package/dist/atomic/{p-8ae0e3d8.entry.js → p-4b38d6d3.entry.js} +2 -2
  56. package/dist/atomic/p-4b38d6d3.entry.js.map +1 -0
  57. package/dist/atomic/p-6083c9be.entry.js +2 -0
  58. package/dist/atomic/p-6083c9be.entry.js.map +1 -0
  59. package/dist/atomic/{p-537c301a.entry.js → p-8138dd3b.entry.js} +2 -2
  60. package/dist/atomic/p-a3aaf456.entry.js.map +1 -1
  61. package/dist/atomic/{p-7464f00a.entry.js → p-b24d5a13.entry.js} +2 -2
  62. package/dist/atomic/p-b24d5a13.entry.js.map +1 -0
  63. package/dist/atomic/{p-cbdb8d78.entry.js → p-b5fe644f.entry.js} +2 -2
  64. package/dist/atomic/{p-85ef2ce8.js → p-d4fbce1c.js} +1 -1
  65. package/dist/atomic/p-d4fbce1c.js.map +1 -0
  66. package/dist/cjs/{analytics-config-8d1ecb21.js → analytics-config-b03a7a22.js} +2 -2
  67. package/dist/cjs/{analytics-config-8d1ecb21.js.map → analytics-config-b03a7a22.js.map} +1 -1
  68. package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
  69. package/dist/cjs/atomic-insight-interface.cjs.entry.js.map +1 -1
  70. package/dist/cjs/atomic-insight-user-actions-session_2.cjs.entry.js.map +1 -1
  71. package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js +1 -1
  72. package/dist/cjs/atomic-insight-user-actions-toggle.cjs.entry.js.map +1 -1
  73. package/dist/cjs/atomic-quickview-modal.cjs.entry.js +4 -4
  74. package/dist/cjs/atomic-quickview-modal.cjs.entry.js.map +1 -1
  75. package/dist/cjs/atomic-recs-interface.cjs.entry.js +1 -1
  76. package/dist/cjs/atomic-search-interface.cjs.entry.js +2 -2
  77. package/dist/cjs/atomic-search-layout.cjs.entry.js +1 -1
  78. package/dist/cjs/{search-layout-b597f6fc.js → search-layout-419e7eb4.js} +3 -3
  79. package/dist/cjs/search-layout-419e7eb4.js.map +1 -0
  80. package/dist/cjs/version.cjs.js +2 -2
  81. package/dist/esm/{analytics-config-e15204d3.js → analytics-config-0f239e71.js} +2 -2
  82. package/dist/esm/{analytics-config-e15204d3.js.map → analytics-config-0f239e71.js.map} +1 -1
  83. package/dist/esm/atomic-insight-interface.entry.js +2 -2
  84. package/dist/esm/atomic-insight-interface.entry.js.map +1 -1
  85. package/dist/esm/atomic-insight-user-actions-session_2.entry.js.map +1 -1
  86. package/dist/esm/atomic-insight-user-actions-toggle.entry.js +1 -1
  87. package/dist/esm/atomic-insight-user-actions-toggle.entry.js.map +1 -1
  88. package/dist/esm/atomic-quickview-modal.entry.js +4 -4
  89. package/dist/esm/atomic-quickview-modal.entry.js.map +1 -1
  90. package/dist/esm/atomic-recs-interface.entry.js +1 -1
  91. package/dist/esm/atomic-search-interface.entry.js +2 -2
  92. package/dist/esm/atomic-search-layout.entry.js +1 -1
  93. package/dist/esm/{search-layout-fdd7a917.js → search-layout-1e3bd9fd.js} +3 -3
  94. package/dist/esm/search-layout-1e3bd9fd.js.map +1 -0
  95. package/dist/esm/version.js +2 -2
  96. package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +2 -2
  97. package/dist/types/components/commerce/atomic-commerce-interface/atomic-commerce-interface.d.ts +8 -3
  98. package/dist/types/components/commerce/atomic-commerce-layout/atomic-commerce-layout.d.ts +4 -4
  99. package/dist/types/components/commerce/atomic-commerce-recommendation-interface/atomic-commerce-recommendation-interface.d.ts +1 -1
  100. package/dist/types/components/commerce/atomic-commerce-recommendation-list/atomic-commerce-recommendation-list.d.ts +14 -1
  101. package/dist/types/components/commerce/atomic-product-description/atomic-product-description.d.ts +1 -0
  102. package/dist/types/components/commerce/atomic-product-text/atomic-product-text.d.ts +6 -1
  103. package/dist/types/components/common/atomic-layout-section/search-layout.d.ts +2 -0
  104. package/dist/types/components/insight/atomic-insight-interface/atomic-insight-interface.d.ts +0 -3
  105. package/dist/types/components/insight/user-actions/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.d.ts +2 -1
  106. package/dist/types/components/insight/user-actions/atomic-insight-user-actions-toggle/atomic-insight-user-actions-toggle.d.ts +1 -1
  107. package/dist/types/components/search/result-template-components/quickview-iframe/quickview-iframe.d.ts +1 -0
  108. package/dist/types/components.d.ts +32 -0
  109. package/dist/types/mixins/commerce-layout-mixin.d.ts +18 -0
  110. package/docs/atomic-docs.json +617 -1
  111. package/package.json +9 -14
  112. package/dist/atomic/p-7464f00a.entry.js.map +0 -1
  113. package/dist/atomic/p-85ef2ce8.js.map +0 -1
  114. package/dist/atomic/p-8ae0e3d8.entry.js.map +0 -1
  115. package/dist/atomic/p-8bba9f56.entry.js +0 -2
  116. package/dist/atomic/p-8bba9f56.entry.js.map +0 -1
  117. package/dist/cjs/search-layout-b597f6fc.js.map +0 -1
  118. package/dist/esm/search-layout-fdd7a917.js.map +0 -1
  119. package/dist/types/components/common/atomic-layout-section/layout.d.ts +0 -2
  120. /package/dist/atomic/{p-c37e65e8.js.map → p-2b95966b.js.map} +0 -0
  121. /package/dist/atomic/{p-d42629c3.entry.js.map → p-38e3e4b6.entry.js.map} +0 -0
  122. /package/dist/atomic/{p-537c301a.entry.js.map → p-8138dd3b.entry.js.map} +0 -0
  123. /package/dist/atomic/{p-cbdb8d78.entry.js.map → p-b5fe644f.entry.js.map} +0 -0
@@ -1139,6 +1139,10 @@ export namespace Components {
1139
1139
  "userActions": Array<IUserAction>;
1140
1140
  }
1141
1141
  /**
1142
+ * Internal component used by the `atomic-insight-user-actions-modal`. Do not use directly.
1143
+ * This component displays all the actions performed by a user around the time they created a case.
1144
+ * The actions are grouped into multiple sessions, including the session during which the case was created,
1145
+ * the sessions preceding the case creation and the sessions following the case creation.
1142
1146
  * @component
1143
1147
  * @example <AtomicInsightUserActionsTimeline userId={'123'} caseCreationDate={'2024-08-15T10:00:00Z'} />
1144
1148
  */
@@ -1156,6 +1160,10 @@ export namespace Components {
1156
1160
  */
1157
1161
  "userId": string;
1158
1162
  }
1163
+ /**
1164
+ * Internal component of the atomic-insight-interface
1165
+ * The `atomic-insight-user-actions-toggle` component displays a button that opens a modal containing the user actions timeline component.
1166
+ */
1159
1167
  interface AtomicInsightUserActionsToggle {
1160
1168
  /**
1161
1169
  * The names of custom events to exclude.
@@ -3467,6 +3475,10 @@ declare global {
3467
3475
  new (): HTMLAtomicInsightUserActionsSessionElement;
3468
3476
  };
3469
3477
  /**
3478
+ * Internal component used by the `atomic-insight-user-actions-modal`. Do not use directly.
3479
+ * This component displays all the actions performed by a user around the time they created a case.
3480
+ * The actions are grouped into multiple sessions, including the session during which the case was created,
3481
+ * the sessions preceding the case creation and the sessions following the case creation.
3470
3482
  * @component
3471
3483
  * @example <AtomicInsightUserActionsTimeline userId={'123'} caseCreationDate={'2024-08-15T10:00:00Z'} />
3472
3484
  */
@@ -3476,6 +3488,10 @@ declare global {
3476
3488
  prototype: HTMLAtomicInsightUserActionsTimelineElement;
3477
3489
  new (): HTMLAtomicInsightUserActionsTimelineElement;
3478
3490
  };
3491
+ /**
3492
+ * Internal component of the atomic-insight-interface
3493
+ * The `atomic-insight-user-actions-toggle` component displays a button that opens a modal containing the user actions timeline component.
3494
+ */
3479
3495
  interface HTMLAtomicInsightUserActionsToggleElement extends Components.AtomicInsightUserActionsToggle, HTMLStencilElement {
3480
3496
  }
3481
3497
  var HTMLAtomicInsightUserActionsToggleElement: {
@@ -5735,6 +5751,10 @@ declare namespace LocalJSX {
5735
5751
  "userActions": Array<IUserAction>;
5736
5752
  }
5737
5753
  /**
5754
+ * Internal component used by the `atomic-insight-user-actions-modal`. Do not use directly.
5755
+ * This component displays all the actions performed by a user around the time they created a case.
5756
+ * The actions are grouped into multiple sessions, including the session during which the case was created,
5757
+ * the sessions preceding the case creation and the sessions following the case creation.
5738
5758
  * @component
5739
5759
  * @example <AtomicInsightUserActionsTimeline userId={'123'} caseCreationDate={'2024-08-15T10:00:00Z'} />
5740
5760
  */
@@ -5752,6 +5772,10 @@ declare namespace LocalJSX {
5752
5772
  */
5753
5773
  "userId": string;
5754
5774
  }
5775
+ /**
5776
+ * Internal component of the atomic-insight-interface
5777
+ * The `atomic-insight-user-actions-toggle` component displays a button that opens a modal containing the user actions timeline component.
5778
+ */
5755
5779
  interface AtomicInsightUserActionsToggle {
5756
5780
  /**
5757
5781
  * The names of custom events to exclude.
@@ -7721,10 +7745,18 @@ declare module "@stencil/core" {
7721
7745
  */
7722
7746
  "atomic-insight-user-actions-session": LocalJSX.AtomicInsightUserActionsSession & JSXBase.HTMLAttributes<HTMLAtomicInsightUserActionsSessionElement>;
7723
7747
  /**
7748
+ * Internal component used by the `atomic-insight-user-actions-modal`. Do not use directly.
7749
+ * This component displays all the actions performed by a user around the time they created a case.
7750
+ * The actions are grouped into multiple sessions, including the session during which the case was created,
7751
+ * the sessions preceding the case creation and the sessions following the case creation.
7724
7752
  * @component
7725
7753
  * @example <AtomicInsightUserActionsTimeline userId={'123'} caseCreationDate={'2024-08-15T10:00:00Z'} />
7726
7754
  */
7727
7755
  "atomic-insight-user-actions-timeline": LocalJSX.AtomicInsightUserActionsTimeline & JSXBase.HTMLAttributes<HTMLAtomicInsightUserActionsTimelineElement>;
7756
+ /**
7757
+ * Internal component of the atomic-insight-interface
7758
+ * The `atomic-insight-user-actions-toggle` component displays a button that opens a modal containing the user actions timeline component.
7759
+ */
7728
7760
  "atomic-insight-user-actions-toggle": LocalJSX.AtomicInsightUserActionsToggle & JSXBase.HTMLAttributes<HTMLAtomicInsightUserActionsToggleElement>;
7729
7761
  "atomic-ipx-body": LocalJSX.AtomicIpxBody & JSXBase.HTMLAttributes<HTMLAtomicIpxBodyElement>;
7730
7762
  "atomic-ipx-button": LocalJSX.AtomicIpxButton & JSXBase.HTMLAttributes<HTMLAtomicIpxButtonElement>;
@@ -0,0 +1,18 @@
1
+ import { type CSSResult, type LitElement } from 'lit';
2
+ import type { Constructor } from './mixin-common';
3
+ export interface CommerceLayoutRequirements {
4
+ error: Error;
5
+ mobileBreakpoint: string;
6
+ }
7
+ /**
8
+ *
9
+ * @param superClass The class to extend, typically a LitElement.
10
+ * @param cssResult The CSSResult to inject into the component styles.
11
+ * @returns A new class that extends the provided superClass with the commerce layout mixin.
12
+ *
13
+ * @remarks
14
+ * Any Lit component using this mixin MUST declare the following public properties:
15
+ * - `error: Error`
16
+ * - `mobileBreakpoint: string`
17
+ */
18
+ export declare const CommerceLayoutMixin: <T extends Constructor<LitElement>>(superClass: T, cssResult: CSSResult) => T;