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

Remove slide deck reference from design.login.gov. #328

Closed
wants to merge 245 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
4494e2c
Remove slide deck reference from design.login.gov.
Jan 11, 2021
86e76fb
yaml getting in the way, yuck.
Jan 11, 2021
e048d67
Merge pull request #176 from 18F/je-remove-slide-deck
Jan 11, 2021
cc5188f
Remove "Coming soon!" pages from the design system.
Jan 15, 2021
9a9ac3c
Merge pull request #177 from 18F/je-remove-wip-pages
Jan 15, 2021
09c78e5
Toggle hidden content visible for visual regression tests (#160)
aduth Jan 19, 2021
7e500a5
Remove Accessibility statement from design.login.gov.
Jan 20, 2021
415142c
Merge pull request #178 from 18F/je-remove-accessibility
Jan 20, 2021
e2e9baa
Enable Jekyll redirect plugin (#180)
aduth Jan 20, 2021
77645c3
Remove layouts section (#179)
aduth Jan 20, 2021
d5e886e
Remove Spinner component button variant (#183)
aduth Jan 27, 2021
c5f49dd
Link to base USWDS component documentation (#182)
aduth Jan 28, 2021
d9e9e58
Remove accessibility policies page (#181)
aduth Jan 29, 2021
3fc305b
Fix prose sibling heading margin selectors (#184)
aduth Feb 2, 2021
e9e12d0
Update favicon images to match (override) USWDS (#185)
aduth Feb 19, 2021
9aba9bb
Fix native ES module subpath resolution (#186)
aduth Feb 22, 2021
93747d7
Prepare 4.0.0 release (#187)
aduth Feb 22, 2021
ca8c31c
LG-4226: Fix double focus ring (#190)
aduth Feb 25, 2021
d96515e
Improve README guidance for release process (#188)
aduth Feb 25, 2021
e03de2a
LG-4226: Remove deprecated button variants (#189)
aduth Feb 25, 2021
d7c1e3d
Set link hover color as "primary-dark" (#196)
aduth Feb 26, 2021
99405e7
Fix sideEffects package configuration for "auto" entrypoints (#194)
aduth Feb 26, 2021
713a3da
LG-4226: Improve support for unstyled button (#191)
aduth Feb 26, 2021
238760d
LG-4226: Add wide button variants (#192)
aduth Feb 26, 2021
f66d22a
LG-4226: Document current button offerings ("big", "outline") (#193)
aduth Mar 1, 2021
6ab7e95
LG-4226: Add explicit flexible width button modifier (#197)
aduth Mar 2, 2021
fe159b8
Remove password strength meter component (#195)
aduth Mar 3, 2021
d625dac
Bump elliptic from 6.5.3 to 6.5.4 (#199)
dependabot[bot] Mar 9, 2021
8a6b483
Prepare 5.0.0 release (#198)
aduth Mar 9, 2021
2994661
LG-4226: Fix double focus ring on unstyled buttons (#200)
aduth Mar 10, 2021
c0b788a
Buttons: Improve unstyled button styles to visually match link appear…
aduth Mar 23, 2021
085daf9
Apply inherited font smoothing to base unstyled button styles (#202)
aduth Mar 23, 2021
85851f8
Reduce border width on default outline button (#205)
aduth Mar 29, 2021
5259fea
Bump kramdown from 2.3.0 to 2.3.1 (#207)
dependabot[bot] Mar 29, 2021
a88f9be
first pass at side navigation
jmdembe Mar 24, 2021
caeb10a
edit sidenav component
jmdembe Mar 25, 2021
625e773
add search page to components
jmdembe Mar 25, 2021
15489d0
fix indentation
jmdembe Mar 25, 2021
1123b45
add active class, make linter happy
jmdembe Mar 25, 2021
180b798
make linter happy
jmdembe Mar 25, 2021
0eca26a
Add link to USWDS component and SCSS
jmdembe Mar 25, 2021
d7f91c0
Update src/scss/components/_sidenav.scss
jmdembe Mar 26, 2021
0b59690
active -> usa-current
jmdembe Mar 26, 2021
39f1a91
remove unneeded styling
jmdembe Mar 26, 2021
5559c97
change color of current selected link
jmdembe Mar 26, 2021
2b68264
change color to variable
jmdembe Mar 26, 2021
077e48d
remove border from child and grandchild links
jmdembe Mar 26, 2021
1ced1c2
remove background color from selected menu item; add class to small s…
jmdembe Mar 29, 2021
16b27f0
add usa-parent to parent list items
jmdembe Mar 29, 2021
3b4bc26
Update src/scss/components/_sidenav.scss
jmdembe Mar 29, 2021
0b9f427
change hover color of currently selected parent link, remove href link
jmdembe Mar 29, 2021
c1c451e
remove unused sidenav class
jmdembe Mar 29, 2021
ce0130b
Update src/scss/components/_sidenav.scss
jmdembe Mar 30, 2021
54c4b0d
make sure styles pass linter
jmdembe Mar 30, 2021
7bc4f7d
Remove rounded corners on current sidenav item
aduth Mar 30, 2021
d34eb59
Merge pull request #204 from 18F/jd-4405-custom-components
jmdembe Mar 30, 2021
1a63c2c
Bump dependencies through npm audit fix (#208)
aduth Mar 30, 2021
ba2b1f7
Fix build setup to be compatible with latest Federalist release (#211)
aduth Apr 6, 2021
96ef102
Fix search input square corners (#213)
aduth Apr 20, 2021
4226b82
Load utility classes after components (#212)
aduth Apr 28, 2021
aada50c
Add package entrypoints for granular stylesheet loading (#214)
aduth Apr 28, 2021
b4e4bed
Consolidate unstyled font smoothing styles (#206)
aduth Apr 28, 2021
9d93031
Prepare 5.1.0 release (#210)
aduth Apr 29, 2021
a2850c0
Bump rexml from 3.2.4 to 3.2.5 (#215)
dependabot[bot] May 3, 2021
e8d7580
Bump lodash from 4.17.20 to 4.17.21 (#216)
dependabot[bot] May 7, 2021
d87320f
Bump hosted-git-info from 2.6.0 to 2.8.9 (#217)
dependabot[bot] May 10, 2021
9d91946
Bump postcss from 8.1.2 to 8.2.10 (#218)
dependabot[bot] May 12, 2021
879c339
Update .nvmrc to use latest LTS release (#220)
aduth May 18, 2021
ba2a80c
Bump browserslist from 4.3.6 to 4.16.6 (#221)
dependabot[bot] May 24, 2021
9c7c49b
Bump Jest timeout for SCSS compilation tests (#222)
aduth May 26, 2021
0015a55
Upgrade USWDS to latest (from 2.9.0 to 2.11.2) (#219)
aduth May 26, 2021
55471eb
Bump all dependencies to latest (#223)
aduth Jun 1, 2021
f8242e8
Bump ws from 6.2.1 to 6.2.2 (#224)
dependabot[bot] Jun 4, 2021
2515e41
Fix mobile primary navigation styles (#225)
aduth Jun 17, 2021
112f979
Update config + nav yml to reflect removal of the research section.
Jul 7, 2021
bfed82f
Remove more /research ref in config.yml. Blarg!
Jul 7, 2021
8899f2f
Remove unused images and keepin it tiday.
Jul 7, 2021
4bcdb88
Merge pull request #226 from 18F/je-remove-outdated-research
Jul 7, 2021
41d4416
Bump addressable from 2.6.0 to 2.8.0 (#227)
dependabot[bot] Jul 13, 2021
e6529d9
Update link in CHANGELOG.md.
Jul 13, 2021
cf716ec
Remove custom Accordion close button element (#229)
aduth Jul 15, 2021
137014d
Remove custom Accordion close button element (#229)
aduth Jul 15, 2021
61393d4
Add Jekyll guidance to README.
Jul 16, 2021
425bbc1
Update README.md
Jul 16, 2021
826e74d
Update README.md
Jul 16, 2021
b6b5077
Update README.md
Jul 16, 2021
20933ae
Add "Usage" section to README.
Jul 16, 2021
58a7f78
Update docs/index.md
Jul 16, 2021
042edac
Update capitalization guidance for Login.gov content branding.
Jul 16, 2021
17b716d
Fixing grammah!
Jul 16, 2021
eea353b
Update docs/_components/search.md
Jul 16, 2021
d38fdb4
Update docs/_components/search.md
Jul 16, 2021
f496128
Merge pull request #228 from 18F/je-remove-usage-page
Jul 16, 2021
eec13c7
Merge branch 'main' into je-update-capitalization-guidance
Jul 16, 2021
62601e1
Merge pull request #231 from 18F/je-update-capitalization-guidance
Jul 16, 2021
2e9e651
Add Utilties section to design.login.gov.
Jul 16, 2021
833f756
Add redirect_from to preserve past urls.
Jul 16, 2021
4b2e9e1
Add Security Experience Principles to help make the damn website work.
Jul 16, 2021
4c16729
Remove "side nav" from utilities.... that is.. nope.
Jul 19, 2021
0e0bbd1
Add specific guidance for new capitalization of Login.gov.
Jul 20, 2021
2360fe3
Merge pull request #232 from 18F/je-update-capitalization-guidance-take2
Jul 20, 2021
36aba49
Revert temporary workaround for upstream fix (#230)
aduth Jul 20, 2021
1413c7c
Update docs/_utilities/typography.md
Jul 22, 2021
3307155
Update docs/security-experience-principles.md
Jul 22, 2021
68089a4
Merge pull request #233 from 18F/je-add-sx-principles
Jul 22, 2021
7acc668
Fix integration tests for Color page (#234)
aduth Jul 23, 2021
45a00aa
Prepare 6.0.0 release (#235)
aduth Aug 9, 2021
7b8e5f4
Refactor SASS variables to only include overrides (#236)
aduth Aug 10, 2021
b645022
Bump path-parse from 1.0.6 to 1.0.7 (#238)
dependabot[bot] Aug 10, 2021
af699d8
Refactor utilties settings to include only overrides (#237)
aduth Aug 17, 2021
7865f64
Checkbox / Radio Button: Improve HTML whitespace sensitivity (#239)
aduth Aug 18, 2021
6763d81
Upgrade Ruby to 2.7, Bundler to 2.2.20 (#241)
aduth Aug 25, 2021
af4d3ba
Increase external link margin styling (#240)
aduth Aug 25, 2021
eec75af
Increase padding and font size for tile checkbox (#242)
aduth Aug 27, 2021
92a74a9
Upgrade USWDS to 2.12 (#243)
aduth Aug 27, 2021
c8a23da
Use login.gov shared ESLint configuration (#245)
aduth Sep 8, 2021
c179aa3
Prepare 6.1.0 release (#244)
aduth Sep 8, 2021
c9ace59
Improve package-lock.json validation (#246)
aduth Sep 13, 2021
ae873d7
Define all variables as default values (#247)
aduth Sep 13, 2021
29d3b33
Remove width non-responsive override (#248)
aduth Sep 13, 2021
d6ab71e
Remove uppercase transform from navbar styles (#249)
aduth Sep 13, 2021
7e06b59
Fix typo in Rails asset helper documentation (#250)
aduth Sep 17, 2021
606d2cd
Badge: Improve visual appearance and accessibility, simplify markup (…
aduth Sep 17, 2021
54c752b
Use design system link styles in documentation (#252)
aduth Sep 22, 2021
2b8463c
Configure auto-updates for USWDS (#254)
aduth Sep 29, 2021
8cdbb00
Update form validation error message styling (#255)
aduth Sep 30, 2021
868a999
Use default focus outline for unstyled buttons (#253)
aduth Sep 30, 2021
3c83020
Prepare 6.2.0 release (#256)
aduth Sep 30, 2021
ffea6b3
Move Dependabot config to correct file path (#257)
aduth Oct 5, 2021
839cee4
Backport USWDS Identifier, configuration from brochure site (#258)
aduth Oct 6, 2021
d644a99
Update CircleCI image (LG-5120) (#261)
zachmargolis Oct 7, 2021
c4bbc6b
Backport overlay styles from brochure site (#260)
aduth Oct 8, 2021
64a042f
Add form input hint styles (#262)
aduth Oct 15, 2021
5703a67
Improve consistency of dropdowns with USWDS, other fields (#263)
aduth Oct 25, 2021
08b10bf
Upgrade gulp-sass to v5, drop node-sass (#266)
aduth Oct 27, 2021
f8146a8
add error message to alerts
jmdembe Oct 27, 2021
b62b06e
refactor css, add inline success message
jmdembe Oct 27, 2021
8fbb57b
fix lint errors
jmdembe Oct 27, 2021
80db56f
address PR comments
jmdembe Oct 27, 2021
578de23
refactor css, adjust exclamation mark and checkmark
jmdembe Oct 28, 2021
4a212d4
Add changes to CHANGELOG
jmdembe Oct 28, 2021
8feeec5
Merge pull request #265 from 18F/jd-LG-5244-reposition-exclamation-mark
jmdembe Oct 29, 2021
9212899
Configure default font settings as Public Sans (#264)
aduth Oct 29, 2021
bf72595
Drop browser tools from CircleCI (#267)
aduth Oct 29, 2021
c6b557b
Sync package-lock.json after engines revision (#268)
aduth Oct 29, 2021
e833b69
Bump uswds from 2.12.1 to 2.12.2 (#269)
dependabot[bot] Nov 2, 2021
f37ba32
Add "Coding Standards" section to contributing guide (#271)
aduth Nov 17, 2021
548f69b
Build SASS synchronously (#272)
aduth Nov 17, 2021
53bd2c6
Fix line wrapping for Buttons documentation (#273)
aduth Nov 17, 2021
157f0e7
Fix Jekyll site URL assignment (#274)
aduth Nov 18, 2021
d1a3f83
Match usa-input-error selector to USWDS (#275)
aduth Nov 23, 2021
0762643
Use login.gov shared Stylelint configuration (#276)
aduth Dec 9, 2021
3657f2b
Bump uswds from 2.12.2 to 2.13.0 (#277)
dependabot[bot] Dec 15, 2021
7e25ded
Use sass-embedded (native Dart) compiler (#278)
aduth Jan 14, 2022
cc43fee
Upgrade USWDS to 2.13.1 (#280)
aduth Jan 20, 2022
92a6193
Improve SASS assets compilation (#282)
aduth Jan 21, 2022
c9f81a8
Set font-size of tile checkbox/radio to 1.125rem (#281)
aduth Jan 24, 2022
1dbe511
LG-4791: Add Process List component styles (#279)
aduth Jan 24, 2022
cf2e481
Replace "serve" dependency with Ruby built-in static file server (#283)
aduth Jan 24, 2022
95ce6eb
Backport additional search styles from brochure site (#259)
aduth Jan 24, 2022
b65183b
Set checkbox/radio label line-height to match body (#284)
aduth Jan 25, 2022
a9b3275
Replace pa11y with underlying HTML_CodeSniffer (#285)
aduth Jan 25, 2022
21b7cb1
Prepare 6.3.0 release (#286)
aduth Jan 26, 2022
fe17ee8
Bump cached-path-relative from 1.0.2 to 1.1.0 (#287)
dependabot[bot] Jan 27, 2022
d8fb5b6
Fix external link icon content offset (#289)
aduth Feb 1, 2022
3a05fb7
Improve vertical spacing in heading of Process List item spanning mul…
aduth Feb 2, 2022
31e0750
Remove vertical padding from Process List component (#290)
aduth Feb 4, 2022
67b124d
Update line-height behavior to respect token value, size headings rel…
aduth Feb 8, 2022
284493c
Change body font size to USWDS default "sm" (#292)
aduth Feb 9, 2022
9158e40
Drop cssnano in favor of Sass built-in compression (#293)
aduth Feb 9, 2022
a4ff8ae
Show hint text as regular style (not italicized) (#294)
aduth Feb 14, 2022
426ea91
Bump follow-redirects from 1.14.7 to 1.14.8 (#295)
dependabot[bot] Feb 14, 2022
c7ead3c
Add illustration tile, sample svg
jmdembe Feb 14, 2022
e8ea135
changed structure of illustration tile,removed css classes
jmdembe Feb 14, 2022
a415c84
fix for desktop and mobile
jmdembe Feb 15, 2022
8ece38a
apply styles to checkbox
jmdembe Feb 15, 2022
64faa3b
fix lint errors
jmdembe Feb 15, 2022
547753f
Edit class names for tiles with illustration
jmdembe Feb 15, 2022
80196c4
fix margin; edit classes on radio tiles
jmdembe Feb 15, 2022
5d78084
edit margin-right on image
jmdembe Feb 15, 2022
6677b03
remove "grid-col-auto" from radio text
jmdembe Feb 15, 2022
4dbe7e4
address first round of code review comments
jmdembe Feb 15, 2022
07411d8
remove span from option title, fix css
jmdembe Feb 15, 2022
1606098
fix desktop layout
jmdembe Feb 16, 2022
927d124
add and fix alt attribute on images
jmdembe Feb 16, 2022
d88c8fc
Update docs/_components/form-fields.md
jmdembe Feb 16, 2022
2ababfc
Update docs/_components/form-fields.md
jmdembe Feb 16, 2022
34f7f0a
make sure new changes are reflected
jmdembe Feb 16, 2022
44e0d07
moved fingerprint svg to docs; added flex-start to illustrated label
jmdembe Feb 16, 2022
33ecc3a
Add new change to CHANGELOG
jmdembe Feb 16, 2022
1c74d9d
address PR comments
jmdembe Feb 16, 2022
306925c
Merge pull request #296 from 18F/jd-LG-5755-checkbox-tile
jmdembe Feb 16, 2022
971a88f
Update CHANGELOG to reflect changes in new version 6.3.2
jmdembe Feb 16, 2022
9f8ae0b
6.3.2
jmdembe Feb 16, 2022
a7ecf80
Merge pull request #297 from 18F/release-6-3-2
jmdembe Feb 17, 2022
f47a634
update radio image width
SammySteiner Feb 22, 2022
333435b
changelog
SammySteiner Feb 22, 2022
4159138
Merge pull request #299 from 18F/sammysteiner-radio-image-width
SammySteiner Feb 23, 2022
b6a06d4
bump changelog to 6.3.3
jmdembe Feb 23, 2022
dc1eb9c
6.3.3
jmdembe Feb 23, 2022
6e4f100
Merge pull request #301 from 18F/release-6-3-3
jmdembe Feb 23, 2022
d772233
Remove documentation-specific images from published package (#300)
aduth Feb 23, 2022
04ea6c3
Remove redundant body background color (#302)
aduth Feb 24, 2022
fd12a07
Reconcile focus styles with USWDS (#303)
aduth Feb 28, 2022
c6b9e55
Bump uswds from 2.13.1 to 2.13.2 (#304)
dependabot[bot] Mar 14, 2022
42c9dfb
Remove documentation styles from stylesheets (#305)
aduth Mar 21, 2022
f9e7ec3
Use consistent "Success" green for icon backgrounds (#306)
aduth Mar 25, 2022
9a60024
Add SVG optimization lint to build (#307)
aduth Mar 25, 2022
fa0e6bb
Bump minimist from 1.2.5 to 1.2.6 (#308)
dependabot[bot] Mar 25, 2022
38e2b50
changelog: Improvements, pull in ad-hoc styling from idp, LG-5883
SammySteiner Mar 29, 2022
ce72e4c
changelog
SammySteiner Mar 29, 2022
e1fff1c
changelog categorization
SammySteiner Mar 29, 2022
f2c54e4
Merge pull request #309 from 18F/LG-5883-mfa-icon-styles
SammySteiner Mar 31, 2022
b24d3af
Prepare 6.4.0 release (#310)
aduth Mar 31, 2022
911a2ed
Fix hidden search submit button text on small viewport (#311)
aduth Apr 8, 2022
54099b6
Bump uswds from 2.13.2 to 2.13.3 (#312)
dependabot[bot] Apr 13, 2022
b078ba0
changelog: improvements, add style and markdown for checked and disab…
SammySteiner May 13, 2022
eb927cc
changelog
SammySteiner May 13, 2022
19f570a
Update src/scss/components/_inputs.scss
SammySteiner May 13, 2022
8503dc9
removed redundant style
SammySteiner May 13, 2022
4043783
Merge branch 'checkbox-disabled-and-checked' of github.com:18F/identi…
SammySteiner May 13, 2022
ae2e725
comments
SammySteiner May 16, 2022
b83ae14
missing selector
SammySteiner May 16, 2022
7b57af9
missing radio selector
SammySteiner May 16, 2022
a104876
style debugging
SammySteiner May 16, 2022
18a1688
filter update for icons with white backgrounds included in the svg
SammySteiner May 16, 2022
17875bf
going the change the svg route
SammySteiner May 16, 2022
0ca4fd4
diabled radio box-shadow
SammySteiner May 16, 2022
cf4f261
Update src/scss/components/_inputs.scss
SammySteiner May 16, 2022
d682568
Merge pull request #313 from 18F/checkbox-disabled-and-checked
SammySteiner May 16, 2022
0119813
prepare release 6.4.2
SammySteiner May 16, 2022
0f625ba
6.4.2
SammySteiner May 16, 2022
bd380dd
from dry run
SammySteiner May 16, 2022
966f7b9
npm install after update
SammySteiner May 16, 2022
8de97a9
Merge pull request #314 from 18F/release-6-4-2
SammySteiner May 16, 2022
51b803e
Update devDependencies to latest versions (#317)
aduth Jun 3, 2022
4296481
LG-6485: Update line height value for accordion component (#316)
aduth Jun 3, 2022
e8bbce7
Prepare 6.5.0 release (#318)
aduth Jun 6, 2022
4540133
Update security-experience-principles.md (#315)
nickttng Jun 6, 2022
aadc5f6
Bump devDependencies to latest version (#320)
aduth Aug 17, 2022
b75e4ce
Remove content section (#322)
jc-gsa Sep 12, 2022
11234b1
Migrate Federalist to Cloud.gov Pages (#324)
aduth Oct 5, 2022
2731dbd
Update Text Input styling to adhere to design specification (#325)
aduth Dec 14, 2022
41bfb21
Add "Big" variant of Text Input, Textarea (#326)
aduth Dec 22, 2022
ab7897b
test
ankushgoel27 Dec 31, 2022
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
12 changes: 12 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
6 changes: 1 addition & 5 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
# Supported browsers
> 2%
last 2 versions
IE 11
not dead
> 1% or IE 11
61 changes: 31 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,42 @@
version: 2.1

executors:
ruby_browsers:
docker:
- image: cimg/ruby:2.7-browsers
environment:
BUNDLER_VERSION: 2.2.20

commands:
node-install:
steps:
- run:
name: Switch Node.js version
command: |
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
export NVM_DIR="$HOME/.nvm"
. "$NVM_DIR/nvm.sh" --install --latest-npm
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV;
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV;
- run:
name: Print Node.js version
command: node -v
bundle-npm-install:
steps:
- node-install
- restore_cache:
key: dependency-cache-ruby-2-6-{{ checksum "package-lock.json" }}-{{ checksum "Gemfile.lock" }}
key: dependency-cache-ruby-2-7-{{ checksum "package-lock.json" }}-{{ checksum "Gemfile.lock" }}
- run:
name: Update Bundler
command: gem install bundler -v "<2"
command: gem install bundler --version $BUNDLER_VERSION
- run:
name: Install bundle dependencies
command: bundle check --path ~/.bundler || bundle install --path ~/.bundler
- run:
name: Install dependencies
command: npm ci
- save_cache:
key: dependency-cache-ruby-2-6-{{ checksum "package-lock.json" }}-{{ checksum "Gemfile.lock" }}
key: dependency-cache-ruby-2-7-{{ checksum "package-lock.json" }}-{{ checksum "Gemfile.lock" }}
paths:
- ~/.npm
- ~/.bundler
Expand All @@ -28,18 +49,16 @@ commands:
jobs:
lints:
working_directory: ~/identity-style-guide
docker:
- image: circleci/ruby:2.6-node-browsers
executor: ruby_browsers
steps:
- checkout
- bundle-npm-install
- run:
name: Lint JavaScript and Sass
command: npm run lint
name: Lint JavaScript, Sass, and lockfiles
command: make lint
integration:
working_directory: ~/identity-style-guide
docker:
- image: circleci/ruby:2.6-node-browsers
executor: ruby_browsers
environment:
SKIP_VISUAL_REGRESSION_TEST: true
steps:
Expand All @@ -48,11 +67,10 @@ jobs:
- build
- run:
name: Run jest integration test
command: npm run test-jest
command: npm test
visual-regression:
working_directory: ~/identity-style-guide
docker:
- image: circleci/ruby:2.6-node-browsers
executor: ruby_browsers
environment:
ONLY_VISUAL_REGRESSION_TEST: true
steps:
Expand All @@ -61,23 +79,7 @@ jobs:
- build
- run:
name: Run visual regression test
command: npm run test-jest
- store_artifacts:
path: tmp/results
destination: results
- store_test_results:
path: tmp/results
accessibility:
working_directory: ~/identity-style-guide
docker:
- image: circleci/ruby:2.6-node-browsers
steps:
- checkout
- bundle-npm-install
- build
- run:
name: Run pa11y accessibility test
command: npm run test-pa11y
command: npm test
- store_artifacts:
path: tmp/results
destination: results
Expand All @@ -91,4 +93,3 @@ workflows:
- lints
- integration
- visual-regression
- accessibility
13 changes: 2 additions & 11 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
extends: airbnb-base
extends: 'plugin:@18f/eslint-plugin-identity/recommended'
plugins:
- import
- prettier
- '@18f/eslint-plugin-identity'
env:
node: true
browser: true
es6: true
rules:
function-paren-newline: off
implicit-arrow-linebreak: off
import/no-extraneous-dependencies:
- error
- devDependencies: true
prettier/prettier: error
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
allow:
- dependency-name: 'uswds'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/tmp
.DS_Store
/docs/.jekyll-cache
.git/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10
lts/*
9 changes: 0 additions & 9 deletions .pa11yci.js

This file was deleted.

2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6
2.7
73 changes: 2 additions & 71 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,4 @@
{
"plugins": [
"stylelint-scss"
],
"rules": {
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-no-invalid-hex": true,
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"declaration-no-important": true,
"function-calc-no-unspaced-operator": true,
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 0,
"function-name-case": "lower",
"function-parentheses-space-inside": "never-single-line",
"function-url-quotes": "always",
"function-whitespace-after": "always",
"indentation": 2,
"length-zero-no-unit": true,
"max-empty-lines": 1,
"max-nesting-depth": 4,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-space-after": "always-single-line",
"media-query-list-comma-space-before": "never",
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"number-no-trailing-zeros": true,
"property-case": "lower",
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-list-comma-space-before": "never",
"selector-max-empty-lines": 0,
"selector-no-qualifying-type": true,
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"string-no-newline": true,
"string-quotes": "single",
"unit-case": "lower",
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never"
}
"extends": "@18f/identity-stylelint-config",
"ignoreFiles": "./src/scss/uswds/**/*"
}
Loading