@draftbit/core 50.4.1-3391d5.2 → 50.5.0
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/lib/commonjs/components/DeckSwiper/DeckSwiper.js +1 -1
- package/lib/commonjs/components/DeckSwiper/index.js +1 -1
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts +4 -1
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.js +26 -5
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.js.map +1 -1
- package/lib/typescript/src/components/DeckSwiper/index.d.ts +1 -1
- package/lib/typescript/src/components/DeckSwiper/index.js.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.js.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/DeckSwiper/DeckSwiper.js +26 -5
- package/src/components/DeckSwiper/DeckSwiper.js.map +1 -1
- package/src/components/DeckSwiper/DeckSwiper.tsx +157 -127
- package/src/components/DeckSwiper/index.js.map +1 -1
- package/src/components/DeckSwiper/index.tsx +1 -1
- package/src/index.js.map +1 -1
- package/src/index.tsx +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DeckSwiper/DeckSwiper.tsx";import React from"react";import{StyleSheet,View}from"react-native";import DeckSwiperComponent from"react-native-deck-swiper";import{Fragment as _Fragment,jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";var DeckSwiper=function
|
|
1
|
+
var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/DeckSwiper/DeckSwiper.tsx";import React from"react";import{StyleSheet,View}from"react-native";import DeckSwiperComponent from"react-native-deck-swiper";import{Fragment as _Fragment,jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";var DeckSwiper=React.forwardRef(function(_ref,ref){var onStartSwipe=_ref.onStartSwipe,onEndSwipe=_ref.onEndSwipe,onSwipe=_ref.onSwipe,_onSwipedLeft=_ref.onSwipedLeft,_onSwipedRight=_ref.onSwipedRight,onSwipedUp=_ref.onSwipedUp,onSwipedDown=_ref.onSwipedDown,onIndexChanged=_ref.onIndexChanged,onEndReached=_ref.onEndReached,_ref$startCardIndex=_ref.startCardIndex,startCardIndex=_ref$startCardIndex===void 0?0:_ref$startCardIndex,_ref$infiniteSwiping=_ref.infiniteSwiping,infiniteSwiping=_ref$infiniteSwiping===void 0?false:_ref$infiniteSwiping,_ref$verticalEnabled=_ref.verticalEnabled,verticalEnabled=_ref$verticalEnabled===void 0?true:_ref$verticalEnabled,_ref$horizontalEnable=_ref.horizontalEnabled,horizontalEnabled=_ref$horizontalEnable===void 0?true:_ref$horizontalEnable,_ref$visibleCardCount=_ref.visibleCardCount,visibleCardCount=_ref$visibleCardCount===void 0?1:_ref$visibleCardCount,data=_ref.data,keyExtractor=_ref.keyExtractor,renderItem=_ref.renderItem,style=_ref.style,children=_ref.children;if(data&&!renderItem||renderItem&&!data){throw new Error("'renderItem' and 'data' need to both be provided to lazily render. Either remove them entirley or include both");}if(data&&renderItem&&children){console.warn("'children' of DeckSwiper ignored due to usage of 'data' and 'renderItem'");}var deckSwiperRef=React.useRef(null);var childrenArray=React.useMemo(function(){return React.Children.toArray(children);},[children]);var cardsFillerData=React.useMemo(function(){return Array.from(Array(childrenArray.length).keys());},[childrenArray]);var cardsData=Array.isArray(data)?data:cardsFillerData;var renderCard=function renderCard(card,index){if(renderItem){return renderItem({item:card,index:index});}else{return _jsx(_Fragment,{children:childrenArray[index]});}};var renderFirstCard=function renderFirstCard(){if(cardsData.length){return renderCard(cardsData[0],0);}return undefined;};var cardKeyExtractor=function cardKeyExtractor(card){if(keyExtractor){return keyExtractor(card);}else{return card==null?void 0:card.toString();}};React.useEffect(function(){var _deckSwiperRef$curren;(_deckSwiperRef$curren=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren.forceUpdate();});React.useImperativeHandle(ref,function(){return{swipeCard:function swipeCard(direction){var _deckSwiperRef$curren2,_deckSwiperRef$curren3,_deckSwiperRef$curren4,_deckSwiperRef$curren5,_deckSwiperRef$curren6;switch(direction){case"left":(_deckSwiperRef$curren2=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren2.swipeLeft();break;case"right":(_deckSwiperRef$curren3=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren3.swipeRight();break;case"top":(_deckSwiperRef$curren4=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren4.swipeTop();break;case"bottom":(_deckSwiperRef$curren5=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren5.swipeBottom();break;default:(_deckSwiperRef$curren6=deckSwiperRef.current)==null?void 0:_deckSwiperRef$curren6.swipeLeft();}}};});return _jsxs(View,{children:[_jsx(View,{style:styles.containerHeightFiller,children:renderFirstCard()}),_jsx(DeckSwiperComponent,{ref:deckSwiperRef,cards:cardsData,renderCard:renderCard,keyExtractor:cardKeyExtractor,containerStyle:StyleSheet.flatten([styles.cardsContainer,style]),cardStyle:styles.card,onSwiped:onIndexChanged,onSwipedAll:onEndReached,cardIndex:startCardIndex,infinite:infiniteSwiping,verticalSwipe:verticalEnabled,horizontalSwipe:horizontalEnabled,showSecondCard:visibleCardCount>1,stackSize:visibleCardCount,backgroundColor:"transparent",cardVerticalMargin:0,cardHorizontalMargin:0,onSwipedLeft:function onSwipedLeft(index){_onSwipedLeft==null?void 0:_onSwipedLeft(index);onSwipe==null?void 0:onSwipe(index);},onSwipedRight:function onSwipedRight(index){_onSwipedRight==null?void 0:_onSwipedRight(index);onSwipe==null?void 0:onSwipe(index);},onSwipedTop:function onSwipedTop(index){onSwipedUp==null?void 0:onSwipedUp(index);onSwipe==null?void 0:onSwipe(index);},onSwipedBottom:function onSwipedBottom(index){onSwipedDown==null?void 0:onSwipedDown(index);onSwipe==null?void 0:onSwipe(index);},dragStart:onStartSwipe,dragEnd:onEndSwipe})]});});var styles=StyleSheet.create({cardsContainer:{position:"absolute"},card:{left:0,right:0,width:"auto",height:"auto"},containerHeightFiller:{opacity:0.0}});export default DeckSwiper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{default as DeckSwiper}from"./DeckSwiper";export{default as DeckSwiperCard}from"./DeckSwiperCard";
|
|
1
|
+
export{default as DeckSwiper,DeckSwiperRef}from"./DeckSwiper";export{default as DeckSwiperCard}from"./DeckSwiperCard";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyleProp, ViewStyle } from "react-native";
|
|
3
|
+
export interface DeckSwiperRef {
|
|
4
|
+
swipeCard: (direction: "left" | "right" | "top" | "bottom") => void;
|
|
5
|
+
}
|
|
3
6
|
export interface DeckSwiperProps<T> {
|
|
4
7
|
onStartSwipe?: () => void;
|
|
5
8
|
onEndSwipe?: () => void;
|
|
@@ -23,5 +26,5 @@ export interface DeckSwiperProps<T> {
|
|
|
23
26
|
}) => JSX.Element;
|
|
24
27
|
style?: StyleProp<ViewStyle>;
|
|
25
28
|
}
|
|
26
|
-
declare const DeckSwiper:
|
|
29
|
+
declare const DeckSwiper: React.ForwardRefExoticComponent<DeckSwiperProps<any> & React.RefAttributes<DeckSwiperRef>>;
|
|
27
30
|
export default DeckSwiper;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyleSheet, View } from "react-native";
|
|
3
3
|
import DeckSwiperComponent from "react-native-deck-swiper";
|
|
4
|
-
const DeckSwiper = ({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex = 0, infiniteSwiping = false, verticalEnabled = true, horizontalEnabled = true, visibleCardCount = 1, data, keyExtractor, renderItem, style, children, }) => {
|
|
4
|
+
const DeckSwiper = React.forwardRef(({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedRight, onSwipedUp, onSwipedDown, onIndexChanged, onEndReached, startCardIndex = 0, infiniteSwiping = false, verticalEnabled = true, horizontalEnabled = true, visibleCardCount = 1, data, keyExtractor, renderItem, style, children, }, ref) => {
|
|
5
5
|
//Both 'renderItem' and 'data' are optional to allow direct children. But if one is included, both need to be included
|
|
6
6
|
if ((data && !renderItem) || (renderItem && !data)) {
|
|
7
7
|
throw new Error("'renderItem' and 'data' need to both be provided to lazily render. Either remove them entirley or include both");
|
|
@@ -37,13 +37,34 @@ const DeckSwiper = ({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedR
|
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
/*
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
react-native-deck-swiper does not re-render cards when parent state changes
|
|
41
|
+
This forces an update on every re-render to reflect any parent state changes
|
|
42
|
+
*/
|
|
43
43
|
React.useEffect(() => {
|
|
44
44
|
var _a;
|
|
45
45
|
(_a = deckSwiperRef.current) === null || _a === void 0 ? void 0 : _a.forceUpdate();
|
|
46
46
|
});
|
|
47
|
+
React.useImperativeHandle(ref, () => ({
|
|
48
|
+
swipeCard: (direction) => {
|
|
49
|
+
var _a, _b, _c, _d, _e;
|
|
50
|
+
switch (direction) {
|
|
51
|
+
case "left":
|
|
52
|
+
(_a = deckSwiperRef.current) === null || _a === void 0 ? void 0 : _a.swipeLeft();
|
|
53
|
+
break;
|
|
54
|
+
case "right":
|
|
55
|
+
(_b = deckSwiperRef.current) === null || _b === void 0 ? void 0 : _b.swipeRight();
|
|
56
|
+
break;
|
|
57
|
+
case "top":
|
|
58
|
+
(_c = deckSwiperRef.current) === null || _c === void 0 ? void 0 : _c.swipeTop();
|
|
59
|
+
break;
|
|
60
|
+
case "bottom":
|
|
61
|
+
(_d = deckSwiperRef.current) === null || _d === void 0 ? void 0 : _d.swipeBottom();
|
|
62
|
+
break;
|
|
63
|
+
default:
|
|
64
|
+
(_e = deckSwiperRef.current) === null || _e === void 0 ? void 0 : _e.swipeLeft();
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
}));
|
|
47
68
|
/**
|
|
48
69
|
* By default react-native-deck-swiper positions everything with absolute position.
|
|
49
70
|
* To overcome this, it is wrapped in a View to be able to add the component in any layout structure.
|
|
@@ -72,7 +93,7 @@ const DeckSwiper = ({ onStartSwipe, onEndSwipe, onSwipe, onSwipedLeft, onSwipedR
|
|
|
72
93
|
dragStart: onStartSwipe,
|
|
73
94
|
//@ts-ignore
|
|
74
95
|
dragEnd: onEndSwipe })));
|
|
75
|
-
};
|
|
96
|
+
});
|
|
76
97
|
const styles = StyleSheet.create({
|
|
77
98
|
cardsContainer: {
|
|
78
99
|
position: "absolute",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeckSwiper.js","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAwB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"DeckSwiper.js","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/DeckSwiper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAwB,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,mBAAmB,MAAM,0BAA0B,CAAC;AA2B3D,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CACjC,CACE,EACE,YAAY,EACZ,UAAU,EACV,OAAO,EACP,YAAY,EACZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,GAAG,CAAC,EAClB,eAAe,GAAG,KAAK,EACvB,eAAe,GAAG,IAAI,EACtB,iBAAiB,GAAG,IAAI,EACxB,gBAAgB,GAAG,CAAC,EACpB,IAAI,EACJ,YAAY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AE,YAAY;YACvB,YAAY;YACZ,OAAO,EAAE,UAAU,GACnB,CACG,CACR,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,cAAc,EAAE;QACd,QAAQ,EAAE,UAAU;KACrB;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,qBAAqB,EAAE;QACrB,OAAO,EAAE,GAAG;KACb;CACF,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as DeckSwiper } from "./DeckSwiper";
|
|
1
|
+
export { default as DeckSwiper, DeckSwiperRef } from "./DeckSwiper";
|
|
2
2
|
export { default as DeckSwiperCard } from "./DeckSwiperCard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/DeckSwiper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAiB,MAAM,cAAc,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -22,6 +22,7 @@ export { Swiper, SwiperItem } from "./components/Swiper";
|
|
|
22
22
|
export { RadioButton, RadioButtonGroup, RadioButtonRow, } from "./components/RadioButton/index";
|
|
23
23
|
export { default as Shadow } from "./components/Shadow";
|
|
24
24
|
export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
|
|
25
|
+
export type { DeckSwiperRef } from "./components/DeckSwiper";
|
|
25
26
|
export { TabView, TabViewItem } from "./components/TabView";
|
|
26
27
|
export { default as Markdown } from "./components/Markdown";
|
|
27
28
|
export { BottomSheet } from "./components/BottomSheet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,OA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