react-native-notitoast 0.0.0-stage → 2.0.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/LICENSE +21 -0
- package/README.md +201 -2
- package/lib/commonjs/ToastItem.js +504 -0
- package/lib/commonjs/ToastItem.js.map +1 -0
- package/lib/commonjs/ToastProvider.js +84 -0
- package/lib/commonjs/ToastProvider.js.map +1 -0
- package/lib/commonjs/index.js +26 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/theme.js +41 -0
- package/lib/commonjs/theme.js.map +1 -0
- package/lib/commonjs/toast.js +39 -0
- package/lib/commonjs/toast.js.map +1 -0
- package/lib/commonjs/types.js +6 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/module/ToastItem.js +500 -0
- package/lib/module/ToastItem.js.map +1 -0
- package/lib/module/ToastProvider.js +80 -0
- package/lib/module/ToastProvider.js.map +1 -0
- package/lib/module/index.js +5 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/theme.js +37 -0
- package/lib/module/theme.js.map +1 -0
- package/lib/module/toast.js +33 -0
- package/lib/module/toast.js.map +1 -0
- package/lib/module/types.js +4 -0
- package/lib/module/types.js.map +1 -0
- package/lib/typescript/src/ToastItem.d.ts +12 -0
- package/lib/typescript/src/ToastItem.d.ts.map +1 -0
- package/lib/typescript/src/ToastProvider.d.ts +7 -0
- package/lib/typescript/src/ToastProvider.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +6 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/theme.d.ts +21 -0
- package/lib/typescript/src/theme.d.ts.map +1 -0
- package/lib/typescript/src/toast.d.ts +23 -0
- package/lib/typescript/src/toast.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts +93 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/package.json +77 -6
- package/src/ToastItem.tsx +597 -0
- package/src/ToastProvider.tsx +93 -0
- package/src/index.ts +14 -0
- package/src/theme.ts +39 -0
- package/src/toast.ts +51 -0
- package/src/types.ts +109 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.typeGlyphs = exports.typeColors = exports.palettes = exports.defaultDurations = void 0;
|
|
7
|
+
const typeColors = exports.typeColors = {
|
|
8
|
+
success: '#16A34A',
|
|
9
|
+
error: '#DC2626',
|
|
10
|
+
warning: '#F59E0B',
|
|
11
|
+
info: '#2563EB'
|
|
12
|
+
};
|
|
13
|
+
const typeGlyphs = exports.typeGlyphs = {
|
|
14
|
+
success: '✓',
|
|
15
|
+
error: '✕',
|
|
16
|
+
warning: '!',
|
|
17
|
+
info: 'i'
|
|
18
|
+
};
|
|
19
|
+
const defaultDurations = exports.defaultDurations = {
|
|
20
|
+
success: 3500,
|
|
21
|
+
error: 5000,
|
|
22
|
+
warning: 4000,
|
|
23
|
+
info: 3500
|
|
24
|
+
};
|
|
25
|
+
const palettes = exports.palettes = {
|
|
26
|
+
light: {
|
|
27
|
+
card: '#FFFFFF',
|
|
28
|
+
border: 'rgba(0,0,0,0.06)',
|
|
29
|
+
title: '#111827',
|
|
30
|
+
message: '#4B5563',
|
|
31
|
+
track: 'rgba(0,0,0,0.05)'
|
|
32
|
+
},
|
|
33
|
+
dark: {
|
|
34
|
+
card: '#1F2023',
|
|
35
|
+
border: 'rgba(255,255,255,0.08)',
|
|
36
|
+
title: '#F9FAFB',
|
|
37
|
+
message: '#D1D5DB',
|
|
38
|
+
track: 'rgba(255,255,255,0.08)'
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["typeColors","exports","success","error","warning","info","typeGlyphs","defaultDurations","palettes","light","card","border","title","message","track","dark"],"sourceRoot":"..\\..\\src","sources":["theme.ts"],"mappings":";;;;;;AAEO,MAAMA,UAAqC,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACnDE,OAAO,EAAE,SAAS;EAClBC,KAAK,EAAE,SAAS;EAChBC,OAAO,EAAE,SAAS;EAClBC,IAAI,EAAE;AACR,CAAC;AAEM,MAAMC,UAAqC,GAAAL,OAAA,CAAAK,UAAA,GAAG;EACnDJ,OAAO,EAAE,GAAG;EACZC,KAAK,EAAE,GAAG;EACVC,OAAO,EAAE,GAAG;EACZC,IAAI,EAAE;AACR,CAAC;AAEM,MAAME,gBAA2C,GAAAN,OAAA,CAAAM,gBAAA,GAAG;EACzDL,OAAO,EAAE,IAAI;EACbC,KAAK,EAAE,IAAI;EACXC,OAAO,EAAE,IAAI;EACbC,IAAI,EAAE;AACR,CAAC;AAEM,MAAMG,QAAQ,GAAAP,OAAA,CAAAO,QAAA,GAAG;EACtBC,KAAK,EAAE;IACLC,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,kBAAkB;IAC1BC,KAAK,EAAE,SAAS;IAChBC,OAAO,EAAE,SAAS;IAClBC,KAAK,EAAE;EACT,CAAC;EACDC,IAAI,EAAE;IACJL,IAAI,EAAE,SAAS;IACfC,MAAM,EAAE,wBAAwB;IAChCC,KAAK,EAAE,SAAS;IAChBC,OAAO,EAAE,SAAS;IAClBC,KAAK,EAAE;EACT;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.setToastHandler = setToastHandler;
|
|
7
|
+
exports.toast = void 0;
|
|
8
|
+
exports.useToast = useToast;
|
|
9
|
+
let handler = null;
|
|
10
|
+
|
|
11
|
+
/** @internal */
|
|
12
|
+
function setToastHandler(next) {
|
|
13
|
+
handler = next;
|
|
14
|
+
}
|
|
15
|
+
function show(options) {
|
|
16
|
+
if (!handler) {
|
|
17
|
+
console.warn('[react-native-notitoast] <ToastProvider> is not mounted. Wrap your app root with it.');
|
|
18
|
+
return '';
|
|
19
|
+
}
|
|
20
|
+
return handler.show(options);
|
|
21
|
+
}
|
|
22
|
+
const make = type => (title, message, options) => show({
|
|
23
|
+
...options,
|
|
24
|
+
type,
|
|
25
|
+
title,
|
|
26
|
+
message
|
|
27
|
+
});
|
|
28
|
+
const toast = exports.toast = Object.assign(show, {
|
|
29
|
+
success: make('success'),
|
|
30
|
+
error: make('error'),
|
|
31
|
+
warning: make('warning'),
|
|
32
|
+
info: make('info'),
|
|
33
|
+
hide: id => handler?.hide(id),
|
|
34
|
+
hideAll: () => handler?.hideAll()
|
|
35
|
+
});
|
|
36
|
+
function useToast() {
|
|
37
|
+
return toast;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=toast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["handler","setToastHandler","next","show","options","console","warn","make","type","title","message","toast","exports","Object","assign","success","error","warning","info","hide","id","hideAll","useToast"],"sourceRoot":"..\\..\\src","sources":["toast.ts"],"mappings":";;;;;;;;AAQA,IAAIA,OAAuB,GAAG,IAAI;;AAElC;AACO,SAASC,eAAeA,CAACC,IAAoB,EAAE;EACpDF,OAAO,GAAGE,IAAI;AAChB;AAEA,SAASC,IAAIA,CAACC,OAAqB,EAAU;EAC3C,IAAI,CAACJ,OAAO,EAAE;IACZK,OAAO,CAACC,IAAI,CACV,sFACF,CAAC;IACD,OAAO,EAAE;EACX;EACA,OAAON,OAAO,CAACG,IAAI,CAACC,OAAO,CAAC;AAC9B;AASA,MAAMG,IAAI,GACPC,IAAe,IAChB,CAACC,KAAK,EAAEC,OAAO,EAAEN,OAAO,KACtBD,IAAI,CAAC;EAAE,GAAGC,OAAO;EAAEI,IAAI;EAAEC,KAAK;EAAEC;AAAQ,CAAC,CAAC;AAEvC,MAAMC,KAAK,GAAAC,OAAA,CAAAD,KAAA,GAAGE,MAAM,CAACC,MAAM,CAACX,IAAI,EAAE;EACvCY,OAAO,EAAER,IAAI,CAAC,SAAS,CAAC;EACxBS,KAAK,EAAET,IAAI,CAAC,OAAO,CAAC;EACpBU,OAAO,EAAEV,IAAI,CAAC,SAAS,CAAC;EACxBW,IAAI,EAAEX,IAAI,CAAC,MAAM,CAAC;EAClBY,IAAI,EAAGC,EAAW,IAAKpB,OAAO,EAAEmB,IAAI,CAACC,EAAE,CAAC;EACxCC,OAAO,EAAEA,CAAA,KAAMrB,OAAO,EAAEqB,OAAO,CAAC;AAClC,CAAC,CAAC;AAIK,SAASC,QAAQA,CAAA,EAAU;EAChC,OAAOX,KAAK;AACd","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\src","sources":["types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,500 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useRef } from 'react';
|
|
4
|
+
import { AccessibilityInfo, Animated, Dimensions, Easing, Image, PanResponder, Platform, Pressable, StyleSheet, Text, View } from 'react-native';
|
|
5
|
+
import { defaultDurations, palettes, typeColors, typeGlyphs } from './theme';
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
/** Per-toast values win over provider values, but `undefined` never overrides. */
|
|
8
|
+
function mergeAppearance(base, over) {
|
|
9
|
+
const out = {
|
|
10
|
+
...base
|
|
11
|
+
};
|
|
12
|
+
for (const [key, value] of Object.entries(over)) {
|
|
13
|
+
if (value !== undefined) out[key] = value;
|
|
14
|
+
}
|
|
15
|
+
return out;
|
|
16
|
+
}
|
|
17
|
+
export function ToastItem({
|
|
18
|
+
toast,
|
|
19
|
+
config,
|
|
20
|
+
scheme,
|
|
21
|
+
topOffset,
|
|
22
|
+
bottomOffset,
|
|
23
|
+
onExited
|
|
24
|
+
}) {
|
|
25
|
+
const o = mergeAppearance(config, toast);
|
|
26
|
+
const type = toast.type ?? 'info';
|
|
27
|
+
const isTop = (o.position ?? 'top') === 'top';
|
|
28
|
+
const duration = toast.duration ?? config.durations?.[type] ?? config.duration ?? defaultDurations[type];
|
|
29
|
+
const showProgress = o.showProgress ?? false;
|
|
30
|
+
const variant = o.variant ?? 'default';
|
|
31
|
+
const filled = variant === 'filled';
|
|
32
|
+
const accent = toast.accentColor ?? config.colors?.[type] ?? typeColors[type];
|
|
33
|
+
const palette = palettes[scheme];
|
|
34
|
+
const glyph = typeGlyphs[type];
|
|
35
|
+
|
|
36
|
+
// Colors
|
|
37
|
+
const onFilled = type === 'warning' ? '#111827' : '#FFFFFF';
|
|
38
|
+
const cardBg = o.backgroundColor ?? (filled ? accent : palette.card);
|
|
39
|
+
const borderColor = o.borderColor ?? (filled ? 'transparent' : palette.border);
|
|
40
|
+
const titleColor = o.titleColor ?? (filled ? onFilled : palette.title);
|
|
41
|
+
const messageColor = o.messageColor ?? (filled ? onFilled : palette.message);
|
|
42
|
+
const badgeBg = filled ? onFilled : accent;
|
|
43
|
+
const badgeGlyph = filled ? accent : '#FFFFFF';
|
|
44
|
+
|
|
45
|
+
// Layout pieces
|
|
46
|
+
const imagePosition = o.imagePosition ?? 'right';
|
|
47
|
+
const showIcon = o.showIcon ?? true;
|
|
48
|
+
const leftImage = (imagePosition === 'left' ? toast.image : undefined) ?? toast.icon ?? o.appIcon;
|
|
49
|
+
const rightImage = imagePosition === 'right' ? toast.image : undefined;
|
|
50
|
+
const showTypeIcon = !leftImage && showIcon;
|
|
51
|
+
const showCornerBadge = !!leftImage && showIcon && (o.showTypeBadge ?? true);
|
|
52
|
+
const hasLeft = !!leftImage || showTypeIcon;
|
|
53
|
+
const showAccentBar = o.showAccentBar ?? (!hasLeft && !filled);
|
|
54
|
+
|
|
55
|
+
// Sizes
|
|
56
|
+
const radius = o.borderRadius ?? 18;
|
|
57
|
+
const iconSize = o.iconSize ?? 40;
|
|
58
|
+
const imageSize = o.imageSize ?? 44;
|
|
59
|
+
const innerBadge = Math.round(iconSize * 0.55);
|
|
60
|
+
const cornerBadge = Math.max(14, Math.round(iconSize * 0.42));
|
|
61
|
+
const titleLines = o.titleLines ?? 1;
|
|
62
|
+
const messageLines = o.messageLines ?? 3;
|
|
63
|
+
const hiddenY = isTop ? -(topOffset + 200) : bottomOffset + 200;
|
|
64
|
+
const translateY = useRef(new Animated.Value(hiddenY)).current;
|
|
65
|
+
const opacity = useRef(new Animated.Value(0)).current;
|
|
66
|
+
const progress = useRef(new Animated.Value(1)).current;
|
|
67
|
+
const exiting = useRef(false);
|
|
68
|
+
const onExitedRef = useRef(onExited);
|
|
69
|
+
onExitedRef.current = onExited;
|
|
70
|
+
const onHideRef = useRef(toast.onHide);
|
|
71
|
+
onHideRef.current = toast.onHide;
|
|
72
|
+
const translateX = useRef(new Animated.Value(0)).current;
|
|
73
|
+
const dragging = useRef(false);
|
|
74
|
+
|
|
75
|
+
// Swipe directions. `swipeable: false` turns all of them off.
|
|
76
|
+
const swipeable = o.swipeable ?? true;
|
|
77
|
+
const swipe = {
|
|
78
|
+
left: swipeable && (o.swipeLeft ?? true),
|
|
79
|
+
right: swipeable && (o.swipeRight ?? true),
|
|
80
|
+
up: swipeable && (o.swipeUp ?? isTop),
|
|
81
|
+
down: swipeable && (o.swipeDown ?? !isTop)
|
|
82
|
+
};
|
|
83
|
+
const swipeRef = useRef(swipe);
|
|
84
|
+
swipeRef.current = swipe;
|
|
85
|
+
const pauseTimer = () => progress.stopAnimation();
|
|
86
|
+
const startTimer = () => {
|
|
87
|
+
if (duration <= 0 || exiting.current || dragging.current) return;
|
|
88
|
+
progress.stopAnimation(value => {
|
|
89
|
+
Animated.timing(progress, {
|
|
90
|
+
toValue: 0,
|
|
91
|
+
duration: value * duration,
|
|
92
|
+
easing: Easing.linear,
|
|
93
|
+
useNativeDriver: false
|
|
94
|
+
}).start(({
|
|
95
|
+
finished
|
|
96
|
+
}) => {
|
|
97
|
+
if (finished) dismiss();
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/** `direction` = swipe direction the toast leaves in; default slides back to its edge. */
|
|
103
|
+
const dismiss = direction => {
|
|
104
|
+
if (exiting.current) return;
|
|
105
|
+
exiting.current = true;
|
|
106
|
+
progress.stopAnimation();
|
|
107
|
+
const {
|
|
108
|
+
width,
|
|
109
|
+
height
|
|
110
|
+
} = Dimensions.get('window');
|
|
111
|
+
const horizontal = direction === 'left' || direction === 'right';
|
|
112
|
+
const target = direction === 'left' ? -width : direction === 'right' ? width : direction === 'up' ? -height : direction === 'down' ? height : hiddenY;
|
|
113
|
+
Animated.parallel([Animated.timing(horizontal ? translateX : translateY, {
|
|
114
|
+
toValue: target,
|
|
115
|
+
duration: direction ? 200 : 240,
|
|
116
|
+
easing: direction ? Easing.out(Easing.quad) : Easing.in(Easing.cubic),
|
|
117
|
+
useNativeDriver: true
|
|
118
|
+
}), Animated.timing(opacity, {
|
|
119
|
+
toValue: 0,
|
|
120
|
+
duration: 200,
|
|
121
|
+
useNativeDriver: true
|
|
122
|
+
})]).start(() => {
|
|
123
|
+
onHideRef.current?.();
|
|
124
|
+
onExitedRef.current();
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
// Latest-closure ref so the (once-created) PanResponder never goes stale.
|
|
129
|
+
const actions = useRef({
|
|
130
|
+
dismiss,
|
|
131
|
+
startTimer,
|
|
132
|
+
pauseTimer
|
|
133
|
+
});
|
|
134
|
+
actions.current = {
|
|
135
|
+
dismiss,
|
|
136
|
+
startTimer,
|
|
137
|
+
pauseTimer
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
// Axis locked when the drag starts, so a swipe moves on one axis only.
|
|
141
|
+
const axis = useRef('y');
|
|
142
|
+
const snapBack = () => {
|
|
143
|
+
dragging.current = false;
|
|
144
|
+
Animated.parallel([Animated.spring(translateX, {
|
|
145
|
+
toValue: 0,
|
|
146
|
+
useNativeDriver: true
|
|
147
|
+
}), Animated.spring(translateY, {
|
|
148
|
+
toValue: 0,
|
|
149
|
+
useNativeDriver: true
|
|
150
|
+
})]).start();
|
|
151
|
+
actions.current.startTimer();
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/** Allowed direction follows the finger; a blocked one only gives a little. */
|
|
155
|
+
const follow = (d, negOk, posOk) => d < 0 ? negOk ? d : d * 0.15 : posOk ? d : d * 0.15;
|
|
156
|
+
const pan = useRef(PanResponder.create({
|
|
157
|
+
onMoveShouldSetPanResponder: (_, g) => {
|
|
158
|
+
const s = swipeRef.current;
|
|
159
|
+
const absX = Math.abs(g.dx);
|
|
160
|
+
const absY = Math.abs(g.dy);
|
|
161
|
+
if (absX > absY) return absX > 8 && (s.left || s.right);
|
|
162
|
+
return absY > 6 && (s.up || s.down);
|
|
163
|
+
},
|
|
164
|
+
onPanResponderGrant: (_, g) => {
|
|
165
|
+
axis.current = Math.abs(g.dx) > Math.abs(g.dy) ? 'x' : 'y';
|
|
166
|
+
dragging.current = true;
|
|
167
|
+
actions.current.pauseTimer();
|
|
168
|
+
},
|
|
169
|
+
onPanResponderMove: (_, g) => {
|
|
170
|
+
const s = swipeRef.current;
|
|
171
|
+
if (axis.current === 'x') {
|
|
172
|
+
translateX.setValue(follow(g.dx, s.left, s.right));
|
|
173
|
+
} else {
|
|
174
|
+
translateY.setValue(follow(g.dy, s.up, s.down));
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
onPanResponderRelease: (_, g) => {
|
|
178
|
+
const s = swipeRef.current;
|
|
179
|
+
let direction;
|
|
180
|
+
if (axis.current === 'x') {
|
|
181
|
+
if (s.left && (g.dx < -80 || g.vx < -0.5)) direction = 'left';else if (s.right && (g.dx > 80 || g.vx > 0.5)) direction = 'right';
|
|
182
|
+
} else {
|
|
183
|
+
if (s.up && (g.dy < -24 || g.vy < -0.6)) direction = 'up';else if (s.down && (g.dy > 24 || g.vy > 0.6)) direction = 'down';
|
|
184
|
+
}
|
|
185
|
+
if (direction) {
|
|
186
|
+
dragging.current = false;
|
|
187
|
+
actions.current.dismiss(direction);
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
snapBack();
|
|
191
|
+
},
|
|
192
|
+
onPanResponderTerminate: () => snapBack(),
|
|
193
|
+
onPanResponderTerminationRequest: () => false
|
|
194
|
+
})).current;
|
|
195
|
+
|
|
196
|
+
// Enter animation + announce for screen readers.
|
|
197
|
+
useEffect(() => {
|
|
198
|
+
Animated.parallel([Animated.spring(translateY, {
|
|
199
|
+
toValue: 0,
|
|
200
|
+
damping: 18,
|
|
201
|
+
stiffness: 180,
|
|
202
|
+
mass: 0.9,
|
|
203
|
+
useNativeDriver: true
|
|
204
|
+
}), Animated.timing(opacity, {
|
|
205
|
+
toValue: 1,
|
|
206
|
+
duration: 220,
|
|
207
|
+
useNativeDriver: true
|
|
208
|
+
})]).start();
|
|
209
|
+
startTimer();
|
|
210
|
+
const spoken = [toast.title, toast.message].filter(Boolean).join('. ');
|
|
211
|
+
if (spoken) AccessibilityInfo.announceForAccessibility(spoken);
|
|
212
|
+
return () => progress.stopAnimation();
|
|
213
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
214
|
+
}, []);
|
|
215
|
+
|
|
216
|
+
// Same id shown again → content updated, restart the timer.
|
|
217
|
+
const firstRev = useRef(toast.rev);
|
|
218
|
+
useEffect(() => {
|
|
219
|
+
if (toast.rev === firstRev.current) return;
|
|
220
|
+
progress.stopAnimation();
|
|
221
|
+
progress.setValue(1);
|
|
222
|
+
startTimer();
|
|
223
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
224
|
+
}, [toast.rev, duration]);
|
|
225
|
+
useEffect(() => {
|
|
226
|
+
if (toast.dismissing) dismiss();
|
|
227
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
228
|
+
}, [toast.dismissing]);
|
|
229
|
+
const handlePress = () => {
|
|
230
|
+
toast.onPress?.();
|
|
231
|
+
dismiss();
|
|
232
|
+
};
|
|
233
|
+
const barWidth = progress.interpolate({
|
|
234
|
+
inputRange: [0, 1],
|
|
235
|
+
outputRange: ['0%', '100%']
|
|
236
|
+
});
|
|
237
|
+
const sizeStyle = {
|
|
238
|
+
...(o.width !== undefined && {
|
|
239
|
+
width: o.width
|
|
240
|
+
}),
|
|
241
|
+
...(o.maxWidth !== undefined && {
|
|
242
|
+
maxWidth: o.maxWidth
|
|
243
|
+
}),
|
|
244
|
+
...(o.minHeight !== undefined && {
|
|
245
|
+
minHeight: o.minHeight
|
|
246
|
+
}),
|
|
247
|
+
...(o.height !== undefined && {
|
|
248
|
+
height: o.height
|
|
249
|
+
})
|
|
250
|
+
};
|
|
251
|
+
return /*#__PURE__*/_jsx(Animated.View, {
|
|
252
|
+
pointerEvents: "box-none",
|
|
253
|
+
style: [styles.container, isTop ? {
|
|
254
|
+
top: topOffset
|
|
255
|
+
} : {
|
|
256
|
+
bottom: bottomOffset
|
|
257
|
+
}, {
|
|
258
|
+
opacity,
|
|
259
|
+
transform: [{
|
|
260
|
+
translateX
|
|
261
|
+
}, {
|
|
262
|
+
translateY
|
|
263
|
+
}]
|
|
264
|
+
}],
|
|
265
|
+
...pan.panHandlers,
|
|
266
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
267
|
+
style: [styles.shadow, {
|
|
268
|
+
backgroundColor: cardBg,
|
|
269
|
+
borderColor,
|
|
270
|
+
borderRadius: radius
|
|
271
|
+
}, sizeStyle, o.style],
|
|
272
|
+
children: /*#__PURE__*/_jsxs(Pressable, {
|
|
273
|
+
onPress: handlePress,
|
|
274
|
+
onPressIn: pauseTimer,
|
|
275
|
+
onPressOut: startTimer,
|
|
276
|
+
accessibilityRole: "alert",
|
|
277
|
+
accessibilityLiveRegion: "polite",
|
|
278
|
+
style: [styles.card, {
|
|
279
|
+
borderRadius: radius
|
|
280
|
+
}],
|
|
281
|
+
children: [variant === 'tinted' ? /*#__PURE__*/_jsx(View, {
|
|
282
|
+
pointerEvents: "none",
|
|
283
|
+
style: [styles.fill, {
|
|
284
|
+
backgroundColor: accent,
|
|
285
|
+
opacity: scheme === 'dark' ? 0.16 : 0.08
|
|
286
|
+
}]
|
|
287
|
+
}) : null, showAccentBar ? /*#__PURE__*/_jsx(View, {
|
|
288
|
+
style: [styles.accentBar, {
|
|
289
|
+
backgroundColor: accent
|
|
290
|
+
}]
|
|
291
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
292
|
+
style: [styles.row, showAccentBar && styles.rowWithBar, !hasLeft && styles.rowTextOnly],
|
|
293
|
+
children: [leftImage ? /*#__PURE__*/_jsxs(View, {
|
|
294
|
+
style: {
|
|
295
|
+
width: iconSize,
|
|
296
|
+
height: iconSize
|
|
297
|
+
},
|
|
298
|
+
children: [/*#__PURE__*/_jsx(Image, {
|
|
299
|
+
source: leftImage,
|
|
300
|
+
style: {
|
|
301
|
+
width: iconSize,
|
|
302
|
+
height: iconSize,
|
|
303
|
+
borderRadius: Math.round(iconSize * 0.28)
|
|
304
|
+
}
|
|
305
|
+
}), showCornerBadge ? /*#__PURE__*/_jsx(View, {
|
|
306
|
+
style: [styles.cornerBadge, {
|
|
307
|
+
width: cornerBadge,
|
|
308
|
+
height: cornerBadge,
|
|
309
|
+
borderRadius: cornerBadge / 2,
|
|
310
|
+
backgroundColor: badgeBg,
|
|
311
|
+
borderColor: cardBg
|
|
312
|
+
}],
|
|
313
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
314
|
+
style: [styles.glyph, {
|
|
315
|
+
color: badgeGlyph,
|
|
316
|
+
fontSize: Math.round(cornerBadge * 0.5),
|
|
317
|
+
lineHeight: Math.round(cornerBadge * 0.62)
|
|
318
|
+
}],
|
|
319
|
+
children: glyph
|
|
320
|
+
})
|
|
321
|
+
}) : null]
|
|
322
|
+
}) : showTypeIcon ? /*#__PURE__*/_jsxs(View, {
|
|
323
|
+
style: [styles.iconWrap, {
|
|
324
|
+
width: iconSize,
|
|
325
|
+
height: iconSize,
|
|
326
|
+
borderRadius: Math.round(iconSize * 0.3)
|
|
327
|
+
}],
|
|
328
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
329
|
+
style: [styles.fill, {
|
|
330
|
+
backgroundColor: filled ? '#FFFFFF' : accent,
|
|
331
|
+
opacity: filled ? 0.22 : 0.12
|
|
332
|
+
}]
|
|
333
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
334
|
+
style: [styles.innerBadge, {
|
|
335
|
+
width: innerBadge,
|
|
336
|
+
height: innerBadge,
|
|
337
|
+
borderRadius: innerBadge / 2,
|
|
338
|
+
backgroundColor: badgeBg
|
|
339
|
+
}],
|
|
340
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
341
|
+
style: [styles.glyph, {
|
|
342
|
+
color: badgeGlyph,
|
|
343
|
+
fontSize: Math.round(innerBadge * 0.58),
|
|
344
|
+
lineHeight: Math.round(innerBadge * 0.72)
|
|
345
|
+
}],
|
|
346
|
+
children: glyph
|
|
347
|
+
})
|
|
348
|
+
})]
|
|
349
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
350
|
+
style: styles.texts,
|
|
351
|
+
children: [toast.title ? /*#__PURE__*/_jsx(Text, {
|
|
352
|
+
numberOfLines: titleLines,
|
|
353
|
+
style: [styles.title, {
|
|
354
|
+
color: titleColor
|
|
355
|
+
}, o.titleStyle],
|
|
356
|
+
children: toast.title
|
|
357
|
+
}) : null, toast.message ? /*#__PURE__*/_jsx(Text, {
|
|
358
|
+
numberOfLines: messageLines,
|
|
359
|
+
style: [styles.message, {
|
|
360
|
+
color: messageColor
|
|
361
|
+
}, filled && styles.softText, o.messageStyle],
|
|
362
|
+
children: toast.message
|
|
363
|
+
}) : null]
|
|
364
|
+
}), rightImage ? /*#__PURE__*/_jsx(Image, {
|
|
365
|
+
source: rightImage,
|
|
366
|
+
style: {
|
|
367
|
+
width: imageSize,
|
|
368
|
+
height: imageSize,
|
|
369
|
+
borderRadius: Math.round(imageSize * 0.23)
|
|
370
|
+
}
|
|
371
|
+
}) : null]
|
|
372
|
+
}), showProgress && duration > 0 ? /*#__PURE__*/_jsx(View, {
|
|
373
|
+
style: [styles.track, {
|
|
374
|
+
backgroundColor: filled ? 'rgba(255,255,255,0.25)' : palette.track
|
|
375
|
+
}],
|
|
376
|
+
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
377
|
+
style: [styles.bar, {
|
|
378
|
+
backgroundColor: filled ? onFilled : accent,
|
|
379
|
+
width: barWidth
|
|
380
|
+
}]
|
|
381
|
+
})
|
|
382
|
+
}) : null]
|
|
383
|
+
})
|
|
384
|
+
})
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
const styles = StyleSheet.create({
|
|
388
|
+
container: {
|
|
389
|
+
position: 'absolute',
|
|
390
|
+
left: 0,
|
|
391
|
+
right: 0,
|
|
392
|
+
paddingHorizontal: 12,
|
|
393
|
+
alignItems: 'center',
|
|
394
|
+
zIndex: 9999,
|
|
395
|
+
elevation: 9999
|
|
396
|
+
},
|
|
397
|
+
shadow: {
|
|
398
|
+
width: '100%',
|
|
399
|
+
maxWidth: 560,
|
|
400
|
+
borderWidth: StyleSheet.hairlineWidth,
|
|
401
|
+
...Platform.select({
|
|
402
|
+
ios: {
|
|
403
|
+
shadowColor: '#000',
|
|
404
|
+
shadowOpacity: 0.12,
|
|
405
|
+
shadowRadius: 18,
|
|
406
|
+
shadowOffset: {
|
|
407
|
+
width: 0,
|
|
408
|
+
height: 8
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
android: {
|
|
412
|
+
elevation: 8
|
|
413
|
+
},
|
|
414
|
+
default: {}
|
|
415
|
+
})
|
|
416
|
+
},
|
|
417
|
+
card: {
|
|
418
|
+
flexGrow: 1,
|
|
419
|
+
justifyContent: 'center',
|
|
420
|
+
overflow: 'hidden'
|
|
421
|
+
},
|
|
422
|
+
fill: {
|
|
423
|
+
position: 'absolute',
|
|
424
|
+
top: 0,
|
|
425
|
+
left: 0,
|
|
426
|
+
right: 0,
|
|
427
|
+
bottom: 0
|
|
428
|
+
},
|
|
429
|
+
accentBar: {
|
|
430
|
+
position: 'absolute',
|
|
431
|
+
top: 0,
|
|
432
|
+
bottom: 0,
|
|
433
|
+
left: 0,
|
|
434
|
+
width: 4
|
|
435
|
+
},
|
|
436
|
+
row: {
|
|
437
|
+
flexDirection: 'row',
|
|
438
|
+
alignItems: 'center',
|
|
439
|
+
paddingVertical: 12,
|
|
440
|
+
paddingHorizontal: 12,
|
|
441
|
+
gap: 12
|
|
442
|
+
},
|
|
443
|
+
rowWithBar: {
|
|
444
|
+
paddingLeft: 18
|
|
445
|
+
},
|
|
446
|
+
rowTextOnly: {
|
|
447
|
+
paddingVertical: 14,
|
|
448
|
+
paddingRight: 16
|
|
449
|
+
},
|
|
450
|
+
iconWrap: {
|
|
451
|
+
alignItems: 'center',
|
|
452
|
+
justifyContent: 'center',
|
|
453
|
+
overflow: 'hidden'
|
|
454
|
+
},
|
|
455
|
+
innerBadge: {
|
|
456
|
+
alignItems: 'center',
|
|
457
|
+
justifyContent: 'center'
|
|
458
|
+
},
|
|
459
|
+
cornerBadge: {
|
|
460
|
+
position: 'absolute',
|
|
461
|
+
right: -4,
|
|
462
|
+
bottom: -4,
|
|
463
|
+
borderWidth: 2,
|
|
464
|
+
alignItems: 'center',
|
|
465
|
+
justifyContent: 'center'
|
|
466
|
+
},
|
|
467
|
+
glyph: {
|
|
468
|
+
fontWeight: '800',
|
|
469
|
+
textAlign: 'center',
|
|
470
|
+
includeFontPadding: false,
|
|
471
|
+
textAlignVertical: 'center'
|
|
472
|
+
},
|
|
473
|
+
texts: {
|
|
474
|
+
flex: 1,
|
|
475
|
+
minWidth: 0
|
|
476
|
+
},
|
|
477
|
+
title: {
|
|
478
|
+
fontSize: 15,
|
|
479
|
+
fontWeight: '700'
|
|
480
|
+
},
|
|
481
|
+
message: {
|
|
482
|
+
fontSize: 13.5,
|
|
483
|
+
lineHeight: 18,
|
|
484
|
+
marginTop: 2
|
|
485
|
+
},
|
|
486
|
+
softText: {
|
|
487
|
+
opacity: 0.88
|
|
488
|
+
},
|
|
489
|
+
track: {
|
|
490
|
+
position: 'absolute',
|
|
491
|
+
left: 0,
|
|
492
|
+
right: 0,
|
|
493
|
+
bottom: 0,
|
|
494
|
+
height: 3
|
|
495
|
+
},
|
|
496
|
+
bar: {
|
|
497
|
+
height: 3
|
|
498
|
+
}
|
|
499
|
+
});
|
|
500
|
+
//# sourceMappingURL=ToastItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useRef","AccessibilityInfo","Animated","Dimensions","Easing","Image","PanResponder","Platform","Pressable","StyleSheet","Text","View","defaultDurations","palettes","typeColors","typeGlyphs","jsx","_jsx","jsxs","_jsxs","mergeAppearance","base","over","out","key","value","Object","entries","undefined","ToastItem","toast","config","scheme","topOffset","bottomOffset","onExited","o","type","isTop","position","duration","durations","showProgress","variant","filled","accent","accentColor","colors","palette","glyph","onFilled","cardBg","backgroundColor","card","borderColor","border","titleColor","title","messageColor","message","badgeBg","badgeGlyph","imagePosition","showIcon","leftImage","image","icon","appIcon","rightImage","showTypeIcon","showCornerBadge","showTypeBadge","hasLeft","showAccentBar","radius","borderRadius","iconSize","imageSize","innerBadge","Math","round","cornerBadge","max","titleLines","messageLines","hiddenY","translateY","Value","current","opacity","progress","exiting","onExitedRef","onHideRef","onHide","translateX","dragging","swipeable","swipe","left","swipeLeft","right","swipeRight","up","swipeUp","down","swipeDown","swipeRef","pauseTimer","stopAnimation","startTimer","timing","toValue","easing","linear","useNativeDriver","start","finished","dismiss","direction","width","height","get","horizontal","target","parallel","quad","in","cubic","actions","axis","snapBack","spring","follow","d","negOk","posOk","pan","create","onMoveShouldSetPanResponder","_","g","s","absX","abs","dx","absY","dy","onPanResponderGrant","onPanResponderMove","setValue","onPanResponderRelease","vx","vy","onPanResponderTerminate","onPanResponderTerminationRequest","damping","stiffness","mass","spoken","filter","Boolean","join","announceForAccessibility","firstRev","rev","dismissing","handlePress","onPress","barWidth","interpolate","inputRange","outputRange","sizeStyle","maxWidth","minHeight","pointerEvents","style","styles","container","top","bottom","transform","panHandlers","children","shadow","onPressIn","onPressOut","accessibilityRole","accessibilityLiveRegion","fill","accentBar","row","rowWithBar","rowTextOnly","source","color","fontSize","lineHeight","iconWrap","texts","numberOfLines","titleStyle","softText","messageStyle","track","bar","paddingHorizontal","alignItems","zIndex","elevation","borderWidth","hairlineWidth","select","ios","shadowColor","shadowOpacity","shadowRadius","shadowOffset","android","default","flexGrow","justifyContent","overflow","flexDirection","paddingVertical","gap","paddingLeft","paddingRight","fontWeight","textAlign","includeFontPadding","textAlignVertical","flex","minWidth","marginTop"],"sourceRoot":"..\\..\\src","sources":["ToastItem.tsx"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,SACEC,iBAAiB,EACjBC,QAAQ,EACRC,UAAU,EACVC,MAAM,EACNC,KAAK,EACLC,YAAY,EACZC,QAAQ,EACRC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AAErB,SAASC,gBAAgB,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,QAAQ,SAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAc7E;AACA,SAASC,eAAeA,CACtBC,IAAqB,EACrBC,IAAqB,EACJ;EACjB,MAAMC,GAA4B,GAAG;IAAE,GAAGF;EAAK,CAAC;EAChD,KAAK,MAAM,CAACG,GAAG,EAAEC,KAAK,CAAC,IAAIC,MAAM,CAACC,OAAO,CAACL,IAAI,CAAC,EAAE;IAC/C,IAAIG,KAAK,KAAKG,SAAS,EAAEL,GAAG,CAACC,GAAG,CAAC,GAAGC,KAAK;EAC3C;EACA,OAAOF,GAAG;AACZ;AAEA,OAAO,SAASM,SAASA,CAAC;EACxBC,KAAK;EACLC,MAAM;EACNC,MAAM;EACNC,SAAS;EACTC,YAAY;EACZC;AACK,CAAC,EAAE;EACR,MAAMC,CAAC,GAAGhB,eA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