@coveo/quantic 3.21.2-pre.edc7f24fa5 → 3.22.0-pre.28077273eb

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.
@@ -20,7 +20,7 @@
20
20
  onquantic__headerkeydown={toggleFacetVisibility}
21
21
  >
22
22
  <lightning-button-icon
23
- class="actionButtonCssClasses"
23
+ class={actionButtonCssClasses}
24
24
  slot="actions"
25
25
  onmousedown={preventDefault}
26
26
  icon-name={actionButtonIcon}
@@ -32,6 +32,7 @@
32
32
  </lightning-button-icon>
33
33
  <template if:true={hasActiveValues}>
34
34
  <button
35
+ data-testid="clear-selection-button"
35
36
  class="facet__clear-filter slds-button slds-grid slds-grid_vertical-align-center slds-p-horizontal_x-small slds-m-top_small"
36
37
  onclick={clearSelections}
37
38
  title={clearFilterLabel}
@@ -49,14 +50,13 @@
49
50
  </button>
50
51
  </template>
51
52
  <template if:false={isCollapsed}>
52
- <fieldset>
53
+ <fieldset data-testid="facet__body">
53
54
  <legend class="slds-assistive-text">{field}</legend>
54
55
  <ul class="slds-has-dividers_around-space slds-m-top_medium">
55
56
  <template for:each={values} for:item="v">
56
- <li class="slds-grid" key={v.value}>
57
+ <li class="slds-grid" key={v.start}>
57
58
  <c-quantic-facet-value
58
59
  onquantic__selectvalue={onSelectValue}
59
- key={v.start}
60
60
  item={v}
61
61
  is-checked={v.checked}
62
62
  formatting-function={formattingFunction}