@coveo/atomic 3.64.1 → 3.65.1

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 (97) hide show
  1. package/custom-elements.json +307 -173
  2. package/dist/assets/education.svg +0 -0
  3. package/dist/assets/events.svg +0 -0
  4. package/dist/assets/fulfillment_order.svg +0 -0
  5. package/dist/assets/opportunity_contact_role.svg +0 -0
  6. package/dist/assets/order_item.svg +0 -0
  7. package/dist/assets/recycle_bin.svg +0 -0
  8. package/dist/assets/store.svg +0 -0
  9. package/dist/cjs/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.cjs +108 -13
  10. package/dist/cjs/components/commerce/product-list/product-template-provider.cjs +2 -0
  11. package/dist/cjs/components/common/atomic-modal/atomic-modal.cjs +8 -1
  12. package/dist/cjs/components/common/atomic-tab-popover/atomic-tab-popover.cjs +1 -0
  13. package/dist/cjs/components/common/facets/timeframe-facet-common.cjs +2 -2
  14. package/dist/cjs/components/common/generated-answer/answer-announcement.cjs +8 -5
  15. package/dist/cjs/components/common/generated-answer/generated-answer-controller.cjs +6 -3
  16. package/dist/cjs/components/common/generated-answer/generated-content/markdown-utils.cjs +1 -0
  17. package/dist/cjs/components/common/generated-answer/render-disclaimer.cjs +6 -2
  18. package/dist/cjs/components/common/item-list/result-template-provider.cjs +1 -0
  19. package/dist/cjs/components/common/result-templates/result-template-controller.cjs +1 -0
  20. package/dist/cjs/components/common/suggestions/suggestion-manager.cjs +3 -0
  21. package/dist/cjs/components/insight/atomic-insight-facet/atomic-insight-facet.cjs +2 -2
  22. package/dist/cjs/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.cjs +1 -0
  23. package/dist/cjs/components/insight/atomic-insight-result-attach-to-case-indicator/atomic-insight-result-attach-to-case-indicator.cjs +1 -0
  24. package/dist/cjs/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.cjs +1 -0
  25. package/dist/cjs/components/insight/atomic-insight-user-actions-session/user-action.cjs +1 -0
  26. package/dist/cjs/components/search/atomic-generated-answer/atomic-generated-answer.cjs +2 -0
  27. package/dist/cjs/components/search/atomic-rating-range-facet/atomic-rating-range-facet.cjs +3 -4
  28. package/dist/cjs/components/search/atomic-search-box/atomic-search-box.cjs +107 -13
  29. package/dist/cjs/components/search/atomic-search-box-instant-results/atomic-search-box-instant-results.cjs +1 -0
  30. package/dist/cjs/global/environment.cjs +1 -1
  31. package/dist/cjs/utils/tailwind.global.tw.css.cjs +1 -1
  32. package/dist/cjs/versions.cjs +1 -1
  33. package/dist/esm/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +109 -14
  34. package/dist/esm/components/commerce/product-list/product-template-provider.js +2 -0
  35. package/dist/esm/components/common/atomic-modal/atomic-modal.js +9 -2
  36. package/dist/esm/components/common/atomic-tab-popover/atomic-tab-popover.js +1 -0
  37. package/dist/esm/components/common/facets/timeframe-facet-common.js +2 -2
  38. package/dist/esm/components/common/generated-answer/answer-announcement.js +8 -5
  39. package/dist/esm/components/common/generated-answer/generated-answer-controller.js +6 -3
  40. package/dist/esm/components/common/generated-answer/generated-content/markdown-utils.js +1 -0
  41. package/dist/esm/components/common/generated-answer/render-disclaimer.js +4 -3
  42. package/dist/esm/components/common/item-list/result-template-provider.js +1 -0
  43. package/dist/esm/components/common/result-templates/result-template-controller.js +1 -0
  44. package/dist/esm/components/common/suggestions/suggestion-manager.js +3 -0
  45. package/dist/esm/components/insight/atomic-insight-facet/atomic-insight-facet.js +2 -2
  46. package/dist/esm/components/insight/atomic-insight-generated-answer/atomic-insight-generated-answer.js +2 -1
  47. package/dist/esm/components/insight/atomic-insight-result-attach-to-case-indicator/atomic-insight-result-attach-to-case-indicator.js +1 -0
  48. package/dist/esm/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.js +1 -0
  49. package/dist/esm/components/insight/atomic-insight-user-actions-session/user-action.js +1 -0
  50. package/dist/esm/components/search/atomic-generated-answer/atomic-generated-answer.js +3 -1
  51. package/dist/esm/components/search/atomic-rating-range-facet/atomic-rating-range-facet.js +3 -4
  52. package/dist/esm/components/search/atomic-search-box/atomic-search-box.js +109 -15
  53. package/dist/esm/components/search/atomic-search-box-instant-results/atomic-search-box-instant-results.js +1 -0
  54. package/dist/esm/global/environment.js +1 -1
  55. package/dist/esm/utils/tailwind.global.tw.css.js +1 -1
  56. package/dist/esm/versions.js +1 -1
  57. package/dist/lang/cs.json +1 -1
  58. package/dist/lang/da.json +1 -1
  59. package/dist/lang/de.json +1 -1
  60. package/dist/lang/dev.json +1 -1
  61. package/dist/lang/el.json +1 -1
  62. package/dist/lang/en.json +1 -1
  63. package/dist/lang/es.json +1 -1
  64. package/dist/lang/fi.json +1 -1
  65. package/dist/lang/fr.json +1 -1
  66. package/dist/lang/hu.json +1 -1
  67. package/dist/lang/id.json +1 -1
  68. package/dist/lang/it.json +1 -1
  69. package/dist/lang/ja.json +1 -1
  70. package/dist/lang/ko.json +1 -1
  71. package/dist/lang/nl.json +1 -1
  72. package/dist/lang/no.json +1 -1
  73. package/dist/lang/pl.json +1 -1
  74. package/dist/lang/pt-BR.json +1 -1
  75. package/dist/lang/pt.json +1 -1
  76. package/dist/lang/ru.json +1 -1
  77. package/dist/lang/sv.json +1 -1
  78. package/dist/lang/th.json +1 -1
  79. package/dist/lang/tr.json +1 -1
  80. package/dist/lang/zh-CN.json +1 -1
  81. package/dist/lang/zh-TW.json +1 -1
  82. package/dist/lang/zh.json +1 -1
  83. package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts +23 -6
  84. package/dist/types/components/commerce/product-list/product-template-provider.d.ts +2 -0
  85. package/dist/types/components/common/atomic-modal/atomic-modal.d.ts +6 -0
  86. package/dist/types/components/common/atomic-tab-popover/atomic-tab-popover.d.ts +1 -0
  87. package/dist/types/components/common/generated-answer/generated-content/markdown-utils.d.ts +1 -0
  88. package/dist/types/components/common/generated-answer/render-disclaimer.d.ts +3 -0
  89. package/dist/types/components/common/item-list/result-template-provider.d.ts +1 -0
  90. package/dist/types/components/common/layout/item-layout-sections.d.ts +1 -1
  91. package/dist/types/components/common/result-templates/result-template-controller.d.ts +1 -0
  92. package/dist/types/components/insight/atomic-insight-result-attach-to-case-indicator/atomic-insight-result-attach-to-case-indicator.d.ts +1 -0
  93. package/dist/types/components/insight/atomic-insight-user-actions-session/atomic-insight-user-actions-session.d.ts +1 -0
  94. package/dist/types/components/insight/atomic-insight-user-actions-session/user-action.d.ts +1 -0
  95. package/dist/types/components/search/atomic-search-box/atomic-search-box.d.ts +23 -6
  96. package/dist/types/components/search/atomic-search-box-instant-results/atomic-search-box-instant-results.d.ts +1 -0
  97. package/package.json +28 -27
@@ -6818,21 +6818,25 @@
6818
6818
  "name": "recent-query-text-highlight"
6819
6819
  },
6820
6820
  {
6821
- "description": "The clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component.",
6821
+ "description": "The clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
6822
6822
  "name": "recent-query-title-item"
6823
6823
  },
6824
6824
  {
6825
- "description": "The contents of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component.",
6825
+ "description": "The contents of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
6826
6826
  "name": "recent-query-title-content"
6827
6827
  },
6828
6828
  {
6829
- "description": "The \"recent searches\" text of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component.",
6829
+ "description": "The \"recent searches\" title above the recent queries from the `atomic-commerce-search-box-recent-queries` component.",
6830
6830
  "name": "recent-query-title"
6831
6831
  },
6832
6832
  {
6833
- "description": "The \"clear\" text of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component.",
6833
+ "description": "The \"clear\" text of the clear button above suggestions from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
6834
6834
  "name": "recent-query-clear"
6835
6835
  },
6836
+ {
6837
+ "description": "The button below suggestions to clear the recent queries from the `atomic-commerce-search-box-recent-queries` component, when `clear-recent-button-position` is `bottom`.",
6838
+ "name": "recent-query-clear-button"
6839
+ },
6836
6840
  {
6837
6841
  "description": "An instant product rendered by an `atomic-commerce-search-box-instant-products` component.",
6838
6842
  "name": "instant-results-item"
@@ -6853,6 +6857,14 @@
6853
6857
  }
6854
6858
  ],
6855
6859
  "members": [
6860
+ {
6861
+ "kind": "field",
6862
+ "name": "propsSchema",
6863
+ "privacy": "private",
6864
+ "static": true,
6865
+ "readonly": true,
6866
+ "default": "new Schema({ clearRecentButtonPosition: new StringValue({constrainTo: ['top', 'bottom']}), })"
6867
+ },
6856
6868
  {
6857
6869
  "kind": "field",
6858
6870
  "name": "shadowRootOptions",
@@ -6899,6 +6911,16 @@
6899
6911
  "name": "textAreaRef",
6900
6912
  "privacy": "private"
6901
6913
  },
6914
+ {
6915
+ "kind": "field",
6916
+ "name": "setLeftPanel",
6917
+ "privacy": "private"
6918
+ },
6919
+ {
6920
+ "kind": "field",
6921
+ "name": "setRightPanel",
6922
+ "privacy": "private"
6923
+ },
6902
6924
  {
6903
6925
  "kind": "field",
6904
6926
  "name": "searchBoxSuggestionEventsQueue",
@@ -7016,6 +7038,18 @@
7016
7038
  "attribute": "clear-filters",
7017
7039
  "reflects": true
7018
7040
  },
7041
+ {
7042
+ "kind": "field",
7043
+ "name": "clearRecentButtonPosition",
7044
+ "type": {
7045
+ "text": "'top' | 'bottom'"
7046
+ },
7047
+ "privacy": "public",
7048
+ "default": "'top'",
7049
+ "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
7050
+ "attribute": "clear-recent-button-position",
7051
+ "reflects": true
7052
+ },
7019
7053
  {
7020
7054
  "kind": "method",
7021
7055
  "name": "initialize",
@@ -7189,6 +7223,30 @@
7189
7223
  "name": "renderTextBox",
7190
7224
  "privacy": "private"
7191
7225
  },
7226
+ {
7227
+ "kind": "field",
7228
+ "name": "clearRecentQueriesElement",
7229
+ "privacy": "private",
7230
+ "readonly": true
7231
+ },
7232
+ {
7233
+ "kind": "method",
7234
+ "name": "renderRecentQueriesTitle",
7235
+ "privacy": "private"
7236
+ },
7237
+ {
7238
+ "kind": "method",
7239
+ "name": "renderClearRecentQueriesButton",
7240
+ "privacy": "private",
7241
+ "parameters": [
7242
+ {
7243
+ "name": "element",
7244
+ "type": {
7245
+ "text": "SearchBoxSuggestionElement"
7246
+ }
7247
+ }
7248
+ ]
7249
+ },
7192
7250
  {
7193
7251
  "kind": "method",
7194
7252
  "name": "renderSuggestions",
@@ -7335,6 +7393,15 @@
7335
7393
  "default": "true",
7336
7394
  "description": "Whether to clear all active query filters when the end user submits a new query from the search box.\nSetting this option to \"false\" is not recommended and can lead to an increasing number of queries returning no products.",
7337
7395
  "fieldName": "clearFilters"
7396
+ },
7397
+ {
7398
+ "name": "clear-recent-button-position",
7399
+ "type": {
7400
+ "text": "'top' | 'bottom'"
7401
+ },
7402
+ "default": "'top'",
7403
+ "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
7404
+ "fieldName": "clearRecentButtonPosition"
7338
7405
  }
7339
7406
  ],
7340
7407
  "superclass": {
@@ -12134,153 +12201,6 @@
12134
12201
  }
12135
12202
  ]
12136
12203
  },
12137
- {
12138
- "kind": "javascript-module",
12139
- "path": "src/components/commerce/atomic-product-template/atomic-product-template.ts",
12140
- "declarations": [
12141
- {
12142
- "kind": "class",
12143
- "description": "A product template determines the format of the products, depending on the conditions that are defined for each template.",
12144
- "name": "AtomicProductTemplate",
12145
- "slots": [
12146
- {
12147
- "description": "The default slot where to insert the template element.",
12148
- "name": "default"
12149
- },
12150
- {
12151
- "description": "A `template` element that contains a single `atomic-product-link` component.",
12152
- "name": "link"
12153
- }
12154
- ],
12155
- "members": [
12156
- {
12157
- "kind": "field",
12158
- "name": "productTemplateController",
12159
- "type": {
12160
- "text": "ProductTemplateController"
12161
- },
12162
- "privacy": "private",
12163
- "default": "new ProductTemplateController(this, validParent, allowEmpty)"
12164
- },
12165
- {
12166
- "kind": "field",
12167
- "name": "error",
12168
- "type": {
12169
- "text": "Error"
12170
- },
12171
- "privacy": "private"
12172
- },
12173
- {
12174
- "kind": "field",
12175
- "name": "conditions",
12176
- "type": {
12177
- "text": "ProductTemplateCondition[]"
12178
- },
12179
- "default": "[]",
12180
- "description": "A function that must return true on products for the product template to apply.\nSet programmatically before initialization, not via attribute.\n\nFor example, the following targets a template and sets a condition to make it apply only to products whose `ec_name` contains `singapore`:\n`document.querySelector('#target-template').conditions = [(product) => /singapore/i.test(product.ec_name)];`"
12181
- },
12182
- {
12183
- "kind": "field",
12184
- "name": "ifDefined",
12185
- "type": {
12186
- "text": "string"
12187
- },
12188
- "description": "The comma-separated list of fields that must all be defined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products whose `ec_brand` and `ec_rating` fields are both defined:\n`if-defined=\"ec_brand,ec_rating\"`",
12189
- "attribute": "if-defined"
12190
- },
12191
- {
12192
- "kind": "field",
12193
- "name": "ifNotDefined",
12194
- "type": {
12195
- "text": "string"
12196
- },
12197
- "description": "The comma-separated list of fields that must all be undefined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products that have neither an `ec_brand` nor an `ec_rating` field:\n`if-not-defined=\"ec_brand,ec_rating\"`",
12198
- "attribute": "if-not-defined"
12199
- },
12200
- {
12201
- "kind": "field",
12202
- "name": "mustMatch",
12203
- "type": {
12204
- "text": "Record<string, string[]>"
12205
- },
12206
- "description": "The field and values that define which products the condition must be applied to.\nFor example, a template with the following attribute only applies to products whose `ec_brand` is `Barca` or `Acme`:\n`must-match-ec_brand=\"Barca,Acme\"`",
12207
- "default": "{}"
12208
- },
12209
- {
12210
- "kind": "field",
12211
- "name": "mustNotMatch",
12212
- "type": {
12213
- "text": "Record<string, string[]>"
12214
- },
12215
- "description": "The field and values that define which products the condition must not be applied to.\nFor example, a template with the following attribute only applies to products whose `ec_brand` is not `Barca`:\n`must-not-match-ec_brand=\"Barca\"`",
12216
- "default": "{}"
12217
- },
12218
- {
12219
- "kind": "method",
12220
- "name": "getTemplate",
12221
- "privacy": "public",
12222
- "return": {
12223
- "type": {
12224
- "text": "Promise<ProductTemplate<DocumentFragment> | null>"
12225
- }
12226
- },
12227
- "description": "Gets the product template to apply based on the evaluated conditions."
12228
- }
12229
- ],
12230
- "attributes": [
12231
- {
12232
- "name": "if-defined",
12233
- "type": {
12234
- "text": "string"
12235
- },
12236
- "description": "The comma-separated list of fields that must all be defined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products whose `ec_brand` and `ec_rating` fields are both defined:\n`if-defined=\"ec_brand,ec_rating\"`",
12237
- "fieldName": "ifDefined"
12238
- },
12239
- {
12240
- "name": "if-not-defined",
12241
- "type": {
12242
- "text": "string"
12243
- },
12244
- "description": "The comma-separated list of fields that must all be undefined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products that have neither an `ec_brand` nor an `ec_rating` field:\n`if-not-defined=\"ec_brand,ec_rating\"`",
12245
- "fieldName": "ifNotDefined"
12246
- },
12247
- {
12248
- "name": "must-match",
12249
- "fieldName": "mustMatch"
12250
- },
12251
- {
12252
- "name": "must-not-match",
12253
- "fieldName": "mustNotMatch"
12254
- }
12255
- ],
12256
- "superclass": {
12257
- "name": "LitElement",
12258
- "package": "lit"
12259
- },
12260
- "events": [],
12261
- "tagName": "atomic-product-template",
12262
- "customElement": true
12263
- }
12264
- ],
12265
- "exports": [
12266
- {
12267
- "kind": "js",
12268
- "name": "AtomicProductTemplate",
12269
- "declaration": {
12270
- "name": "AtomicProductTemplate",
12271
- "module": "src/components/commerce/atomic-product-template/atomic-product-template.ts"
12272
- }
12273
- },
12274
- {
12275
- "kind": "custom-element-definition",
12276
- "name": "atomic-product-template",
12277
- "declaration": {
12278
- "name": "AtomicProductTemplate",
12279
- "module": "src/components/commerce/atomic-product-template/atomic-product-template.ts"
12280
- }
12281
- }
12282
- ]
12283
- },
12284
12204
  {
12285
12205
  "kind": "javascript-module",
12286
12206
  "path": "src/components/commerce/atomic-product-text/atomic-product-text.ts",
@@ -12534,6 +12454,153 @@
12534
12454
  }
12535
12455
  ]
12536
12456
  },
12457
+ {
12458
+ "kind": "javascript-module",
12459
+ "path": "src/components/commerce/atomic-product-template/atomic-product-template.ts",
12460
+ "declarations": [
12461
+ {
12462
+ "kind": "class",
12463
+ "description": "A product template determines the format of the products, depending on the conditions that are defined for each template.",
12464
+ "name": "AtomicProductTemplate",
12465
+ "slots": [
12466
+ {
12467
+ "description": "The default slot where to insert the template element.",
12468
+ "name": "default"
12469
+ },
12470
+ {
12471
+ "description": "A `template` element that contains a single `atomic-product-link` component.",
12472
+ "name": "link"
12473
+ }
12474
+ ],
12475
+ "members": [
12476
+ {
12477
+ "kind": "field",
12478
+ "name": "productTemplateController",
12479
+ "type": {
12480
+ "text": "ProductTemplateController"
12481
+ },
12482
+ "privacy": "private",
12483
+ "default": "new ProductTemplateController(this, validParent, allowEmpty)"
12484
+ },
12485
+ {
12486
+ "kind": "field",
12487
+ "name": "error",
12488
+ "type": {
12489
+ "text": "Error"
12490
+ },
12491
+ "privacy": "private"
12492
+ },
12493
+ {
12494
+ "kind": "field",
12495
+ "name": "conditions",
12496
+ "type": {
12497
+ "text": "ProductTemplateCondition[]"
12498
+ },
12499
+ "default": "[]",
12500
+ "description": "A function that must return true on products for the product template to apply.\nSet programmatically before initialization, not via attribute.\n\nFor example, the following targets a template and sets a condition to make it apply only to products whose `ec_name` contains `singapore`:\n`document.querySelector('#target-template').conditions = [(product) => /singapore/i.test(product.ec_name)];`"
12501
+ },
12502
+ {
12503
+ "kind": "field",
12504
+ "name": "ifDefined",
12505
+ "type": {
12506
+ "text": "string"
12507
+ },
12508
+ "description": "The comma-separated list of fields that must all be defined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products whose `ec_brand` and `ec_rating` fields are both defined:\n`if-defined=\"ec_brand,ec_rating\"`",
12509
+ "attribute": "if-defined"
12510
+ },
12511
+ {
12512
+ "kind": "field",
12513
+ "name": "ifNotDefined",
12514
+ "type": {
12515
+ "text": "string"
12516
+ },
12517
+ "description": "The comma-separated list of fields that must all be undefined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products that have neither an `ec_brand` nor an `ec_rating` field:\n`if-not-defined=\"ec_brand,ec_rating\"`",
12518
+ "attribute": "if-not-defined"
12519
+ },
12520
+ {
12521
+ "kind": "field",
12522
+ "name": "mustMatch",
12523
+ "type": {
12524
+ "text": "Record<string, string[]>"
12525
+ },
12526
+ "description": "The field and values that define which products the condition must be applied to.\nFor example, a template with the following attribute only applies to products whose `ec_brand` is `Barca` or `Acme`:\n`must-match-ec_brand=\"Barca,Acme\"`",
12527
+ "default": "{}"
12528
+ },
12529
+ {
12530
+ "kind": "field",
12531
+ "name": "mustNotMatch",
12532
+ "type": {
12533
+ "text": "Record<string, string[]>"
12534
+ },
12535
+ "description": "The field and values that define which products the condition must not be applied to.\nFor example, a template with the following attribute only applies to products whose `ec_brand` is not `Barca`:\n`must-not-match-ec_brand=\"Barca\"`",
12536
+ "default": "{}"
12537
+ },
12538
+ {
12539
+ "kind": "method",
12540
+ "name": "getTemplate",
12541
+ "privacy": "public",
12542
+ "return": {
12543
+ "type": {
12544
+ "text": "Promise<ProductTemplate<DocumentFragment> | null>"
12545
+ }
12546
+ },
12547
+ "description": "Gets the product template to apply based on the evaluated conditions."
12548
+ }
12549
+ ],
12550
+ "attributes": [
12551
+ {
12552
+ "name": "if-defined",
12553
+ "type": {
12554
+ "text": "string"
12555
+ },
12556
+ "description": "The comma-separated list of fields that must all be defined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products whose `ec_brand` and `ec_rating` fields are both defined:\n`if-defined=\"ec_brand,ec_rating\"`",
12557
+ "fieldName": "ifDefined"
12558
+ },
12559
+ {
12560
+ "name": "if-not-defined",
12561
+ "type": {
12562
+ "text": "string"
12563
+ },
12564
+ "description": "The comma-separated list of fields that must all be undefined on a product for the template to apply.\nFor example, a template with the following attribute only applies to products that have neither an `ec_brand` nor an `ec_rating` field:\n`if-not-defined=\"ec_brand,ec_rating\"`",
12565
+ "fieldName": "ifNotDefined"
12566
+ },
12567
+ {
12568
+ "name": "must-match",
12569
+ "fieldName": "mustMatch"
12570
+ },
12571
+ {
12572
+ "name": "must-not-match",
12573
+ "fieldName": "mustNotMatch"
12574
+ }
12575
+ ],
12576
+ "superclass": {
12577
+ "name": "LitElement",
12578
+ "package": "lit"
12579
+ },
12580
+ "events": [],
12581
+ "tagName": "atomic-product-template",
12582
+ "customElement": true
12583
+ }
12584
+ ],
12585
+ "exports": [
12586
+ {
12587
+ "kind": "js",
12588
+ "name": "AtomicProductTemplate",
12589
+ "declaration": {
12590
+ "name": "AtomicProductTemplate",
12591
+ "module": "src/components/commerce/atomic-product-template/atomic-product-template.ts"
12592
+ }
12593
+ },
12594
+ {
12595
+ "kind": "custom-element-definition",
12596
+ "name": "atomic-product-template",
12597
+ "declaration": {
12598
+ "name": "AtomicProductTemplate",
12599
+ "module": "src/components/commerce/atomic-product-template/atomic-product-template.ts"
12600
+ }
12601
+ }
12602
+ ]
12603
+ },
12537
12604
  {
12538
12605
  "kind": "javascript-module",
12539
12606
  "path": "src/components/commerce/product-list/product-template-provider.ts",
@@ -43408,21 +43475,25 @@
43408
43475
  "name": "recent-query-text-highlight"
43409
43476
  },
43410
43477
  {
43411
- "description": "The clear button above suggestions from the `atomic-search-box-recent-queries` component.",
43478
+ "description": "The clear button above suggestions from the `atomic-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
43412
43479
  "name": "recent-query-title-item"
43413
43480
  },
43414
43481
  {
43415
- "description": "The contents of the clear button above suggestions from the `atomic-search-box-recent-queries` component.",
43482
+ "description": "The contents of the clear button above suggestions from the `atomic-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
43416
43483
  "name": "recent-query-title-content"
43417
43484
  },
43418
43485
  {
43419
- "description": "The \"recent searches\" text of the clear button above suggestions from the `atomic-search-box-recent-queries` component.",
43486
+ "description": "The \"recent searches\" title above the recent queries from the `atomic-search-box-recent-queries` component.",
43420
43487
  "name": "recent-query-title"
43421
43488
  },
43422
43489
  {
43423
- "description": "The \"clear\" text of the clear button above suggestions from the `atomic-search-box-recent-queries` component.",
43490
+ "description": "The \"clear\" text of the clear button above suggestions from the `atomic-search-box-recent-queries` component, when `clear-recent-button-position` is `top`.",
43424
43491
  "name": "recent-query-clear"
43425
43492
  },
43493
+ {
43494
+ "description": "The button below suggestions to clear the recent queries from the `atomic-search-box-recent-queries` component, when `clear-recent-button-position` is `bottom`.",
43495
+ "name": "recent-query-clear-button"
43496
+ },
43426
43497
  {
43427
43498
  "description": "An instant result rendered by an `atomic-search-box-instant-results` component.",
43428
43499
  "name": "instant-results-item"
@@ -43443,6 +43514,14 @@
43443
43514
  }
43444
43515
  ],
43445
43516
  "members": [
43517
+ {
43518
+ "kind": "field",
43519
+ "name": "propsSchema",
43520
+ "privacy": "private",
43521
+ "static": true,
43522
+ "readonly": true,
43523
+ "default": "new Schema({ clearRecentButtonPosition: new StringValue({constrainTo: ['top', 'bottom']}), })"
43524
+ },
43446
43525
  {
43447
43526
  "kind": "field",
43448
43527
  "name": "shadowRootOptions",
@@ -43489,6 +43568,16 @@
43489
43568
  "name": "textAreaRef",
43490
43569
  "privacy": "private"
43491
43570
  },
43571
+ {
43572
+ "kind": "field",
43573
+ "name": "setLeftPanel",
43574
+ "privacy": "private"
43575
+ },
43576
+ {
43577
+ "kind": "field",
43578
+ "name": "setRightPanel",
43579
+ "privacy": "private"
43580
+ },
43492
43581
  {
43493
43582
  "kind": "field",
43494
43583
  "name": "searchBoxSuggestionEventsQueue",
@@ -43625,6 +43714,18 @@
43625
43714
  "attribute": "enable-query-syntax",
43626
43715
  "reflects": true
43627
43716
  },
43717
+ {
43718
+ "kind": "field",
43719
+ "name": "clearRecentButtonPosition",
43720
+ "type": {
43721
+ "text": "'top' | 'bottom'"
43722
+ },
43723
+ "privacy": "public",
43724
+ "default": "'top'",
43725
+ "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
43726
+ "attribute": "clear-recent-button-position",
43727
+ "reflects": true
43728
+ },
43628
43729
  {
43629
43730
  "kind": "method",
43630
43731
  "name": "initialize",
@@ -43790,6 +43891,30 @@
43790
43891
  "name": "renderTextBox",
43791
43892
  "privacy": "private"
43792
43893
  },
43894
+ {
43895
+ "kind": "field",
43896
+ "name": "clearRecentQueriesElement",
43897
+ "privacy": "private",
43898
+ "readonly": true
43899
+ },
43900
+ {
43901
+ "kind": "method",
43902
+ "name": "renderRecentQueriesTitle",
43903
+ "privacy": "private"
43904
+ },
43905
+ {
43906
+ "kind": "method",
43907
+ "name": "renderClearRecentQueriesButton",
43908
+ "privacy": "private",
43909
+ "parameters": [
43910
+ {
43911
+ "name": "element",
43912
+ "type": {
43913
+ "text": "SearchBoxSuggestionElement"
43914
+ }
43915
+ }
43916
+ ]
43917
+ },
43793
43918
  {
43794
43919
  "kind": "method",
43795
43920
  "name": "renderSuggestions",
@@ -43940,6 +44065,15 @@
43940
44065
  "default": "false",
43941
44066
  "description": "Whether to interpret advanced [Coveo query syntax](https://docs.coveo.com/en/1552/) in the query.\nYou should only enable query syntax in the search box if you have good reasons to do so, as it\nrequires end users to be familiar with Coveo query syntax, otherwise they will likely be surprised\nby the search box behaviour.\n\nWhen the `redirection-url` property is set and redirects to a page with more `atomic-search-box` components, all `atomic-search-box` components need to have the same `enable-query-syntax` value.",
43942
44067
  "fieldName": "enableQuerySyntax"
44068
+ },
44069
+ {
44070
+ "name": "clear-recent-button-position",
44071
+ "type": {
44072
+ "text": "'top' | 'bottom'"
44073
+ },
44074
+ "default": "'top'",
44075
+ "description": "The position of the option to clear the recent queries.\n\n- `top`: The option is the first suggestion, next to the \"Recent searches\" title.\n- `bottom`: The option is a button below the suggestions, so the arrow keys only navigate through the suggestions and the button is reached with the Tab key.\n\nIn the next major version of Atomic (v4), `bottom` will become the default behavior. To adopt it ahead of time, set this property to `bottom`.",
44076
+ "fieldName": "clearRecentButtonPosition"
43943
44077
  }
43944
44078
  ],
43945
44079
  "superclass": {
@@ -49153,37 +49287,37 @@
49153
49287
  },
49154
49288
  {
49155
49289
  "kind": "javascript-module",
49156
- "path": "src/components/commerce/atomic-product-template/e2e/atomic-product-template.e2e.ts",
49290
+ "path": "src/components/commerce/atomic-product-text/e2e/atomic-product-text.e2e.ts",
49157
49291
  "declarations": [],
49158
49292
  "exports": []
49159
49293
  },
49160
49294
  {
49161
49295
  "kind": "javascript-module",
49162
- "path": "src/components/commerce/atomic-product-template/e2e/fixture.ts",
49296
+ "path": "src/components/commerce/atomic-product-text/e2e/fixture.ts",
49163
49297
  "declarations": [],
49164
49298
  "exports": []
49165
49299
  },
49166
49300
  {
49167
49301
  "kind": "javascript-module",
49168
- "path": "src/components/commerce/atomic-product-template/e2e/page-object.ts",
49302
+ "path": "src/components/commerce/atomic-product-text/e2e/page-object.ts",
49169
49303
  "declarations": [],
49170
49304
  "exports": []
49171
49305
  },
49172
49306
  {
49173
49307
  "kind": "javascript-module",
49174
- "path": "src/components/commerce/atomic-product-text/e2e/atomic-product-text.e2e.ts",
49308
+ "path": "src/components/commerce/atomic-product-template/e2e/atomic-product-template.e2e.ts",
49175
49309
  "declarations": [],
49176
49310
  "exports": []
49177
49311
  },
49178
49312
  {
49179
49313
  "kind": "javascript-module",
49180
- "path": "src/components/commerce/atomic-product-text/e2e/fixture.ts",
49314
+ "path": "src/components/commerce/atomic-product-template/e2e/fixture.ts",
49181
49315
  "declarations": [],
49182
49316
  "exports": []
49183
49317
  },
49184
49318
  {
49185
49319
  "kind": "javascript-module",
49186
- "path": "src/components/commerce/atomic-product-text/e2e/page-object.ts",
49320
+ "path": "src/components/commerce/atomic-product-template/e2e/page-object.ts",
49187
49321
  "declarations": [],
49188
49322
  "exports": []
49189
49323
  },
@@ -50556,73 +50690,73 @@
50556
50690
  },
50557
50691
  {
50558
50692
  "kind": "javascript-module",
50559
- "path": "src/components/search/atomic-generated-answer/e2e/atomic-generated-answer.e2e.ts",
50693
+ "path": "src/components/search/atomic-html/e2e/atomic-html.e2e.ts",
50560
50694
  "declarations": [],
50561
50695
  "exports": []
50562
50696
  },
50563
50697
  {
50564
50698
  "kind": "javascript-module",
50565
- "path": "src/components/search/atomic-generated-answer/e2e/fixture.ts",
50699
+ "path": "src/components/search/atomic-html/e2e/fixture.ts",
50566
50700
  "declarations": [],
50567
50701
  "exports": []
50568
50702
  },
50569
50703
  {
50570
50704
  "kind": "javascript-module",
50571
- "path": "src/components/search/atomic-generated-answer/e2e/page-object.ts",
50705
+ "path": "src/components/search/atomic-html/e2e/page-object.ts",
50572
50706
  "declarations": [],
50573
50707
  "exports": []
50574
50708
  },
50575
50709
  {
50576
50710
  "kind": "javascript-module",
50577
- "path": "src/components/search/atomic-html/e2e/atomic-html.e2e.ts",
50711
+ "path": "src/components/search/atomic-load-more-results/e2e/atomic-load-more-results.e2e.ts",
50578
50712
  "declarations": [],
50579
50713
  "exports": []
50580
50714
  },
50581
50715
  {
50582
50716
  "kind": "javascript-module",
50583
- "path": "src/components/search/atomic-html/e2e/fixture.ts",
50717
+ "path": "src/components/search/atomic-load-more-results/e2e/fixture.ts",
50584
50718
  "declarations": [],
50585
50719
  "exports": []
50586
50720
  },
50587
50721
  {
50588
50722
  "kind": "javascript-module",
50589
- "path": "src/components/search/atomic-html/e2e/page-object.ts",
50723
+ "path": "src/components/search/atomic-load-more-results/e2e/page-object.ts",
50590
50724
  "declarations": [],
50591
50725
  "exports": []
50592
50726
  },
50593
50727
  {
50594
50728
  "kind": "javascript-module",
50595
- "path": "src/components/search/atomic-load-more-results/e2e/atomic-load-more-results.e2e.ts",
50729
+ "path": "src/components/search/atomic-no-results/e2e/atomic-no-results.e2e.ts",
50596
50730
  "declarations": [],
50597
50731
  "exports": []
50598
50732
  },
50599
50733
  {
50600
50734
  "kind": "javascript-module",
50601
- "path": "src/components/search/atomic-load-more-results/e2e/fixture.ts",
50735
+ "path": "src/components/search/atomic-no-results/e2e/fixture.ts",
50602
50736
  "declarations": [],
50603
50737
  "exports": []
50604
50738
  },
50605
50739
  {
50606
50740
  "kind": "javascript-module",
50607
- "path": "src/components/search/atomic-load-more-results/e2e/page-object.ts",
50741
+ "path": "src/components/search/atomic-no-results/e2e/page-object.ts",
50608
50742
  "declarations": [],
50609
50743
  "exports": []
50610
50744
  },
50611
50745
  {
50612
50746
  "kind": "javascript-module",
50613
- "path": "src/components/search/atomic-no-results/e2e/atomic-no-results.e2e.ts",
50747
+ "path": "src/components/search/atomic-generated-answer/e2e/atomic-generated-answer.e2e.ts",
50614
50748
  "declarations": [],
50615
50749
  "exports": []
50616
50750
  },
50617
50751
  {
50618
50752
  "kind": "javascript-module",
50619
- "path": "src/components/search/atomic-no-results/e2e/fixture.ts",
50753
+ "path": "src/components/search/atomic-generated-answer/e2e/fixture.ts",
50620
50754
  "declarations": [],
50621
50755
  "exports": []
50622
50756
  },
50623
50757
  {
50624
50758
  "kind": "javascript-module",
50625
- "path": "src/components/search/atomic-no-results/e2e/page-object.ts",
50759
+ "path": "src/components/search/atomic-generated-answer/e2e/page-object.ts",
50626
50760
  "declarations": [],
50627
50761
  "exports": []
50628
50762
  },