Skip to content

Commit

Permalink
add package.json to exported files in package
Browse files Browse the repository at this point in the history
  • Loading branch information
ezhangy committed Jul 22, 2024
1 parent 89afa10 commit be136e2
Show file tree
Hide file tree
Showing 2,557 changed files with 116 additions and 29,940 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
},
"files": [
"packages/stencil-library/dist/",
"packages/stencil-library/package.json",
"packages/stencil-library/loader/",
"packages/react-library/dist/"
"packages/react-library/dist/",
"packages/react-library/package.json"
],
"devDependencies": {
"@types/node": "^20.14.10",
Expand Down
11 changes: 10 additions & 1 deletion packages/example-react/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineCustomElements, NjwdsAlert, NjwdsBanner } from "react-library"
import { NjwdsAlert, NjwdsBanner, NjwdsButton, defineCustomElements } from "react-library"

defineCustomElements()

function App() {
Expand All @@ -8,9 +9,17 @@ function App() {
<h1>Components</h1>
<h2>Banner</h2>
<NjwdsBanner></NjwdsBanner>
<h2>Alert</h2>
<NjwdsAlert type="warning">
<span>Lorem ipsum dolor sit amet, <a href="">consectetur adipiscing</a> elit, sed do eiusmod.</span>
</NjwdsAlert>
<h2>Button</h2>
<NjwdsButton>
Default
</NjwdsButton>
<NjwdsButton variant="secondary">
Secondary
</NjwdsButton>
</>
)
}
Expand Down
Binary file removed packages/react-library/dist/img/circle-124.png
Binary file not shown.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/circle-gray-20.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/correct8-alt.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/correct8.svg

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed packages/react-library/dist/img/favicons/favicon-16.png
Binary file not shown.
Binary file not shown.
Binary file removed packages/react-library/dist/img/favicons/favicon-40.png
Binary file not shown.
Binary file removed packages/react-library/dist/img/favicons/favicon-57.png
Binary file not shown.
Binary file not shown.
Binary file removed packages/react-library/dist/img/favicons/favicon.ico
Binary file not shown.
Binary file removed packages/react-library/dist/img/favicons/favicon.png
Binary file not shown.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/file-excel.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/file-pdf.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/file-video.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/file-word.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/file.svg

This file was deleted.

Binary file removed packages/react-library/dist/img/hero.jpg
Binary file not shown.
Binary file removed packages/react-library/dist/img/hero.png
Binary file not shown.
Binary file removed packages/react-library/dist/img/hero.webp
Binary file not shown.
Binary file removed packages/react-library/dist/img/hero_original.png
Binary file not shown.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/icon-dot-gov.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/icon-https.svg

This file was deleted.

Binary file removed packages/react-library/dist/img/loader.gif
Binary file not shown.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/loader.svg

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-library/dist/img/lock.svg

This file was deleted.

Binary file removed packages/react-library/dist/img/logo-img.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/10k.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/10mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/11mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/123.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/12mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/13mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/14mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/15mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/16mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/17mp.svg
Diff not rendered.
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/18mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/19mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/1k.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/1k_plus.svg
Diff not rendered.
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/20mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/21mp.svg
Diff not rendered.
1 change: 0 additions & 1 deletion packages/react-library/dist/img/material-icons/22mp.svg
Diff not rendered.
Loading

0 comments on commit be136e2

Please sign in to comment.