Product Range

This library contains specific coded Skapa Components for Product Range.

Version 2.13.0

Nov 11, 2024

Latest Updates

net.ikea.skapa:product-range:2.13.0

  • Bump due to SDK version update.

net.ikea.skapa:product-range:2.12.0

  • Price module

    • Improvement Added a parameter mergeAllDescendants. Use this to opt-out of the built-in logic to group semantic nodes and merge the whole Price module into a single node.

net.ikea.skapa:product-range:2.11.0

  • Price module

    • New Feature Added optional 'Discount offer message' label.

net.ikea.skapa:product-range:2.10.0

  • Shoppable image

    • Experimental change Moved from Product Range to Design package.

net.ikea.skapa:product-range:2.9.0

  • Shoppable image

    • Experimental Feature First release of the component. Consider this as an alpha since it is not feature complete. Still missing checks for overlapping dots, accessibility, ux improvements.

net.ikea.skapa:product-range:2.8.0

  • MemberCard

    • A11y Updated component to work better with the new Android 14 support for font scaling (200%)

  • Price module

    • A11y Some IKEA product was spelled letter by letter with Talkback. Fixed by setting contentDescription to lower-case.

net.ikea.skapa:product-range:2.7.1

  • MemberCard

    • Added Moved MemberCard to product-range package. It was a mistake to have it in the design package.

net.ikea.skapa:product-range:2.7.0

  • Price module

    • Improvement Commercial messages in Price module now use different font sizes.

    • New Feature Added support for combining New label and BTI with PriceOfferType.NewBTI.

    • New Feature Added support for combining New label and TRO with PriceOfferType.NewTimeRestrictedOffer.

net.ikea.skapa:product-range:2.6.0

  • Price module

    • Bug Fix Addons won't render when providing an empty list.

net.ikea.skapa:product-range:2.5.0

  • Price module

    • Improvement Talkback traversal order

    • Improvement PriceModule using Large Price updated in accordance to SkapaTypography changes. Now using 48.sp font size instead of 46.sp.

  • Price

    • Improvement Large variant updated in accordance to SkapaTypography changes. Now using 48.sp font size instead of 46.sp.

    • New Feature Added PriceSize Size1600(96.sp), modified Size1000 to 48.sp, Size1100 to 52.sp

net.ikea.skapa:product-range:2.4.0

  • Improvement Code style changes

net.ikea.skapa:product-range:2.3.0

  • Price and Price module

    • New Feature Added DecimalSign.None to be used when presenting price without any decimals but using ,-, ;-, :- etc. In these scenarios you can set decimalSign = Decimalsign.None together with decimalValue = ",-"

net.ikea.skapa:product-range:2.2.0

  • Experimental Feature Migrated from Material 2 to Material 3.

  • Price module

    • Experimental Feature Exposing function to retrieve the textStyle for PriceModuleVariant. Can be uses for the EU energy label text size.

net.ikea.skapa:product-range:2.1.0

  • Deprecated code and code used for migration to v2.0.0 has been removed

  • Price

    • Improvement Added a "thin-space, U2009" unicode character between the currency and the price. This applies for both leading and trailing currencies symbols/labels.

    • Improvement/Bug fix Refactor BTI price to not rely on BoxWithConstraints. The previous implementation led to crashes when combined with Intrinsic measurements

  • Price module

    • Bug fix Price Module list variant with too long price and subscript label was breaking product name and description labels. With this update, if the price is too long, it will wrap beneath product information as it does with the React/Vue implementations.

net.ikea.skapa:product-range:2.0.0

  • Breaking Change Module groupId changes from net.ikea.skapa.ui.components.productrange to net.ikea.skapa.ui.productrange to make structure more consistent.

  • Breaking Change Multiple enum class entries has been renamed to use PascalCase instead of CAPITALIZED_CASE. Use 'find-replace' to perform name change.

  • Improvement Component code samples have been moved a separate samples within the Product range module. Also improved visibility in online Documentation.

  • Price

    • Breaking Change Renamed enum class PriceStyling to PriceSizeStyle to make it consistent with Skapa naming. Migration support provided with replaceWith expression.

    • Breaking Change The 2nd Price function has now Deprecation.ERROR. Migration to the other is now needed to compile.

    • Breaking Change Renamed PriceVariant.Standard to PriceVariant.Regular to make it consistent with Skapa naming. Migration support provided with replaceWith expression.

  • Price module

    • Bug fix Price font sizes on Price module variants have now been reduced to match Figma specs. All font sizes were 1 step too large.

    • Experimental Feature A new priceOfferType IkeaFamilyPriceRomania option has been added to support Romania legal requirements.

    • Improvement Improvements to line-wrapping of Energy label.

    • Stable The new component implementation is now considered stable and ExperimentalSkapaApi annotation is removed.

    • Breaking Change The old function has been set to Error and does not longer compile. Use the inner logic to migrate to the new function. Rating component is no longer part of the component and neither is Notes. Full migration instructions in code and documentation pages.

net.ikea.skapa.components:product-range:1.5.0

  • Price module (New)

    • Experimental Feature Added 'Complete price' for Product combinations.

  • Price

    • New Feature Support for negative prices for Regular and Comparison PriceVariant

net.ikea.skapa.components:product-range:1.4.0

  • Price module (New)

    • A11y Talkback improvements List variant.

    • Experimental Feature Price module (New) has got a bunch of additions and updates. Padding changes, size changes, Line wrapping, color updates.

  • Price

    • Bug Fix BTI line wrapping of subscript label.

    • Bug Fix prices sizes now correctly mapped to Figma sizes. All sizes edited. Also affects Price module.

    • Improvement Strikeout price now only applies for digits and currency labels, not subscript label.

    • Improvement super- and subscript labels are now 50% of the regular size compared to previously 60% and 67%. Size Medium is now 24 sp instead of 22 sp. Size Medium is now the first allowed size with use if MizedSize for digits and decimals.

    • Deprecation Price and Price module has got some a bunch of deprecations added in favour of the upcoming changes to those components.

net.ikea.skapa.components:product-range:1.3.0

  • Improvement Icons ic_skapa_product_range_information_circle_small.xml and ic_skapa_product_range_warning_triangle_small.xml svg added, SkapaIconsProductRange enum class created

  • Improvement Price module (Legacy) Horizontal padding increased on List variant.

  • Experimental change Price module (New) added as an ALPHA component. Variants reduced to Regular and List with new sizes.

net.ikea.skapa.components:product-range:1.2.0

  • Fix Price and PriceModule BTI prices are now shorter in height to match Skapa design.

  • Experimental change PriceModule decimalValue in PriceParams is now Nullable.

  • Improvement PriceModule padding reductions due to missing 'includeFontPadding=false' in non-platform font.

  • Improvement Added dependency to 'net.ikea.skapa:design' package in order to reuse Skapa internal functions. Also added @InternalSkapaApi annotation to those functions.

net.ikea.skapa.components:product-range:1.1.0

  • Bump to Compose 1.3.0 with Compose BOM

  • FIX Aligned and improve vertical alignment/padding in Price module

  • FIX Removed multiple keyboard focus area on Rating

net.ikea.skapa.components:product-range:1.0.1

  • FIX Missing placeholder for Price module BTI, Compact variant.

net.ikea.skapa.components:product-range:1.0.0

  • Extracting Product Range components to a separate package

  • ⚠️ BREAKING CHANGE Price function contract updated (Replaced 'caption' with 'captionPrefix' and 'captionSuffix'), also affects Price module.

  • Price - Decimals and Currency allow align top/bottom. New parameters added to Price and PriceParams.

Packages

Link copied to clipboard