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

Release v0.6.1 (Sprint 39) #1754

Merged
merged 49 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
4fe0c8b
Upload from db bak failing, adding debug steps
Jun 7, 2024
1d1a199
PXBF-1445-update-typography: remove default utility class from headin…
scottqueen-bixal Jun 18, 2024
e480565
PXBF-1445-update-typography: include p wrapper around chevron content
scottqueen-bixal Jun 18, 2024
898d0f3
PXBF-1445-update-typography: remove p mixin, so we just inherit from …
scottqueen-bixal Jun 18, 2024
9cb4ec5
PXBF-1445-update-typography: update heading an p type asignments to k…
scottqueen-bixal Jun 18, 2024
8f4cfd9
PXBF-1445-update-typography: updated snaps
scottqueen-bixal Jun 18, 2024
a008c96
PXBF-1445-update-typography: adjustments on typography style assignments
scottqueen-bixal Jun 18, 2024
8f6e4a7
PXBF-1445-update-typography: return null on id so it won't render exc…
scottqueen-bixal Jun 18, 2024
69241cf
PXBF-1445-update-typography: add class to target section description
scottqueen-bixal Jun 18, 2024
375ecb8
PXBF-1445-update-typography: set up new typography styles
scottqueen-bixal Jun 18, 2024
fcc1d78
PXBF-1445-update-typography: document and organize by font family
scottqueen-bixal Jun 18, 2024
e2fce31
PXBF-1445-update-typography: updated snaps
scottqueen-bixal Jun 18, 2024
79801b8
PXBF-1445-update-typography: clone merriweather and sans mixins
scottqueen-bixal Jun 18, 2024
7204051
PXBF-1445-update-typography: replace static mixins with functional mi…
scottqueen-bixal Jun 18, 2024
0781447
PXBF-1445-update-typography: update font mixin with new functional mixin
scottqueen-bixal Jun 18, 2024
2e62ab5
PXBF-1445-update-typography: PXBF-1445-update-typography: tweak font …
scottqueen-bixal Jun 18, 2024
4229751
PXBF-1445-update-typography: Merge branch 'dev' of github.com:GSA/px-…
scottqueen-bixal Jun 20, 2024
38d3a7f
PXBF-1575-update-lifeevent-controller: add dependency injection
gchi25 Aug 6, 2024
844a4e2
PXBF-1575-update-lifeevent-controller: define service
gchi25 Aug 6, 2024
0be5790
PXBF-1575-update-lifeevent-controller: update call to life event cont…
gchi25 Aug 6, 2024
d772da0
PXBF-1445-update-typography: merge in to update with dev
scottqueen-bixal Aug 7, 2024
c18e591
Merge pull request #1649 from GSA/1575-update-lifeevent-controller
gchi25 Aug 26, 2024
ef7d493
PXBF-1445-update-typography: Merge branch 'dev' of github.com:GSA/px-…
scottqueen-bixal Aug 26, 2024
a55361e
PXBF-1445-update-typography: resolve buttons mixins
scottqueen-bixal Aug 26, 2024
128ee68
PXBF-1445-update-typography: updated typography styles to align with …
scottqueen-bixal Aug 27, 2024
4eea984
PXBF-1445-update-typography: remove script import since we rely on us…
scottqueen-bixal Aug 27, 2024
b710e60
Merge pull request #1460 from GSA/1445-update-typography
scottqueen-bixal Aug 27, 2024
279a478
PXBF-remove-npm-step-deploy: Remove npm install cmd from linters step
Aug 27, 2024
335960e
Merge pull request #1730 from GSA/remove-npm-step-deploy
XavierMetichecchia Aug 27, 2024
28a2ce1
Change path
Aug 27, 2024
7e7b3cb
Merge pull request #1731 from GSA/fix-pathing-on-php-test
XavierMetichecchia Aug 27, 2024
d1d674a
PXBF-1445-update-typography: resolve lint error
scottqueen-bixal Aug 27, 2024
efe06f2
Merge pull request #1732 from GSA/1445-update-typography
scottqueen-bixal Aug 27, 2024
b2781f7
THog Test
Aug 28, 2024
ca1fa7a
PXBF-dev: THog Test 2
Aug 28, 2024
6911922
PXBF-1739-all-benefits-icon: include all-benefits icons
scottqueen-bixal Aug 28, 2024
b718415
PXBF-dev: Fix for gh api call not getting gh issue in WAF pipeline sc…
Aug 29, 2024
efd33b4
PXBF-1737-date-validation-not-required: remove disabled value from se…
scottqueen-bixal Aug 30, 2024
c73f761
PXBF-1737-date-validation-not-required: remove disabled value from se…
scottqueen-bixal Aug 30, 2024
246b537
PXBF-1737-date-validation-not-required: assertions did not follow obj…
scottqueen-bixal Aug 30, 2024
2e71b66
PXBF-1737-date-validation-not-required: always return true if month s…
scottqueen-bixal Aug 30, 2024
8a1d5a9
PXBF-1737-date-validation-not-required: invalid props on date return …
scottqueen-bixal Aug 30, 2024
f09828f
Merge pull request #1740 from GSA/1739-all-benefits-icon
scottqueen-bixal Aug 30, 2024
58d56a7
PXBF-1737-date-validation-not-required: include new validation handle…
scottqueen-bixal Aug 30, 2024
55da7fe
PXBF-1737-date-validation-not-required: make a valid update on date c…
scottqueen-bixal Aug 30, 2024
c5e7c9b
PXBF-dev: new tablet breakpoint
scottqueen-bixal Aug 30, 2024
903654b
PXBF-dev: adjust width on buttons across screen widths
scottqueen-bixal Aug 30, 2024
33c9964
Merge pull request #1746 from GSA/1737-date-validation-not-required
scottqueen-bixal Aug 30, 2024
f8a6609
Merge pull request #1748 from GSA/1747-adjust-button-widths-mobile
scottqueen-bixal Aug 30, 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
3 changes: 1 addition & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
cd ..
- name: Install Linters and Sniffers
run: |
npm install --prefix ./benefit-finder
composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer false
composer global require --dev drupal/coder php-parallel-lint/php-parallel-lint squizlabs/php_codesniffer=*
COMPOSER_DIR=$(composer -n config --global home)
Expand All @@ -50,7 +49,7 @@ jobs:
- name: PHP Lint
run: |
COMPOSER_DIR=$(composer -n config --global home)
$COMPOSER_DIR/vendor/bin/parallel-lint -e php,module,inc,install,test,profile,theme ./benefit-finder ./benefit-finder # | tee /tmp/results/php-lint.log
$COMPOSER_DIR/vendor/bin/parallel-lint -e php,module,inc,install,test,profile,theme ./usagov_benefit_finder # | tee /tmp/results/php-lint.log
- name: PHP CodeSniff (Ignore warnings)
run: |
COMPOSER_DIR=$(composer -n config --global home)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Benefit Finder v2

[Jump to Getting Started](#getting-started)

## Synopsis
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports[`loads intro 1`] = `
>
<h1
aria-level="1"
class="bf-chevron-heading font-family-sans"
class="bf-chevron-heading "
id="skip-to-h1"
role="heading"
>
Expand Down Expand Up @@ -53,7 +53,7 @@ exports[`loads intro 1`] = `
>
<h2
aria-level="2"
class="font-family-sans"
class=""
role="heading"
>
Steps
Expand Down Expand Up @@ -115,7 +115,7 @@ exports[`loads intro 1`] = `
>
<h2
aria-level="2"
class="bf-intro-process-notices-heading font-family-sans"
class="bf-intro-process-notices-heading "
role="heading"
>
Before you start:
Expand Down
4 changes: 2 additions & 2 deletions benefit-finder/src/shared/components/Accordion/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
}

.bf-accordion-heading {
@include h6;
@include h5($font-family: 'sans');

letter-spacing: 0;
}

.bf-accordion-sub-heading {
@include p1;
@include p;

letter-spacing: 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`Alert > renders a match to the previous snapshot when it has an error 1
>
<h2
aria-level="2"
class="bf-usa-alert__heading usa-alert__heading font-family-sans"
class="bf-usa-alert__heading usa-alert__heading "
data-testid="bf-alert-heading"
role="heading"
>
Expand Down Expand Up @@ -45,7 +45,7 @@ exports[`Alert > renders a match to the previous snapshot, default 1`] = `
>
<h2
aria-level="2"
class="bf-usa-alert__heading usa-alert__heading font-family-sans"
class="bf-usa-alert__heading usa-alert__heading "
data-testid="bf-alert-heading"
role="heading"
>
Expand Down Expand Up @@ -76,7 +76,7 @@ exports[`Alert > renders a match to the previous snapshot, error type with no er
>
<h2
aria-level="2"
class="bf-usa-alert__heading usa-alert__heading font-family-sans"
class="bf-usa-alert__heading usa-alert__heading "
data-testid="bf-alert-heading"
role="heading"
>
Expand Down
6 changes: 3 additions & 3 deletions benefit-finder/src/shared/components/Alert/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
}

h2.bf-usa-alert__heading {
@include h6;
@include h5($font-family: 'sans');
}

.bf-usa-alert__text {
@include p2;
.bf-errors-list-item a {
@include p;
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ exports[`BenefitAccordionGroup > renders a match to the previous snapshot 1`] =
<div>
<h4
aria-level="4"
class="bf-usa-detail-title font-family-sans"
class="bf-usa-detail-title "
role="heading"
>
By Federal Emergency Management Agency (FEMA)
Expand All @@ -80,7 +80,7 @@ exports[`BenefitAccordionGroup > renders a match to the previous snapshot 1`] =

<h5
aria-level="5"
class="bf-key-eligibility-criteria-heading font-family-sans"
class="bf-key-eligibility-criteria-heading "
role="heading"
>
Key eligibility criteria
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,20 @@
.bf-usa-accordion {
margin-bottom: space.$space-sm-plus;

.bf-usa-detail-title {
margin-bottom: space.$space-sm;
}

.bf-usa-detail-summary {
p {
@include p;

margin-bottom: space.$space-md-plus;
}
}

.bf-key-eligibility-criteria-heading {
@include h5($font-family: 'sans');
}

.bf-usa-accordion-group-cta-wrapper {
display: flex;
justify-content: center;
Expand All @@ -28,6 +34,5 @@

.bf-expand-all {
margin-bottom: space.$space-lg;
margin-top: space.$space-lg;
}
}
3 changes: 3 additions & 0 deletions benefit-finder/src/shared/components/Button/_index.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
@use '../../styles/space/_index.scss' as space;
@use '../../styles/functions/_index.scss' as *;
@use '../../styles/mixins/_index.scss' as *;
@use '../../styles/colors/_index.scss' as colors;

.bf-usa-button {
@include important-bold($font-family: 'sans');

padding: space.$space-md space.$space-md-gap;
font-size: rem(17.6px);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`Card > renders a match to the previous snapshot 1`] = `
>
<h3
aria-level="3"
class="bf-usa-card__heading usa-card__heading font-family-sans"
class="bf-usa-card__heading usa-card__heading "
role="heading"
/>
</div>
Expand Down
12 changes: 8 additions & 4 deletions benefit-finder/src/shared/components/Card/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,23 @@
}
}

.bf-usa-card__header {
padding-bottom: 0;
}

h3.bf-usa-card__heading {
@include h6;
@include subheadings($font-family: 'sans');

font-weight: 700;
text-decoration: underline;
}

.bf-usa-card__body {
@include p;

display: none;
}

.bf-usa-card__cta {
.bf-usa-card__cta,
.bf-usa-card__body {
padding: space.$padding-bottom-md-plus;
padding-top: 0;
margin-top: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`Chevron > renders a match to the previous snapshot 1`] = `
>
<h1
aria-level="1"
class="bf-chevron-heading font-family-sans"
class="bf-chevron-heading "
id="skip-to-h1"
role="heading"
/>
Expand Down
16 changes: 2 additions & 14 deletions benefit-finder/src/shared/components/Chevron/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@use '../../styles/mixins/_index.scss' as *;

h1.bf-chevron-heading {
@include h0;
@include h1;
}

.bf-chevron {
Expand All @@ -15,22 +15,10 @@ h1.bf-chevron-heading {
margin: 0 auto;
color: color.$white;
margin-bottom: rem(140px);

.grid-container {
max-width: rem(850px);
}
}

.bf-chevron-description p {
@include p;

line-height: rem(25.92px);
}

.bf-chevron-description p strong {
@include important-x-bold;

line-height: rem(25.92px);
@include intro-text;
}

// triangle down
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ exports[`Date > renders a match to the previous snapshot 1`] = `
name="applicant_date_of_birth_0_month"
>
<option
disabled=""
value=""
>
-Select-
Expand Down
5 changes: 0 additions & 5 deletions benefit-finder/src/shared/components/Date/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@
}

.bf-usa-input {
border-radius: rem(3px);

@include p;

&.usa-input--error {
padding: rem(8px);
height: initial;
border-radius: rem(3px);
border-color: color.$alert-red;
}
}
Expand Down
4 changes: 2 additions & 2 deletions benefit-finder/src/shared/components/Date/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const Date = ({
aria-errormessage={`month-error-description-${id}`}
data-datetype="month"
>
<option value="" key="default" disabled>
<option value="" key="default">
{dateDefaultValue}
</option>
{monthOptions.map((option, i) => (
Expand Down Expand Up @@ -165,7 +165,7 @@ Date.propTypes = {
value: PropTypes.object,
ui: PropTypes.object,
id: PropTypes.string,
invalid: PropTypes.array,
invalid: PropTypes.oneOfType([PropTypes.bool, PropTypes.array]),
}

export default Date
5 changes: 5 additions & 0 deletions benefit-finder/src/shared/components/Fieldset/_index.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
@use '../../styles/space/_index.scss' as space;
@use '../../styles/colors/_index.scss' as color;
@use '../../styles/mixins/_index.scss' as *;

.bf-usa-fieldset {
position: relative;
padding: 0;
margin: 0;

.bf-hint {
@include p;
}

.bf-error-detail {
margin: 0 0 space.$space-sm;
color: color.$alert-red;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`Heading > renders a match to the previous snapshot 1`] = `
<DocumentFragment>
<h1
aria-level="1"
class="font-family-sans"
class=""
id="skip-to-h1"
role="heading"
/>
Expand Down
2 changes: 1 addition & 1 deletion benefit-finder/src/shared/components/Heading/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import './_index.scss'
*/
const Heading = ({ children, className, headingLevel, ...props }) => {
// pass our default classes
const defaultClasses = ['font-family-sans']
const defaultClasses = ['']

// return html as a tring for heading element values
const Tag = `h${headingLevel}`
Expand Down
8 changes: 0 additions & 8 deletions benefit-finder/src/shared/components/Hint/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,11 @@
@use '../../styles/mixins/_index.scss' as *;

.bf-usa-hint--required {
@include p;

color: color.$dark-medium-grey;
}

.bf-required {
@include p;

color: color.$dark-medium-grey;
font-weight: 400;
margin-left: space.$space-sm;
}

.bf-usa-hint {
@include p;
}
3 changes: 3 additions & 0 deletions benefit-finder/src/shared/components/Icon/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ const Icon = ({ type, color, ...props }) => {
let icon

switch (type) {
case 'all_benefits':
icon = <Icons.AllBenefits />
break
case 'carrot-solid':
icon = <Icons.CarrotSolid color={color} />
break
Expand Down
Loading
Loading