codexly-ui 0.10.68 → 0.10.69
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
package/types/codexly-ui.d.ts
CHANGED
|
@@ -3006,6 +3006,13 @@ declare class ClxProductDetailComponent {
|
|
|
3006
3006
|
* panels visually consistent with the rest of the e-commerce card set. */
|
|
3007
3007
|
protected readonly _panelClass = "bg-clx-surface rounded-2xl shadow-sm p-4";
|
|
3008
3008
|
readonly tabItems: ClxTabItem[];
|
|
3009
|
+
/** Tracks which product the spec selection was initialized for — the init effect below must run
|
|
3010
|
+
* once per actual product change, not every time initialVariationId() changes. A host app that
|
|
3011
|
+
* syncs its own ?variant= URL param from the (variationChange) output (see codexly-store's
|
|
3012
|
+
* product-detail page) feeds that id back into this same input; without this guard, every spec
|
|
3013
|
+
* click would round-trip through the host and re-trigger initialization, silently overwriting
|
|
3014
|
+
* the visitor's in-progress selection with the just-resolved variation's full spec set. */
|
|
3015
|
+
private _initializedForProductId;
|
|
3009
3016
|
constructor();
|
|
3010
3017
|
/** With no specs selected (fresh load, or every spec toggled back off) this is the variation
|
|
3011
3018
|
* the visitor originally landed on. Otherwise, resolves the variation matching every currently
|