@empathyco/x-components 6.0.0-alpha.219 → 6.0.0-alpha.220

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 (157) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/docs/API-reference/components/ai/x-components.ai-overview.md +4 -4
  3. package/docs/API-reference/components/common/animations/x-components.animate-width.md +4 -4
  4. package/docs/API-reference/components/common/animations/x-components.change-height.md +10 -6
  5. package/docs/API-reference/components/common/animations/x-components.collapse-height.md +15 -11
  6. package/docs/API-reference/components/common/animations/x-components.collapse-width.md +12 -10
  7. package/docs/API-reference/components/common/animations/x-components.cross-fade.md +9 -9
  8. package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +6 -6
  9. package/docs/API-reference/components/common/animations/x-components.fade.md +9 -9
  10. package/docs/API-reference/components/common/animations/x-components.no-animation.md +2 -2
  11. package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +5 -5
  12. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +13 -9
  13. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +18 -18
  14. package/docs/API-reference/components/common/currency/x-components.base-currency.md +15 -15
  15. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +6 -2
  16. package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +26 -26
  17. package/docs/API-reference/components/common/layouts/x-components.fixed-header-and-asides-layout.md +1 -1
  18. package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +1 -1
  19. package/docs/API-reference/components/common/layouts/x-components.single-column-layout.md +1 -1
  20. package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +5 -3
  21. package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +2 -2
  22. package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +28 -10
  23. package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +2 -2
  24. package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +2 -2
  25. package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +10 -2
  26. package/docs/API-reference/components/common/modals/x-components.base-modal.md +12 -12
  27. package/docs/API-reference/components/common/modals/x-components.close-main-modal.md +5 -1
  28. package/docs/API-reference/components/common/modals/x-components.main-modal.md +20 -4
  29. package/docs/API-reference/components/common/modals/x-components.open-main-modal.md +5 -1
  30. package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +17 -13
  31. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +11 -4
  32. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +20 -13
  33. package/docs/API-reference/components/common/panels/x-components.base-tabs-panel.md +13 -10
  34. package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +4 -4
  35. package/docs/API-reference/components/common/result/x-components.base-result-add-to-cart.md +4 -4
  36. package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +7 -5
  37. package/docs/API-reference/components/common/result/x-components.base-result-image.md +25 -19
  38. package/docs/API-reference/components/common/result/x-components.base-result-link.md +5 -5
  39. package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +7 -5
  40. package/docs/API-reference/components/common/result/x-components.base-result-rating.md +26 -23
  41. package/docs/API-reference/components/common/result/x-components.result-variant-selector.md +62 -42
  42. package/docs/API-reference/components/common/result/x-components.result-variants-provider.md +35 -25
  43. package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +11 -11
  44. package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +24 -24
  45. package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +47 -44
  46. package/docs/API-reference/components/common/x-components.auto-progress-bar.md +8 -5
  47. package/docs/API-reference/components/common/x-components.base-dropdown.md +7 -5
  48. package/docs/API-reference/components/common/x-components.base-event-button.md +9 -7
  49. package/docs/API-reference/components/common/x-components.base-grid.md +23 -23
  50. package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +6 -6
  51. package/docs/API-reference/components/common/x-components.base-rating.md +3 -3
  52. package/docs/API-reference/components/common/x-components.base-slider.md +20 -16
  53. package/docs/API-reference/components/common/x-components.base-switch.md +6 -6
  54. package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +37 -28
  55. package/docs/API-reference/components/common/x-components.display-click-provider.md +9 -9
  56. package/docs/API-reference/components/common/x-components.display-emitter.md +1 -1
  57. package/docs/API-reference/components/common/x-components.global-x-bus.md +3 -3
  58. package/docs/API-reference/components/common/x-components.highlight.md +6 -6
  59. package/docs/API-reference/components/common/x-components.location-provider.md +4 -4
  60. package/docs/API-reference/components/common/x-components.page-loader-button.md +14 -14
  61. package/docs/API-reference/components/common/x-components.page-selector.md +12 -12
  62. package/docs/API-reference/components/common/x-components.sliding-panel.md +23 -20
  63. package/docs/API-reference/components/common/x-components.snippet-callbacks.md +3 -3
  64. package/docs/API-reference/components/device/x-components.device-detector.md +15 -15
  65. package/docs/API-reference/components/empathize/x-components.empathize.md +20 -20
  66. package/docs/API-reference/components/experience-controls/x-components.experience-controls.md +1 -1
  67. package/docs/API-reference/components/extra-params/x-components.extra-params.md +3 -3
  68. package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +9 -5
  69. package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +8 -8
  70. package/docs/API-reference/components/facets/x-components.clear-filters.md +10 -6
  71. package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +16 -16
  72. package/docs/API-reference/components/facets/x-components.facets/facets.md +15 -9
  73. package/docs/API-reference/components/facets/x-components.filters/all-filter.md +20 -6
  74. package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +37 -30
  75. package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +33 -27
  76. package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +19 -16
  77. package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +17 -15
  78. package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +38 -32
  79. package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +30 -30
  80. package/docs/API-reference/components/facets/x-components.lists/filters-list.md +15 -15
  81. package/docs/API-reference/components/facets/x-components.lists/filters-search.md +31 -22
  82. package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +8 -6
  83. package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +5 -5
  84. package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +35 -8
  85. package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +7 -2
  86. package/docs/API-reference/components/facets/x-components.preselected-filters.md +15 -9
  87. package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +8 -5
  88. package/docs/API-reference/components/history-queries/x-components.history-queries-switch.md +12 -9
  89. package/docs/API-reference/components/history-queries/x-components.history-queries.md +18 -15
  90. package/docs/API-reference/components/history-queries/x-components.history-query.md +21 -21
  91. package/docs/API-reference/components/history-queries/x-components.my-history.md +14 -11
  92. package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +5 -5
  93. package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +3 -3
  94. package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +7 -7
  95. package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +20 -15
  96. package/docs/API-reference/components/next-queries/x-components.next-queries.md +17 -13
  97. package/docs/API-reference/components/next-queries/x-components.next-query-preview.md +36 -25
  98. package/docs/API-reference/components/next-queries/x-components.next-query.md +14 -12
  99. package/docs/API-reference/components/popular-searches/x-components.popular-search.md +11 -11
  100. package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +10 -7
  101. package/docs/API-reference/components/queries-preview/x-components.query-preview-button.md +6 -6
  102. package/docs/API-reference/components/queries-preview/x-components.query-preview-list.md +23 -21
  103. package/docs/API-reference/components/queries-preview/x-components.query-preview.md +27 -16
  104. package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +20 -17
  105. package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +16 -13
  106. package/docs/API-reference/components/recommendations/x-components.recommendations.md +23 -12
  107. package/docs/API-reference/components/related-prompts/x-components.related-prompt.md +12 -12
  108. package/docs/API-reference/components/related-prompts/x-components.related-prompts-list.md +13 -13
  109. package/docs/API-reference/components/related-prompts/x-components.related-prompts-tag-list.md +8 -5
  110. package/docs/API-reference/components/related-tags/x-components.related-tag.md +16 -16
  111. package/docs/API-reference/components/related-tags/x-components.related-tags.md +19 -16
  112. package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +9 -5
  113. package/docs/API-reference/components/scroll/x-components.main-scroll.md +16 -8
  114. package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +1 -1
  115. package/docs/API-reference/components/scroll/x-components.scroll.md +27 -27
  116. package/docs/API-reference/components/search/x-components.banner.md +16 -16
  117. package/docs/API-reference/components/search/x-components.banners-list.md +13 -13
  118. package/docs/API-reference/components/search/x-components.fallback-disclaimer.md +4 -4
  119. package/docs/API-reference/components/search/x-components.partial-query-button.md +6 -6
  120. package/docs/API-reference/components/search/x-components.partial-results-list.md +11 -7
  121. package/docs/API-reference/components/search/x-components.promoted.md +16 -16
  122. package/docs/API-reference/components/search/x-components.promoteds-list.md +13 -13
  123. package/docs/API-reference/components/search/x-components.redirection.md +2 -2
  124. package/docs/API-reference/components/search/x-components.results-list.md +17 -13
  125. package/docs/API-reference/components/search/x-components.sort-dropdown.md +13 -9
  126. package/docs/API-reference/components/search/x-components.sort-list.md +7 -7
  127. package/docs/API-reference/components/search/x-components.sort-picker-list.md +10 -10
  128. package/docs/API-reference/components/search/x-components.spellcheck-button.md +2 -2
  129. package/docs/API-reference/components/search/x-components.spellcheck.md +5 -3
  130. package/docs/API-reference/components/search-box/x-components.clear-search-input.md +15 -7
  131. package/docs/API-reference/components/search-box/x-components.search-button.md +11 -11
  132. package/docs/API-reference/components/search-box/x-components.search-input-placeholder.md +22 -16
  133. package/docs/API-reference/components/search-box/x-components.search-input.md +19 -10
  134. package/docs/API-reference/components/semantic-queries/x-components.semantic-queries.md +17 -11
  135. package/docs/API-reference/components/semantic-queries/x-components.semantic-query.md +12 -9
  136. package/docs/API-reference/components/tagging/x-components.tagging.md +8 -4
  137. package/docs/API-reference/components/url/x-components.url-handler.md +2 -2
  138. package/js/store/utils/store-emitters.utils.js.map +1 -1
  139. package/js/x-bus/x-bus.js.map +1 -1
  140. package/js/x-bus/x-priority-queue/x-priority-queue.js.map +1 -1
  141. package/js/x-modules/facets/entities/types.js.map +1 -1
  142. package/package.json +6 -6
  143. package/types/store/utils/store-emitters.utils.d.ts.map +1 -1
  144. package/types/wiring/events.types.d.ts.map +1 -1
  145. package/types/x-bus/x-bus.d.ts.map +1 -1
  146. package/types/x-bus/x-priority-queue/x-priority-queue.d.ts.map +1 -1
  147. package/types/x-modules/facets/entities/types.d.ts.map +1 -1
  148. package/types/x-modules/facets/store/types.d.ts.map +1 -1
  149. package/types/x-modules/history-queries/store/types.d.ts.map +1 -1
  150. package/types/x-modules/identifier-results/store/types.d.ts.map +1 -1
  151. package/types/x-modules/next-queries/store/types.d.ts.map +1 -1
  152. package/types/x-modules/popular-searches/store/types.d.ts.map +1 -1
  153. package/types/x-modules/query-suggestions/store/types.d.ts.map +1 -1
  154. package/types/x-modules/recommendations/store/types.d.ts.map +1 -1
  155. package/types/x-modules/related-tags/store/types.d.ts.map +1 -1
  156. package/types/x-modules/search/store/types.d.ts.map +1 -1
  157. package/types/x-modules/semantic-queries/store/types.d.ts.map +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 6.0.0-alpha.220 (2026-03-13)
7
+
8
+ * Make `eslint-config` & `prettier` great again (#2049) ([6f6ca7e](https://github.com/empathyco/x/commit/6f6ca7e)), closes [#2049](https://github.com/empathyco/x/issues/2049)
9
+
10
+
11
+
12
+
13
+
6
14
  ## 6.0.0-alpha.219 (2026-03-09)
7
15
 
8
16
  - feat(deep-merge-storage-service): clean up deep-merge and storage-service deps and side effects (#20 ([668130c](https://github.com/empathyco/x/commit/668130c)), closes [#2048](https://github.com/empathyco/x/issues/2048)
@@ -59,8 +59,8 @@ The `ai-overview` component provides an AI-generated summary and suggestions for
59
59
  </template>
60
60
 
61
61
  <script setup>
62
- import AiOverview from '@empathyco/x-components/js/x-modules/ai/components/ai-overview.vue'
63
- import ResultCard from './ResultCard.vue'
62
+ import AiOverview from "@empathyco/x-components/js/x-modules/ai/components/ai-overview.vue";
63
+ import ResultCard from "./ResultCard.vue";
64
64
  </script>
65
65
  ```
66
66
 
@@ -93,7 +93,7 @@ You can customize the loading title, extra content, and sliding panel slots:
93
93
  </template>
94
94
 
95
95
  <script setup>
96
- import AiOverview from '@empathyco/x-components/js/x-modules/ai/components/ai-overview.vue'
97
- import ResultCard from './ResultCard.vue'
96
+ import AiOverview from "@empathyco/x-components/js/x-modules/ai/components/ai-overview.vue";
97
+ import ResultCard from "./ResultCard.vue";
98
98
  </script>
99
99
  ```
@@ -27,7 +27,7 @@ as a transition to animate the width of an element.
27
27
  </template>
28
28
 
29
29
  <script setup>
30
- import AnimateWidth from '@empathyco/x-components/js/components/animations/animate-width.vue'
30
+ import AnimateWidth from "@empathyco/x-components/js/components/animations/animate-width.vue";
31
31
  </script>
32
32
  ```
33
33
 
@@ -44,9 +44,9 @@ import AnimateWidth from '@empathyco/x-components/js/components/animations/anima
44
44
  </template>
45
45
 
46
46
  <script setup>
47
- import { ref } from 'vue'
48
- import AnimateWidth from '@empathyco/x-components/js/components/animations/animate-width.vue'
47
+ import { ref } from "vue";
48
+ import AnimateWidth from "@empathyco/x-components/js/components/animations/animate-width.vue";
49
49
 
50
- const visible = ref(true)
50
+ const visible = ref(true);
51
51
  </script>
52
52
  ```
@@ -26,7 +26,7 @@ The ChangeHeight component automatically animates the height of its content when
26
26
  </template>
27
27
 
28
28
  <script setup>
29
- import ChangeHeight from '@empathyco/x-components/js/components/animations/change-height.vue'
29
+ import ChangeHeight from "@empathyco/x-components/js/components/animations/change-height.vue";
30
30
  </script>
31
31
  ```
32
32
 
@@ -37,16 +37,20 @@ import ChangeHeight from '@empathyco/x-components/js/components/animations/chang
37
37
  <div>
38
38
  <button @click="expanded = !expanded">Toggle</button>
39
39
  <ChangeHeight>
40
- <div v-if="expanded" style="height: 200px; background: #eee;">Expanded content</div>
41
- <div v-else style="height: 50px; background: #ccc;">Collapsed content</div>
40
+ <div v-if="expanded" style="height: 200px; background: #eee;">
41
+ Expanded content
42
+ </div>
43
+ <div v-else style="height: 50px; background: #ccc;">
44
+ Collapsed content
45
+ </div>
42
46
  </ChangeHeight>
43
47
  </div>
44
48
  </template>
45
49
 
46
50
  <script setup>
47
- import { ref } from 'vue'
48
- import ChangeHeight from '@empathyco/x-components/js/components/animations/change-height.vue'
51
+ import { ref } from "vue";
52
+ import ChangeHeight from "@empathyco/x-components/js/components/animations/change-height.vue";
49
53
 
50
- const expanded = ref(false)
54
+ const expanded = ref(false);
51
55
  </script>
52
56
  ```
@@ -36,10 +36,10 @@ The CollapseHeight component is intended to be used as an animation to wrap an e
36
36
  </template>
37
37
 
38
38
  <script setup>
39
- import { ref } from 'vue'
40
- import CollapseHeight from '@empathyco/x-components/js/components/animations/collapse-height.vue'
39
+ import { ref } from "vue";
40
+ import CollapseHeight from "@empathyco/x-components/js/components/animations/collapse-height.vue";
41
41
 
42
- const open = ref(false)
42
+ const open = ref(false);
43
43
  </script>
44
44
  ```
45
45
 
@@ -53,10 +53,10 @@ const open = ref(false)
53
53
  </template>
54
54
 
55
55
  <script setup>
56
- import { ref } from 'vue'
57
- import CollapseHeight from '@empathyco/x-components/js/components/animations/collapse-height.vue'
56
+ import { ref } from "vue";
57
+ import CollapseHeight from "@empathyco/x-components/js/components/animations/collapse-height.vue";
58
58
 
59
- const open = ref(true)
59
+ const open = ref(true);
60
60
  </script>
61
61
  ```
62
62
 
@@ -67,16 +67,20 @@ const open = ref(true)
67
67
  <div>
68
68
  <button @click="open = !open">Toggle</button>
69
69
  <CollapseHeight>
70
- <div v-if="open" style="height: 200px; background: #eee;">Expanded content</div>
71
- <div v-else style="height: 50px; background: #ccc;">Collapsed content</div>
70
+ <div v-if="open" style="height: 200px; background: #eee;">
71
+ Expanded content
72
+ </div>
73
+ <div v-else style="height: 50px; background: #ccc;">
74
+ Collapsed content
75
+ </div>
72
76
  </CollapseHeight>
73
77
  </div>
74
78
  </template>
75
79
 
76
80
  <script setup>
77
- import { ref } from 'vue'
78
- import CollapseHeight from '@empathyco/x-components/js/components/animations/collapse-height.vue'
81
+ import { ref } from "vue";
82
+ import CollapseHeight from "@empathyco/x-components/js/components/animations/collapse-height.vue";
79
83
 
80
- const open = ref(false)
84
+ const open = ref(false);
81
85
  </script>
82
86
  ```
@@ -36,10 +36,10 @@ The CollapseWidth component is intended to be used as animation to wrap an eleme
36
36
  </template>
37
37
 
38
38
  <script setup>
39
- import { ref } from 'vue'
40
- import CollapseWidth from '@empathyco/x-components/js/components/animations/collapse-width.vue'
39
+ import { ref } from "vue";
40
+ import CollapseWidth from "@empathyco/x-components/js/components/animations/collapse-width.vue";
41
41
 
42
- const open = ref(false)
42
+ const open = ref(false);
43
43
  </script>
44
44
  ```
45
45
 
@@ -53,10 +53,10 @@ const open = ref(false)
53
53
  </template>
54
54
 
55
55
  <script setup>
56
- import { ref } from 'vue'
57
- import CollapseWidth from '@empathyco/x-components/js/components/animations/collapse-width.vue'
56
+ import { ref } from "vue";
57
+ import CollapseWidth from "@empathyco/x-components/js/components/animations/collapse-width.vue";
58
58
 
59
- const open = ref(true)
59
+ const open = ref(true);
60
60
  </script>
61
61
  ```
62
62
 
@@ -67,16 +67,18 @@ const open = ref(true)
67
67
  <div>
68
68
  <button @click="open = !open">Toggle</button>
69
69
  <CollapseWidth>
70
- <div v-if="open" style="width: 200px; background: #eee;">Expanded content</div>
70
+ <div v-if="open" style="width: 200px; background: #eee;">
71
+ Expanded content
72
+ </div>
71
73
  <div v-else style="width: 50px; background: #ccc;">Collapsed content</div>
72
74
  </CollapseWidth>
73
75
  </div>
74
76
  </template>
75
77
 
76
78
  <script setup>
77
- import { ref } from 'vue'
78
- import CollapseWidth from '@empathyco/x-components/js/components/animations/collapse-width.vue'
79
+ import { ref } from "vue";
80
+ import CollapseWidth from "@empathyco/x-components/js/components/animations/collapse-width.vue";
79
81
 
80
- const open = ref(false)
82
+ const open = ref(false);
81
83
  </script>
82
84
  ```
@@ -35,10 +35,10 @@ The `CrossFade` component is intended to be used as an animation to wrap an elem
35
35
  </template>
36
36
 
37
37
  <script setup>
38
- import { ref } from 'vue'
39
- import CrossFade from '@empathyco/x-components/js/components/animations/cross-fade.vue'
38
+ import { ref } from "vue";
39
+ import CrossFade from "@empathyco/x-components/js/components/animations/cross-fade.vue";
40
40
 
41
- const open = ref(false)
41
+ const open = ref(false);
42
42
  </script>
43
43
  ```
44
44
 
@@ -52,10 +52,10 @@ const open = ref(false)
52
52
  </template>
53
53
 
54
54
  <script setup>
55
- import { ref } from 'vue'
56
- import CrossFade from '@empathyco/x-components/js/components/animations/cross-fade.vue'
55
+ import { ref } from "vue";
56
+ import CrossFade from "@empathyco/x-components/js/components/animations/cross-fade.vue";
57
57
 
58
- const open = ref(true)
58
+ const open = ref(true);
59
59
  </script>
60
60
  ```
61
61
 
@@ -73,9 +73,9 @@ const open = ref(true)
73
73
  </template>
74
74
 
75
75
  <script setup>
76
- import { ref } from 'vue'
77
- import CrossFade from '@empathyco/x-components/js/components/animations/cross-fade.vue'
76
+ import { ref } from "vue";
77
+ import CrossFade from "@empathyco/x-components/js/components/animations/cross-fade.vue";
78
78
 
79
- const open = ref(false)
79
+ const open = ref(false);
80
80
  </script>
81
81
  ```
@@ -35,7 +35,7 @@ as a wrapper of a transition group that can receive the tag it will render to as
35
35
  </template>
36
36
 
37
37
  <script setup>
38
- import FadeAndSlide from '@empathyco/x-components/js/components/animations/fade-and-slide.vue'
38
+ import FadeAndSlide from "@empathyco/x-components/js/components/animations/fade-and-slide.vue";
39
39
  </script>
40
40
  ```
41
41
 
@@ -51,7 +51,7 @@ import FadeAndSlide from '@empathyco/x-components/js/components/animations/fade-
51
51
  </template>
52
52
 
53
53
  <script setup>
54
- import FadeAndSlide from '@empathyco/x-components/js/components/animations/fade-and-slide.vue'
54
+ import FadeAndSlide from "@empathyco/x-components/js/components/animations/fade-and-slide.vue";
55
55
  </script>
56
56
  ```
57
57
 
@@ -66,12 +66,12 @@ import FadeAndSlide from '@empathyco/x-components/js/components/animations/fade-
66
66
  </template>
67
67
 
68
68
  <script setup>
69
- import { ref } from 'vue'
70
- import FadeAndSlide from '@empathyco/x-components/js/components/animations/fade-and-slide.vue'
69
+ import { ref } from "vue";
70
+ import FadeAndSlide from "@empathyco/x-components/js/components/animations/fade-and-slide.vue";
71
71
 
72
- const items = ref(['One', 'Two', 'Three'])
72
+ const items = ref(["One", "Two", "Three"]);
73
73
  function addItem() {
74
- items.value.push(`Item ${items.value.length + 1}`)
74
+ items.value.push(`Item ${items.value.length + 1}`);
75
75
  }
76
76
  </script>
77
77
  ```
@@ -35,10 +35,10 @@ The `Fade` component is intended to be used as animation to wrap an element with
35
35
  </template>
36
36
 
37
37
  <script setup>
38
- import { ref } from 'vue'
39
- import Fade from '@empathyco/x-components/js/components/animations/fade.vue'
38
+ import { ref } from "vue";
39
+ import Fade from "@empathyco/x-components/js/components/animations/fade.vue";
40
40
 
41
- const open = ref(false)
41
+ const open = ref(false);
42
42
  </script>
43
43
  ```
44
44
 
@@ -52,10 +52,10 @@ const open = ref(false)
52
52
  </template>
53
53
 
54
54
  <script setup>
55
- import { ref } from 'vue'
56
- import Fade from '@empathyco/x-components/js/components/animations/fade.vue'
55
+ import { ref } from "vue";
56
+ import Fade from "@empathyco/x-components/js/components/animations/fade.vue";
57
57
 
58
- const open = ref(true)
58
+ const open = ref(true);
59
59
  </script>
60
60
  ```
61
61
 
@@ -73,9 +73,9 @@ const open = ref(true)
73
73
  </template>
74
74
 
75
75
  <script setup>
76
- import { ref } from 'vue'
77
- import Fade from '@empathyco/x-components/js/components/animations/fade.vue'
76
+ import { ref } from "vue";
77
+ import Fade from "@empathyco/x-components/js/components/animations/fade.vue";
78
78
 
79
- const open = ref(false)
79
+ const open = ref(false);
80
80
  </script>
81
81
  ```
@@ -23,8 +23,8 @@ The `NoAnimation` component is intended to be used as the default for animation
23
23
  </template>
24
24
 
25
25
  <script setup>
26
- import NoAnimation from '@empathyco/x-components/js/components/animations/no-animation.vue'
26
+ import NoAnimation from "@empathyco/x-components/js/components/animations/no-animation.vue";
27
27
 
28
- const animation = NoAnimation
28
+ const animation = NoAnimation;
29
29
  </script>
30
30
  ```
@@ -35,7 +35,7 @@ The StaggeredFadeAndSlide component works like the normal fade and slide compone
35
35
  </template>
36
36
 
37
37
  <script setup>
38
- import StaggeredFadeAndSlide from '@empathyco/x-components/js/components/animations/staggered-fade-and-slide.vue'
38
+ import StaggeredFadeAndSlide from "@empathyco/x-components/js/components/animations/staggered-fade-and-slide.vue";
39
39
  </script>
40
40
  ```
41
41
 
@@ -52,12 +52,12 @@ This component exposes all the props and events of the transition group, like th
52
52
  </template>
53
53
 
54
54
  <script setup>
55
- import { ref } from 'vue'
56
- import StaggeredFadeAndSlide from '@empathyco/x-components/js/components/animations/staggered-fade-and-slide.vue'
55
+ import { ref } from "vue";
56
+ import StaggeredFadeAndSlide from "@empathyco/x-components/js/components/animations/staggered-fade-and-slide.vue";
57
57
 
58
- const items = ref(['One', 'Two', 'Three'])
58
+ const items = ref(["One", "Two", "Three"]);
59
59
  function addItem() {
60
- items.value.push(`Item ${items.value.length + 1}`)
60
+ items.value.push(`Item ${items.value.length + 1}`);
61
61
  }
62
62
  </script>
63
63
  ```
@@ -68,10 +68,10 @@ unlike the `toggle`, which renders the same `item` slot defined by default.
68
68
  </template>
69
69
 
70
70
  <script setup>
71
- import { ref } from 'vue'
72
- import BaseColumnPickerDropdown from '@empathyco/x-components/js/components/column-picker/base-column-picker-dropdown.vue'
71
+ import { ref } from "vue";
72
+ import BaseColumnPickerDropdown from "@empathyco/x-components/js/components/column-picker/base-column-picker-dropdown.vue";
73
73
 
74
- const selectedColumns = ref(2)
74
+ const selectedColumns = ref(2);
75
75
  </script>
76
76
  ```
77
77
 
@@ -80,7 +80,9 @@ const selectedColumns = ref(2)
80
80
  ```vue live
81
81
  <template>
82
82
  <BaseColumnPickerDropdown v-model="selectedColumns" :columns="[2, 4, 6]">
83
- <template #toggle="{ item, isOpen }">Selected: {{ item }} {{ isOpen ? '🔼' : '🔽' }}️</template>
83
+ <template #toggle="{ item, isOpen }"
84
+ >Selected: {{ item }} {{ isOpen ? "🔼" : "🔽" }}️</template
85
+ >
84
86
  <template #item="{ item, isSelected, isHighlighted }">
85
87
  <span v-if="isHighlighted">🟢</span>
86
88
  <span v-if="isSelected">✅</span>
@@ -90,10 +92,10 @@ const selectedColumns = ref(2)
90
92
  </template>
91
93
 
92
94
  <script setup>
93
- import { ref } from 'vue'
94
- import BaseColumnPickerDropdown from '@empathyco/x-components/js/components/column-picker/base-column-picker-dropdown.vue'
95
+ import { ref } from "vue";
96
+ import BaseColumnPickerDropdown from "@empathyco/x-components/js/components/column-picker/base-column-picker-dropdown.vue";
95
97
 
96
- const selectedColumns = ref(2)
98
+ const selectedColumns = ref(2);
97
99
  </script>
98
100
  ```
99
101
 
@@ -106,7 +108,9 @@ with other column pickers.
106
108
  ```vue live
107
109
  <template>
108
110
  <BaseColumnPickerDropdown :columns="[2, 4, 6]">
109
- <template #toggle="{ item, isOpen }">Selected: {{ item }} {{ isOpen ? '🔼' : '🔽' }}️</template>
111
+ <template #toggle="{ item, isOpen }"
112
+ >Selected: {{ item }} {{ isOpen ? "🔼" : "🔽" }}️</template
113
+ >
110
114
  <template #item="{ item, isSelected, isHighlighted }">
111
115
  <span v-if="isHighlighted">🟢</span>
112
116
  <span v-if="isSelected">✅</span>
@@ -116,6 +120,6 @@ with other column pickers.
116
120
  </template>
117
121
 
118
122
  <script setup>
119
- import BaseColumnPickerDropdown from '@empathyco/x-components/js/components/column-picker/base-column-picker-dropdown.vue'
123
+ import BaseColumnPickerDropdown from "@empathyco/x-components/js/components/column-picker/base-column-picker-dropdown.vue";
120
124
  </script>
121
125
  ```
@@ -48,10 +48,10 @@ It is required to send the columns prop.
48
48
  </template>
49
49
 
50
50
  <script setup>
51
- import { ref } from 'vue'
52
- import BaseColumnPickerList from '@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue'
51
+ import { ref } from "vue";
52
+ import BaseColumnPickerList from "@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue";
53
53
 
54
- const columns = ref([2, 4, 6])
54
+ const columns = ref([2, 4, 6]);
55
55
  </script>
56
56
  ```
57
57
 
@@ -66,11 +66,11 @@ updated if the value changes or if the parent changes it.
66
66
  </template>
67
67
 
68
68
  <script setup>
69
- import { ref } from 'vue'
70
- import BaseColumnPickerList from '@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue'
69
+ import { ref } from "vue";
70
+ import BaseColumnPickerList from "@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue";
71
71
 
72
- const columns = ref([2, 4, 6])
73
- const selectedColumns = ref(4)
72
+ const columns = ref([2, 4, 6]);
73
+ const selectedColumns = ref(4);
74
74
  </script>
75
75
  ```
76
76
 
@@ -84,16 +84,16 @@ It is possible to override the column picker button content.
84
84
  <template>
85
85
  <BaseColumnPickerList :columns="columns">
86
86
  <template #default="{ column, isSelected }">
87
- <span>{{ column }} {{ isSelected ? '🟢' : '' }}</span>
87
+ <span>{{ column }} {{ isSelected ? "🟢" : "" }}</span>
88
88
  </template>
89
89
  </BaseColumnPickerList>
90
90
  </template>
91
91
 
92
92
  <script setup>
93
- import { ref } from 'vue'
94
- import BaseColumnPickerList from '@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue'
93
+ import { ref } from "vue";
94
+ import BaseColumnPickerList from "@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue";
95
95
 
96
- const columns = ref([2, 4, 6])
96
+ const columns = ref([2, 4, 6]);
97
97
  </script>
98
98
  ```
99
99
 
@@ -110,11 +110,11 @@ It is also possible to add a divider element between the column picker buttons b
110
110
  </template>
111
111
 
112
112
  <script setup>
113
- import { ref } from 'vue'
114
- import BaseColumnPickerList from '@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue'
115
- import ChevronRightIcon from '@empathyco/x-components/js/components/icons/chevron-right.vue'
113
+ import { ref } from "vue";
114
+ import BaseColumnPickerList from "@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue";
115
+ import ChevronRightIcon from "@empathyco/x-components/js/components/icons/chevron-right.vue";
116
116
 
117
- const columns = ref([2, 4, 6])
117
+ const columns = ref([2, 4, 6]);
118
118
  </script>
119
119
  ```
120
120
 
@@ -128,10 +128,10 @@ The `buttonClass` prop can be used to add classes to the buttons.
128
128
  </template>
129
129
 
130
130
  <script setup>
131
- import { ref } from 'vue'
132
- import BaseColumnPickerList from '@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue'
131
+ import { ref } from "vue";
132
+ import BaseColumnPickerList from "@empathyco/x-components/js/components/column-picker/base-column-picker-list.vue";
133
133
 
134
- const columns = ref([2, 4, 6])
134
+ const columns = ref([2, 4, 6]);
135
135
  </script>
136
136
  ```
137
137
 
@@ -46,7 +46,7 @@ HTML element.
46
46
  </template>
47
47
 
48
48
  <script setup>
49
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
49
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
50
50
  </script>
51
51
  ```
52
52
 
@@ -57,7 +57,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
57
57
  </template>
58
58
 
59
59
  <script setup>
60
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
60
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
61
61
  </script>
62
62
  ```
63
63
 
@@ -68,7 +68,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
68
68
  </template>
69
69
 
70
70
  <script setup>
71
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
71
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
72
72
  </script>
73
73
  ```
74
74
 
@@ -79,7 +79,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
79
79
  </template>
80
80
 
81
81
  <script setup>
82
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
82
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
83
83
  </script>
84
84
  ```
85
85
 
@@ -90,7 +90,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
90
90
  </template>
91
91
 
92
92
  <script setup>
93
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
93
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
94
94
  </script>
95
95
  ```
96
96
 
@@ -101,7 +101,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
101
101
  </template>
102
102
 
103
103
  <script setup>
104
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
104
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
105
105
  </script>
106
106
  ```
107
107
 
@@ -112,7 +112,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
112
112
  </template>
113
113
 
114
114
  <script setup>
115
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
115
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
116
116
  </script>
117
117
  ```
118
118
 
@@ -123,7 +123,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
123
123
  </template>
124
124
 
125
125
  <script setup>
126
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
126
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
127
127
  </script>
128
128
  ```
129
129
 
@@ -134,7 +134,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
134
134
  </template>
135
135
 
136
136
  <script setup>
137
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
137
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
138
138
  </script>
139
139
  ```
140
140
 
@@ -145,7 +145,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
145
145
  </template>
146
146
 
147
147
  <script setup>
148
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
148
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
149
149
  </script>
150
150
  ```
151
151
 
@@ -156,7 +156,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
156
156
  </template>
157
157
 
158
158
  <script setup>
159
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
159
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
160
160
  </script>
161
161
  ```
162
162
 
@@ -167,7 +167,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
167
167
  </template>
168
168
 
169
169
  <script setup>
170
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
170
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
171
171
  </script>
172
172
  ```
173
173
 
@@ -178,7 +178,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
178
178
  </template>
179
179
 
180
180
  <script setup>
181
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
181
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
182
182
  </script>
183
183
  ```
184
184
 
@@ -189,7 +189,7 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
189
189
  </template>
190
190
 
191
191
  <script setup>
192
- import BaseCurrency from '@empathyco/x-components/js/components/currency/base-currency.vue'
192
+ import BaseCurrency from "@empathyco/x-components/js/components/currency/base-currency.vue";
193
193
  </script>
194
194
  ```
195
195
 
@@ -200,6 +200,6 @@ import BaseCurrency from '@empathyco/x-components/js/components/currency/base-cu
200
200
  </template>
201
201
 
202
202
  <script setup>
203
- import { BaseCurrency } from '@empathyco/x-components/js/components/currency/base-currency.vue'
203
+ import { BaseCurrency } from "@empathyco/x-components/js/components/currency/base-currency.vue";
204
204
  </script>
205
205
  ```
@@ -56,7 +56,11 @@ how the price should look like.
56
56
  </template>
57
57
 
58
58
  <script setup>
59
- import BasePriceFilterLabel from '@empathyco/x-components/js/components/filters/labels/base-price-filter-label.vue'
60
- import { Filters, Facets, NumberRangeFilter } from '@empathyco/x-components/facets'
59
+ import BasePriceFilterLabel from "@empathyco/x-components/js/components/filters/labels/base-price-filter-label.vue";
60
+ import {
61
+ Filters,
62
+ Facets,
63
+ NumberRangeFilter,
64
+ } from "@empathyco/x-components/facets";
61
65
  </script>
62
66
  ```