Skip to content

Commit

Permalink
Merge pull request #85 from department-of-veterans-affairs/feature/50…
Browse files Browse the repository at this point in the history
…-nr-assets-package

[Feature] Add assets package, Icon component, and reference files from component library
  • Loading branch information
narin authored Jan 10, 2024
2 parents 3dc6247 + c13dc73 commit cccfa06
Show file tree
Hide file tree
Showing 84 changed files with 8,167 additions and 47 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
options:
- components
- tokens
- assets
- linting
version_type:
description: Version type
Expand Down Expand Up @@ -162,7 +163,7 @@ jobs:
},
{
"type": "mrkdwn",
"text": "<https://www.npmjs.com/package/${{ steps.publish.outputs.NPM_PACKAGE_NAME }}|NPM>"
"text": "<https://www.npmjs.com/package/${{ steps.package-name.outputs.NPM_PACKAGE_NAME }}|NPM>"
},
{
"type": "mrkdwn",
Expand Down Expand Up @@ -194,7 +195,7 @@ jobs:
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":red-x: Error publishing *${{ steps.package-name.outputs.NPM_PACKAGE_NAME }}* to NPM"
"text": ":red-x: Error publishing *${{ inputs.package }}* to NPM"
}
},
{
Expand Down
7 changes: 7 additions & 0 deletions .svgrrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"replaceAttrValues": {
"#00F": "{props.stroke}",
"#000": "{props.fill}",
"#f00": "{props.fillSecondary}"
}
}
5 changes: 5 additions & 0 deletions packages/assets/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Copyright 2023 Department of Veterans Affairs

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
4 changes: 4 additions & 0 deletions packages/assets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# VA Mobile Design Library Assets
This repository contains static assets such as fonts and SVG icons for use by VA mobile applications. It does not contain any code, so it is up to the consumer to import these assets into their app.

The [components package](https://github.com/department-of-veterans-affairs/va-mobile-library) contains an Icon convenience component that makes leveraging both the assets package icons and custom ones easy. See code for the [Icon component](https://github.com/department-of-veterans-affairs/va-mobile-library/blob/main/packages/components/src/components/Icon/Icon.tsx). Additional documentation can be found in the [Design System section](https://department-of-veterans-affairs.github.io/va-mobile-app/design/Intro) of VA Mobile docs.
Binary file added packages/assets/fonts/Bitter/Bitter-Bold.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
30 changes: 30 additions & 0 deletions packages/assets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "@department-of-veterans-affairs/mobile-assets",
"version": "0.1.1",
"description": "VA Design System Mobile Assets",
"repository": {
"type": "git",
"url": "git+https://github.com/department-of-veterans-affairs/va-mobile-library.git"
},
"files": [
"fonts/**/*",
"svgs/**/*"
],
"keywords": [
"design",
"system",
"library",
"assets",
"svg",
"icons",
"fonts"
],
"maintainers": [
"@department-of-veterans-affairs/flagship-mobile-platform"
],
"license": "ISC",
"bugs": {
"url": "https://github.com/department-of-veterans-affairs/va-mobile-library/issues"
},
"homepage": "https://github.com/department-of-veterans-affairs/va-mobile-library#readme"
}
8 changes: 8 additions & 0 deletions packages/assets/svgs/Add.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/Building.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/Bullet.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/CheckMark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/ChevronDown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/ChevronLeft.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/ChevronRight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/ChevronUp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/assets/svgs/CircleCheckMark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/assets/svgs/Compose.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/Ellipsis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/assets/svgs/ExclamationTriangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/ExternalLink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/Folder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/assets/svgs/Inbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit cccfa06

Please sign in to comment.