@egjs/conveyer
Advanced tools
Comparing version 1.3.1 to 1.4.0
@@ -6,2 +6,16 @@ # Change Log | ||
## [1.3.1](https://github.com/naver/egjs-conveyer/compare/@egjs/conveyer@1.3.0...@egjs/conveyer@1.3.1) (2022-07-01) | ||
### :memo: Documentation | ||
* add useSideWheel demo (#16) ([bc1486d](https://github.com/naver/egjs-conveyer/commit/bc1486d63ec1b8a505259c16e73305c358e68745)) | ||
### :mega: Other | ||
* update packages versions ([037314d](https://github.com/naver/egjs-conveyer/commit/037314d60b7799066f588f073273d56eb4c308b7)) | ||
## [1.3.0](https://github.com/naver/egjs-conveyer/compare/@egjs/conveyer@1.2.0...@egjs/conveyer@1.3.0) (2022-06-23) | ||
@@ -8,0 +22,0 @@ |
{ | ||
"name": "@egjs/conveyer", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "Conveyer adds Drag gestures to your Native Scroll.", | ||
@@ -34,2 +34,3 @@ "main": "./dist/conveyer.cjs.js", | ||
"dependencies": { | ||
"@cfcs/core": "~0.0.4", | ||
"@egjs/axes": "^3.4.0", | ||
@@ -36,0 +37,0 @@ "@egjs/component": "^3.0.1" |
@@ -28,7 +28,1 @@ /** | ||
export const CONVEYER_REACTIVE_STATE = { | ||
"isReachStart": false, | ||
"isReachEnd": false, | ||
"scrollPos": 0, | ||
} as const; | ||
@@ -9,3 +9,3 @@ /** | ||
import { IS_IE } from "./browser"; | ||
import { ReactiveSubscribe, Reactive, Ref } from "./cfcs"; | ||
import { ReactiveSubscribe, Reactive, Ref } from "@cfcs/core"; | ||
import { | ||
@@ -57,3 +57,3 @@ ConveyerEvents, ConveyerItem, | ||
* @type {boolean} | ||
* @default false | ||
* @default true | ||
* @readonly | ||
@@ -69,3 +69,3 @@ * @example | ||
*/ | ||
@Reactive("isReachStart") private _isReachStart = false; | ||
@Reactive("isReachStart") private _isReachStart = true; | ||
/** | ||
@@ -72,0 +72,0 @@ * Whether the scroll has reached the end. |
@@ -13,2 +13,1 @@ /** | ||
export * from "./reactive"; | ||
export * from "./cfcs"; |
@@ -7,4 +7,4 @@ /** | ||
import Conveyer from "./Conveyer"; | ||
import { CONVEYER_EVENTS, CONVEYER_METHODS, CONVEYER_REACTIVE_STATE } from "./consts"; | ||
import { ReactiveAdapter, Ref } from "./cfcs"; | ||
import { CONVEYER_EVENTS, CONVEYER_METHODS } from "./consts"; | ||
import { ReactiveAdapter, Ref } from "@cfcs/core"; | ||
import { ConveyerEvents, ConveyerMethods, ConveyerOptions, ConveyerReactiveState } from "./types"; | ||
@@ -25,12 +25,9 @@ | ||
> = { | ||
state: CONVEYER_REACTIVE_STATE, | ||
methods: CONVEYER_METHODS, | ||
events: CONVEYER_EVENTS, | ||
instance(data) { | ||
created(data) { | ||
return new Conveyer(data.container, { ...data.props, autoInit: false }); | ||
}, | ||
init(instance, data) { | ||
if (data.props.autoInit !== false) { | ||
instance.init(); | ||
} | ||
init(instance) { | ||
instance.init(); | ||
}, | ||
@@ -37,0 +34,0 @@ on(instance, name, callback) { |
@@ -10,2 +10,3 @@ { | ||
"experimentalDecorators": true, | ||
"skipLibCheck": true, | ||
"jsx": "react", | ||
@@ -12,0 +13,0 @@ "lib": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43146
3
17
849
1
+ Added@cfcs/core@~0.0.4
+ Added@cfcs/core@0.0.26(transitive)