mautourco-components 0.2.119 → 0.2.120

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.
@@ -271,6 +271,7 @@ var PaxSelector = function (_a) {
271
271
  if (!hasMinorsWithoutAges() || areAllAgesFilled()) {
272
272
  setIsOpen(false);
273
273
  onDone === null || onDone === void 0 ? void 0 : onDone(multipleRooms ? rooms : internalData);
274
+ onPaxInvalid === null || onPaxInvalid === void 0 ? void 0 : onPaxInvalid(false);
274
275
  }
275
276
  };
276
277
  var handleAddRoom = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mautourco-components",
3
- "version": "0.2.119",
3
+ "version": "0.2.120",
4
4
  "private": false,
5
5
  "description": "Bibliothèque de composants Mautourco pour le redesign",
6
6
  "main": "dist/index.js",
@@ -388,6 +388,7 @@ const PaxSelector: React.FC<PaxSelectorProps> = ({
388
388
  if (!hasMinorsWithoutAges() || areAllAgesFilled()) {
389
389
  setIsOpen(false);
390
390
  onDone?.(multipleRooms ? rooms : internalData);
391
+ onPaxInvalid?.(false);
391
392
  }
392
393
  };
393
394