hyperapp-is 0.2.0 → 0.2.1

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.
package/README.md CHANGED
@@ -13,17 +13,17 @@ hyperapp 用ユーティリティ集
13
13
  index.ts: エクスポートの一覧
14
14
 
15
15
  [core]
16
- ├ state.ts: state 操作に関するもの
16
+ ├ state.ts : state 操作に関するもの
17
17
  ├ component.ts: VNode の作成に関するもの
18
- └ effects.ts: Effectに関するもの
18
+ └ effects.ts : Effectに関するもの
19
19
 
20
20
  [dom]
21
- ├ utils.ts: DOM 操作に関するユーティリティ
21
+ ├ utils.ts : DOM 操作に関するユーティリティ
22
22
  └ dialog.ts: DOM を利用したダイアログ
23
23
 
24
24
  [animation]
25
- ├ raf.ts: requestAnimationFrame を state と連携する仕組み
26
- ├ easing.ts: イージング関数集
25
+ ├ raf.ts : requestAnimationFrame を state と連携する仕組み
26
+ ├ easing.ts : イージング関数集
27
27
  └ properties.ts: raf.tsを利用した CSS アニメーション
28
28
 
29
29
  [services]
@@ -35,17 +35,17 @@ index.ts: エクスポートの一覧
35
35
  ## 関数一覧 (interfaceは省略)
36
36
 
37
37
  **core**
38
- - state: getValue, setValue, getLocalState, setLocalState, createLocalKey
38
+ - state : getValue, setValue, getLocalState, setLocalState, createLocalKey
39
39
  - component: el, concatAction, getClassList, deleteKeys
40
- - effects: effect_toast
40
+ - effects : effect_toast
41
41
 
42
42
  **dom**
43
- - utils: getScrollMargin
43
+ - utils : getScrollMargin
44
44
  - dialog: withLoadingDialog
45
45
 
46
46
  **animation**
47
- - raf: RAFTask, subscription_RAFManager
48
- - easing: progress_easing
47
+ - raf : RAFTask, subscription_RAFManager
48
+ - easing : progress_easing
49
49
  - properties: createRAFProperties, effect_RAFProperties
50
50
 
51
51
  **services**
package/dist/index.d.ts CHANGED
@@ -1 +1,13 @@
1
- export {};
1
+ export { getValue, setValue, getLocalState, setLocalState, createLocalKey } from './core/state';
2
+ export { el, concatAction, getClassList, deleteKeys } from "./core/component";
3
+ export { effect_toast } from "./core/effects";
4
+ export type { ScrollMargin } from "./dom/utils";
5
+ export { getScrollMargin } from "./dom/utils";
6
+ export { withLoadingDialog } from "./dom/dialog";
7
+ export type { RAFEvent } from "./animation/raf";
8
+ export { RAFTask, subscription_RAFManager } from "./animation/raf";
9
+ export { progress_easing } from "./animation/easing";
10
+ export type { CSSProperty } from "./animation/properties";
11
+ export { createRAFProperties, effect_RAFProperties } from './animation/properties';
12
+ export type { GoogleScope, GetAccessTokenConfig, GoogleUser, GoogleAuthResult, GoogleAuthConfig, GoogleButtonOptions } from "./services/google";
13
+ export { getAccessToken, GoogleAuth } from "./services/google";
package/dist/index.js CHANGED
@@ -1 +1,10 @@
1
- export {};
1
+ // core
2
+ export { getValue, setValue, getLocalState, setLocalState, createLocalKey } from './core/state';
3
+ export { el, concatAction, getClassList, deleteKeys } from "./core/component";
4
+ export { effect_toast } from "./core/effects";
5
+ export { getScrollMargin } from "./dom/utils";
6
+ export { withLoadingDialog } from "./dom/dialog";
7
+ export { RAFTask, subscription_RAFManager } from "./animation/raf";
8
+ export { progress_easing } from "./animation/easing";
9
+ export { createRAFProperties, effect_RAFProperties } from './animation/properties';
10
+ export { getAccessToken, GoogleAuth } from "./services/google";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "hyperapp-is",
3
- "version": "0.2.0",
4
- "type" : "module",
5
- "main" : "./dist/index.js",
3
+ "version": "0.2.1",
4
+ "type": "module",
5
+ "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "files": [
8
8
  "dist",
@@ -12,4 +12,4 @@
12
12
  "scripts": {
13
13
  "build": "tsc"
14
14
  }
15
- }
15
+ }