@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.
- package/build/ft-search-bar.js +4 -3
- package/build/ft-search-bar.light.js +64 -71
- package/build/ft-search-bar.min.js +360 -343
- package/build/ft-search-bar.styles.js +0 -7
- package/package.json +16 -16
package/build/ft-search-bar.js
CHANGED
|
@@ -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="
|
|
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 })
|