Skip to content

Commit

Permalink
0.0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
sashafirsov committed Apr 20, 2024
1 parent 4b845e4 commit 086a62f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ within template
[github-image]: https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg
[npm-image]: https://img.shields.io/npm/v/@epa-wg/custom-element.svg
[npm-url]: https://npmjs.org/package/@epa-wg/custom-element
[coverage-image]: https://unpkg.com/@epa-wg/[email protected].18/coverage/coverage.svg
[coverage-url]: https://unpkg.com/@epa-wg/[email protected].18/coverage/lcov-report/index.html
[storybook-url]: https://unpkg.com/@epa-wg/[email protected].18/storybook-static/index.html?path=/story/welcome--introduction
[coverage-image]: https://unpkg.com/@epa-wg/[email protected].19/coverage/coverage.svg
[coverage-url]: https://unpkg.com/@epa-wg/[email protected].19/coverage/lcov-report/index.html
[storybook-url]: https://unpkg.com/@epa-wg/[email protected].19/storybook-static/index.html?path=/story/welcome--introduction
[sandbox-url]: https://stackblitz.com/github/EPA-WG/custom-element?file=index.html
[webcomponents-url]: https://www.webcomponents.org/element/@epa-wg/custom-element
[webcomponents-img]: https://img.shields.io/badge/webcomponents.org-published-blue.svg
Expand Down
2 changes: 1 addition & 1 deletion bin/xslDtd2Ide.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ writeFileSync( '.././ide/customData-xsl.json', JSON.stringify( vsCode, undefined
const intelliJ = {
"$schema": "http://json.schemastore.org/web-types",
"name": "@epa-wg/custom-element",
"version": "0.0.18",
"version": "0.0.19",
"js-types-syntax": "typescript",
"description-markup": "markdown",
"contributions": {
Expand Down
10 changes: 5 additions & 5 deletions demo/data-slices.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h3>Data slices propagation by events.</h3>
description="initial value from input; type and unfocus to see slice changed">
<template>
<custom-element>
<input slice="s" value="A" /> //slice/s : {//slice/s}
<input slice="s" value="{//s ?? 'B'}" /> //slice/s : {//slice/s}
</custom-element>
</template>
</html-demo-element>
Expand All @@ -81,7 +81,7 @@ <h3>Data slices propagation by events.</h3>
description="initial value from input; type to see slice changed">
<template>
<custom-element>
<input slice="s" value="B" slice-event="keyup"/> //slice/s : {//slice/s}
<input slice="s" value="{//s ?? 'B'}" slice-event="input"/> //slice/s : {//slice/s}
</custom-element>
</template>
</html-demo-element>
Expand All @@ -92,7 +92,7 @@ <h3>Data slices propagation by events.</h3>
<custom-element tag="dce-1">
<template>
<attribute name="a" >😁</attribute>
<input slice="s" value="{$a}" slice-event="keyup" />
<input slice="s" value="{//s ?? $a}" slice-event="keyup" />
attribute 'a' : {$a}
//slice/s : {//slice/s}
</template>
Expand All @@ -107,7 +107,7 @@ <h3>Data slices propagation by events.</h3>
<template>
<custom-element>
<template>
<input slice="s" value="B" slice-value="concat('x', @value )" />
<input slice="s" value="{substring(//s, 2) ?? 'B'}" slice-value="concat('x', @value )" />
//slice/s : {//slice/s}
</template>
</custom-element>
Expand Down Expand Up @@ -137,7 +137,7 @@ <h3>Data slices propagation by events.</h3>
<slice slice="clickcount" value="0" ></slice>
click/tap
</button>
//clickcount : {//clickcount} <br/>
//clickcount : {//clickcount}
</template>
</custom-element>
</template>
Expand Down
2 changes: 1 addition & 1 deletion ide/web-types-dce.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/web-types",
"name": "@epa-wg/custom-element",
"version": "0.0.18",
"version": "0.0.19",
"js-types-syntax": "typescript",
"description-markup": "markdown",
"contributions": {
Expand Down
2 changes: 1 addition & 1 deletion ide/web-types-xsl.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/web-types",
"name": "@epa-wg/custom-element",
"version": "0.0.18",
"version": "0.0.19",
"js-types-syntax": "typescript",
"description-markup": "markdown",
"contributions": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epa-wg/custom-element",
"version": "0.0.18",
"version": "0.0.19",
"description": "Declarative Custom Element as W3C proposal PoC with native(XSLT) based templating",
"browser": "custom-element.js",
"module": "custom-element.js",
Expand Down

0 comments on commit 086a62f

Please sign in to comment.