-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: move search component into molecules
- Loading branch information
1 parent
3cba6b6
commit 11b08c8
Showing
13 changed files
with
10 additions
and
27 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
src/components/01-atoms/12-form-elements/12-search-inputs/search-inputs.njk
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 0 additions & 10 deletions
10
src/components/01-atoms/12-form-elements/_search-input/_search-input.config.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/components/01-atoms/12-form-elements/_search-input/_search-input.njk
This file was deleted.
Oops, something went wrong.
14 changes: 4 additions & 10 deletions
14
.../12-search-inputs/search-inputs.config.js → ...s/02-molecules/07-search/search.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% if not standAlone %}<div class="spacer"></div>{% endif %} | ||
<form class="search-input"> | ||
<label for="{{ name }}" class="screen-reader-text">{{ label }}</label> | ||
<input id="{{ name }}" name="{{ name }}" placeholder="{{ placeholder }}" type="search"{% if disabled %} disabled{% endif %} /> | ||
<button type="submit"{% if disabled %} disabled{% endif %}><span class="screen-reader-text">{{ submitLabel }}</span>{% render '@svg', {svg: 'search'}, true %}</button> | ||
</form> |