Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion app/assets/images/sprite.svg

This file was deleted.

4 changes: 1 addition & 3 deletions app/components/icon_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,7 @@ def initialize(icon:, **tag_options)
end

def icon_path
# Revert back to using design system image once upstream CSP fix has been patched.
# See: https://github.com/uswds/uswds/pull/4487
[image_path('sprite.svg', host: asset_host), '#', icon].join
asset_path([design_system_asset_path('img/sprite.svg'), '#', icon].join, host: asset_host)
end

private
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"fast-glob": "^3.2.7",
"focus-trap": "^6.7.1",
"foundation-emails": "^2.3.1",
"identity-style-guide": "^6.3.3",
"identity-style-guide": "^6.4.0",
"intl-tel-input": "^17.0.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3669,10 +3669,10 @@ iconv-lite@0.6.3, iconv-lite@^0.6.3:
dependencies:
safer-buffer ">= 2.1.2 < 3.0.0"

identity-style-guide@^6.3.3:
version "6.3.3"
resolved "https://registry.yarnpkg.com/identity-style-guide/-/identity-style-guide-6.3.3.tgz#3832b5dfea3c31610ea19762f7c9fc9cb2104614"
integrity sha512-B4k2ZpMz7S6VXjhzEZdPJp2LQf/OXDxPe4avdYqSQXu6y+Bn+qTH46eCaqAmuvjt45B52QnAZ7YbgNAwXlEHNg==
identity-style-guide@^6.4.0:
version "6.4.0"
resolved "https://registry.yarnpkg.com/identity-style-guide/-/identity-style-guide-6.4.0.tgz#10f56ce450c4b4bd8c76c8a87d2f54ee27c5dfd2"
integrity sha512-0H8oEm4rpvkYV3/sPtNLFrnhPiFY6EiePjM2HTBGkTL0PcgMH3kvcMzZhZ4aWFBW09YP2+f6mku7LXVpOkGOpA==
dependencies:
domready "^1.0.8"
uswds "^2.13.1"
Expand Down