Skip to content

Commit

Permalink
Add NJWDS package (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
sannidhishukla authored Jan 21, 2025
1 parent 56cfe7a commit da2aceb
Show file tree
Hide file tree
Showing 11 changed files with 542 additions and 4,215 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ frontend/node_modules
.azure/
__pycache__/
.ipynb_checkpoints/
.DS_Store
.DS_Store
/static/assets/*

# allow files matching index-*.js, index-*.js.map, and index-*.css that are needed for build
!/static/assets/index-*.js
!/static/assets/index-*.js.map
!/static/assets/index-*.css
110 changes: 110 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@fluentui/react-hooks": "^8.6.29",
"@fluentui/react-icons": "^2.0.195",
"@newjersey/feedback-widget": "^0.6.0",
"@newjersey/njwds": "2.1.0",
"@testing-library/user-event": "^14.5.2",
"dompurify": "^3.0.8",
"identity-obj-proxy": "^3.0.0",
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import { AppStateProvider } from './state/AppProvider'

import './index.css'
import '@newjersey/feedback-widget/feedback-widget.min.js'
import '@newjersey/njwds/dist/css/styles.css'
import '@newjersey/njwds/dist/js/uswds-init.min.js'
import '@newjersey/njwds/dist/js/uswds.min.js'

declare global {
namespace JSX {
Expand Down
Loading

0 comments on commit da2aceb

Please sign in to comment.