@coveo/atomic 3.28.0-pre.df6c8a3eb3 → 3.28.0-pre.e87aa33543

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 (148) hide show
  1. package/dist/atomic/_atomic.esm.js +1 -1
  2. package/dist/atomic/atomic.esm.js.map +1 -1
  3. package/dist/atomic/components/_index.d.ts +0 -6
  4. package/dist/atomic/components/_index.js +0 -3
  5. package/dist/atomic/components/atomic-product-children.js +1 -7
  6. package/dist/atomic/components/atomic-product-children.js.map +1 -1
  7. package/dist/atomic/components/atomic-product-description.js +1 -13
  8. package/dist/atomic/components/atomic-product-description.js.map +1 -1
  9. package/dist/atomic/components/atomic-product-excerpt.js +1 -13
  10. package/dist/atomic/components/atomic-product-excerpt.js.map +1 -1
  11. package/dist/atomic/components/atomic-product-link.js +1 -13
  12. package/dist/atomic/components/atomic-product-link.js.map +1 -1
  13. package/dist/atomic/components/atomic-result-text2.js +45 -2
  14. package/dist/atomic/components/atomic-result-text2.js.map +1 -1
  15. package/dist/atomic/components/components/commerce/atomic-commerce-text/atomic-commerce-text.js +54 -0
  16. package/dist/atomic/components/components/commerce/atomic-product-template/atomic-product-template.js +2 -0
  17. package/dist/atomic/components/components/commerce/atomic-product-text/atomic-product-text.js +135 -0
  18. package/dist/atomic/components/components/commerce/index.js +2 -0
  19. package/dist/atomic/components/components/commerce/lazy-index.js +2 -0
  20. package/dist/atomic/components/components/commerce/product-template-component-utils/error.js +6 -0
  21. package/dist/atomic/components/components/commerce/product-template-component-utils/product-utils.js +35 -0
  22. package/dist/atomic/components/components/common/atomic-layout-section/atomic-layout-section.js +31 -0
  23. package/dist/atomic/components/components/common/index.js +1 -0
  24. package/dist/atomic/components/components/common/item-text/field-warning.js +6 -0
  25. package/dist/atomic/components/components/common/item-text/item-text-fallback.js +15 -0
  26. package/dist/atomic/components/components/common/item-text/item-text-highlighted.js +17 -0
  27. package/dist/atomic/components/components/common/item-text/render-highlights.js +13 -0
  28. package/dist/atomic/components/components/common/lazy-index.js +1 -0
  29. package/dist/atomic/components/global/environment.js +1 -1
  30. package/dist/atomic/components/index.js.map +1 -1
  31. package/dist/atomic/components/interface-common-stencil.js +1 -1
  32. package/dist/atomic/components/product-utils.js +1 -8
  33. package/dist/atomic/components/product-utils.js.map +1 -1
  34. package/dist/atomic/components/sections.js.map +1 -1
  35. package/dist/atomic/components/utils/object-utils.js +13 -0
  36. package/dist/atomic/{p-c0b3720d.entry.js → p-191ac0fe.entry.js} +2 -2
  37. package/dist/atomic/{p-3195fa42.entry.js → p-545f7fb1.entry.js} +2 -2
  38. package/dist/atomic/{p-e46517e9.entry.js → p-8a3f0405.entry.js} +2 -2
  39. package/dist/atomic/{p-f68cee5d.entry.js → p-8f1ab6ff.entry.js} +2 -2
  40. package/dist/atomic/{p-5e73a3e8.js → p-8fa5129d.js} +2 -2
  41. package/dist/atomic/p-9c7dbbdf.js.map +1 -1
  42. package/dist/atomic/p-a1c4ac09.js +2 -0
  43. package/dist/atomic/p-a1c4ac09.js.map +1 -0
  44. package/dist/atomic/{p-7ed31f46.js → p-b64f4619.js} +2 -2
  45. package/dist/atomic/p-d76c5232.entry.js +2 -0
  46. package/dist/atomic/{p-22a0d1b9.entry.js → p-ea5d2736.entry.js} +2 -2
  47. package/dist/atomic/p-f1bbe060.entry.js +2 -0
  48. package/dist/atomic/p-f1bbe060.entry.js.map +1 -0
  49. package/dist/atomic/{p-3cc601ad.entry.js → p-f67a6ad6.entry.js} +2 -2
  50. package/dist/cjs/_loader.cjs.js +1 -1
  51. package/dist/cjs/{analytics-config-f82932e2.js → analytics-config-f331427b.js} +2 -2
  52. package/dist/cjs/{analytics-config-f82932e2.js.map → analytics-config-f331427b.js.map} +1 -1
  53. package/dist/cjs/atomic-commerce-recommendation-interface.cjs.entry.js +1 -1
  54. package/dist/cjs/atomic-insight-interface.cjs.entry.js +2 -2
  55. package/dist/cjs/atomic-product-link.cjs.entry.js +1 -1
  56. package/dist/cjs/atomic-product-numeric-field-value.cjs.entry.js +1 -1
  57. package/dist/cjs/atomic-product-price.cjs.entry.js +1 -1
  58. package/dist/cjs/atomic-recs-interface.cjs.entry.js +2 -2
  59. package/dist/cjs/atomic-result-text_2.cjs.entry.js +46 -4
  60. package/dist/cjs/atomic-result-text_2.cjs.entry.js.map +1 -1
  61. package/dist/cjs/atomic-search-interface.cjs.entry.js +2 -2
  62. package/dist/cjs/atomic.cjs.js +1 -1
  63. package/dist/cjs/index-757bc886.js +0 -8
  64. package/dist/cjs/{interface-common-stencil-98f073f6.js → interface-common-stencil-c2474e53.js} +2 -2
  65. package/dist/cjs/{interface-common-stencil-98f073f6.js.map → interface-common-stencil-c2474e53.js.map} +1 -1
  66. package/dist/cjs/{product-utils-9507462c.js → product-utils-f6c780e3.js} +1 -9
  67. package/dist/cjs/product-utils-f6c780e3.js.map +1 -0
  68. package/dist/cjs/sections-4b4af2f8.js.map +1 -1
  69. package/dist/cjs/version.cjs.js +1 -1
  70. package/dist/esm/_loader.js +1 -1
  71. package/dist/esm/{analytics-config-253004a0.js → analytics-config-6dc04e7b.js} +2 -2
  72. package/dist/esm/{analytics-config-253004a0.js.map → analytics-config-6dc04e7b.js.map} +1 -1
  73. package/dist/esm/atomic-commerce-recommendation-interface.entry.js +1 -1
  74. package/dist/esm/atomic-insight-interface.entry.js +2 -2
  75. package/dist/esm/atomic-product-link.entry.js +1 -1
  76. package/dist/esm/atomic-product-numeric-field-value.entry.js +1 -1
  77. package/dist/esm/atomic-product-price.entry.js +1 -1
  78. package/dist/esm/atomic-recs-interface.entry.js +2 -2
  79. package/dist/esm/atomic-result-text_2.entry.js +45 -3
  80. package/dist/esm/atomic-result-text_2.entry.js.map +1 -1
  81. package/dist/esm/atomic-search-interface.entry.js +2 -2
  82. package/dist/esm/atomic.js +1 -1
  83. package/dist/esm/index-3f35faca.js +0 -8
  84. package/dist/esm/{interface-common-stencil-4bb4d80c.js → interface-common-stencil-185b53eb.js} +2 -2
  85. package/dist/esm/{interface-common-stencil-4bb4d80c.js.map → interface-common-stencil-185b53eb.js.map} +1 -1
  86. package/dist/esm/{product-utils-8348689f.js → product-utils-85109d2e.js} +2 -9
  87. package/dist/esm/product-utils-85109d2e.js.map +1 -0
  88. package/dist/esm/sections-ae00b53a.js.map +1 -1
  89. package/dist/esm/version.js +1 -1
  90. package/dist/types/components/commerce/atomic-commerce-text/atomic-commerce-text.d.ts +13 -5
  91. package/dist/types/components/commerce/atomic-product-template/atomic-product-template.d.ts +2 -0
  92. package/dist/types/components/commerce/atomic-product-text/atomic-product-text.d.ts +29 -15
  93. package/dist/types/components/commerce/index.d.ts +2 -0
  94. package/dist/types/components/common/atomic-layout-section/atomic-layout-section.d.ts +11 -2
  95. package/dist/types/components/common/atomic-layout-section/sections.d.ts +2 -1
  96. package/dist/types/components/common/index.d.ts +1 -0
  97. package/dist/types/components.d.ts +0 -143
  98. package/docs/atomic-docs.json +9 -364
  99. package/package.json +1 -1
  100. package/dist/atomic/components/atomic-commerce-text.d.ts +0 -11
  101. package/dist/atomic/components/atomic-commerce-text.js +0 -8
  102. package/dist/atomic/components/atomic-commerce-text.js.map +0 -1
  103. package/dist/atomic/components/atomic-commerce-text2.js +0 -60
  104. package/dist/atomic/components/atomic-commerce-text2.js.map +0 -1
  105. package/dist/atomic/components/atomic-layout-section.d.ts +0 -11
  106. package/dist/atomic/components/atomic-layout-section.js +0 -35
  107. package/dist/atomic/components/atomic-layout-section.js.map +0 -1
  108. package/dist/atomic/components/atomic-product-text.d.ts +0 -11
  109. package/dist/atomic/components/atomic-product-text.js +0 -8
  110. package/dist/atomic/components/atomic-product-text.js.map +0 -1
  111. package/dist/atomic/components/atomic-product-text2.js +0 -83
  112. package/dist/atomic/components/atomic-product-text2.js.map +0 -1
  113. package/dist/atomic/components/stencil-item-text-highlighted.js +0 -49
  114. package/dist/atomic/components/stencil-item-text-highlighted.js.map +0 -1
  115. package/dist/atomic/p-39223a2a.entry.js +0 -2
  116. package/dist/atomic/p-39223a2a.entry.js.map +0 -1
  117. package/dist/atomic/p-5cf5bb98.entry.js +0 -2
  118. package/dist/atomic/p-67ef14ac.entry.js +0 -2
  119. package/dist/atomic/p-67ef14ac.entry.js.map +0 -1
  120. package/dist/atomic/p-733252f1.entry.js +0 -2
  121. package/dist/atomic/p-733252f1.entry.js.map +0 -1
  122. package/dist/atomic/p-b1a7d837.js +0 -2
  123. package/dist/atomic/p-b1a7d837.js.map +0 -1
  124. package/dist/atomic/p-bb081d4e.js +0 -2
  125. package/dist/atomic/p-bb081d4e.js.map +0 -1
  126. package/dist/cjs/atomic-commerce-text_2.cjs.entry.js +0 -106
  127. package/dist/cjs/atomic-commerce-text_2.cjs.entry.js.map +0 -1
  128. package/dist/cjs/atomic-layout-section.cjs.entry.js +0 -18
  129. package/dist/cjs/atomic-layout-section.cjs.entry.js.map +0 -1
  130. package/dist/cjs/product-utils-9507462c.js.map +0 -1
  131. package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js +0 -52
  132. package/dist/cjs/stencil-item-text-highlighted-91fd0fe8.js.map +0 -1
  133. package/dist/esm/atomic-commerce-text_2.entry.js +0 -101
  134. package/dist/esm/atomic-commerce-text_2.entry.js.map +0 -1
  135. package/dist/esm/atomic-layout-section.entry.js +0 -14
  136. package/dist/esm/atomic-layout-section.entry.js.map +0 -1
  137. package/dist/esm/product-utils-8348689f.js.map +0 -1
  138. package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js +0 -49
  139. package/dist/esm/stencil-item-text-highlighted-0e1c6c08.js.map +0 -1
  140. /package/dist/atomic/{p-c0b3720d.entry.js.map → p-191ac0fe.entry.js.map} +0 -0
  141. /package/dist/atomic/{p-3195fa42.entry.js.map → p-545f7fb1.entry.js.map} +0 -0
  142. /package/dist/atomic/{p-e46517e9.entry.js.map → p-8a3f0405.entry.js.map} +0 -0
  143. /package/dist/atomic/{p-f68cee5d.entry.js.map → p-8f1ab6ff.entry.js.map} +0 -0
  144. /package/dist/atomic/{p-5e73a3e8.js.map → p-8fa5129d.js.map} +0 -0
  145. /package/dist/atomic/{p-7ed31f46.js.map → p-b64f4619.js.map} +0 -0
  146. /package/dist/atomic/{p-5cf5bb98.entry.js.map → p-d76c5232.entry.js.map} +0 -0
  147. /package/dist/atomic/{p-22a0d1b9.entry.js.map → p-ea5d2736.entry.js.map} +0 -0
  148. /package/dist/atomic/{p-3cc601ad.entry.js.map → p-f67a6ad6.entry.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-07-02T22:51:30",
2
+ "timestamp": "2025-07-04T16:28:45",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.20.0",
@@ -3782,90 +3782,6 @@
3782
3782
  ]
3783
3783
  }
3784
3784
  },
3785
- {
3786
- "filePath": "src/components/commerce/atomic-commerce-text/atomic-commerce-text.tsx",
3787
- "encapsulation": "shadow",
3788
- "tag": "atomic-commerce-text",
3789
- "docs": "",
3790
- "docsTags": [
3791
- {
3792
- "name": "alpha",
3793
- "text": "The `atomic-commerce-text` component leverages the I18n translation module through the atomic-commerce-interface."
3794
- }
3795
- ],
3796
- "usage": {},
3797
- "props": [
3798
- {
3799
- "name": "count",
3800
- "type": "number | undefined",
3801
- "complexType": {
3802
- "original": "number",
3803
- "resolved": "number | undefined",
3804
- "references": {}
3805
- },
3806
- "mutable": false,
3807
- "attr": "count",
3808
- "reflectToAttr": true,
3809
- "docs": "The count value used for plurals.",
3810
- "docsTags": [
3811
- {
3812
- "name": "type",
3813
- "text": "{number}"
3814
- }
3815
- ],
3816
- "values": [
3817
- {
3818
- "type": "number"
3819
- },
3820
- {
3821
- "type": "undefined"
3822
- }
3823
- ],
3824
- "optional": true,
3825
- "required": false
3826
- },
3827
- {
3828
- "name": "value",
3829
- "type": "string",
3830
- "complexType": {
3831
- "original": "string",
3832
- "resolved": "string",
3833
- "references": {}
3834
- },
3835
- "mutable": false,
3836
- "attr": "value",
3837
- "reflectToAttr": true,
3838
- "docs": "The string key value.",
3839
- "docsTags": [],
3840
- "values": [
3841
- {
3842
- "type": "string"
3843
- }
3844
- ],
3845
- "optional": false,
3846
- "required": true
3847
- }
3848
- ],
3849
- "methods": [],
3850
- "events": [],
3851
- "listeners": [],
3852
- "styles": [],
3853
- "slots": [],
3854
- "parts": [],
3855
- "dependents": [
3856
- "atomic-product-children",
3857
- "atomic-product-text"
3858
- ],
3859
- "dependencies": [],
3860
- "dependencyGraph": {
3861
- "atomic-product-children": [
3862
- "atomic-commerce-text"
3863
- ],
3864
- "atomic-product-text": [
3865
- "atomic-commerce-text"
3866
- ]
3867
- }
3868
- },
3869
3785
  {
3870
3786
  "filePath": "src/components/commerce/facets/atomic-commerce-timeframe-facet/atomic-commerce-timeframe-facet.tsx",
3871
3787
  "encapsulation": "shadow",
@@ -6295,129 +6211,6 @@
6295
6211
  ]
6296
6212
  }
6297
6213
  },
6298
- {
6299
- "filePath": "src/components/common/atomic-layout-section/atomic-layout-section.tsx",
6300
- "encapsulation": "none",
6301
- "tag": "atomic-layout-section",
6302
- "docs": "The `atomic-layout-section` lets you identify various sections for the related `atomic-layout` component.",
6303
- "docsTags": [],
6304
- "usage": {},
6305
- "props": [
6306
- {
6307
- "name": "maxWidth",
6308
- "type": "string | undefined",
6309
- "complexType": {
6310
- "original": "string",
6311
- "resolved": "string | undefined",
6312
- "references": {}
6313
- },
6314
- "mutable": false,
6315
- "attr": "max-width",
6316
- "reflectToAttr": true,
6317
- "docs": "For column sections, the maximum horizontal space it should take.\nE.g. '300px'",
6318
- "docsTags": [],
6319
- "values": [
6320
- {
6321
- "type": "string"
6322
- },
6323
- {
6324
- "type": "undefined"
6325
- }
6326
- ],
6327
- "optional": true,
6328
- "required": false
6329
- },
6330
- {
6331
- "name": "minWidth",
6332
- "type": "string | undefined",
6333
- "complexType": {
6334
- "original": "string",
6335
- "resolved": "string | undefined",
6336
- "references": {}
6337
- },
6338
- "mutable": false,
6339
- "attr": "min-width",
6340
- "reflectToAttr": true,
6341
- "docs": "For column sections, the minimum horizontal space it should take.\nE.g. '300px'",
6342
- "docsTags": [],
6343
- "values": [
6344
- {
6345
- "type": "string"
6346
- },
6347
- {
6348
- "type": "undefined"
6349
- }
6350
- ],
6351
- "optional": true,
6352
- "required": false
6353
- },
6354
- {
6355
- "name": "section",
6356
- "type": "\"facets\" | \"horizontal-facets\" | \"main\" | \"pagination\" | \"products\" | \"results\" | \"search\" | \"status\"",
6357
- "complexType": {
6358
- "original": "Section",
6359
- "resolved": "\"facets\" | \"horizontal-facets\" | \"main\" | \"pagination\" | \"products\" | \"results\" | \"search\" | \"status\"",
6360
- "references": {
6361
- "Section": {
6362
- "location": "import",
6363
- "path": "./sections",
6364
- "id": "src/components/common/atomic-layout-section/sections.ts::Section"
6365
- }
6366
- }
6367
- },
6368
- "mutable": false,
6369
- "attr": "section",
6370
- "reflectToAttr": true,
6371
- "docs": "The name of the layout section.",
6372
- "docsTags": [],
6373
- "values": [
6374
- {
6375
- "value": "facets",
6376
- "type": "string"
6377
- },
6378
- {
6379
- "value": "horizontal-facets",
6380
- "type": "string"
6381
- },
6382
- {
6383
- "value": "main",
6384
- "type": "string"
6385
- },
6386
- {
6387
- "value": "pagination",
6388
- "type": "string"
6389
- },
6390
- {
6391
- "value": "products",
6392
- "type": "string"
6393
- },
6394
- {
6395
- "value": "results",
6396
- "type": "string"
6397
- },
6398
- {
6399
- "value": "search",
6400
- "type": "string"
6401
- },
6402
- {
6403
- "value": "status",
6404
- "type": "string"
6405
- }
6406
- ],
6407
- "optional": false,
6408
- "required": true
6409
- }
6410
- ],
6411
- "methods": [],
6412
- "events": [],
6413
- "listeners": [],
6414
- "styles": [],
6415
- "slots": [],
6416
- "parts": [],
6417
- "dependents": [],
6418
- "dependencies": [],
6419
- "dependencyGraph": {}
6420
- },
6421
6214
  {
6422
6215
  "filePath": "src/components/search/atomic-load-more-results/atomic-load-more-results.tsx",
6423
6216
  "encapsulation": "shadow",
@@ -7739,14 +7532,8 @@
7739
7532
  "slots": [],
7740
7533
  "parts": [],
7741
7534
  "dependents": [],
7742
- "dependencies": [
7743
- "atomic-commerce-text"
7744
- ],
7745
- "dependencyGraph": {
7746
- "atomic-product-children": [
7747
- "atomic-commerce-text"
7748
- ]
7749
- }
7535
+ "dependencies": [],
7536
+ "dependencyGraph": {}
7750
7537
  },
7751
7538
  {
7752
7539
  "filePath": "src/components/commerce/atomic-product-description/atomic-product-description.tsx",
@@ -7863,17 +7650,8 @@
7863
7650
  "slots": [],
7864
7651
  "parts": [],
7865
7652
  "dependents": [],
7866
- "dependencies": [
7867
- "atomic-product-text"
7868
- ],
7869
- "dependencyGraph": {
7870
- "atomic-product-description": [
7871
- "atomic-product-text"
7872
- ],
7873
- "atomic-product-text": [
7874
- "atomic-commerce-text"
7875
- ]
7876
- }
7653
+ "dependencies": [],
7654
+ "dependencyGraph": {}
7877
7655
  },
7878
7656
  {
7879
7657
  "filePath": "src/components/commerce/atomic-product-excerpt/atomic-product-excerpt.tsx",
@@ -7963,17 +7741,8 @@
7963
7741
  "slots": [],
7964
7742
  "parts": [],
7965
7743
  "dependents": [],
7966
- "dependencies": [
7967
- "atomic-product-text"
7968
- ],
7969
- "dependencyGraph": {
7970
- "atomic-product-excerpt": [
7971
- "atomic-product-text"
7972
- ],
7973
- "atomic-product-text": [
7974
- "atomic-commerce-text"
7975
- ]
7976
- }
7744
+ "dependencies": [],
7745
+ "dependencyGraph": {}
7977
7746
  },
7978
7747
  {
7979
7748
  "filePath": "src/components/commerce/atomic-product-field-condition/atomic-product-field-condition.tsx",
@@ -8350,17 +8119,8 @@
8350
8119
  ],
8351
8120
  "parts": [],
8352
8121
  "dependents": [],
8353
- "dependencies": [
8354
- "atomic-product-text"
8355
- ],
8356
- "dependencyGraph": {
8357
- "atomic-product-link": [
8358
- "atomic-product-text"
8359
- ],
8360
- "atomic-product-text": [
8361
- "atomic-commerce-text"
8362
- ]
8363
- }
8122
+ "dependencies": [],
8123
+ "dependencyGraph": {}
8364
8124
  },
8365
8125
  {
8366
8126
  "filePath": "src/components/commerce/atomic-product-multi-value-text/atomic-product-multi-value-text.tsx",
@@ -9068,116 +8828,6 @@
9068
8828
  "dependencies": [],
9069
8829
  "dependencyGraph": {}
9070
8830
  },
9071
- {
9072
- "filePath": "src/components/commerce/atomic-product-text/atomic-product-text.tsx",
9073
- "encapsulation": "none",
9074
- "tag": "atomic-product-text",
9075
- "docs": "",
9076
- "docsTags": [
9077
- {
9078
- "name": "alpha",
9079
- "text": "The `atomic-product-text` component renders the value of a string product field."
9080
- }
9081
- ],
9082
- "usage": {},
9083
- "props": [
9084
- {
9085
- "name": "default",
9086
- "type": "string | undefined",
9087
- "complexType": {
9088
- "original": "string",
9089
- "resolved": "string | undefined",
9090
- "references": {}
9091
- },
9092
- "mutable": false,
9093
- "attr": "default",
9094
- "reflectToAttr": true,
9095
- "docs": "The locale key for the text to display when the configured field has no value.",
9096
- "docsTags": [],
9097
- "values": [
9098
- {
9099
- "type": "string"
9100
- },
9101
- {
9102
- "type": "undefined"
9103
- }
9104
- ],
9105
- "optional": true,
9106
- "required": false
9107
- },
9108
- {
9109
- "name": "field",
9110
- "type": "string",
9111
- "complexType": {
9112
- "original": "string",
9113
- "resolved": "string",
9114
- "references": {}
9115
- },
9116
- "mutable": false,
9117
- "attr": "field",
9118
- "reflectToAttr": true,
9119
- "docs": "The product field which the component should use.\nThis will look in the Product object first, and then in the product.additionalFields object for the fields.",
9120
- "docsTags": [],
9121
- "values": [
9122
- {
9123
- "type": "string"
9124
- }
9125
- ],
9126
- "optional": false,
9127
- "required": true
9128
- },
9129
- {
9130
- "name": "shouldHighlight",
9131
- "type": "boolean",
9132
- "complexType": {
9133
- "original": "boolean",
9134
- "resolved": "boolean",
9135
- "references": {}
9136
- },
9137
- "mutable": false,
9138
- "attr": "should-highlight",
9139
- "reflectToAttr": true,
9140
- "docs": "When this is set to `true`, the component attempts to highlight text based on the highlighting properties provided by the search API response.\nThis property only works for the product excerpt and the ec_name field.",
9141
- "docsTags": [],
9142
- "default": "true",
9143
- "values": [
9144
- {
9145
- "type": "boolean"
9146
- }
9147
- ],
9148
- "optional": false,
9149
- "required": false
9150
- }
9151
- ],
9152
- "methods": [],
9153
- "events": [],
9154
- "listeners": [],
9155
- "styles": [],
9156
- "slots": [],
9157
- "parts": [],
9158
- "dependents": [
9159
- "atomic-product-description",
9160
- "atomic-product-excerpt",
9161
- "atomic-product-link"
9162
- ],
9163
- "dependencies": [
9164
- "atomic-commerce-text"
9165
- ],
9166
- "dependencyGraph": {
9167
- "atomic-product-text": [
9168
- "atomic-commerce-text"
9169
- ],
9170
- "atomic-product-description": [
9171
- "atomic-product-text"
9172
- ],
9173
- "atomic-product-excerpt": [
9174
- "atomic-product-text"
9175
- ],
9176
- "atomic-product-link": [
9177
- "atomic-product-text"
9178
- ]
9179
- }
9180
- },
9181
8831
  {
9182
8832
  "filePath": "src/components/search/atomic-query-error/atomic-query-error.tsx",
9183
8833
  "encapsulation": "shadow",
@@ -19467,11 +19117,6 @@
19467
19117
  "docstring": "",
19468
19118
  "path": "../headless/dist/definitions/commerce.index.d.ts"
19469
19119
  },
19470
- "src/components/common/atomic-layout-section/sections.ts::Section": {
19471
- "declaration": "export type Section =\n | 'search'\n | 'facets'\n | 'main'\n | 'status'\n | 'results'\n | 'horizontal-facets'\n | 'products'\n | 'pagination';",
19472
- "docstring": "",
19473
- "path": "src/components/common/atomic-layout-section/sections.ts"
19474
- },
19475
19120
  "src/components/common/layout/display-options.ts::ItemDisplayLayout": {
19476
19121
  "declaration": "export type ItemDisplayLayout = ItemDisplayBasicLayout | 'table';",
19477
19122
  "docstring": "",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coveo/atomic",
3
3
  "type": "module",
4
- "version": "3.28.0-pre.df6c8a3eb3",
4
+ "version": "3.28.0-pre.e87aa33543",
5
5
  "description": "A web-component library for building modern UIs interfacing with the Coveo platform",
6
6
  "homepage": "https://docs.coveo.com/en/atomic/latest/",
7
7
  "repository": {
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../../types/components";
2
-
3
- interface AtomicCommerceText extends Components.AtomicCommerceText, HTMLElement {}
4
- export const AtomicCommerceText: {
5
- prototype: AtomicCommerceText;
6
- new (): AtomicCommerceText;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,8 +0,0 @@
1
- import { A as AtomicCommerceText$1, d as defineCustomElement$1 } from './atomic-commerce-text2.js';
2
-
3
- const AtomicCommerceText = AtomicCommerceText$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { AtomicCommerceText, defineCustomElement };
7
-
8
- //# sourceMappingURL=atomic-commerce-text.js.map
@@ -1 +0,0 @@
1
- {"file":"atomic-commerce-text.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1,60 +0,0 @@
1
- import { proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
2
- import { I as InitializeBindings } from './initialization-utils.js';
3
-
4
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
5
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
7
- r = Reflect.decorate(decorators, target, key, desc);
8
- else
9
- for (var i = decorators.length - 1; i >= 0; i--)
10
- if (d = decorators[i])
11
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
12
- return c > 3 && r && Object.defineProperty(target, key, r), r;
13
- };
14
- const AtomicCommerceText = /*@__PURE__*/ proxyCustomElement(class AtomicCommerceText extends HTMLElement {
15
- constructor() {
16
- super();
17
- this.__registerHost();
18
- this.__attachShadow();
19
- this.strings = {
20
- value: () => this.bindings.i18n.t(this.value, {
21
- count: this.count,
22
- }),
23
- };
24
- this.error = undefined;
25
- this.value = undefined;
26
- this.count = undefined;
27
- }
28
- connectedCallback() {
29
- if (!this.value) {
30
- this.error = new Error('The "value" attribute must be defined.');
31
- }
32
- }
33
- render() {
34
- return this.strings.value();
35
- }
36
- }, [1, "atomic-commerce-text", {
37
- "value": [513],
38
- "count": [514],
39
- "error": [32]
40
- }]);
41
- __decorate([
42
- InitializeBindings()
43
- ], AtomicCommerceText.prototype, "bindings", void 0);
44
- function defineCustomElement() {
45
- if (typeof customElements === "undefined") {
46
- return;
47
- }
48
- const components = ["atomic-commerce-text"];
49
- components.forEach(tagName => { switch (tagName) {
50
- case "atomic-commerce-text":
51
- if (!customElements.get(tagName)) {
52
- customElements.define(tagName, AtomicCommerceText);
53
- }
54
- break;
55
- } });
56
- }
57
-
58
- export { AtomicCommerceText as A, defineCustomElement as d };
59
-
60
- //# sourceMappingURL=atomic-commerce-text2.js.map
@@ -1 +0,0 @@
1
- {"file":"atomic-commerce-text2.js","mappings":";;;;;;;;;;;;;MAea,kBAAkB;;;;;QAKrB,YAAO,GAAG;YAChB,KAAK,EAAE,MACL,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE;gBAC/B,KAAK,EAAE,IAAI,CAAC,KAAK;aAClB,CAAC;SACL,CAAC;;;;;IAaK,iBAAiB;QACtB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACf,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;SAClE;KACF;IAEM,MAAM;QACX,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;KAC7B;;;;;;AA5B4B;IAA5B,kBAAkB,EAAE;oDAAoC;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/commerce/atomic-commerce-text/atomic-commerce-text.tsx"],"sourcesContent":["import {Component, Prop, State} from '@stencil/core';\nimport {\n InitializableComponent,\n InitializeBindings,\n} from '../../../utils/initialization-utils';\nimport {CommerceBindings} from '../atomic-commerce-interface/atomic-commerce-interface';\n\n/**\n * @alpha\n * The `atomic-commerce-text` component leverages the I18n translation module through the atomic-commerce-interface.\n */\n@Component({\n tag: 'atomic-commerce-text',\n shadow: true,\n})\nexport class AtomicCommerceText\n implements InitializableComponent<CommerceBindings>\n{\n @InitializeBindings() public bindings!: CommerceBindings;\n\n private strings = {\n value: () =>\n this.bindings.i18n.t(this.value, {\n count: this.count,\n }),\n };\n @State() public error!: Error;\n\n /**\n * The string key value.\n */\n @Prop({reflect: true}) public value!: string;\n /**\n * The count value used for plurals.\n * @type {number}\n */\n @Prop({reflect: true}) public count?: number;\n\n public connectedCallback() {\n if (!this.value) {\n this.error = new Error('The \"value\" attribute must be defined.');\n }\n }\n\n public render() {\n return this.strings.value();\n }\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../../types/components";
2
-
3
- interface AtomicLayoutSection extends Components.AtomicLayoutSection, HTMLElement {}
4
- export const AtomicLayoutSection: {
5
- prototype: AtomicLayoutSection;
6
- new (): AtomicLayoutSection;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,35 +0,0 @@
1
- import { proxyCustomElement, HTMLElement } from '@stencil/core/internal/client';
2
-
3
- const AtomicLayoutSection$1 = /*@__PURE__*/ proxyCustomElement(class AtomicLayoutSection extends HTMLElement {
4
- constructor() {
5
- super();
6
- this.__registerHost();
7
- this.section = undefined;
8
- this.minWidth = undefined;
9
- this.maxWidth = undefined;
10
- }
11
- }, [0, "atomic-layout-section", {
12
- "section": [513],
13
- "minWidth": [513, "min-width"],
14
- "maxWidth": [513, "max-width"]
15
- }]);
16
- function defineCustomElement$1() {
17
- if (typeof customElements === "undefined") {
18
- return;
19
- }
20
- const components = ["atomic-layout-section"];
21
- components.forEach(tagName => { switch (tagName) {
22
- case "atomic-layout-section":
23
- if (!customElements.get(tagName)) {
24
- customElements.define(tagName, AtomicLayoutSection$1);
25
- }
26
- break;
27
- } });
28
- }
29
-
30
- const AtomicLayoutSection = AtomicLayoutSection$1;
31
- const defineCustomElement = defineCustomElement$1;
32
-
33
- export { AtomicLayoutSection, defineCustomElement };
34
-
35
- //# sourceMappingURL=atomic-layout-section.js.map
@@ -1 +0,0 @@
1
- {"file":"atomic-layout-section.js","mappings":";;MAUaA,qBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["AtomicLayoutSection"],"sources":["src/components/common/atomic-layout-section/atomic-layout-section.tsx"],"sourcesContent":["import {Component, Prop} from '@stencil/core';\nimport {Section} from './sections';\n\n/**\n * The `atomic-layout-section` lets you identify various sections for the related `atomic-layout` component.\n */\n@Component({\n tag: 'atomic-layout-section',\n shadow: false,\n})\nexport class AtomicLayoutSection {\n /**\n * The name of the layout section.\n */\n @Prop({reflect: true}) public section!: Section;\n /**\n * For column sections, the minimum horizontal space it should take.\n * E.g. '300px'\n */\n @Prop({reflect: true}) public minWidth?: string;\n /**\n * For column sections, the maximum horizontal space it should take.\n * E.g. '300px'\n */\n @Prop({reflect: true}) public maxWidth?: string;\n}\n"],"version":3}
@@ -1,11 +0,0 @@
1
- import type { Components, JSX } from "../../types/components";
2
-
3
- interface AtomicProductText extends Components.AtomicProductText, HTMLElement {}
4
- export const AtomicProductText: {
5
- prototype: AtomicProductText;
6
- new (): AtomicProductText;
7
- };
8
- /**
9
- * Used to define this component and all nested components recursively.
10
- */
11
- export const defineCustomElement: () => void;
@@ -1,8 +0,0 @@
1
- import { A as AtomicProductText$1, d as defineCustomElement$1 } from './atomic-product-text2.js';
2
-
3
- const AtomicProductText = AtomicProductText$1;
4
- const defineCustomElement = defineCustomElement$1;
5
-
6
- export { AtomicProductText, defineCustomElement };
7
-
8
- //# sourceMappingURL=atomic-product-text.js.map
@@ -1 +0,0 @@
1
- {"file":"atomic-product-text.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}