Skip to content

Commit 64dc31c

Browse files
committed
Merge branch 'master' into fix/dtui-vuln
2 parents 0b76156 + 4013ce7 commit 64dc31c

63 files changed

Lines changed: 176 additions & 15 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ To test components locally in the context it will be used either use `npm link`:
7474
3. Run npm link path/to/your/<consumer-context>/node_modules/react (example npm link ../<consumer-context>/node_modules/react; to integrate with usaspending.gov use `npm link ../usaspending-website/node_modules/react`)
7575
4. Navigate to the consumer context directory (i.e. for usaspending.gov the consumer context directory is "usaspending-website")
7676
5. Run `npm link data-transparency-ui`
77-
6. NOTE: After work is finished with the linked consumer context, it will be necessary to then unlink this library by doing the following:
77+
6. If you notice the link is not working as expected you may need to clear your consumer context directory cache
78+
1. Run `npm cache clean --force` in your consumer context directory
79+
2. Repeat link steps above
80+
81+
7. NOTE: After work is finished with the linked consumer context, it will be necessary to then unlink this library by doing the following:
7882
1. Navigate to the consumer context directory again.
7983
2. Run `npm unlink --no-save data-transparency-ui`
8084
3. Navigate to the `data-transparency-ui/` root.

components/ShareIcon.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const ShareIcon = ({
8383
hideConfirmationText();
8484
}
8585
return hideConfirmationText.cancel;
86-
}, []);
86+
}, [showConfirmationText]);
8787

8888
return (
8989
<div className={`${classNames ? `usda-share-icon${disabledClass} ${classNames}` : `usda-share-icon${disabledClass}`}`}>

dist/index.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/1057.bf076e2c.iframe.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/1575.08fe834b.iframe.bundle.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/205.09a27432.iframe.bundle.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/*!
2+
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
3+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4+
*/

docs/2263.304b1e8e.iframe.bundle.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/2263.50e5722c.iframe.bundle.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/*!
2+
Copyright (c) 2018 Jed Watson.
3+
Licensed under the MIT License (MIT), see
4+
http://jedwatson.github.io/classnames
5+
*/

0 commit comments

Comments
 (0)