@draftbit/core 48.1.1-360bfa.2 → 48.1.1-8c009b.2
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/src/components/Progress/CircularProgress/CircularProgress.d.ts +3 -0
- package/lib/src/components/Progress/CircularProgress/CircularProgress.js +101 -0
- package/lib/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -0
- package/lib/src/components/Progress/CircularProgress/index.d.ts +6 -0
- package/lib/src/components/Progress/CircularProgress/index.js +14 -0
- package/lib/src/components/Progress/CircularProgress/index.js.map +1 -0
- package/lib/src/components/Progress/IndeterminateProgress.d.ts +7 -0
- package/lib/src/components/Progress/IndeterminateProgress.js +39 -0
- package/lib/src/components/Progress/IndeterminateProgress.js.map +1 -0
- package/lib/src/components/Progress/LinearProgress/LinearProgress.d.ts +3 -0
- package/lib/src/components/Progress/LinearProgress/LinearProgress.js +54 -0
- package/lib/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -0
- package/lib/src/components/Progress/LinearProgress/index.d.ts +6 -0
- package/lib/src/components/Progress/LinearProgress/index.js +14 -0
- package/lib/src/components/Progress/LinearProgress/index.js.map +1 -0
- package/lib/src/components/Progress/ProgressCommon.d.ts +39 -0
- package/lib/src/components/Progress/ProgressCommon.js +2 -0
- package/lib/src/components/Progress/ProgressCommon.js.map +1 -0
- package/lib/src/components/SwipeableItem/SwipeableItem.js +2 -9
- package/lib/src/components/SwipeableItem/SwipeableItem.js.map +1 -1
- package/lib/src/components/SwipeableItem/SwipeableItemCommon.d.ts +2 -3
- package/lib/src/components/SwipeableItem/SwipeableItemCommon.js.map +1 -1
- package/lib/src/index.d.ts +2 -0
- package/lib/src/index.js +2 -0
- package/lib/src/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/Progress/CircularProgress/CircularProgress.js +101 -0
- package/src/components/Progress/CircularProgress/CircularProgress.js.map +1 -0
- package/src/components/Progress/CircularProgress/CircularProgress.tsx +198 -0
- package/src/components/Progress/CircularProgress/index.js +14 -0
- package/src/components/Progress/CircularProgress/index.js.map +1 -0
- package/src/components/Progress/CircularProgress/index.tsx +28 -0
- package/src/components/Progress/IndeterminateProgress.js +39 -0
- package/src/components/Progress/IndeterminateProgress.js.map +1 -0
- package/src/components/Progress/IndeterminateProgress.tsx +73 -0
- package/src/components/Progress/LinearProgress/LinearProgress.js +54 -0
- package/src/components/Progress/LinearProgress/LinearProgress.js.map +1 -0
- package/src/components/Progress/LinearProgress/LinearProgress.tsx +130 -0
- package/src/components/Progress/LinearProgress/index.js +14 -0
- package/src/components/Progress/LinearProgress/index.js.map +1 -0
- package/src/components/Progress/LinearProgress/index.tsx +25 -0
- package/src/components/Progress/ProgressCommon.js +2 -0
- package/src/components/Progress/ProgressCommon.js.map +1 -0
- package/src/components/Progress/ProgressCommon.ts +43 -0
- package/src/components/SwipeableItem/SwipeableItem.js +2 -9
- package/src/components/SwipeableItem/SwipeableItem.js.map +1 -1
- package/src/components/SwipeableItem/SwipeableItem.tsx +1 -9
- package/src/components/SwipeableItem/SwipeableItemCommon.js.map +1 -1
- package/src/components/SwipeableItem/SwipeableItemCommon.ts +2 -3
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/index.tsx +2 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Svg, { Line, LineProps } from "react-native-svg";
|
|
3
|
+
import Animated, {
|
|
4
|
+
useAnimatedProps,
|
|
5
|
+
useSharedValue,
|
|
6
|
+
withTiming,
|
|
7
|
+
} from "react-native-reanimated";
|
|
8
|
+
import {
|
|
9
|
+
DEFAULT_ANIMATION_DURATION,
|
|
10
|
+
ValueProgressProps,
|
|
11
|
+
} from "../ProgressCommon";
|
|
12
|
+
|
|
13
|
+
const AnimatedLine = Animated.createAnimatedComponent(Line);
|
|
14
|
+
|
|
15
|
+
export const LinearProgress: React.FC<ValueProgressProps> = ({
|
|
16
|
+
theme,
|
|
17
|
+
minimumValue = 0,
|
|
18
|
+
maximumValue = 100,
|
|
19
|
+
value = minimumValue,
|
|
20
|
+
thickness = 10,
|
|
21
|
+
trackThickness = thickness,
|
|
22
|
+
color = theme.colors.primary,
|
|
23
|
+
trackColor = theme.colors.divider,
|
|
24
|
+
trackOpacity = 1,
|
|
25
|
+
showTrack = true,
|
|
26
|
+
animationDuration = DEFAULT_ANIMATION_DURATION,
|
|
27
|
+
isAnimated = true,
|
|
28
|
+
lineCap = "round",
|
|
29
|
+
trackLineCap = lineCap,
|
|
30
|
+
dashWidth,
|
|
31
|
+
trackDashWidth,
|
|
32
|
+
dashGap,
|
|
33
|
+
trackDashGap,
|
|
34
|
+
dashOffset,
|
|
35
|
+
trackDashOffset,
|
|
36
|
+
customDashArray,
|
|
37
|
+
trackCustomDashArray,
|
|
38
|
+
onFullPathWidth,
|
|
39
|
+
style,
|
|
40
|
+
}) => {
|
|
41
|
+
const [svgContainerWidth, setSvgContainerWidth] = React.useState(0);
|
|
42
|
+
|
|
43
|
+
const dashArray =
|
|
44
|
+
dashWidth !== undefined
|
|
45
|
+
? `${dashWidth} ${dashGap || dashWidth}`
|
|
46
|
+
: undefined;
|
|
47
|
+
const trackDashArray =
|
|
48
|
+
trackDashWidth !== undefined
|
|
49
|
+
? `${trackDashWidth} ${trackDashGap || trackDashWidth}`
|
|
50
|
+
: undefined;
|
|
51
|
+
|
|
52
|
+
const maxThickness = Math.max(thickness, trackThickness);
|
|
53
|
+
const thicknessOffset = maxThickness / 2; // This offset guarantees nothing is cut off by view bounds
|
|
54
|
+
|
|
55
|
+
const progressLineWidth = svgContainerWidth - thicknessOffset;
|
|
56
|
+
const trackProgressLineWidth = svgContainerWidth - thicknessOffset;
|
|
57
|
+
|
|
58
|
+
const currentFillPercentage = value / (maximumValue + minimumValue);
|
|
59
|
+
const currentProgressLineWidth = useSharedValue(
|
|
60
|
+
currentFillPercentage * progressLineWidth
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
const progressLineAnimatedProps = useAnimatedProps<LineProps>(() => {
|
|
64
|
+
const isBelowMinWidth = currentProgressLineWidth.value <= thicknessOffset;
|
|
65
|
+
return {
|
|
66
|
+
x2: Math.min(progressLineWidth, currentProgressLineWidth.value), //Prevents going beyond the max width
|
|
67
|
+
strokeOpacity: isBelowMinWidth ? 0.0 : 1.0,
|
|
68
|
+
};
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
React.useEffect(() => {
|
|
72
|
+
currentProgressLineWidth.value = withTiming(
|
|
73
|
+
progressLineWidth * currentFillPercentage,
|
|
74
|
+
{
|
|
75
|
+
duration: isAnimated ? animationDuration : 0,
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
}, [
|
|
79
|
+
value,
|
|
80
|
+
progressLineWidth,
|
|
81
|
+
currentFillPercentage,
|
|
82
|
+
animationDuration,
|
|
83
|
+
currentProgressLineWidth,
|
|
84
|
+
maximumValue,
|
|
85
|
+
minimumValue,
|
|
86
|
+
isAnimated,
|
|
87
|
+
]);
|
|
88
|
+
|
|
89
|
+
return (
|
|
90
|
+
<Svg
|
|
91
|
+
onLayout={(event) => {
|
|
92
|
+
const width = event.nativeEvent.layout.width;
|
|
93
|
+
setSvgContainerWidth(width);
|
|
94
|
+
onFullPathWidth?.(width);
|
|
95
|
+
}}
|
|
96
|
+
style={[
|
|
97
|
+
{
|
|
98
|
+
height: maxThickness,
|
|
99
|
+
},
|
|
100
|
+
style,
|
|
101
|
+
]}
|
|
102
|
+
>
|
|
103
|
+
{showTrack && (
|
|
104
|
+
<Line
|
|
105
|
+
x1={thicknessOffset}
|
|
106
|
+
y1={thicknessOffset}
|
|
107
|
+
x2={trackProgressLineWidth}
|
|
108
|
+
y2={thicknessOffset}
|
|
109
|
+
stroke={trackColor}
|
|
110
|
+
strokeWidth={trackThickness}
|
|
111
|
+
strokeOpacity={trackOpacity}
|
|
112
|
+
strokeLinecap={trackLineCap}
|
|
113
|
+
strokeDasharray={trackCustomDashArray || trackDashArray}
|
|
114
|
+
strokeDashoffset={trackDashOffset}
|
|
115
|
+
/>
|
|
116
|
+
)}
|
|
117
|
+
<AnimatedLine
|
|
118
|
+
animatedProps={progressLineAnimatedProps}
|
|
119
|
+
x1={thicknessOffset}
|
|
120
|
+
y1={thicknessOffset}
|
|
121
|
+
y2={thicknessOffset}
|
|
122
|
+
stroke={color}
|
|
123
|
+
strokeWidth={thickness}
|
|
124
|
+
strokeLinecap={lineCap}
|
|
125
|
+
strokeDasharray={customDashArray || dashArray}
|
|
126
|
+
strokeDashoffset={dashOffset}
|
|
127
|
+
/>
|
|
128
|
+
</Svg>
|
|
129
|
+
);
|
|
130
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IndeterminateProgress from "../IndeterminateProgress";
|
|
3
|
+
import { LinearProgress as LinearProgressComponent } from "./LinearProgress";
|
|
4
|
+
import { withTheme } from "../../../theming";
|
|
5
|
+
const LinearProgress = (props) => {
|
|
6
|
+
if (props.indeterminate) {
|
|
7
|
+
return (React.createElement(IndeterminateProgress, { ProgressComponent: LinearProgressComponent, ...props }));
|
|
8
|
+
}
|
|
9
|
+
else {
|
|
10
|
+
return React.createElement(LinearProgressComponent, { ...props });
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export default withTheme(LinearProgress);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,qBAAqB,MAAM,0BAA0B,CAAC;AAK7D,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,cAAc,GAEhB,CAAC,KAAK,EAAE,EAAE;IACZ,IAAI,KAAK,CAAC,aAAa,EAAE;QACvB,OAAO,CACL,oBAAC,qBAAqB,IACpB,iBAAiB,EAAE,uBAAuB,KACtC,KAAK,GACT,CACH,CAAC;KACH;SAAM;QACL,OAAO,oBAAC,uBAAuB,OAAK,KAAK,GAAI,CAAC;KAC/C;AACH,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import IndeterminateProgress from "../IndeterminateProgress";
|
|
3
|
+
import {
|
|
4
|
+
IndeterminateProgressProps,
|
|
5
|
+
ValueProgressProps,
|
|
6
|
+
} from "../ProgressCommon";
|
|
7
|
+
import { LinearProgress as LinearProgressComponent } from "./LinearProgress";
|
|
8
|
+
import { withTheme } from "../../../theming";
|
|
9
|
+
|
|
10
|
+
const LinearProgress: React.FC<
|
|
11
|
+
ValueProgressProps & IndeterminateProgressProps
|
|
12
|
+
> = (props) => {
|
|
13
|
+
if (props.indeterminate) {
|
|
14
|
+
return (
|
|
15
|
+
<IndeterminateProgress
|
|
16
|
+
ProgressComponent={LinearProgressComponent}
|
|
17
|
+
{...props}
|
|
18
|
+
/>
|
|
19
|
+
);
|
|
20
|
+
} else {
|
|
21
|
+
return <LinearProgressComponent {...props} />;
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default withTheme(LinearProgress);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressCommon.js","sourceRoot":"","sources":["ProgressCommon.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { StyleProp, ViewStyle } from "react-native";
|
|
2
|
+
import { Theme } from "../../styles/DefaultTheme";
|
|
3
|
+
|
|
4
|
+
type LineCap = "round" | "square";
|
|
5
|
+
|
|
6
|
+
export const DEFAULT_ANIMATION_DURATION = 500;
|
|
7
|
+
|
|
8
|
+
export interface BaseProgressProps {
|
|
9
|
+
thickness?: number;
|
|
10
|
+
trackThickness?: number;
|
|
11
|
+
color?: string;
|
|
12
|
+
trackColor?: string;
|
|
13
|
+
trackOpacity?: number;
|
|
14
|
+
showTrack?: boolean;
|
|
15
|
+
animationDuration?: number;
|
|
16
|
+
isAnimated?: boolean;
|
|
17
|
+
lineCap?: LineCap;
|
|
18
|
+
trackLineCap?: LineCap;
|
|
19
|
+
dashWidth?: string | number;
|
|
20
|
+
trackDashWidth?: string | number;
|
|
21
|
+
dashGap?: string | number;
|
|
22
|
+
trackDashGap?: string | number;
|
|
23
|
+
dashOffset?: string | number;
|
|
24
|
+
trackDashOffset?: string | number;
|
|
25
|
+
customDashArray?: string;
|
|
26
|
+
trackCustomDashArray?: string;
|
|
27
|
+
onFullPathWidth?: (width: number) => void;
|
|
28
|
+
style?: StyleProp<ViewStyle>;
|
|
29
|
+
theme: Theme;
|
|
30
|
+
}
|
|
31
|
+
export interface ValueProgressProps extends BaseProgressProps {
|
|
32
|
+
value?: number;
|
|
33
|
+
minimumValue?: number;
|
|
34
|
+
maximumValue?: number;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface IndeterminateProgressProps extends BaseProgressProps {
|
|
38
|
+
indeterminate?: boolean;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface CircularProgressProps {
|
|
42
|
+
startPosition?: "left" | "top" | "right" | "bottom";
|
|
43
|
+
}
|
|
@@ -12,7 +12,6 @@ const SwipeableItem = ({ theme, style, children, Icon, closeOnPress, leftOpenVal
|
|
|
12
12
|
return Object.keys(object).length === 0;
|
|
13
13
|
};
|
|
14
14
|
const { onStartSwiping, onStopSwiping } = React.useContext(SwipeableListContext);
|
|
15
|
-
const swipeableRef = React.useRef(null);
|
|
16
15
|
const { viewStyles, textStyles } = extractStyles(style);
|
|
17
16
|
const { borderStyles, marginStyles } = extractBorderAndMarginStyles(viewStyles);
|
|
18
17
|
const sizeStyles = extractSizeStyles(viewStyles);
|
|
@@ -50,13 +49,7 @@ const SwipeableItem = ({ theme, style, children, Icon, closeOnPress, leftOpenVal
|
|
|
50
49
|
throw Error("Colliding configuration in SwipeableItem. You cannot have SwipeableItemButton(s) on the swipe direction where swipe handling is configured. Either reset swipe configuration or remove the button(s).");
|
|
51
50
|
}
|
|
52
51
|
//Renders a single 'behind' item. Used for both buttons and swipe handler
|
|
53
|
-
const renderBehindItem = (item, index) => (React.createElement(Pressable, { key: index.toString(), onPress:
|
|
54
|
-
var _a, _b, _c;
|
|
55
|
-
(_a = item.onPress) === null || _a === void 0 ? void 0 : _a.call(item);
|
|
56
|
-
if ((_b = item.closeOnPress) !== null && _b !== void 0 ? _b : true) {
|
|
57
|
-
(_c = swipeableRef.current) === null || _c === void 0 ? void 0 : _c.closeRow();
|
|
58
|
-
}
|
|
59
|
-
}, style: [
|
|
52
|
+
const renderBehindItem = (item, index) => (React.createElement(Pressable, { key: index.toString(), onPress: item.onPress, style: [
|
|
60
53
|
styles.buttonContainer,
|
|
61
54
|
{ backgroundColor: item.backgroundColor || theme.colors.primary },
|
|
62
55
|
] },
|
|
@@ -67,7 +60,7 @@ const SwipeableItem = ({ theme, style, children, Icon, closeOnPress, leftOpenVal
|
|
|
67
60
|
return (React.createElement(View, { onLayout: (event) => {
|
|
68
61
|
setComponentWidth(event.nativeEvent.layout.width);
|
|
69
62
|
}, style: [styles.parentContainer, parentContainerStyles] },
|
|
70
|
-
React.createElement(SwipeRow, {
|
|
63
|
+
React.createElement(SwipeRow, { leftOpenValue: isRightSwipeHandled ? 0 : leftOpenValue || defaultLeftOpenValue //If in swiping mode, don't keep open
|
|
71
64
|
, rightOpenValue: isLeftSwipeHandled ? 0 : rightOpenValue || defaultRightOpenValue, leftActivationValue: leftActivationValue || isRightSwipeHandled
|
|
72
65
|
? defaultLeftOpenValue * (swipeActivationPercentage / 100) //When swipe passes activation percentage then it should be considered activated (call onSwipe)
|
|
73
66
|
: defaultLeftOpenValue, rightActivationValue: rightActivationValue || isLeftSwipeHandled
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeableItem.js","sourceRoot":"","sources":["SwipeableItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,IAAI,EAIJ,UAAU,EACV,IAAI,GACL,MAAM,cAAc,CAAC;AACtB,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,GACd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGxD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,mBAEN,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAIL,kCAAkC,EAClC,mCAAmC,EACnC,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAuC/B,MAAM,aAAa,GAA6C,CAAC,EAC/D,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,GAAG,EAAE,EAC9B,aAAa,EACb,cAAc,EACd,QAAQ,GAAG,EAAE,EACb,gBAAgB,EAChB,iBAAiB,EACjB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,CAAC,MAAc,EAAE,EAAE;QACvC,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;IAC1C,CAAC,CAAC;IAEF,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,GACrC,KAAK,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;IAEzC,MAAM,
|
|
1
|
+
{"version":3,"file":"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K,EAAE,EAAE,CACnC,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CACpC,CACA,CACF;YACP,oBAAC,IAAI,IACH,KAAK,EAAE;oBACL,MAAM,CAAC,gBAAgB;oBACvB;wBACE,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,UAAU;qBACzC;oBACD,sBAAsB;iBACvB,IAEA,iBAAiB,CACb,CACE,CACN,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,eAAe,EAAE;QACf,QAAQ,EAAE,QAAQ;QAClB,SAAS,EAAE,EAAE;KACd;IACD,eAAe,EAAE;QACf,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,aAAa,EAAE,KAAK;KACrB;IACD,mBAAmB,EAAE;QACnB,IAAI,EAAE,CAAC;QACP,aAAa,EAAE,KAAK;KACrB;IACD,eAAe,EAAE;QACf,IAAI,EAAE,CAAC;QACP,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;KACzB;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,MAAM;QACb,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC,CAAC;AAEH,eAAe,SAAS,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -96,8 +96,6 @@ const SwipeableItem: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
96
96
|
const { onStartSwiping, onStopSwiping } =
|
|
97
97
|
React.useContext(SwipeableListContext);
|
|
98
98
|
|
|
99
|
-
const swipeableRef = React.useRef<any>(null);
|
|
100
|
-
|
|
101
99
|
const { viewStyles, textStyles } = extractStyles(style);
|
|
102
100
|
|
|
103
101
|
const { borderStyles, marginStyles } =
|
|
@@ -178,12 +176,7 @@ const SwipeableItem: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
178
176
|
const renderBehindItem = (item: SwipeableItemBehindItem, index: number) => (
|
|
179
177
|
<Pressable
|
|
180
178
|
key={index.toString()}
|
|
181
|
-
onPress={(
|
|
182
|
-
item.onPress?.();
|
|
183
|
-
if (item.closeOnPress ?? true) {
|
|
184
|
-
swipeableRef.current?.closeRow();
|
|
185
|
-
}
|
|
186
|
-
}}
|
|
179
|
+
onPress={(item as any).onPress}
|
|
187
180
|
style={[
|
|
188
181
|
styles.buttonContainer,
|
|
189
182
|
{ backgroundColor: item.backgroundColor || theme.colors.primary },
|
|
@@ -218,7 +211,6 @@ const SwipeableItem: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
218
211
|
>
|
|
219
212
|
{/*@ts-ignore*/}
|
|
220
213
|
<SwipeRow
|
|
221
|
-
ref={swipeableRef}
|
|
222
214
|
leftOpenValue={
|
|
223
215
|
isRightSwipeHandled ? 0 : leftOpenValue || defaultLeftOpenValue //If in swiping mode, don't keep open
|
|
224
216
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwipeableItemCommon.js","sourceRoot":"","sources":["SwipeableItemCommon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"SwipeableItemCommon.js","sourceRoot":"","sources":["SwipeableItemCommon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA+B9B,MAAM,UAAU,sBAAsB,CAAC,MAAc;IACnD,OAAO,IAAI,CAAC,MAAM,EAAE;QAClB,eAAe;QACf,iBAAiB;QACjB,gBAAgB;QAChB,oBAAoB;QACpB,2BAA2B;QAC3B,iBAAiB;KAClB,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,MAAc;IAClD,OAAO,IAAI,CAAC,MAAM,EAAE;QAClB,cAAc;QACd,gBAAgB;QAChB,eAAe;QACf,mBAAmB;QACnB,0BAA0B;QAC1B,gBAAgB;KACjB,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,mCAAmC,CACjD,KAAsB;IAEtB,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,eAAe,IAAI,EAAE;QAClC,oBAAoB,EAAE,OAAO;QAC7B,OAAO,EAAE,KAAK,CAAC,aAAa;QAC5B,IAAI,EAAE,KAAK,CAAC,cAAc;QAC1B,QAAQ,EAAE,KAAK,CAAC,kBAAkB;QAClC,eAAe,EAAE,KAAK,CAAC,yBAAyB;QAChD,KAAK,EAAE,KAAK,CAAC,eAAe;KAC7B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kCAAkC,CAChD,KAAqB;IAErB,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,cAAc,IAAI,EAAE;QACjC,oBAAoB,EAAE,MAAM;QAC5B,OAAO,EAAE,KAAK,CAAC,YAAY;QAC3B,IAAI,EAAE,KAAK,CAAC,aAAa;QACzB,QAAQ,EAAE,KAAK,CAAC,iBAAiB;QACjC,eAAe,EAAE,KAAK,CAAC,wBAAwB;QAC/C,KAAK,EAAE,KAAK,CAAC,cAAc;KAC5B,CAAC;AACJ,CAAC"}
|
|
@@ -5,7 +5,6 @@ export interface SwipeableItemBehindItem {
|
|
|
5
5
|
revealSwipeDirection: "left" | "right";
|
|
6
6
|
onPress?: () => void;
|
|
7
7
|
onSwipe?: () => void;
|
|
8
|
-
closeOnPress?: boolean;
|
|
9
8
|
icon?: string;
|
|
10
9
|
iconSize?: number;
|
|
11
10
|
backgroundColor?: string;
|
|
@@ -54,7 +53,7 @@ export function extractLeftSwipeProps(object: object): LeftSwipeProps {
|
|
|
54
53
|
|
|
55
54
|
export function rightSwipeToSwipeableItemBehindItem(
|
|
56
55
|
swipe: RightSwipeProps
|
|
57
|
-
): Omit<SwipeableItemBehindItem, "onPress"
|
|
56
|
+
): Omit<SwipeableItemBehindItem, "onPress"> {
|
|
58
57
|
return {
|
|
59
58
|
title: swipe.rightSwipeTitle || "",
|
|
60
59
|
revealSwipeDirection: "right",
|
|
@@ -68,7 +67,7 @@ export function rightSwipeToSwipeableItemBehindItem(
|
|
|
68
67
|
|
|
69
68
|
export function leftSwipeToSwipeableItemBehindItem(
|
|
70
69
|
swipe: LeftSwipeProps
|
|
71
|
-
): Omit<SwipeableItemBehindItem, "onPress"
|
|
70
|
+
): Omit<SwipeableItemBehindItem, "onPress"> {
|
|
72
71
|
return {
|
|
73
72
|
title: swipe.leftSwipeTitle || "",
|
|
74
73
|
revealSwipeDirection: "left",
|
package/src/index.js
CHANGED
|
@@ -36,6 +36,8 @@ export { default as Picker } from "./components/Picker/Picker";
|
|
|
36
36
|
export { default as Slider } from "./components/Slider";
|
|
37
37
|
export { default as Stepper } from "./components/Stepper";
|
|
38
38
|
export { SectionList, SectionHeader } from "./components/SectionList";
|
|
39
|
+
export { default as LinearProgress } from "./components/Progress/LinearProgress";
|
|
40
|
+
export { default as CircularProgress } from "./components/Progress/CircularProgress";
|
|
39
41
|
/* Deprecated: Fix or Delete! */
|
|
40
42
|
export { default as AccordionItem } from "./deprecated-components/AccordionItem";
|
|
41
43
|
export { default as AvatarEdit } from "./deprecated-components/AvatarEdit";
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,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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,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
|
package/src/index.tsx
CHANGED
|
@@ -51,6 +51,8 @@ export { default as Picker } from "./components/Picker/Picker";
|
|
|
51
51
|
export { default as Slider } from "./components/Slider";
|
|
52
52
|
export { default as Stepper } from "./components/Stepper";
|
|
53
53
|
export { SectionList, SectionHeader } from "./components/SectionList";
|
|
54
|
+
export { default as LinearProgress } from "./components/Progress/LinearProgress";
|
|
55
|
+
export { default as CircularProgress } from "./components/Progress/CircularProgress";
|
|
54
56
|
|
|
55
57
|
/* Deprecated: Fix or Delete! */
|
|
56
58
|
export { default as AccordionItem } from "./deprecated-components/AccordionItem";
|