Skip to content

Commit

Permalink
Merge pull request #219 from department-of-veterans-affairs/feature/2…
Browse files Browse the repository at this point in the history
…02-roettger-UpdateIconsForAlerts

[Feature] Update Icons for Alert
  • Loading branch information
TimRoe authored Mar 4, 2024
2 parents 3b26fb2 + b5f25b9 commit 132598d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"homepage": "https://department-of-veterans-affairs.github.io/va-mobile-library",
"dependencies": {
"@department-of-veterans-affairs/mobile-assets": "0.2.0",
"@department-of-veterans-affairs/mobile-assets": "^0.3.0",
"@department-of-veterans-affairs/mobile-tokens": "0.5.1",
"@os-team/i18next-react-native-language-detector": "^1.0.31",
"i18next": "^23.8.2",
Expand Down
9 changes: 6 additions & 3 deletions packages/components/src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import Add from '@department-of-veterans-affairs/mobile-assets/svgs/Add.svg'
import Building from '@department-of-veterans-affairs/mobile-assets/svgs/Building.svg'
import Bullet from '@department-of-veterans-affairs/mobile-assets/svgs/Bullet.svg'
import Calendar from '@department-of-veterans-affairs/mobile-assets/svgs/Calendar.svg'
import CheckMark from '@department-of-veterans-affairs/mobile-assets/svgs/CheckMark.svg'
import Check from '@department-of-veterans-affairs/mobile-assets/svgs/Check.svg'
import ChevronDown from '@department-of-veterans-affairs/mobile-assets/svgs/ChevronDown.svg'
import ChevronLeft from '@department-of-veterans-affairs/mobile-assets/svgs/ChevronLeft.svg'
import ChevronRight from '@department-of-veterans-affairs/mobile-assets/svgs/ChevronRight.svg'
Expand All @@ -48,6 +48,7 @@ import CircleCheckMark from '@department-of-veterans-affairs/mobile-assets/svgs/
import Compose from '@department-of-veterans-affairs/mobile-assets/svgs/Compose.svg'
import Directions from '@department-of-veterans-affairs/mobile-assets/svgs/Directions.svg'
import Ellipsis from '@department-of-veterans-affairs/mobile-assets/svgs/Ellipsis.svg'
import ExclamationCircle from '@department-of-veterans-affairs/mobile-assets/svgs/ExclamationCircle.svg'
import ExclamationTriangle from '@department-of-veterans-affairs/mobile-assets/svgs/ExclamationTriangle.svg'
import ExternalLink from '@department-of-veterans-affairs/mobile-assets/svgs/ExternalLink.svg'
import Folder from '@department-of-veterans-affairs/mobile-assets/svgs/Folder.svg'
Expand Down Expand Up @@ -82,7 +83,7 @@ const IconMap = {
CheckBoxError,
CheckBoxFilled,
CheckBoxIntermediate,
CheckMark,
Check,
ChevronDown,
ChevronLeft,
ChevronRight,
Expand All @@ -92,6 +93,7 @@ const IconMap = {
Compose,
Directions,
Ellipsis,
ExclamationCircle,
ExclamationTriangle,
ExternalLink,
Folder,
Expand Down Expand Up @@ -139,7 +141,8 @@ export type IconProps = {
/** Fill color for the icon */
fill?: string // keyof IconColors | keyof VATextColors | string

/** Secondary fill color for duotone icons--fills icons inside main fill, defaults white */
/** Slated for deprecation. Icon updates eliminating duotone icons over time.
* Secondary fill color for duotone icons--fills icons inside main fill, defaults white */
fill2?: string

/** Stroke color of the icon */
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1822,10 +1822,10 @@ __metadata:
languageName: unknown
linkType: soft

"@department-of-veterans-affairs/mobile-assets@npm:0.2.0":
version: 0.2.0
resolution: "@department-of-veterans-affairs/mobile-assets@npm:0.2.0"
checksum: fa49aef3c232d2be35773ecc8e1d7d44893efd53e9bf9389ebc3a9818202bd2e0834ca525be04de2d0f7be4bbb7e9e1b6461846346619e442467a14f08997d46
"@department-of-veterans-affairs/mobile-assets@npm:^0.3.0":
version: 0.3.0
resolution: "@department-of-veterans-affairs/mobile-assets@npm:0.3.0"
checksum: 4a01b2dbfcf9ed801c6a55c009f687579557ed1c623dc718f896f7c47ad58a6fd3ae9a558a8061113e47b542b43efc03ec52f62ad69c173c3d9043b67c14c3de
languageName: node
linkType: hard

Expand Down Expand Up @@ -1858,7 +1858,7 @@ __metadata:
"@babel/plugin-transform-react-jsx": "npm:^7.23.4"
"@babel/preset-env": "npm:^7.23.9"
"@babel/preset-typescript": "npm:^7.23.3"
"@department-of-veterans-affairs/mobile-assets": "npm:0.2.0"
"@department-of-veterans-affairs/mobile-assets": "npm:^0.3.0"
"@department-of-veterans-affairs/mobile-tokens": "npm:0.5.1"
"@expo/metro-runtime": "npm:~3.1.3"
"@expo/webpack-config": "npm:~19.0.1"
Expand Down

0 comments on commit 132598d

Please sign in to comment.