@fto-consult/expo-ui 7.16.1 → 7.16.3
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "7.16.
|
3
|
+
"version": "7.16.3",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"@expo/html-elements": "^0.5.1",
|
72
72
|
"@expo/vector-icons": "^13.0.0",
|
73
73
|
"@faker-js/faker": "^8.0.2",
|
74
|
-
"@fto-consult/common": "^4.
|
74
|
+
"@fto-consult/common": "^4.1.3",
|
75
75
|
"@fto-consult/electron-gen": "^2.2.0",
|
76
76
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
77
77
|
"@react-native-async-storage/async-storage": "1.18.2",
|
@@ -385,7 +385,7 @@ export default class DropdownAlert extends Component {
|
|
385
385
|
this.animate(0, 250, () => {
|
386
386
|
const {onClose, onCancel, onTap} = this.props;
|
387
387
|
this.alertData.action = action;
|
388
|
-
this.queue.dequeue();
|
388
|
+
const latest = this.queue.dequeue();
|
389
389
|
if (action === ACTION.cancel) {
|
390
390
|
onCancel(this.alertData);
|
391
391
|
} else {
|
@@ -393,6 +393,9 @@ export default class DropdownAlert extends Component {
|
|
393
393
|
onTap(this.alertData);
|
394
394
|
}
|
395
395
|
onClose(this.alertData);
|
396
|
+
if(typeof latest?.onClose ==="function"){
|
397
|
+
latest?.onClose(latest);
|
398
|
+
}
|
396
399
|
}
|
397
400
|
this.setState({isOpen: false, bottomValue: BOTTOM, height: 0});
|
398
401
|
this._processQueue();
|