codexly-ui 0.10.66 → 0.10.67

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": "codexly-ui",
3
- "version": "0.10.66",
3
+ "version": "0.10.67",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -3006,10 +3006,16 @@ declare class ClxProductDetailComponent {
3006
3006
  readonly activeVariation: _angular_core.Signal<ClxVariation | null>;
3007
3007
  readonly finalPrice: _angular_core.Signal<number>;
3008
3008
  readonly discount: _angular_core.Signal<number>;
3009
- /** An option is available only if some variation matching it (combined with the rest of the
3010
- * current selection) both exists AND has stock — a sold-out combination is treated the same
3011
- * as a non-existent one and hidden, per the same "hide, don't disable" rule already applied to
3012
- * invalid combinations, so the visitor never sees a spec they can't actually buy. */
3009
+ /** An option is available if some in-stock variation matches it together with the rest of the
3010
+ * current selection — a sold-out combination is hidden, same "hide, don't disable" rule already
3011
+ * applied to invalid combinations, so the visitor never sees a spec they can't actually buy.
3012
+ *
3013
+ * Falls back to ignoring the cross-selection filter (any in-stock variation with this option,
3014
+ * regardless of other selected specs) when the strict cross-filter would hide every option of
3015
+ * this spec type — that happens when the *currently selected* combination itself has no stock
3016
+ * (e.g. landed on Negro+XL, which is sold out): without the fallback, Color and Talla would
3017
+ * hide each other's only selected value and the whole panel would render empty, even though
3018
+ * other in-stock combinations (Azul L, Gris M, …) exist. */
3013
3019
  isOptionAvailable(specTypeId: string, specOptionId: string): boolean;
3014
3020
  selectSpec(specTypeId: string, specOptionId: string): void;
3015
3021
  isSpecSelected(specTypeId: string, specOptionId: string): boolean;