Skip to content

Commit

Permalink
Merge pull request #5 from EPA-WG/develop
Browse files Browse the repository at this point in the history
0.0.5
  • Loading branch information
sashafirsov authored Dec 18, 2022
2 parents 9632430 + 1dd2a2e commit 2a6f75e
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# custom-element-test
test and storybook for [@epa-wg/custom-element](https://github.com/EPA-WG/custom-element)

[![git][github-image] GitHub][git-url]
| Live demo: [custom-element][demo-url]
| [StoryBook][storybook-url]
| [![coverage][coverage-image]][coverage-url]

## Installation

```bash
Expand Down Expand Up @@ -59,3 +64,10 @@ npm start
```

To run a local development server that serves the basic demo located in `demo/index.html`

[git-url]: https://github.com/EPA-WG/custom-element
[github-image]: https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg
[demo-url]: https://unpkg.com/@epa-wg/[email protected]/dist/index.html
[storybook-url]: https://unpkg.com/@epa-wg/[email protected]/storybook-static/index.html?path=/story/welcome--introduction
[coverage-image]: https://unpkg.com/@epa-wg/[email protected]/coverage/coverage.svg
[coverage-url]: https://unpkg.com/@epa-wg/[email protected]/coverage/lcov-report/index.html
2 changes: 1 addition & 1 deletion coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2022-12-18T05:05:13.766Z
at 2022-12-18T05:52:06.311Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/custom-element.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> custom-
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2022-12-18T05:05:13.766Z
at 2022-12-18T05:52:06.311Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2022-12-18T05:05:13.766Z
at 2022-12-18T05:52:06.311Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/stories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> stories</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2022-12-18T05:05:13.766Z
at 2022-12-18T05:52:06.311Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/stories/playground.stories.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">stories</a> pla
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2022-12-18T05:05:13.766Z
at 2022-12-18T05:52:06.311Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
6 changes: 4 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<body>
<nav>
<h3><code>custom-element</code> demo</h3>
<a href="https://github.com/EPA-WG/custom-element"
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
<div><a href="https://github.com/EPA-WG/custom-element"
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
| <a href="https://stackblitz.com/github/EPA-WG/custom-element?file=index.html">Sandbox</a>
</div>
<p>
This <em>Declarative Custom Element</em> allows to define<br/>
custom HTML tag with template filled from slots, attributes, dataset. </p>
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epa-wg/custom-element-test",
"version": "0.0.5-b",
"version": "0.0.6",
"description": "binary distribution, test, and storybook project for custom-element",
"browser": "dist/custom-element.js",
"module": "dist/custom-element.js",
Expand Down Expand Up @@ -50,7 +50,7 @@
"url": "https://www.patreon.com/sashafirsov"
},
"dependencies": {
"@epa-wg/custom-element": "0.0.4"
"@epa-wg/custom-element": "0.0.6"
},
"devDependencies": {
"@open-wc/testing": "next",
Expand All @@ -69,5 +69,5 @@
"react-syntax-highlighter": "^15.5.0"
},
"readme": "README.md",
"_id": "@epa-wg/[email protected].5-b"
"_id": "@epa-wg/[email protected].6"
}
6 changes: 4 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
<body>
<nav>
<h3><code>custom-element</code> demo</h3>
<a href="https://github.com/EPA-WG/custom-element"
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
<div><a href="https://github.com/EPA-WG/custom-element"
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
| <a href="https://stackblitz.com/github/EPA-WG/custom-element?file=index.html">Sandbox</a>
</div>
<p>
This <em>Declarative Custom Element</em> allows to define<br/>
custom HTML tag with template filled from slots, attributes, dataset. </p>
Expand Down
2 changes: 1 addition & 1 deletion storybook-static/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,4 +361,4 @@



window['STORIES'] = [{"titlePrefix":"","directory":"./stories","files":"welcome.stories.js","importPathMatcher":"^\\.[\\\\/](?:stories[\\\\/]welcome\\.stories\\.js)$"},{"titlePrefix":"","directory":"./stories","files":"playground.stories.js","importPathMatcher":"^\\.[\\\\/](?:stories[\\\\/]playground\\.stories\\.js)$"}];</script><script src="runtime~main.18364ddf.iframe.bundle.js"></script><script src="411.db46998d.iframe.bundle.js"></script><script src="main.9d3d0261.iframe.bundle.js"></script></body></html>
window['STORIES'] = [{"titlePrefix":"","directory":"./stories","files":"welcome.stories.js","importPathMatcher":"^\\.[\\\\/](?:stories[\\\\/]welcome\\.stories\\.js)$"},{"titlePrefix":"","directory":"./stories","files":"playground.stories.js","importPathMatcher":"^\\.[\\\\/](?:stories[\\\\/]playground\\.stories\\.js)$"}];</script><script src="runtime~main.18364ddf.iframe.bundle.js"></script><script src="411.db46998d.iframe.bundle.js"></script><script src="main.1ea36358.iframe.bundle.js"></script></body></html>
1 change: 1 addition & 0 deletions storybook-static/main.1ea36358.iframe.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion storybook-static/main.9d3d0261.iframe.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion storybook-static/project.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"generatedAt":1671339884989,"builder":{"name":"@storybook/builder-webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.1.1"},"storybookVersion":"6.5.14","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.14"},"@storybook/builder-webpack5":{"version":"6.5.14"},"@storybook/manager-webpack5":{"version":"6.5.14"},"@storybook/web-components":{"version":"6.5.14"}},"framework":{"name":"web-components"},"addons":{"@storybook/addon-links":{"version":"6.5.14"},"@storybook/addon-essentials":{"version":"6.5.14"},"@whitespace/storybook-addon-html":{"version":null}}}
{"generatedAt":1671342697597,"builder":{"name":"@storybook/builder-webpack5"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.1.1"},"storybookVersion":"6.5.14","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.14"},"@storybook/builder-webpack5":{"version":"6.5.14"},"@storybook/manager-webpack5":{"version":"6.5.14"},"@storybook/web-components":{"version":"6.5.14"}},"framework":{"name":"web-components"},"addons":{"@storybook/addon-links":{"version":"6.5.14"},"@storybook/addon-essentials":{"version":"6.5.14"},"@whitespace/storybook-addon-html":{"version":null}}}

0 comments on commit 2a6f75e

Please sign in to comment.