Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ftr/11726 recipeint filter fade message #4386

Open
wants to merge 21 commits into
base: qat
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
82f1795
11726 - added bottom fade
jagu65 Nov 21, 2024
81d91bc
11726 - added and styled recipient note
jagu65 Nov 21, 2024
a28063a
11726 - fade and message search only shows if no search has been made
jagu65 Nov 21, 2024
36c5e45
Merge branch 'qat' into ftr/11726-recipeint-filter-fade-message
jagu65 Nov 21, 2024
80178f2
11726 - removed unnecessary code
jagu65 Nov 21, 2024
1a37247
11726 - removed unnecessary components and styling
jagu65 Nov 21, 2024
6af3c46
11726 - moved fade and message to correct location
jagu65 Nov 22, 2024
7346e92
11726 - deleted RecipientResultsContainer.jsx
jagu65 Nov 22, 2024
61eda0e
Merge branch 'qat' into ftr/11726-recipeint-filter-fade-message
jagu65 Nov 22, 2024
6852245
11726 - fixed bottom margin
jagu65 Nov 25, 2024
261c0f9
Merge branch 'qat' into ftr/11726-recipeint-filter-fade-message
jagu65 Nov 25, 2024
d55c8b5
11726 - merged in qat
jagu65 Nov 25, 2024
ee5d7ca
11726 - added L/R padding to 'find recipients' message
jagu65 Nov 26, 2024
3569ead
11726 - first selected recipient shows as clicked on reload
jagu65 Nov 26, 2024
5b5d918
11726 - added back chips
jagu65 Nov 26, 2024
52fe244
11726 - fixed checking boxes
jagu65 Nov 26, 2024
328f10b
11726 - sorting based on if recipient is checked or not
jagu65 Nov 27, 2024
b15c4bf
11726 - defaulting to name if no searchString
jagu65 Nov 27, 2024
4b58691
11726 - alphabetically sorting checked results
jagu65 Nov 27, 2024
595ddcd
Merge branch 'qat' into ftr/11726-recipeint-filter-fade-message
jagu65 Nov 27, 2024
a0be784
11726 - got rid of proptype errors
jagu65 Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 29 additions & 56 deletions src/_scss/pages/search/filters/recipient/recipient.scss
Original file line number Diff line number Diff line change
@@ -1,24 +1,46 @@
.recipient-filter {
@import "elements/filters/_errorMessage";
@import "elements/filters/_typeahead";
@import "elements/filters/_selectedFilterBtn";
@import "mixins/selectedFilterWrap";
@import "../_singleSubmit";

.filter-item-wrap {
.autocomplete__input {
padding-bottom: 0;
}

.selected-filters {
@include selected-filter-wrap;
}
}

.recipient-results__container {
margin-top: $global-margin * 2.5;
padding: 0 0 $global-padding * 2.5 0;
padding: 0 0 $global-padding * 3 0;
height: rem(400);
overflow-y: scroll;
list-style: none;

.find-recipients-text {
text-align: center;
font-size: $smallest-font-size;
line-height: 1.5;
padding: 0 8px;

&.label {
color: $gray-90;
margin: ($global-spacing-unit * 3) 0 rem(4) 0;
font-weight: $font-semibold;
}

&.content {
color: $gray-60;
}
}

.checkbox-type-filter {
&.bottom-fade {
mask-image: linear-gradient(to top, transparent, rgba(0, 0, 0, 1) 40px);
}

.recipient-label__container {
display: flex;
flex-flow: column nowrap;
Expand Down Expand Up @@ -101,59 +123,10 @@
font-size: rem(30);
text-align: center;
margin-top: $global-margin;
.recipient-filter-message-container__text {
font-size: 2rem;
padding-bottom: 2rem;
}
}

.recipient-filter-item-wrap {
padding: 0;

@include display(flex);
@include justify-content(center);
@include align-items(center);

.recipient-input {
@include flex(1 1 auto);
margin-right: rem(4);
font-size: $small-font-size;
color: $color-base;
line-height: rem(36);
height: rem(40);

@include placeholder {
color: $color-placeholder;
}
}

.recipient-submit {
@include flex(0 0 auto);
@include singleSubmit();
}
}

.shown {
min-height: rem(180);
}

.visually-hidden {
display: none;
}

.pop-typeahead {
.usa-da-typeahead {
margin-top: 0;
}

.funding {
.usa-da-typeahead {
margin: 0 0 rem(10);
}
.recipient-filter-message-container__text {
font-size: 2rem;
padding-bottom: 2rem;
}
}

.selected-filters {
@include selected-filter-wrap;
}
}
74 changes: 0 additions & 74 deletions src/js/components/search/filters/recipient/RecipientName.jsx

This file was deleted.

This file was deleted.

Loading