Skip to content

Commit

Permalink
Merge branch 'main' into feature/257-roettger-SpacerComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRoe authored May 15, 2024
2 parents a6cb639 + 9a8aa68 commit 37d4d39
Show file tree
Hide file tree
Showing 9 changed files with 21,912 additions and 14 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## [linting-v0.15.0](https://github.com/department-of-veterans-affairs/va-mobile-library/tree/linting-v0.15.0) (2024-05-14)

[Full Changelog](https://github.com/department-of-veterans-affairs/va-mobile-library/compare/assets-v0.5.0...linting-v0.15.0)

**Merged pull requests:**

- \[Patch\] Remove ClickToCallPhoneNumber and AttachmentLink from rules [\#316](https://github.com/department-of-veterans-affairs/va-mobile-library/pull/316) ([narin](https://github.com/narin))

## [assets-v0.5.0](https://github.com/department-of-veterans-affairs/va-mobile-library/tree/assets-v0.5.0) (2024-05-14)

[Full Changelog](https://github.com/department-of-veterans-affairs/va-mobile-library/compare/components-v0.15.3...assets-v0.5.0)

**Merged pull requests:**

- \[Feature\] Add Space Force and Dark VA text logo to assets package [\#320](https://github.com/department-of-veterans-affairs/va-mobile-library/pull/320) ([narin](https://github.com/narin))

## [components-v0.15.3](https://github.com/department-of-veterans-affairs/va-mobile-library/tree/components-v0.15.3) (2024-05-14)

[Full Changelog](https://github.com/department-of-veterans-affairs/va-mobile-library/compare/components-v0.15.2...components-v0.15.3)

**Merged pull requests:**

- \[Bug\] Fix TS complaint in Icon [\#318](https://github.com/department-of-veterans-affairs/va-mobile-library/pull/318) ([TimRoe](https://github.com/TimRoe))

## [components-v0.15.2](https://github.com/department-of-veterans-affairs/va-mobile-library/tree/components-v0.15.2) (2024-05-14)

[Full Changelog](https://github.com/department-of-veterans-affairs/va-mobile-library/compare/components-v0.15.1...components-v0.15.2)
Expand Down
21,753 changes: 21,753 additions & 0 deletions packages/assets/VALogo/LogoDarkText.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/mobile-assets",
"version": "0.4.1",
"version": "0.5.0",
"description": "VA Design System Mobile Assets",
"repository": {
"type": "git",
Expand Down
65 changes: 65 additions & 0 deletions packages/assets/serviceEmblems/SpaceForceDark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
65 changes: 65 additions & 0 deletions packages/assets/serviceEmblems/SpaceForceLight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/mobile-component-library",
"version": "0.15.2",
"version": "0.15.3",
"description": "VA Design System Mobile Component Library",
"main": "src/index.tsx",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ export const Icon: FC<IconProps> = ({
const fontScale = useWindowDimensions().fontScale
const fs = (val: number) => fontScale * val

const _Icon: FC<SvgProps> = name ? IconMap[name] : svg
// ! to override TS incorrectly thinking svg can be undefined after update
const _Icon: FC<SvgProps> = name ? IconMap[name] : svg!

if (typeof fill === 'object') {
fill = isDarkMode ? fill.dark : fill.light
Expand Down
10 changes: 0 additions & 10 deletions packages/linting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ module.exports = {
module: 'components',
use: 'Link from @department-of-veterans-affairs/mobile-component-library',
},
{
name: 'ClickToCallPhoneNumber',
module: 'components',
use: 'Link from @department-of-veterans-affairs/mobile-component-library',
},
{
name: 'AttachmentLink',
module: 'components',
use: 'Link from @department-of-veterans-affairs/mobile-component-library',
},
{
name: 'AlertBox',
module: 'components',
Expand Down
2 changes: 1 addition & 1 deletion packages/linting/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/eslint-config-mobile",
"version": "0.14.0",
"version": "0.15.0",
"description": "VA Design System Mobile ESLint Configuration",
"repository": {
"type": "git",
Expand Down

0 comments on commit 37d4d39

Please sign in to comment.