@egjs/react-flicking
Advanced tools
Comparing version 4.9.4 to 4.10.0
@@ -7,2 +7,3 @@ /// <reference types="react" /> | ||
cameraTag: keyof JSX.IntrinsicElements; | ||
cameraClass: string; | ||
plugins: Plugin[]; | ||
@@ -9,0 +10,0 @@ status?: Status; |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/react-flicking | ||
version: 4.9.4 | ||
version: 4.10.0 | ||
*/ | ||
@@ -228,2 +228,3 @@ 'use strict'; | ||
cameraTag: "div", | ||
cameraClass: "", | ||
plugins: [], | ||
@@ -610,2 +611,3 @@ useFindDOMNode: false, | ||
var viewportClasses = ["flicking-viewport"]; | ||
var cameraClasses = ["flicking-camera"]; | ||
var isHorizontal = flicking ? flicking.horizontal : (_a = props.horizontal) !== null && _a !== void 0 ? _a : true; | ||
@@ -625,2 +627,6 @@ | ||
if (props.cameraClass) { | ||
cameraClasses.push(props.cameraClass); | ||
} | ||
var cameraProps = !initialized && props.firstPanelSize ? { | ||
@@ -638,3 +644,3 @@ style: { | ||
}), React.createElement(Camera, __assign({ | ||
className: "flicking-camera" | ||
className: cameraClasses.join(" ") | ||
}, cameraProps), panels), this._getViewportSlot()); | ||
@@ -641,0 +647,0 @@ }; |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/react-flicking | ||
version: 4.9.4 | ||
version: 4.10.0 | ||
*/ | ||
@@ -228,2 +228,3 @@ import * as React from 'react'; | ||
cameraTag: "div", | ||
cameraClass: "", | ||
plugins: [], | ||
@@ -610,2 +611,3 @@ useFindDOMNode: false, | ||
var viewportClasses = ["flicking-viewport"]; | ||
var cameraClasses = ["flicking-camera"]; | ||
var isHorizontal = flicking ? flicking.horizontal : (_a = props.horizontal) !== null && _a !== void 0 ? _a : true; | ||
@@ -625,2 +627,6 @@ | ||
if (props.cameraClass) { | ||
cameraClasses.push(props.cameraClass); | ||
} | ||
var cameraProps = !initialized && props.firstPanelSize ? { | ||
@@ -638,3 +644,3 @@ style: { | ||
}), React.createElement(Camera, __assign({ | ||
className: "flicking-camera" | ||
className: cameraClasses.join(" ") | ||
}, cameraProps), panels), this._getViewportSlot()); | ||
@@ -641,0 +647,0 @@ }; |
@@ -7,3 +7,3 @@ /* | ||
repository: https://github.com/naver/egjs-flicking/tree/master/packages/react-flicking | ||
version: 4.9.4 | ||
version: 4.10.0 | ||
*/ | ||
@@ -226,2 +226,3 @@ (function (global, factory) { | ||
cameraTag: "div", | ||
cameraClass: "", | ||
plugins: [], | ||
@@ -608,2 +609,3 @@ useFindDOMNode: false, | ||
var viewportClasses = ["flicking-viewport"]; | ||
var cameraClasses = ["flicking-camera"]; | ||
var isHorizontal = flicking ? flicking.horizontal : (_a = props.horizontal) !== null && _a !== void 0 ? _a : true; | ||
@@ -623,2 +625,6 @@ | ||
if (props.cameraClass) { | ||
cameraClasses.push(props.cameraClass); | ||
} | ||
var cameraProps = !initialized && props.firstPanelSize ? { | ||
@@ -636,3 +642,3 @@ style: { | ||
}), React.createElement(Camera, __assign({ | ||
className: "flicking-camera" | ||
className: cameraClasses.join(" ") | ||
}, cameraProps), panels), this._getViewportSlot()); | ||
@@ -639,0 +645,0 @@ }; |
{ | ||
"name": "@egjs/react-flicking", | ||
"version": "4.9.4", | ||
"version": "4.10.0", | ||
"description": "Everyday 30 million people experience. It's reliable, flexible and extendable carousel.", | ||
"main": "dist/flicking.cjs.js", | ||
"module": "dist/flicking.esm.js", | ||
"sideEffects": false, | ||
"sideEffects": [ | ||
"**/*.css", | ||
"**/*.sass" | ||
], | ||
"es2015": "dist/flicking.esm.js", | ||
@@ -19,3 +22,3 @@ "types": "declaration/index.d.ts", | ||
"dependencies": { | ||
"@egjs/flicking": "~4.9.3", | ||
"@egjs/flicking": "~4.10.0", | ||
"@egjs/list-differ": "^1.0.0" | ||
@@ -22,0 +25,0 @@ }, |
@@ -47,2 +47,3 @@ <h1 align=center> | ||
cameraTag = "div" | ||
cameraClass = "" | ||
align = "center" | ||
@@ -49,0 +50,0 @@ onMove = {(e: MoveEvent) => {}} |
@@ -30,2 +30,3 @@ /* | ||
cameraTag: "div", | ||
cameraClass: "", | ||
plugins: [], | ||
@@ -32,0 +33,0 @@ useFindDOMNode: false, |
@@ -31,2 +31,3 @@ /* | ||
cameraTag: keyof JSX.IntrinsicElements; | ||
cameraClass: string; | ||
plugins: Plugin[]; | ||
@@ -33,0 +34,0 @@ status?: Status; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
204076
2736
102
+ Added@egjs/flicking@4.10.8(transitive)
- Removed@egjs/flicking@4.9.3(transitive)
Updated@egjs/flicking@~4.10.0