kt.js 0.5.3 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -34,10 +34,10 @@ This package re-exports everything from:
34
34
  ## Quick Start
35
35
 
36
36
  ```typescript
37
- import { h, div, button, withDefaults } from 'kt.js';
37
+ import { h, div, btn, withDefaults } from 'kt.js';
38
38
 
39
39
  // Create elements
40
- const app = div('app', [h('h1', {}, 'Welcome to KT.js'), button({ '@click': () => alert('Hello!') }, 'Click me')]);
40
+ const app = div('app', [h('h1', {}, 'Welcome to KT.js'), btn({ '@click': () => alert('Hello!') }, 'Click me')]);
41
41
 
42
42
  // Use shortcuts with defaults
43
43
  const card = withDefaults(div, { class: 'card' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kt.js",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "author": {
5
5
  "name": "Kasukabe Tsumugi",
6
6
  "email": "futami16237@gmail.com"
@@ -31,8 +31,8 @@
31
31
  ],
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@ktjs/shortcuts": "0.5.3",
35
- "@ktjs/core": "0.5.3"
34
+ "@ktjs/core": "0.5.5",
35
+ "@ktjs/shortcuts": "0.5.5"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "rollup -c rollup.config.mjs",