@fluid-topics/ft-search-bar 1.2.67 → 1.2.69

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.
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  import { html, nothing } from "lit";
8
8
  import { property, query, state } from "lit/decorators.js";
9
9
  import { repeat } from "lit/directives/repeat.js";
10
- import { Debouncer, flatDeep, FtLitElement, isTouchScreen, jsonProperty, noTextInputDefaultClearButton, ParametrizedLabelResolver, SearchPlaceConverter, waitFor } from "@fluid-topics/ft-wc-utils";
10
+ import { Debouncer, flatDeep, FtLitElement, isTouchScreen, jsonProperty, noTextInputDefaultClearButton, ParametrizedLabelResolver, screenReaderStyles, SearchPlaceConverter, waitFor } from "@fluid-topics/ft-wc-utils";
11
11
  import { FtSizeCategory, FtSizeWatcher } from "@fluid-topics/ft-size-watcher";
12
12
  import { FtTypography, FtTypographyBody2 } from "@fluid-topics/ft-typography";
13
13
  import { facetToFilter, selectedValues, unquote } from "./converters";
@@ -221,7 +221,7 @@ class FtSearchBar extends FtLitElement {
221
221
  render() {
222
222
  return html `
223
223
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
224
- <div class="ft-search-bar--aria-live" aria-live="polite" aria-atomic="true">
224
+ <div class="sr-only" aria-live="polite" aria-atomic="true">
225
225
  ${this.renderLiveText()}
226
226
  </div>
227
227
  ${this.renderSearchBar()}
@@ -695,7 +695,8 @@ FtSearchBar.styles = [
695
695
  searchBarCss,
696
696
  facetsCss,
697
697
  FacetsChipsManager.styles,
698
- SuggestManager.styles
698
+ SuggestManager.styles,
699
+ screenReaderStyles
699
700
  ];
700
701
  __decorate([
701
702
  property({ type: Boolean })