From 0b5a0754fd968c64ed2fb2dfcaf73df4bedadb2d Mon Sep 17 00:00:00 2001 From: Joan Date: Mon, 24 Sep 2018 11:10:03 +0200 Subject: [PATCH] searchbar with icons #371 --- .../src/components/searchbar/searchbar.html | 30 +++++++++++-------- .../core/src/components/textfield/style.scss | 11 +++++++ e2e/helpers/selectors.js | 8 ++--- 3 files changed, 32 insertions(+), 17 deletions(-) diff --git a/client/core/src/components/searchbar/searchbar.html b/client/core/src/components/searchbar/searchbar.html index 9bc053f1b8..61132d5c0f 100644 --- a/client/core/src/components/searchbar/searchbar.html +++ b/client/core/src/components/searchbar/searchbar.html @@ -1,18 +1,22 @@
- - - - - + + + + + + + + + +
[icon="icon-clone"]`, acceptClonationAlertButton: `vn-item-index [vn-id="clone"] [response="ACCEPT"]`, searchItemInput: `${components.vnTextfield}`, - searchButton: `vn-searchbar vn-icon-button[icon="search"]`, + searchButton: `vn-searchbar vn-icon[icon="search"]`, closeItemSummaryPreview: 'vn-item-index [vn-id="preview"] button.close' }, itemCreateView: { @@ -278,7 +278,7 @@ export default { searchResultDate: `vn-ticket-index vn-table vn-tbody > a:nth-child(1) > vn-td:nth-child(4)`, searchResultAddress: `vn-ticket-index vn-table vn-tbody > a:nth-child(1) > vn-td:nth-child(6)`, searchTicketInput: `vn-ticket-index ${components.vnTextfield}`, - searchButton: `vn-ticket-index vn-searchbar vn-icon-button[icon="search"]` + searchButton: `vn-ticket-index vn-searchbar vn-icon[icon="search"]` }, ticketNotes: { notesButton: `vn-menu-item a[ui-sref="ticket.card.observation"]`, @@ -384,7 +384,7 @@ export default { claimsIndex: { searchClaimInput: `vn-claim-index ${components.vnTextfield}`, searchResult: `vn-claim-index vn-card > div > vn-table > div > vn-tbody > vn-tr`, - searchButton: `vn-claim-index vn-searchbar > form > vn-horizontal > vn-icon-button > vn-icon` + searchButton: `vn-claim-index vn-searchbar vn-icon[icon="search"]` }, claimBasicData: { basicDataButton: `vn-menu-item a[ui-sref="claim.card.basicData"]`,