arengibook 2.5.2 → 2.5.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.
Files changed (2) hide show
  1. package/dist/index.js +0 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42839,14 +42839,7 @@ var Toast = function Toast(_ref) {
42839
42839
  var showToast = function showToast(props) {
42840
42840
  var container = document.createElement('div');
42841
42841
  document.body.appendChild(container);
42842
- var cleanup = function cleanup() {
42843
- ReactDOM.unmountComponentAtNode(container);
42844
- container.remove();
42845
- };
42846
42842
  ReactDOM.render(/*#__PURE__*/React__default.createElement(Toast, props), container);
42847
-
42848
- // Supprime le conteneur après la durée du toast
42849
- setTimeout(cleanup, (props.duration || 3000) + 500);
42850
42843
  };
42851
42844
 
42852
42845
  // Expose globalement
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.5.02",
4
+ "version": "2.5.03",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {