@educarehq/solaris-components 0.6.3 → 0.6.4

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.
@@ -3031,6 +3031,9 @@ class SolarisCarousel {
3031
3031
  slideComponentInputs(index) {
3032
3032
  const context = this.carouselContext(index);
3033
3033
  const itemInputs = context.item.slideInputs ?? {};
3034
+ if (!context.item.passCarouselContext) {
3035
+ return itemInputs;
3036
+ }
3034
3037
  return {
3035
3038
  item: context.item,
3036
3039
  index: context.index,
@@ -3050,6 +3053,9 @@ class SolarisCarousel {
3050
3053
  overlayComponentInputs(index) {
3051
3054
  const context = this.carouselContext(index);
3052
3055
  const itemInputs = context.item.overlayInputs ?? {};
3056
+ if (!context.item.passOverlayContext) {
3057
+ return itemInputs;
3058
+ }
3053
3059
  return {
3054
3060
  item: context.item,
3055
3061
  index: context.index,