Skip to content

Commit

Permalink
chore: bump to v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Jan 11, 2022
1 parent fc0b7cc commit fa45553
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bmp.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.2.0
version: 0.3.0
commit: 'chore: bump to v%.%.%'
files:
README.md:
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<img src="https://raw.githubusercontent.com/capsidjs/capsule/master/capsule-logo.svg" width="70" alt="capsule" />

# Capsule v0.2.0
# Capsule v0.3.0

> Event-driven DOM programming in a new style
Expand Down Expand Up @@ -178,7 +178,7 @@ import { component } from "@kt3k/capsule";
Mirrors input value of `<input>` element to another dom.

```js
import { component } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
import { component } from "https://deno.land/x/capsule@v0.3.0/mod.ts";

const { on } = component("mirroring");

Expand All @@ -190,7 +190,7 @@ on.input = ({ query }) => {
Pubsub.

```js
import { component } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
import { component } from "https://deno.land/x/capsule@v0.3.0/mod.ts";

const EVENT = "my-event";

Expand All @@ -216,7 +216,7 @@ const EVENT = "my-event";
Bubbling events.

```js
import { component } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
import { component } from "https://deno.land/x/capsule@v0.3.0/mod.ts";

const { on } = component("my-component");

Expand Down Expand Up @@ -280,7 +280,7 @@ on(".btn").click = ({ e }) => {
# API reference

```ts
const { component, mount } from "https://deno.land/x/capsule@v0.2.0/mod.ts";
const { component, mount } from "https://deno.land/x/capsule@v0.3.0/mod.ts";
```
## `component(name): ComponentResult`
Expand Down Expand Up @@ -484,6 +484,7 @@ unmount("my-component", el);

# History

- 2022-01-11 v0.3.0 Add `unmount`.
- 2022-01-11 v0.2.0 Change delegation syntax.

# License
Expand Down
2 changes: 1 addition & 1 deletion dnt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ await build({
test: true,
package: {
name: "@kt3k/capsule",
version: "0.2.0",
version: "0.3.0",
description: "Event-driven DOM programming in a new style",
license: "MIT",
repository: {
Expand Down
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Capsule v0.2.0 | Copyright 2022 Yoshiya Hinosawa and Capsule contributors | MIT license */
/*! Capsule v0.3.0 | Copyright 2022 Yoshiya Hinosawa and Capsule contributors | MIT license */
import { documentReady, logEvent } from "./util.ts";

interface Initializer {
Expand Down

0 comments on commit fa45553

Please sign in to comment.