atomic-automatic-facet

This is for:

Developer

An automatic facet is a special type of facet generated by the automatic facets feature. Unlike regular facets, which need to be explicitly defined and requested in the query, automatic facets are dynamically generated by the index in response to the query.

Note: This component should never be used on its own. It is used internally by the atomic-automatic-facet-generator component to automatically render updated facets. However, you can use the shadow parts to style the automatically generated facets.

To learn more about the automatic facet generator feature, see: About the Facet Generator.

Shadow Parts

Part Description

clear-button

The button that resets the actively selected facet values.

clear-button-icon

The clear button icon.

facet

The wrapper for the entire facet.

label-button

The button that displays the label and allows to expand/collapse the facet.

label-button-icon

The label button icon.

value-checkbox

The facet value checkbox, available when display is 'checkbox'.

value-checkbox-checked

The checked facet value checkbox, available when display is 'checkbox'.

value-checkbox-icon

The facet value checkbox icon, available when display is 'checkbox'.

value-checkbox-label

The facet value checkbox clickable label, available when display is 'checkbox'.

value-count

The facet value count, common for all displays.

value-label

The facet value label, common for all displays.

values

The facet values container.

CSS Custom Content

Name Description

--atomic-facet-checkbox-size

Size of the checkbox.