Skip to content

Commit

Permalink
migrating towards new layout consensus
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Nov 18, 2023
1 parent 4897b06 commit ba021a8
Show file tree
Hide file tree
Showing 96 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/icons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 19.x

- name: Install dependencies
working-directory: packages/ia-icon
working-directory: ui/icon
run: npm install

- name: Run tests
working-directory: packages/ia-icon
working-directory: ui/icon
run: npx eslint
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/ia-icon/README.md → ui/icon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ This repo builds JS source, tests, and test pages, from a subdirectory of svg fi

Each `.svg` source file can then be individually imported via JS/TS like:
```js
import twitter from 'https://esm.archive.org/@internetarchive/ia-icons/src/twitter.js'
import twitter from 'https://esm.archive.org/@internetarchive/iaux/icon/twitter.js'
```

You can use in markup with the lit / web components definition like:
```html
<ia-icon-video></ia-icon-video>
<script type="module" src="https://esm.archive.org/@internetarchive/ia-icons/src/video.js"></script>
<script type="module" src="https://esm.archive.org/@internetarchive/iaux/icon/video.js"></script>
```

Each icon `.js` file defines an `<ia-icon>` `LitElement` web component.
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/ia-icon/package.json → ui/icon/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "@internetarchive/ia-icons",
"name": "ia/icon",
"version": "0.0.1",
"type": "module",
"license": "AGPL-3.0-only",
"devDependencies": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.

0 comments on commit ba021a8

Please sign in to comment.