Skip to content

Commit 1216942

Browse files
committed
1.1.3
1 parent 892e7e9 commit 1216942

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

CssChain.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { HTMLElementMixin as AnyElement } from './HTMLElementMixin';
88
* @param el Node|Node[] css selector to be applied on node(s)
99
* @param protoArr prototype(s) for members and methods of CssChain
1010
*/
11-
export function CssChain<T= AnyElement>(css?: string|AnyElement|Array<AnyElement&T>, el?: Document|Node|Node[], protoArr?: string|T|string[]): CssChainCollection<T>&T;
11+
export function CssChain<T= AnyElement>(css?: string|AnyElement|Array<AnyElement&T>|HTMLElement, el?: Document|Node|Node[], protoArr?: string|T|string[]): CssChainCollection<T>&T;
1212

1313
/** CssChain as Array and HTMLElementMixin dual interface */
1414
export type CssChainT<T = AnyElement > = CssChainCollection<T> & T;

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _HTML template/slot and DOM manipulation library_
44
_Collection API inherits the element API and Array._
55

66
[![git][github-image] GitHub](https://github.com/sashafirsov/css-chain)
7-
| Demo: [css-chain](https://unpkg.com/[email protected].2/dist/demo.html)
7+
| Demo: [css-chain](https://unpkg.com/[email protected].3/dist/demo.html)
88
| [tests project](https://github.com/sashafirsov/css-chain-test)
99

1010
[![NPM version][npm-image]][npm-url] [![coverage][coverage-image]][coverage-url]
@@ -212,10 +212,10 @@ ApiChain( [a,b] ).f1().f2() // would reuse API generated in previous call
212212
[github-image]: https://cdnjs.cloudflare.com/ajax/libs/octicons/8.5.0/svg/mark-github.svg
213213
[npm-image]: https://img.shields.io/npm/v/css-chain.svg
214214
[npm-url]: https://npmjs.org/package/css-chain
215-
[coverage-image]: https://unpkg.com/[email protected].2/coverage/coverage.svg
216-
[coverage-url]: https://unpkg.com/[email protected].2/coverage/lcov-report/index.html
217-
[PokeApi-explorer-image]: https://unpkg.com/[email protected].2/src/PokeApi-Explorer.png
218-
[PokeApi-explorer-url]: https://unpkg.com/[email protected].2/dist/PokeApi-Explorer.html
215+
[coverage-image]: https://unpkg.com/[email protected].3/coverage/coverage.svg
216+
[coverage-url]: https://unpkg.com/[email protected].3/coverage/lcov-report/index.html
217+
[PokeApi-explorer-image]: https://unpkg.com/[email protected].3/src/PokeApi-Explorer.png
218+
[PokeApi-explorer-url]: https://unpkg.com/[email protected].3/dist/PokeApi-Explorer.html
219219
[css-chain-image]: ChainedCalls.png
220220
[css-chain-link]: https://github.com/sashafirsov/css-chain-test/blob/9edc6edac6bc6c22c078e2fd987b37a7721947ee/src/PokeApi-Explorer.js#L140
221221
[element-api-image]: ElementAPI.png

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-chain",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "ApiChain and CssChain JS. Collection API inherits the Array and element API.",
55
"browser": "CssChain.js",
66
"module": "CssChain.js",

0 commit comments

Comments
 (0)