heroes-of-chess-components 0.6.69 → 0.6.70

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.
@@ -121,7 +121,7 @@ var ClientCalendarComponent = function ClientCalendarComponent(_ref2) {
121
121
  });
122
122
  return;
123
123
  }
124
- // 🔥 Validar disponibilidad de specialChildren para clases de test (firstTime) con fallback a children
124
+ // 🔥 Validar disponibilidad de specialChildren SOLO para primera reserva (no cambios) con fallback
125
125
  if (!masterConsole && firstTime) {
126
126
  var _groupInfo$dataDays, _dataDayForSelectedDa;
127
127
  var dataDayForSelectedDay = groupInfo === null || groupInfo === void 0 || (_groupInfo$dataDays = groupInfo.dataDays) === null || _groupInfo$dataDays === void 0 ? void 0 : _groupInfo$dataDays.find(function (d) {
@@ -72,7 +72,7 @@ export function captureCalendarValidations(_ref) {
72
72
  })) === null || _groupInfo$changedChi === void 0 ? void 0 : _groupInfo$changedChi.length) || 0,
73
73
  isFull: participantsCount >= ((groupInfo === null || groupInfo === void 0 ? void 0 : groupInfo.childrenCapacity) || 0)
74
74
  },
75
- // 🔥 Nueva validación para specialChildren (clases de test) con fallback a children
75
+ // 🔥 Validación para specialChildren (solo primera reserva) con fallback a children
76
76
  specialChildrenAvailability: {
77
77
  passed: firstTime ? hasSpaceAvailable : true,
78
78
  currentCount: specialChildrenCount,
@@ -80,7 +80,7 @@ export function captureCalendarValidations(_ref) {
80
80
  hasSpace: hasSpecialChildrenSpace,
81
81
  hasChildrenFallback: hasChildrenSpaceForFallback,
82
82
  willUseChildrenCapacity: !hasSpecialChildrenSpace && hasChildrenSpaceForFallback,
83
- isTestClass: !!firstTime
83
+ isFirstBooking: !!firstTime
84
84
  }
85
85
  };
86
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heroes-of-chess-components",
3
- "version": "0.6.69",
3
+ "version": "0.6.70",
4
4
  "description": "Reusable React Components for Heroes of Chess Apps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",