@empathyco/x-components 3.0.0-alpha.244 → 3.0.0-alpha.246

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 (158) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/design-system/full-theme.css +136 -81
  3. package/docs/API-reference/api/x-components.searchboxactions.md +1 -0
  4. package/docs/API-reference/api/x-components.searchboxactions.setinputstatus.md +24 -0
  5. package/docs/API-reference/api/x-components.searchboxmutations.md +1 -0
  6. package/docs/API-reference/api/x-components.searchboxmutations.setinputstatus.md +24 -0
  7. package/docs/API-reference/api/x-components.searchboxstate.inputstatus.md +13 -0
  8. package/docs/API-reference/api/x-components.searchboxstate.md +1 -0
  9. package/docs/API-reference/api/x-components.xcomponentaliasapi.md +1 -0
  10. package/docs/API-reference/api/x-components.xcomponentaliasapi.searchboxstatus.md +13 -0
  11. package/docs/API-reference/components/common/animations/x-components.animate-width.md +0 -2
  12. package/docs/API-reference/components/common/animations/x-components.collapse-height.md +0 -3
  13. package/docs/API-reference/components/common/animations/x-components.collapse-width.md +0 -3
  14. package/docs/API-reference/components/common/animations/x-components.cross-fade.md +0 -3
  15. package/docs/API-reference/components/common/animations/x-components.fade-and-slide.md +0 -3
  16. package/docs/API-reference/components/common/animations/x-components.fade.md +0 -3
  17. package/docs/API-reference/components/common/animations/x-components.staggered-fade-and-slide.md +0 -3
  18. package/docs/API-reference/components/common/animations/x-components.staggering-transition-group.md +0 -3
  19. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-dropdown.md +0 -6
  20. package/docs/API-reference/components/common/column-picker/x-components.base-column-picker-list.md +0 -5
  21. package/docs/API-reference/components/common/currency/x-components.base-currency.md +0 -18
  22. package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +0 -3
  23. package/docs/API-reference/components/common/filters/labels/x-components.base-rating-filter-label.md +0 -3
  24. package/docs/API-reference/components/common/layouts/x-components.fixed-header-and-asides-layout.md +0 -2
  25. package/docs/API-reference/components/common/layouts/x-components.multi-column-max-width-layout.md +0 -2
  26. package/docs/API-reference/components/common/layouts/x-components.single-column-layout.md +0 -2
  27. package/docs/API-reference/components/common/modals/x-components.base-events-modal-close.md +0 -3
  28. package/docs/API-reference/components/common/modals/x-components.base-events-modal-open.md +0 -3
  29. package/docs/API-reference/components/common/modals/x-components.base-events-modal.md +0 -8
  30. package/docs/API-reference/components/common/modals/x-components.base-id-modal-close.md +0 -4
  31. package/docs/API-reference/components/common/modals/x-components.base-id-modal-open.md +0 -4
  32. package/docs/API-reference/components/common/modals/x-components.base-id-modal.md +0 -5
  33. package/docs/API-reference/components/common/modals/x-components.base-modal.md +0 -3
  34. package/docs/API-reference/components/common/modals/x-components.close-main-modal.md +0 -2
  35. package/docs/API-reference/components/common/modals/x-components.main-modal.md +0 -2
  36. package/docs/API-reference/components/common/modals/x-components.open-main-modal.md +0 -2
  37. package/docs/API-reference/components/common/panels/x-components.base-header-toggle-panel.md +0 -3
  38. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel-button.md +0 -6
  39. package/docs/API-reference/components/common/panels/x-components.base-id-toggle-panel.md +0 -9
  40. package/docs/API-reference/components/common/panels/x-components.base-tabs-panel.md +1 -3
  41. package/docs/API-reference/components/common/panels/x-components.base-toggle-panel.md +0 -3
  42. package/docs/API-reference/components/common/result/x-components.base-result-add-to-cart.md +0 -3
  43. package/docs/API-reference/components/common/result/x-components.base-result-current-price.md +0 -3
  44. package/docs/API-reference/components/common/result/x-components.base-result-image.md +0 -2
  45. package/docs/API-reference/components/common/result/x-components.base-result-link.md +0 -2
  46. package/docs/API-reference/components/common/result/x-components.base-result-previous-price.md +0 -2
  47. package/docs/API-reference/components/common/result/x-components.base-result-rating.md +0 -2
  48. package/docs/API-reference/components/common/result/x-components.result-variant-selector.md +0 -3
  49. package/docs/API-reference/components/common/result/x-components.result-variants-provider.md +0 -7
  50. package/docs/API-reference/components/common/scroll/x-components.base-scroll.md +0 -3
  51. package/docs/API-reference/components/common/suggestions/x-components.base-suggestion.md +0 -6
  52. package/docs/API-reference/components/common/suggestions/x-components.base-suggestions.md +0 -3
  53. package/docs/API-reference/components/common/x-components.auto-progress-bar.md +0 -2
  54. package/docs/API-reference/components/common/x-components.base-dropdown.md +0 -3
  55. package/docs/API-reference/components/common/x-components.base-event-button.md +0 -6
  56. package/docs/API-reference/components/common/x-components.base-grid.md +4 -10
  57. package/docs/API-reference/components/common/x-components.base-keyboard-navigation.md +0 -3
  58. package/docs/API-reference/components/common/x-components.base-rating.md +0 -3
  59. package/docs/API-reference/components/common/x-components.base-switch.md +0 -4
  60. package/docs/API-reference/components/common/x-components.base-variable-column-grid.md +3 -8
  61. package/docs/API-reference/components/common/x-components.global-x-bus.md +2 -2
  62. package/docs/API-reference/components/common/x-components.highlight.md +0 -3
  63. package/docs/API-reference/components/common/x-components.items-list.md +3 -6
  64. package/docs/API-reference/components/common/x-components.location-provider.md +2 -2
  65. package/docs/API-reference/components/common/x-components.sliding-panel.md +0 -7
  66. package/docs/API-reference/components/common/x-components.snippet-callbacks.md +0 -3
  67. package/docs/API-reference/components/device/x-components.device-detector.md +0 -4
  68. package/docs/API-reference/components/empathize/x-components.empathize.md +0 -3
  69. package/docs/API-reference/components/extra-params/x-components.extra-params.md +0 -3
  70. package/docs/API-reference/components/extra-params/x-components.renderless-extra-param.md +0 -3
  71. package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +0 -3
  72. package/docs/API-reference/components/facets/x-components.clear-filters.md +0 -2
  73. package/docs/API-reference/components/facets/x-components.facets/facets-provider.md +0 -5
  74. package/docs/API-reference/components/facets/x-components.facets/facets.md +5 -10
  75. package/docs/API-reference/components/facets/x-components.filters/all-filter.md +0 -6
  76. package/docs/API-reference/components/facets/x-components.filters/editable-number-range-filter.md +0 -12
  77. package/docs/API-reference/components/facets/x-components.filters/hierarchical-filter.md +0 -2
  78. package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +0 -2
  79. package/docs/API-reference/components/facets/x-components.filters/renderless-filter.md +0 -5
  80. package/docs/API-reference/components/facets/x-components.filters/simple-filter.md +0 -2
  81. package/docs/API-reference/components/facets/x-components.lists/exclude-filters-with-no-results.md +0 -7
  82. package/docs/API-reference/components/facets/x-components.lists/filters-list.md +0 -4
  83. package/docs/API-reference/components/facets/x-components.lists/filters-search.md +0 -2
  84. package/docs/API-reference/components/facets/x-components.lists/selected-filters-list.md +4 -11
  85. package/docs/API-reference/components/facets/x-components.lists/selected-filters.md +0 -6
  86. package/docs/API-reference/components/facets/x-components.lists/sliced-filters.md +0 -4
  87. package/docs/API-reference/components/facets/x-components.lists/sorted-filters.md +0 -2
  88. package/docs/API-reference/components/facets/x-components.preselected-filters.md +0 -3
  89. package/docs/API-reference/components/history-queries/x-components.clear-history-queries.md +0 -4
  90. package/docs/API-reference/components/history-queries/x-components.history-queries-switch.md +0 -3
  91. package/docs/API-reference/components/history-queries/x-components.history-queries.md +0 -4
  92. package/docs/API-reference/components/history-queries/x-components.history-query.md +0 -4
  93. package/docs/API-reference/components/history-queries/x-components.my-history.md +0 -3
  94. package/docs/API-reference/components/history-queries/x-components.remove-history-query.md +0 -4
  95. package/docs/API-reference/components/identifier-results/x-components.identifier-result.md +0 -3
  96. package/docs/API-reference/components/identifier-results/x-components.identifier-results.md +0 -4
  97. package/docs/API-reference/components/next-queries/x-components.next-queries-list.md +4 -6
  98. package/docs/API-reference/components/next-queries/x-components.next-queries.md +0 -6
  99. package/docs/API-reference/components/next-queries/x-components.next-query-preview.md +0 -4
  100. package/docs/API-reference/components/next-queries/x-components.next-query.md +0 -4
  101. package/docs/API-reference/components/popular-searches/x-components.popular-search.md +0 -4
  102. package/docs/API-reference/components/popular-searches/x-components.popular-searches.md +0 -5
  103. package/docs/API-reference/components/queries-preview/x-components.query-preview.md +0 -4
  104. package/docs/API-reference/components/query-suggestions/x-components.query-suggestion.md +0 -4
  105. package/docs/API-reference/components/query-suggestions/x-components.query-suggestions.md +0 -4
  106. package/docs/API-reference/components/recommendations/x-components.recommendations.md +0 -7
  107. package/docs/API-reference/components/related-tags/x-components.related-tag.md +0 -4
  108. package/docs/API-reference/components/related-tags/x-components.related-tags.md +0 -6
  109. package/docs/API-reference/components/scroll/x-components.main-scroll-item.md +0 -3
  110. package/docs/API-reference/components/scroll/x-components.main-scroll.md +0 -6
  111. package/docs/API-reference/components/scroll/x-components.scroll-to-top.md +0 -3
  112. package/docs/API-reference/components/scroll/x-components.scroll.md +0 -3
  113. package/docs/API-reference/components/scroll/x-components.window-scroll.md +0 -4
  114. package/docs/API-reference/components/search/x-components.banner.md +0 -5
  115. package/docs/API-reference/components/search/x-components.banners-list.md +4 -12
  116. package/docs/API-reference/components/search/x-components.partial-query-button.md +0 -4
  117. package/docs/API-reference/components/search/x-components.partial-results-list.md +0 -3
  118. package/docs/API-reference/components/search/x-components.promoted.md +0 -4
  119. package/docs/API-reference/components/search/x-components.promoteds-list.md +4 -12
  120. package/docs/API-reference/components/search/x-components.redirection.md +0 -4
  121. package/docs/API-reference/components/search/x-components.results-list.md +4 -11
  122. package/docs/API-reference/components/search/x-components.sort-dropdown.md +0 -3
  123. package/docs/API-reference/components/search/x-components.sort-list.md +0 -3
  124. package/docs/API-reference/components/search/x-components.spellcheck-button.md +0 -4
  125. package/docs/API-reference/components/search/x-components.spellcheck.md +0 -7
  126. package/docs/API-reference/components/search-box/x-components.clear-search-input.md +0 -2
  127. package/docs/API-reference/components/search-box/x-components.search-button.md +0 -2
  128. package/docs/API-reference/components/search-box/x-components.search-input.md +0 -3
  129. package/docs/API-reference/components/tagging/x-components.tagging.md +0 -5
  130. package/docs/API-reference/components/url/x-components.url-handler.md +0 -4
  131. package/docs/input-status-machine-state.png +0 -0
  132. package/js/plugins/x-plugin.alias.js +3 -0
  133. package/js/plugins/x-plugin.alias.js.map +1 -1
  134. package/js/services/state-machine.service.js +34 -0
  135. package/js/services/state-machine.service.js.map +1 -0
  136. package/js/x-modules/search-box/store/actions/set-input-status.action.js +49 -0
  137. package/js/x-modules/search-box/store/actions/set-input-status.action.js.map +1 -0
  138. package/js/x-modules/search-box/store/module.js +9 -3
  139. package/js/x-modules/search-box/store/module.js.map +1 -1
  140. package/js/x-modules/search-box/wiring.js +29 -4
  141. package/js/x-modules/search-box/wiring.js.map +1 -1
  142. package/package.json +3 -3
  143. package/report/x-components.api.json +147 -0
  144. package/report/x-components.api.md +32 -0
  145. package/types/plugins/x-plugin.alias.d.ts.map +1 -1
  146. package/types/plugins/x-plugin.types.d.ts +3 -0
  147. package/types/plugins/x-plugin.types.d.ts.map +1 -1
  148. package/types/services/services.types.d.ts +40 -0
  149. package/types/services/services.types.d.ts.map +1 -1
  150. package/types/services/state-machine.service.d.ts +31 -0
  151. package/types/services/state-machine.service.d.ts.map +1 -0
  152. package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts +12 -0
  153. package/types/x-modules/search-box/store/actions/set-input-status.action.d.ts.map +1 -0
  154. package/types/x-modules/search-box/store/module.d.ts.map +1 -1
  155. package/types/x-modules/search-box/store/types.d.ts +27 -1
  156. package/types/x-modules/search-box/store/types.d.ts.map +1 -1
  157. package/types/x-modules/search-box/wiring.d.ts +19 -6
  158. package/types/x-modules/search-box/wiring.d.ts.map +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0-alpha.246](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.245...@empathyco/x-components@3.0.0-alpha.246) (2022-12-09)
7
+
8
+ ### Build System
9
+
10
+ - **deps:** update dependencies (#908)
11
+ ([840da52](https://github.com/empathyco/x/commit/840da52dec32e04cf2b402cca2646b49c839e6e8))
12
+
13
+ ### Code Refactoring
14
+
15
+ - **plugin:** Rename `inputStatus` to `searchBoxStatus` in Alias API. (#913)
16
+ ([5cb837e](https://github.com/empathyco/x/commit/5cb837ed57db3fb5543a7f8e82d9beea0088cdd9)),
17
+ closes [EX-7597](https://searchbroker.atlassian.net/browse/EX-7597)
18
+
19
+ # Change Log
20
+
21
+ All notable changes to this project will be documented in this file. See
22
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
23
+
24
+ ## [3.0.0-alpha.245](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.244...@empathyco/x-components@3.0.0-alpha.245) (2022-12-09)
25
+
26
+ ### Features
27
+
28
+ - **search-box:** add input status handling(#903)
29
+ ([c74b8fb](https://github.com/empathyco/x/commit/c74b8fbc9734541774c535792466333b78197146)),
30
+ closes [EX-6474](https://searchbroker.atlassian.net/browse/EX-6474)
31
+
32
+ # Change Log
33
+
34
+ All notable changes to this project will be documented in this file. See
35
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
36
+
6
37
  ## [3.0.0-alpha.244](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.243...@empathyco/x-components@3.0.0-alpha.244) (2022-12-08)
7
38
 
8
39
  ### Features
@@ -56,9 +56,11 @@
56
56
  }
57
57
  [dir="ltr"] .x-badge {
58
58
  right: calc(var(--x-size-width-badge-default) / 4);
59
- }[dir="rtl"] .x-badge {
59
+ }
60
+ [dir="rtl"] .x-badge {
60
61
  left: calc(var(--x-size-width-badge-default) / 4);
61
- }.x-badge {
62
+ }
63
+ .x-badge {
62
64
  border-radius: var(--x-size-border-radius-badge-default);
63
65
  border-style: solid;
64
66
  border-width: var(--x-size-border-width-badge-default);
@@ -425,6 +427,30 @@
425
427
  --x-size-border-width-left-dropdown-list-line
426
428
  );
427
429
  }
430
+ :root {
431
+ --x-size-padding-block-dropdown-item-line: var(--x-size-base-03);
432
+ --x-size-padding-inline-dropdown-item-line: 0 var(--x-size-base-03);
433
+ --x-size-padding-top-dropdown-item-line: var(--x-size-base-03);
434
+ --x-size-padding-right-dropdown-item-line: 0;
435
+ --x-size-padding-bottom-dropdown-item-line: var(--x-size-base-03);
436
+ --x-size-padding-left-dropdown-item-line: 0;
437
+ --x-size-padding-top-dropdown-toggle-line: var(--x-size-base-03);
438
+ --x-size-padding-right-dropdown-toggle-line: 0;
439
+ --x-size-padding-bottom-dropdown-toggle-line: var(--x-size-base-03);
440
+ --x-size-padding-left-dropdown-toggle-line: 0;
441
+ --x-size-border-width-dropdown-toggle-line: var(--x-size-border-width-base);
442
+ --x-size-border-width-top-dropdown-toggle-line: 0;
443
+ --x-size-border-width-right-dropdown-toggle-line: 0;
444
+ --x-size-border-width-bottom-dropdown-toggle-line: var(
445
+ --x-size-border-width-dropdown-toggle-line
446
+ );
447
+ --x-size-border-width-left-dropdown-toggle-line: 0;
448
+ --x-size-border-width-dropdown-list-line: 0;
449
+ --x-size-border-width-top-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
450
+ --x-size-border-width-right-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
451
+ --x-size-border-width-bottom-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
452
+ --x-size-border-width-left-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
453
+ }
428
454
  .x-dropdown.x-dropdown--m {
429
455
  --x-size-width-dropdown-toggle-default: var(--x-size-width-dropdown-m);
430
456
  }
@@ -512,13 +538,17 @@
512
538
  }
513
539
  [dir="ltr"] .x-facet {
514
540
  border-right-width: var(--x-size-border-width-right-facet-default);
515
- }[dir="rtl"] .x-facet {
541
+ }
542
+ [dir="rtl"] .x-facet {
516
543
  border-left-width: var(--x-size-border-width-right-facet-default);
517
- }[dir="ltr"] .x-facet {
544
+ }
545
+ [dir="ltr"] .x-facet {
518
546
  border-left-width: var(--x-size-border-width-left-facet-default);
519
- }[dir="rtl"] .x-facet {
547
+ }
548
+ [dir="rtl"] .x-facet {
520
549
  border-right-width: var(--x-size-border-width-left-facet-default);
521
- }.x-facet {
550
+ }
551
+ .x-facet {
522
552
  display: flex;
523
553
  flex-flow: column nowrap;
524
554
  justify-content: flex-start;
@@ -674,21 +704,29 @@
674
704
  }
675
705
  [dir="ltr"] .x-filter {
676
706
  padding-left: var(--x-size-padding-left-filter-default);
677
- }[dir="rtl"] .x-filter {
707
+ }
708
+ [dir="rtl"] .x-filter {
678
709
  padding-right: var(--x-size-padding-left-filter-default);
679
- }[dir="ltr"] .x-filter {
710
+ }
711
+ [dir="ltr"] .x-filter {
680
712
  padding-right: var(--x-size-padding-right-filter-default);
681
- }[dir="rtl"] .x-filter {
713
+ }
714
+ [dir="rtl"] .x-filter {
682
715
  padding-left: var(--x-size-padding-right-filter-default);
683
- }[dir="ltr"] .x-filter {
716
+ }
717
+ [dir="ltr"] .x-filter {
684
718
  border-right-width: var(--x-size-border-width-right-filter-default);
685
- }[dir="rtl"] .x-filter {
719
+ }
720
+ [dir="rtl"] .x-filter {
686
721
  border-left-width: var(--x-size-border-width-right-filter-default);
687
- }[dir="ltr"] .x-filter {
722
+ }
723
+ [dir="ltr"] .x-filter {
688
724
  border-left-width: var(--x-size-border-width-left-filter-default);
689
- }[dir="rtl"] .x-filter {
725
+ }
726
+ [dir="rtl"] .x-filter {
690
727
  border-right-width: var(--x-size-border-width-left-filter-default);
691
- }.x-filter {
728
+ }
729
+ .x-filter {
692
730
  display: inline-flex;
693
731
  justify-content: flex-start;
694
732
  align-items: flex-start;
@@ -922,13 +960,17 @@
922
960
  }
923
961
  [dir="ltr"] .x-input-group {
924
962
  border-right-width: var(--x-size-border-width-right-input-group-default);
925
- }[dir="rtl"] .x-input-group {
963
+ }
964
+ [dir="rtl"] .x-input-group {
926
965
  border-left-width: var(--x-size-border-width-right-input-group-default);
927
- }[dir="ltr"] .x-input-group {
966
+ }
967
+ [dir="ltr"] .x-input-group {
928
968
  border-left-width: var(--x-size-border-width-left-input-group-default);
929
- }[dir="rtl"] .x-input-group {
969
+ }
970
+ [dir="rtl"] .x-input-group {
930
971
  border-right-width: var(--x-size-border-width-left-input-group-default);
931
- }.x-input-group {
972
+ }
973
+ .x-input-group {
932
974
  display: flex;
933
975
  flex-flow: row nowrap;
934
976
  align-content: center;
@@ -1182,21 +1224,29 @@
1182
1224
  }
1183
1225
  [dir="ltr"] .x-input {
1184
1226
  padding-left: var(--x-size-padding-left-input-default);
1185
- }[dir="rtl"] .x-input {
1227
+ }
1228
+ [dir="rtl"] .x-input {
1186
1229
  padding-right: var(--x-size-padding-left-input-default);
1187
- }[dir="ltr"] .x-input {
1230
+ }
1231
+ [dir="ltr"] .x-input {
1188
1232
  padding-right: var(--x-size-padding-right-input-default);
1189
- }[dir="rtl"] .x-input {
1233
+ }
1234
+ [dir="rtl"] .x-input {
1190
1235
  padding-left: var(--x-size-padding-right-input-default);
1191
- }[dir="ltr"] .x-input {
1236
+ }
1237
+ [dir="ltr"] .x-input {
1192
1238
  border-right-width: var(--x-size-border-width-right-input-default);
1193
- }[dir="rtl"] .x-input {
1239
+ }
1240
+ [dir="rtl"] .x-input {
1194
1241
  border-left-width: var(--x-size-border-width-right-input-default);
1195
- }[dir="ltr"] .x-input {
1242
+ }
1243
+ [dir="ltr"] .x-input {
1196
1244
  border-left-width: var(--x-size-border-width-left-input-default);
1197
- }[dir="rtl"] .x-input {
1245
+ }
1246
+ [dir="rtl"] .x-input {
1198
1247
  border-right-width: var(--x-size-border-width-left-input-default);
1199
- }.x-input {
1248
+ }
1249
+ .x-input {
1200
1250
  position: relative;
1201
1251
  display: flex;
1202
1252
  overflow: hidden;
@@ -2316,13 +2366,17 @@
2316
2366
  }
2317
2367
  [dir="ltr"] .x-message {
2318
2368
  border-left-width: var(--x-size-border-width-left-message-default);
2319
- }[dir="rtl"] .x-message {
2369
+ }
2370
+ [dir="rtl"] .x-message {
2320
2371
  border-right-width: var(--x-size-border-width-left-message-default);
2321
- }[dir="ltr"] .x-message {
2372
+ }
2373
+ [dir="ltr"] .x-message {
2322
2374
  border-right-width: var(--x-size-border-width-right-message-default);
2323
- }[dir="rtl"] .x-message {
2375
+ }
2376
+ [dir="rtl"] .x-message {
2324
2377
  border-left-width: var(--x-size-border-width-right-message-default);
2325
- }.x-message {
2378
+ }
2379
+ .x-message {
2326
2380
  display: flex;
2327
2381
  flex-flow: column nowrap;
2328
2382
  justify-content: var(--x-string-justify-message-default);
@@ -3261,21 +3315,29 @@
3261
3315
  }
3262
3316
  [dir="ltr"] .x-suggestion-group {
3263
3317
  padding-left: var(--x-size-padding-left-suggestion-group-default);
3264
- }[dir="rtl"] .x-suggestion-group {
3318
+ }
3319
+ [dir="rtl"] .x-suggestion-group {
3265
3320
  padding-right: var(--x-size-padding-left-suggestion-group-default);
3266
- }[dir="ltr"] .x-suggestion-group {
3321
+ }
3322
+ [dir="ltr"] .x-suggestion-group {
3267
3323
  padding-right: var(--x-size-padding-right-suggestion-group-default);
3268
- }[dir="rtl"] .x-suggestion-group {
3324
+ }
3325
+ [dir="rtl"] .x-suggestion-group {
3269
3326
  padding-left: var(--x-size-padding-right-suggestion-group-default);
3270
- }[dir="ltr"] .x-suggestion-group {
3327
+ }
3328
+ [dir="ltr"] .x-suggestion-group {
3271
3329
  border-left-width: var(--x-size-border-width-left-suggestion-group-default);
3272
- }[dir="rtl"] .x-suggestion-group {
3330
+ }
3331
+ [dir="rtl"] .x-suggestion-group {
3273
3332
  border-right-width: var(--x-size-border-width-left-suggestion-group-default);
3274
- }[dir="ltr"] .x-suggestion-group {
3333
+ }
3334
+ [dir="ltr"] .x-suggestion-group {
3275
3335
  border-right-width: var(--x-size-border-width-right-suggestion-group-default);
3276
- }[dir="rtl"] .x-suggestion-group {
3336
+ }
3337
+ [dir="rtl"] .x-suggestion-group {
3277
3338
  border-left-width: var(--x-size-border-width-right-suggestion-group-default);
3278
- }.x-suggestion-group {
3339
+ }
3340
+ .x-suggestion-group {
3279
3341
  display: flex;
3280
3342
  flex-flow: row nowrap;
3281
3343
  box-sizing: border-box;
@@ -3344,25 +3406,35 @@
3344
3406
  }
3345
3407
  [dir="ltr"] .x-suggestion {
3346
3408
  text-align: left;
3347
- }[dir="rtl"] .x-suggestion {
3409
+ }
3410
+ [dir="rtl"] .x-suggestion {
3348
3411
  text-align: right;
3349
- }[dir="ltr"] .x-suggestion {
3412
+ }
3413
+ [dir="ltr"] .x-suggestion {
3350
3414
  padding-left: var(--x-size-padding-left-suggestion-default);
3351
- }[dir="rtl"] .x-suggestion {
3415
+ }
3416
+ [dir="rtl"] .x-suggestion {
3352
3417
  padding-right: var(--x-size-padding-left-suggestion-default);
3353
- }[dir="ltr"] .x-suggestion {
3418
+ }
3419
+ [dir="ltr"] .x-suggestion {
3354
3420
  padding-right: var(--x-size-padding-right-suggestion-default);
3355
- }[dir="rtl"] .x-suggestion {
3421
+ }
3422
+ [dir="rtl"] .x-suggestion {
3356
3423
  padding-left: var(--x-size-padding-right-suggestion-default);
3357
- }[dir="ltr"] .x-suggestion {
3424
+ }
3425
+ [dir="ltr"] .x-suggestion {
3358
3426
  border-left-width: var(--x-size-border-width-left-suggestion-default);
3359
- }[dir="rtl"] .x-suggestion {
3427
+ }
3428
+ [dir="rtl"] .x-suggestion {
3360
3429
  border-right-width: var(--x-size-border-width-left-suggestion-default);
3361
- }[dir="ltr"] .x-suggestion {
3430
+ }
3431
+ [dir="ltr"] .x-suggestion {
3362
3432
  border-right-width: var(--x-size-border-width-right-suggestion-default);
3363
- }[dir="rtl"] .x-suggestion {
3433
+ }
3434
+ [dir="rtl"] .x-suggestion {
3364
3435
  border-left-width: var(--x-size-border-width-right-suggestion-default);
3365
- }.x-suggestion {
3436
+ }
3437
+ .x-suggestion {
3366
3438
  display: flex;
3367
3439
  flex-flow: row nowrap;
3368
3440
  box-sizing: border-box;
@@ -3538,21 +3610,29 @@
3538
3610
  }
3539
3611
  [dir="ltr"] .x-tag {
3540
3612
  border-left-width: var(--x-size-border-width-left-tag-default);
3541
- }[dir="rtl"] .x-tag {
3613
+ }
3614
+ [dir="rtl"] .x-tag {
3542
3615
  border-right-width: var(--x-size-border-width-left-tag-default);
3543
- }[dir="ltr"] .x-tag {
3616
+ }
3617
+ [dir="ltr"] .x-tag {
3544
3618
  border-right-width: var(--x-size-border-width-right-tag-default);
3545
- }[dir="rtl"] .x-tag {
3619
+ }
3620
+ [dir="rtl"] .x-tag {
3546
3621
  border-left-width: var(--x-size-border-width-right-tag-default);
3547
- }[dir="ltr"] .x-tag {
3622
+ }
3623
+ [dir="ltr"] .x-tag {
3548
3624
  padding-left: var(--x-size-padding-left-tag-default);
3549
- }[dir="rtl"] .x-tag {
3625
+ }
3626
+ [dir="rtl"] .x-tag {
3550
3627
  padding-right: var(--x-size-padding-left-tag-default);
3551
- }[dir="ltr"] .x-tag {
3628
+ }
3629
+ [dir="ltr"] .x-tag {
3552
3630
  padding-right: var(--x-size-padding-right-tag-default);
3553
- }[dir="rtl"] .x-tag {
3631
+ }
3632
+ [dir="rtl"] .x-tag {
3554
3633
  padding-left: var(--x-size-padding-right-tag-default);
3555
- }.x-tag {
3634
+ }
3635
+ .x-tag {
3556
3636
  display: flex;
3557
3637
  align-items: center;
3558
3638
  justify-content: center;
@@ -7212,28 +7292,3 @@
7212
7292
  .x-normal-case {
7213
7293
  text-transform: none;
7214
7294
  }
7215
-
7216
- :root {
7217
- --x-size-padding-block-dropdown-item-line: var(--x-size-base-03);
7218
- --x-size-padding-inline-dropdown-item-line: 0 var(--x-size-base-03);
7219
- --x-size-padding-top-dropdown-item-line: var(--x-size-base-03);
7220
- --x-size-padding-right-dropdown-item-line: 0;
7221
- --x-size-padding-bottom-dropdown-item-line: var(--x-size-base-03);
7222
- --x-size-padding-left-dropdown-item-line: 0;
7223
- --x-size-padding-top-dropdown-toggle-line: var(--x-size-base-03);
7224
- --x-size-padding-right-dropdown-toggle-line: 0;
7225
- --x-size-padding-bottom-dropdown-toggle-line: var(--x-size-base-03);
7226
- --x-size-padding-left-dropdown-toggle-line: 0;
7227
- --x-size-border-width-dropdown-toggle-line: var(--x-size-border-width-base);
7228
- --x-size-border-width-top-dropdown-toggle-line: 0;
7229
- --x-size-border-width-right-dropdown-toggle-line: 0;
7230
- --x-size-border-width-bottom-dropdown-toggle-line: var(
7231
- --x-size-border-width-dropdown-toggle-line
7232
- );
7233
- --x-size-border-width-left-dropdown-toggle-line: 0;
7234
- --x-size-border-width-dropdown-list-line: 0;
7235
- --x-size-border-width-top-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
7236
- --x-size-border-width-right-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
7237
- --x-size-border-width-bottom-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
7238
- --x-size-border-width-left-dropdown-list-line: var(--x-size-border-width-dropdown-list-line);
7239
- }
@@ -16,5 +16,6 @@ export interface SearchBoxActions
16
16
 
17
17
  | Method | Description |
18
18
  | --- | --- |
19
+ | [setInputStatus(event)](./x-components.searchboxactions.setinputstatus.md) | Changes the machine state to a new state and updates the input status in the store with it. |
19
20
  | [setUrlParams(urlParams)](./x-components.searchboxactions.seturlparams.md) | Checks if the url has a query on it and then updates the state with that value. |
20
21
 
@@ -0,0 +1,24 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchBoxActions](./x-components.searchboxactions.md) &gt; [setInputStatus](./x-components.searchboxactions.setinputstatus.md)
4
+
5
+ ## SearchBoxActions.setInputStatus() method
6
+
7
+ Changes the machine state to a new state and updates the input status in the store with it.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ setInputStatus(event: XEvent): void;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | event | [XEvent](./x-components.xevent.md) | The [XEvent](./x-components.xevent.md) to transition to the new state. |
20
+
21
+ <b>Returns:</b>
22
+
23
+ void
24
+
@@ -17,5 +17,6 @@ export interface SearchBoxMutations extends QueryMutations
17
17
 
18
18
  | Method | Description |
19
19
  | --- | --- |
20
+ | [setInputStatus(inputStatus)](./x-components.searchboxmutations.setinputstatus.md) | Sets the new input status of the search-box. |
20
21
  | [setQuery(newQuery)](./x-components.searchboxmutations.setquery.md) | Sets the new query of the search-box. |
21
22
 
@@ -0,0 +1,24 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchBoxMutations](./x-components.searchboxmutations.md) &gt; [setInputStatus](./x-components.searchboxmutations.setinputstatus.md)
4
+
5
+ ## SearchBoxMutations.setInputStatus() method
6
+
7
+ Sets the new input status of the search-box.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ setInputStatus(inputStatus: InputStatus): void;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | inputStatus | InputStatus | The new of the search-box. |
20
+
21
+ <b>Returns:</b>
22
+
23
+ void
24
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchBoxState](./x-components.searchboxstate.md) &gt; [inputStatus](./x-components.searchboxstate.inputstatus.md)
4
+
5
+ ## SearchBoxState.inputStatus property
6
+
7
+ The status of the search box input based on a state machine.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ inputStatus: string;
13
+ ```
@@ -17,5 +17,6 @@ export interface SearchBoxState extends QueryState
17
17
 
18
18
  | Property | Type | Description |
19
19
  | --- | --- | --- |
20
+ | [inputStatus](./x-components.searchboxstate.inputstatus.md) | string | The status of the search box input based on a state machine. |
20
21
  | [query](./x-components.searchboxstate.query.md) | string | The query of the search box input. |
21
22
 
@@ -33,6 +33,7 @@ export interface XComponentAliasAPI
33
33
  | [relatedTags](./x-components.xcomponentaliasapi.relatedtags.md) | ReadonlyArray&lt;RelatedTag&gt; | The [RelatedTagsXModule](./x-components.relatedtagsxmodule.md) related tags (Both selected and deselected). |
34
34
  | [results](./x-components.xcomponentaliasapi.results.md) | ReadonlyArray&lt;Result&gt; | The [SearchXModule](./x-components.searchxmodule.md) search results. |
35
35
  | [scroll](./x-components.xcomponentaliasapi.scroll.md) | Record&lt;string, [ScrollComponentState](./x-components.scrollcomponentstate.md)<!-- -->&gt; | The [ScrollXModule](./x-components.scrollxmodule.md) data state. |
36
+ | [searchBoxStatus](./x-components.xcomponentaliasapi.searchboxstatus.md) | InputStatus \| undefined | The [SearchBoxXModule](./x-components.searchboxxmodule.md) input status. |
36
37
  | [selectedFilters](./x-components.xcomponentaliasapi.selectedfilters.md) | Filter\[\] | The [FacetsXModule](./x-components.facetsxmodule.md) selected filters. |
37
38
  | [selectedRelatedTags](./x-components.xcomponentaliasapi.selectedrelatedtags.md) | ReadonlyArray&lt;RelatedTag&gt; | The [RelatedTagsXModule](./x-components.relatedtagsxmodule.md) selected related tags. |
38
39
  | [selectedSort](./x-components.xcomponentaliasapi.selectedsort.md) | string | The [SearchXModule](./x-components.searchxmodule.md) selected sort. |
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [XComponentAliasAPI](./x-components.xcomponentaliasapi.md) &gt; [searchBoxStatus](./x-components.xcomponentaliasapi.searchboxstatus.md)
4
+
5
+ ## XComponentAliasAPI.searchBoxStatus property
6
+
7
+ The [SearchBoxXModule](./x-components.searchboxxmodule.md) input status.
8
+
9
+ <b>Signature:</b>
10
+
11
+ ```typescript
12
+ readonly searchBoxStatus: InputStatus | undefined;
13
+ ```
@@ -6,8 +6,6 @@ title: AnimateWidth
6
6
 
7
7
  # AnimateWidth
8
8
 
9
- Renders a transition wrapping an element passed in the default slot and animating its width.
10
-
11
9
  ## Slots
12
10
 
13
11
  | Name | Description | Bindings<br />(name - type - description) |
@@ -6,9 +6,6 @@ title: CollapseHeight
6
6
 
7
7
  # CollapseHeight
8
8
 
9
- Renders a transition wrapping the element passed in the default slot and animating
10
- it with a height animation.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: CollapseWidth
6
6
 
7
7
  # CollapseWidth
8
8
 
9
- Renders a transition wrapping the element passed in the default slot and animating
10
- it with a width animation.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: CrossFade
6
6
 
7
7
  # CrossFade
8
8
 
9
- Renders a transition wrapping the element passed in the default slot. The transition
10
- fades between the two toggled elements at the same time.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: FadeAndSlide
6
6
 
7
7
  # FadeAndSlide
8
8
 
9
- Renders a transition group wrapping the elements passed in the default slot and animating
10
- them with a fade and slide animation.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: Fade
6
6
 
7
7
  # Fade
8
8
 
9
- Renders a transition wrapping the element passed in the default slot. The animation just fades
10
- in/out the element by changing its opacity.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: StaggeredFadeAndSlide
6
6
 
7
7
  # StaggeredFadeAndSlide
8
8
 
9
- Renders a transition group wrapping the elements passed in the default slot and animating
10
- them with an staggered fade and slide animation.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: StaggeringTransitionGroup
6
6
 
7
7
  # StaggeringTransitionGroup
8
8
 
9
- A replacement component for Vue's transition-group, that also adds the option to stagger
10
- the animations.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,12 +6,6 @@ title: BaseColumnPickerDropdown
6
6
 
7
7
  # BaseColumnPickerDropdown
8
8
 
9
- Column picker dropdown component renders {@link BaseDropdown | dropdown} component which
10
- options are the different columns you can set for a grid.
11
-
12
- It emits {@link XEventsTypes.UserClickedColumnPicker | UserClickedColumnPicker} on dropdown
13
- input.
14
-
15
9
  ## Props
16
10
 
17
11
  | Name | Description | Type | Default |
@@ -6,11 +6,6 @@ title: BaseColumnPickerList
6
6
 
7
7
  # BaseColumnPickerList
8
8
 
9
- Column picker list component renders a list of buttons to choose the columns number.
10
-
11
- Additionally, this component exposes the following props to modify the classes of the
12
- elements: `buttonClass`.
13
-
14
9
  ## Props
15
10
 
16
11
  | Name | Description | Type | Default |
@@ -6,24 +6,6 @@ title: BaseCurrency
6
6
 
7
7
  # BaseCurrency
8
8
 
9
- Renders the value received as a property which always must be a JavaScript number, with the
10
- proper format provided as a string property or by injection. The rendered tag is a span in
11
- order to render a default inline HTML element.
12
-
13
- Regarding the format or mask to be defined as string:
14
-
15
- - Use 'i' to define integer numbers.
16
- - Use 'd' to define decimal numbers. You can define the length of the decimal part. If the
17
- format doesn't include decimals, it is filled with zeros until reach the length defined with
18
- 'd's.
19
- - Integer separator must be defined between the 3rd and the 4th integer 'i' of a group.
20
- - Decimal separator must be defined between the last 'i' and the first 'd'. It can be more
21
- than one character.
22
- - If you want to hide the decimal part if it's zero, you can add the `?` symbol after the
23
- decimal characters (e.g. 'i.iii,dd?', for `1234` you would get `1.234` instead of `1.234,00`).
24
- - Set whatever you need around the integers and decimals marks.
25
- - Default mask: 'i.iii,dd' which returns '1.345,67'.
26
-
27
9
  ## Props
28
10
 
29
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: BasePriceFilterLabel
6
6
 
7
7
  # BasePriceFilterLabel
8
8
 
9
- Renders a label for a price filter, allowing to select different messages depending on the
10
- value of the filter.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,9 +6,6 @@ title: BaseRatingFilterLabel
6
6
 
7
7
  # BaseRatingFilterLabel
8
8
 
9
- Renders a label for a rating filter, allowing to override the elements used to paint
10
- the rating.
11
-
12
9
  ## Props
13
10
 
14
11
  | Name | Description | Type | Default |
@@ -6,8 +6,6 @@ title: FixedHeaderAndAsidesLayout
6
6
 
7
7
  # FixedHeaderAndAsidesLayout
8
8
 
9
- Component for use as Layout to be filled with the rest of the components.
10
-
11
9
  ## Props
12
10
 
13
11
  | Name | Description | Type | Default |