Skip to content

Commit b1036db

Browse files
committed
0.0.5
loop in template demo
1 parent f53e97e commit b1036db

15 files changed

+38
-22
lines changed

.github/workflows/node.js.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

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

2222
steps:

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# custom-element-test
22
test and storybook for [@epa-wg/custom-element](https://github.com/EPA-WG/custom-element)
33

4+
[![git][github-image] GitHub][git-url]
5+
| Live demo: [custom-element][demo-url]
6+
| [StoryBook][storybook-url]
7+
| [![coverage][coverage-image]][coverage-url]
8+
49
## Installation
510

611
```bash
@@ -59,3 +64,10 @@ npm start
5964
```
6065

6166
To run a local development server that serves the basic demo located in `demo/index.html`
67+
68+
[git-url]: https://github.com/EPA-WG/custom-element
69+
[github-image]: https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg
70+
[demo-url]: https://unpkg.com/@epa-wg/[email protected]/dist/index.html
71+
[storybook-url]: https://unpkg.com/@epa-wg/[email protected]/storybook-static/index.html?path=/story/welcome--introduction
72+
[coverage-image]: https://unpkg.com/@epa-wg/[email protected]/coverage/coverage.svg
73+
[coverage-url]: https://unpkg.com/@epa-wg/[email protected]/coverage/lcov-report/index.html

coverage/lcov-report/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ <h1>All files</h1>
116116
<div class='footer quiet pad2 space-top1 center small'>
117117
Code coverage generated by
118118
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119-
at 2022-12-18T05:05:13.766Z
119+
at 2022-12-18T05:48:58.138Z
120120
</div>
121121
<script src="prettify.js"></script>
122122
<script>

coverage/lcov-report/src/custom-element.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">src</a> custom-
310310
<div class='footer quiet pad2 space-top1 center small'>
311311
Code coverage generated by
312312
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
313-
at 2022-12-18T05:05:13.766Z
313+
at 2022-12-18T05:48:58.138Z
314314
</div>
315315
<script src="../prettify.js"></script>
316316
<script>

coverage/lcov-report/src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> src</h1>
101101
<div class='footer quiet pad2 space-top1 center small'>
102102
Code coverage generated by
103103
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104-
at 2022-12-18T05:05:13.766Z
104+
at 2022-12-18T05:48:58.138Z
105105
</div>
106106
<script src="../prettify.js"></script>
107107
<script>

coverage/lcov-report/stories/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> stories</h1>
101101
<div class='footer quiet pad2 space-top1 center small'>
102102
Code coverage generated by
103103
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104-
at 2022-12-18T05:05:13.766Z
104+
at 2022-12-18T05:48:58.138Z
105105
</div>
106106
<script src="../prettify.js"></script>
107107
<script>

coverage/lcov-report/stories/playground.stories.js.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">stories</a> pla
418418
<div class='footer quiet pad2 space-top1 center small'>
419419
Code coverage generated by
420420
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
421-
at 2022-12-18T05:05:13.766Z
421+
at 2022-12-18T05:48:58.138Z
422422
</div>
423423
<script src="../prettify.js"></script>
424424
<script>

dist/index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
<body>
1717
<nav>
1818
<h3><code>custom-element</code> demo</h3>
19-
<a href="https://github.com/EPA-WG/custom-element"
20-
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
19+
<div><a href="https://github.com/EPA-WG/custom-element"
20+
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
21+
| <a href="https://stackblitz.com/github/EPA-WG/custom-element?file=index.html">Sandbox</a>
22+
</div>
2123
<p>
2224
This <em>Declarative Custom Element</em> allows to define<br/>
2325
custom HTML tag with template filled from slots, attributes, dataset. </p>

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@epa-wg/custom-element-test",
3-
"version": "0.0.5-b",
3+
"version": "0.0.5",
44
"description": "binary distribution, test, and storybook project for custom-element",
55
"browser": "dist/custom-element.js",
66
"module": "dist/custom-element.js",
@@ -50,7 +50,7 @@
5050
"url": "https://www.patreon.com/sashafirsov"
5151
},
5252
"dependencies": {
53-
"@epa-wg/custom-element": "0.0.4"
53+
"@epa-wg/custom-element": "0.0.5"
5454
},
5555
"devDependencies": {
5656
"@open-wc/testing": "next",
@@ -69,5 +69,5 @@
6969
"react-syntax-highlighter": "^15.5.0"
7070
},
7171
"readme": "README.md",
72-
"_id": "@epa-wg/[email protected]-b"
72+
"_id": "@epa-wg/[email protected]"
7373
}

src/index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
<body>
1717
<nav>
1818
<h3><code>custom-element</code> demo</h3>
19-
<a href="https://github.com/EPA-WG/custom-element"
20-
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
19+
<div><a href="https://github.com/EPA-WG/custom-element"
20+
><img src="https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg" alt="icon">GIT</a>
21+
| <a href="https://stackblitz.com/github/EPA-WG/custom-element?file=index.html">Sandbox</a>
22+
</div>
2123
<p>
2224
This <em>Declarative Custom Element</em> allows to define<br/>
2325
custom HTML tag with template filled from slots, attributes, dataset. </p>

storybook-static/iframe.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,4 +361,4 @@
361361

362362

363363

364-
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>
364+
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>

storybook-static/main.1ea36358.iframe.bundle.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

storybook-static/main.9d3d0261.iframe.bundle.js

-1
This file was deleted.

storybook-static/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +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}}}
1+
{"generatedAt":1671342510901,"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 commit comments

Comments
 (0)