@@ -138,52 +138,52 @@ export default class Search extends Component {
138138
139139 <template >
140140 <div
141- class =' search-wrapper'
141+ class =" search-wrapper"
142142 {{closeOnFocusOutside this . closeMenu.perform}}
143143 {{closeOnEscape this . closeMenu.perform this . isOpen}}
144144 {{closeOnClickOutside this . closeMenu.perform}}
145145 ...attributes
146146 >
147147 <form
148- role =' search'
149- {{on ' submit' this . submitSearch}}
148+ role =" search"
149+ {{on " submit" this . submitSearch}}
150150 data-test-search-form
151151 >
152152 <label
153- for =' {{this .searchInputId }} '
154- class =' screen-reader-text'
153+ for =" {{this .searchInputId }} "
154+ class =" screen-reader-text"
155155 data-test-search-label
156156 >
157- {{yield to =' searchInputScreenReaderLabel' }}
157+ {{yield to =" searchInputScreenReaderLabel" }}
158158 </label >
159159 <input
160- class =' search-input'
161- id =' {{this .searchInputId }} '
162- type =' search'
163- {{on ' input' this . search.perform}}
164- {{on ' focus' this . onfocus}}
165- autocomplete =' off'
166- autocorrect =' off'
167- autocapitalize =' off'
160+ class =" search-input"
161+ id =" {{this .searchInputId }} "
162+ type =" search"
163+ {{on " input" this . search.perform}}
164+ {{on " focus" this . onfocus}}
165+ autocomplete =" off"
166+ autocorrect =" off"
167+ autocapitalize =" off"
168168 spellcheck ={{ false }}
169- placeholder =' Search'
169+ placeholder =" Search"
170170 aria-controls ={{if this . isOpen this . resultsId}}
171171 aria-owns ={{if this . isOpen this . resultsId}}
172- aria-expanded ={{if this . isOpen ' true' ' false' }}
172+ aria-expanded ={{if this . isOpen " true" " false" }}
173173 data-test-search-input
174174 />
175175 </form >
176176 {{#if this . isOpen }}
177177 <div
178- id =' {{this .resultsId }} '
179- class =' search-results'
180- aria-label =' Search Results'
178+ id =" {{this .resultsId }} "
179+ class =" search-results"
180+ aria-label =" Search Results"
181181 data-test-search-dropdown
182182 >
183183 <div
184- class =' screen-reader-text'
185- aria-live =' polite'
186- aria-atomic =' true'
184+ class =" screen-reader-text"
185+ aria-live =" polite"
186+ aria-atomic =" true"
187187 data-test-screen-reader
188188 >
189189 {{#if this . noResults }}
@@ -194,38 +194,38 @@ export default class Search extends Component {
194194 {{/if }}
195195 </div >
196196 {{#if this . searchService.search.isRunning }}
197- <div class =' search-results--searching' >
197+ <div class =" search-results--searching" >
198198 Searching...
199199 </div >
200200 {{else if this . noResults }}
201- <div class =' search-results--no-results' data-test-search-no-results >
201+ <div class =" search-results--no-results" data-test-search-no-results >
202202 No Results Found.
203203 <p >Try searching the
204204 <a
205- href =' https://www.emberjs.com/deprecations/'
206- target =' _deprecations'
205+ href =" https://www.emberjs.com/deprecations/"
206+ target =" _deprecations"
207207 >deprecations guide</a >.</p >
208208 </div >
209209 {{else if this . queryIsPresent }}
210210 {{yield
211211 this . searchService.results
212212 this . closeMenu.perform
213- to =' results'
213+ to =" results"
214214 }}
215215 {{else }}
216- <div class =' search-results--instructions' >
217- {{yield to =' instructions' }}
216+ <div class =" search-results--instructions" >
217+ {{yield to =" instructions" }}
218218 </div >
219219 {{/if }}
220- <div class =' powered-by-algolia' >
220+ <div class =" powered-by-algolia" >
221221 <a
222- href =' https://www.algolia.com/'
223- target =' _blank'
224- rel =' noopener noreferrer'
222+ href =" https://www.algolia.com/"
223+ target =" _blank"
224+ rel =" noopener noreferrer"
225225 >
226226 <img
227- src =' /assets/images/search-by-algolia.svg'
228- alt =' Search Powered by Algolia'
227+ src =" /assets/images/search-by-algolia.svg"
228+ alt =" Search Powered by Algolia"
229229 />
230230 </a >
231231 </div >
0 commit comments