@ikas/bp-storefront 1.4.0-beta.142 → 1.4.0-beta.143

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.
@@ -1,6 +1,9 @@
1
1
  import { IkasProductAttributeDetail } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Retrieves the attribute values for a product attribute detail, merging variant and product-level attributes.
4
+ * This is how a PRODUCT_ATTRIBUTE code-component prop is consumed: that prop hands you the
5
+ * IkasProductAttributeDetail wrapper ({ product, attributePropValue }), never the attribute value itself, so
6
+ * reading `prop.value` silently yields nothing — call this function instead.
4
7
  *
5
8
  * @ai-category AttributeDetail
6
9
  * @ai-related getSelectedProductVariant, hasProductVariant
@@ -1,6 +1,9 @@
1
1
  import { IkasProductAttributeList, IkasProductAttributeMap } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Retrieves grouped attribute values for a product attribute list, combining variant and product-level attributes.
4
+ * This is how a PRODUCT_ATTRIBUTE_LIST code-component prop is consumed: that prop hands you a single
5
+ * IkasProductAttributeList wrapper ({ product, attributeListPropValue }) — never an array — so mapping over the
6
+ * prop is a runtime error; call this function and iterate the returned { attribute, values } maps instead.
4
7
  *
5
8
  * @ai-category AttributeList
6
9
  * @ai-related getSelectedProductVariant, hasProductVariant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/bp-storefront",
3
- "version": "1.4.0-beta.142",
3
+ "version": "1.4.0-beta.143",
4
4
  "description": "A framework for the ikas blueprint storefronts.",
5
5
  "author": "ikas",
6
6
  "license": "ISC",