@atlaskit/smart-card 45.16.2 → 45.16.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-dropbox-in-atlas-slide1--default.png +3 -0
  3. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide1--default.png +2 -2
  4. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide2--default.png +2 -2
  5. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide3--default.png +2 -2
  6. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide1--default.png +2 -2
  7. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide2--default.png +2 -2
  8. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide3--default.png +2 -2
  9. package/dist/cjs/messages.js +0 -5
  10. package/dist/cjs/utils/analytics/analytics.js +1 -1
  11. package/dist/cjs/view/BlockCard/views/utils/index.js +1 -0
  12. package/dist/cjs/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +1 -0
  13. package/dist/cjs/view/EmbedCard/components/carousel/CarouselSlide.js +4 -12
  14. package/dist/cjs/view/EmbedCard/components/carousel/index.js +0 -8
  15. package/dist/cjs/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.js +2 -1
  16. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.compiled.css +1 -1
  17. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.js +1 -1
  18. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.js +9 -9
  19. package/dist/cjs/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.js +12 -150
  20. package/dist/cjs/view/EmbedModal/index.js +4 -1
  21. package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +24 -20
  22. package/dist/cjs/view/LinkUrl/index.js +1 -1
  23. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-dropbox-in-atlas-slide1--default.png +3 -0
  24. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide1--default.png +2 -2
  25. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide2--default.png +2 -2
  26. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide3--default.png +2 -2
  27. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide1--default.png +2 -2
  28. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide2--default.png +2 -2
  29. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide3--default.png +2 -2
  30. package/dist/es2019/messages.js +0 -5
  31. package/dist/es2019/utils/analytics/analytics.js +1 -1
  32. package/dist/es2019/view/BlockCard/views/utils/index.js +1 -0
  33. package/dist/es2019/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +1 -0
  34. package/dist/es2019/view/EmbedCard/components/carousel/CarouselSlide.js +4 -12
  35. package/dist/es2019/view/EmbedCard/components/carousel/index.js +0 -6
  36. package/dist/es2019/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.js +2 -1
  37. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.compiled.css +1 -1
  38. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.js +1 -1
  39. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.js +9 -9
  40. package/dist/es2019/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.js +12 -150
  41. package/dist/es2019/view/EmbedModal/index.js +4 -1
  42. package/dist/es2019/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +24 -20
  43. package/dist/es2019/view/LinkUrl/index.js +1 -1
  44. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-dropbox-in-atlas-slide1--default.png +3 -0
  45. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide1--default.png +2 -2
  46. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide2--default.png +2 -2
  47. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-figma-in-trello-slide3--default.png +2 -2
  48. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide1--default.png +2 -2
  49. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide2--default.png +2 -2
  50. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-unauthorized-carousel-google-in-confluence-slide3--default.png +2 -2
  51. package/dist/esm/messages.js +0 -5
  52. package/dist/esm/utils/analytics/analytics.js +1 -1
  53. package/dist/esm/view/BlockCard/views/utils/index.js +1 -0
  54. package/dist/esm/view/EmbedCard/components/carousel/CarouselSlide.compiled.css +1 -0
  55. package/dist/esm/view/EmbedCard/components/carousel/CarouselSlide.js +4 -12
  56. package/dist/esm/view/EmbedCard/components/carousel/index.js +0 -8
  57. package/dist/esm/view/EmbedCard/views/unauthorized-view/UnauthorizedCarouselView.js +2 -1
  58. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.compiled.css +1 -1
  59. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/IconSlot.js +1 -1
  60. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/RovoChatBenefitImage.js +9 -9
  61. package/dist/esm/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.js +12 -150
  62. package/dist/esm/view/EmbedModal/index.js +4 -1
  63. package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-modal/sub-components/header/main.js +24 -20
  64. package/dist/esm/view/LinkUrl/index.js +1 -1
  65. package/dist/types/messages.d.ts +1 -1
  66. package/dist/types/view/EmbedCard/components/carousel/CarouselSlide.d.ts +1 -3
  67. package/dist/types/view/EmbedCard/views/unauthorized-view/carousel-images/SmartLinkBenefitImage.d.ts +2 -1
  68. package/dist/types/view/HoverCard/utils.d.ts +1 -1
  69. package/package.json +3 -3
@@ -1,3 +1,4 @@
1
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
1
2
  ._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
2
3
  ._zulp1ejb{gap:var(--ds-space-300,24px)}
3
4
  ._zulppxbi{gap:var(--ds-space-200,1pc)}
@@ -22,11 +22,10 @@ const styles = {
22
22
  dot: "_2rko1rr0 _1bsbftgi _4t3iftgi _bfhki8nm _1oecfnf5 _k8m01k61 _6fl45ucs _lcxvglyw",
23
23
  dotActive: "_bfhkjmqp",
24
24
  dotPassable: "_2rko1rr0 _1e0c1txw _4cvr1h6o _1bah1h6o _1bsb7vkz _4t3i7vkz _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
25
- icon: "_1o9zidpf _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o",
25
+ icon: "_2rko12b0 _1reo15vq _18m915vq _1o9zidpf _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o",
26
26
  iconImage: "_1bsb1osq _4t3i1osq _5ral1f51",
27
27
  image: "_1bsb1osq _c71l1wdt _5ral1f51 _rsufaqso _1e0c1ule",
28
28
  rowButton: "_zulpu2gc _1e0c1txw _2lx2vrvc _1n261g80 _4cvr1h6o",
29
- rowButtonNavGroup: "_zulpu2gc _1e0c1txw _2lx2vrvc _4cvr1h6o _1o9zidpf",
30
29
  rowButtonCompact: "_1bsb1osq",
31
30
  rowDot: "_zulpze3t _1e0c1txw _2lx2vrvc _4cvr1h6o",
32
31
  rowIcon: "_zulpu2gc _1e0c1txw _4cvr1h6o",
@@ -40,7 +39,6 @@ const CarouselSlide = ({
40
39
  image,
41
40
  primaryButtonLabel,
42
41
  onPrimaryButtonClick,
43
- onBackClick,
44
42
  onDotClick,
45
43
  onNextClick,
46
44
  slideIndex,
@@ -105,23 +103,17 @@ const CarouselSlide = ({
105
103
  xcss: styles.columnContentBody
106
104
  }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Text, {
107
105
  testId: `${testId}-description`
108
- }, description)), (showPrimaryButton && !isCompact || showNavigation && (onNextClick || onBackClick)) && /*#__PURE__*/React.createElement(Box, {
106
+ }, description)), (showPrimaryButton && !isCompact || showNavigation && onNextClick) && /*#__PURE__*/React.createElement(Box, {
109
107
  xcss: styles.rowButton
110
108
  }, showPrimaryButton && !isCompact && /*#__PURE__*/React.createElement(Button, {
111
109
  appearance: "primary",
112
110
  onClick: onPrimaryButtonClick,
113
111
  testId: `${testId}-connect`
114
- }, primaryButtonLabel), showNavigation && (onBackClick || onNextClick) && /*#__PURE__*/React.createElement(Box, {
115
- xcss: styles.rowButtonNavGroup
116
- }, onBackClick && /*#__PURE__*/React.createElement(Button, {
117
- appearance: "subtle",
118
- onClick: onBackClick,
119
- testId: `${testId}-back`
120
- }, formatMessage(messages.connect_link_account_embed_carousel_button_back)), onNextClick && /*#__PURE__*/React.createElement(Button, {
112
+ }, primaryButtonLabel), showNavigation && onNextClick && /*#__PURE__*/React.createElement(Button, {
121
113
  appearance: "subtle",
122
114
  onClick: onNextClick,
123
115
  testId: `${testId}-next`
124
- }, formatMessage(messages.connect_link_account_embed_carousel_button_next)))))), showNavigation && /*#__PURE__*/React.createElement(Box, {
116
+ }, formatMessage(messages.connect_link_account_embed_carousel_button_next))))), showNavigation && /*#__PURE__*/React.createElement(Box, {
125
117
  xcss: styles.rowDot,
126
118
  role: "group",
127
119
  "aria-label": formatMessage(messages.connect_link_account_embed_carousel_dot_row_label)
@@ -66,10 +66,6 @@ const Carousel = ({
66
66
  onNextClick === null || onNextClick === void 0 ? void 0 : onNextClick(items[activeIndex].id);
67
67
  setActiveIndex(current => (current + 1) % items.length);
68
68
  }, [items, activeIndex, onNextClick]);
69
- const goPrev = useCallback(() => {
70
- hasNavigated.current = true;
71
- setActiveIndex(current => Math.max(0, current - 1));
72
- }, []);
73
69
  const goTo = useCallback(index => {
74
70
  if (index === activeIndex) {
75
71
  return;
@@ -81,7 +77,6 @@ const Carousel = ({
81
77
  onPrimaryButtonClick === null || onPrimaryButtonClick === void 0 ? void 0 : onPrimaryButtonClick(items[activeIndex].id);
82
78
  }, [onPrimaryButtonClick, items, activeIndex]);
83
79
  const currentSlide = items[activeIndex];
84
- const isFirstSlide = activeIndex === 0;
85
80
  const isLastSlide = activeIndex === items.length - 1;
86
81
  return /*#__PURE__*/React.createElement(Box, {
87
82
  ref: containerRef,
@@ -99,7 +94,6 @@ const Carousel = ({
99
94
  image: currentSlide.image,
100
95
  title: currentSlide.title,
101
96
  onPrimaryButtonClick: onPrimaryButtonClick ? handlePrimaryButtonClick : undefined,
102
- onBackClick: !isFirstSlide ? goPrev : undefined,
103
97
  onDotClick: goTo,
104
98
  onNextClick: !isLastSlide ? goNext : undefined,
105
99
  size: size,
@@ -102,7 +102,8 @@ const UnauthorizedCarouselView = ({
102
102
  product: parentProduct
103
103
  }),
104
104
  image: /*#__PURE__*/React.createElement(SmartLinkBenefitImage, {
105
- productIcon: parentProductIcon
105
+ productIcon: parentProductIcon,
106
+ providerIcon: providerIcon
106
107
  })
107
108
  }];
108
109
 
@@ -1,4 +1,4 @@
1
- ._18m915vq{overflow-y:hidden}
1
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._18m915vq{overflow-y:hidden}
2
2
  ._1bah1h6o{justify-content:center}
3
3
  ._1bsb1osq{width:100%}
4
4
  ._1e0c1txw{display:flex}
@@ -19,7 +19,7 @@ const IconSlot = ({
19
19
  width: w,
20
20
  height: h
21
21
  }, /*#__PURE__*/React.createElement("div", {
22
- className: ax(["_1reo15vq _18m915vq _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o"])
22
+ className: ax(["_2rko12b0 _1reo15vq _18m915vq _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o"])
23
23
  }, icon));
24
24
  };
25
25
  export default IconSlot;
@@ -32,7 +32,7 @@ const RovoChatBenefitImage = ({
32
32
  });
33
33
  return /*#__PURE__*/React.createElement("svg", {
34
34
  width: "100%",
35
- viewBox: "0 0 440 580",
35
+ viewBox: "0 0 440 660",
36
36
  preserveAspectRatio: "xMidYMin meet",
37
37
  fill: "none",
38
38
  xmlns: "http://www.w3.org/2000/svg"
@@ -64,26 +64,26 @@ const RovoChatBenefitImage = ({
64
64
  x: "27",
65
65
  y: "113",
66
66
  width: "340",
67
- height: "424",
67
+ height: "600",
68
68
  fill: "black"
69
69
  }, /*#__PURE__*/React.createElement("rect", {
70
70
  fill: "white",
71
71
  x: "27",
72
72
  y: "113",
73
73
  width: "340",
74
- height: "424"
74
+ height: "600"
75
75
  }), /*#__PURE__*/React.createElement("path", {
76
- d: "M30 128C30 121.373 35.3726 116 42 116H352C358.627 116 364 121.373 364 128V521C364 527.627 358.627 533 352 533H42C35.3726 533 30 527.627 30 521V128Z"
76
+ d: "M30 128C30 121.373 35.3726 116 42 116H352C358.627 116 364 121.373 364 128V700H30V128Z"
77
77
  })), /*#__PURE__*/React.createElement("path", {
78
- d: "M30 128C30 121.373 35.3726 116 42 116H352C358.627 116 364 121.373 364 128V521C364 527.627 358.627 533 352 533H42C35.3726 533 30 527.627 30 521V128Z",
78
+ d: "M30 128C30 121.373 35.3726 116 42 116H352C358.627 116 364 121.373 364 128V700H30V128Z",
79
79
  fill: "white"
80
80
  }), /*#__PURE__*/React.createElement("path", {
81
- d: "M30 128C30 121.373 35.3726 116 42 116H352C358.627 116 364 121.373 364 128V521C364 527.627 358.627 533 352 533H42C35.3726 533 30 527.627 30 521V128Z",
81
+ d: "M30 128C30 121.373 35.3726 116 42 116H352C358.627 116 364 121.373 364 128V700H30V128Z",
82
82
  fill: "none",
83
83
  stroke: "url(#ai_border_gradient)",
84
84
  strokeWidth: "3"
85
85
  }), /*#__PURE__*/React.createElement("path", {
86
- d: "M42 116V119H352V116V113H42V116ZM364 128H361V521H364H367V128H364ZM352 533V530H42V533V536H352V533ZM30 521H33V128H30H27V521H30ZM42 533V530C37.0294 530 33 525.971 33 521H30H27C27 529.284 33.7157 536 42 536V533ZM364 521H361C361 525.971 356.971 530 352 530V533V536C360.284 536 367 529.284 367 521H364ZM352 116V119C356.971 119 361 123.029 361 128H364H367C367 119.716 360.284 113 352 113V116ZM42 116V113C33.7157 113 27 119.716 27 128H30H33C33 123.029 37.0294 119 42 119V116Z",
86
+ d: "M42 116V119H352V116V113H42V116ZM364 128H361V700H364H367V128H364ZM30 700H33V128H30H27V700H30ZM352 116V119C356.971 119 361 123.029 361 128H364H367C367 119.716 360.284 113 352 113V116ZM42 116V113C33.7157 113 27 119.716 27 128H30H33C33 123.029 37.0294 119 42 119V116Z",
87
87
  mask: "url(#path-6-outside-1_3120_3148)"
88
88
  }), /*#__PURE__*/React.createElement("path", {
89
89
  d: "M46 142C46 136.477 50.4772 132 56 132H336C342.627 132 348 137.373 348 144V150C348 151.105 347.105 152 346 152H56C50.4772 152 46 147.523 46 142Z",
@@ -227,7 +227,7 @@ const RovoChatBenefitImage = ({
227
227
  x1: "30",
228
228
  y1: "116",
229
229
  x2: "364",
230
- y2: "533",
230
+ y2: "700",
231
231
  gradientUnits: "userSpaceOnUse"
232
232
  }, /*#__PURE__*/React.createElement("stop", {
233
233
  offset: "0%",
@@ -250,7 +250,7 @@ const RovoChatBenefitImage = ({
250
250
  })), /*#__PURE__*/React.createElement("clipPath", {
251
251
  id: "paint0_angular_3120_3148_clip_path"
252
252
  }, /*#__PURE__*/React.createElement("path", {
253
- d: "M42 116V119H352V116V113H42V116ZM364 128H361V521H364H367V128H364ZM352 533V530H42V533V536H352V533ZM30 521H33V128H30H27V521H30ZM42 533V530C37.0294 530 33 525.971 33 521H30H27C27 529.284 33.7157 536 42 536V533ZM364 521H361C361 525.971 356.971 530 352 530V533V536C360.284 536 367 529.284 367 521H364ZM352 116V119C356.971 119 361 123.029 361 128H364H367C367 119.716 360.284 113 352 113V116ZM42 116V113C33.7157 113 27 119.716 27 128H30H33C33 123.029 37.0294 119 42 119V116Z"
253
+ d: "M42 116V119H352V116V113H42V116ZM364 128H361V700H364H367V128H364ZM30 700H33V128H30H27V700H30ZM352 116V119C356.971 119 361 123.029 361 128H364H367C367 119.716 360.284 113 352 113V116ZM42 116V113C33.7157 113 27 119.716 27 128H30H33C33 123.029 37.0294 119 42 119V116Z"
254
254
  })), /*#__PURE__*/React.createElement("clipPath", {
255
255
  id: "clip0_3120_3148"
256
256
  }, /*#__PURE__*/React.createElement("rect", {
@@ -2,7 +2,8 @@
2
2
  import React from 'react';
3
3
  import IconSlot from './IconSlot';
4
4
  const SmartLinkBenefitImage = ({
5
- productIcon
5
+ productIcon,
6
+ providerIcon
6
7
  }) => {
7
8
  const productIconSlot = /*#__PURE__*/React.createElement(IconSlot, {
8
9
  icon: productIcon,
@@ -11,6 +12,13 @@ const SmartLinkBenefitImage = ({
11
12
  w: 24,
12
13
  h: 24
13
14
  });
15
+ const providerIconSlot = /*#__PURE__*/React.createElement(IconSlot, {
16
+ icon: providerIcon,
17
+ x: 98.8,
18
+ y: 217.1,
19
+ w: 20,
20
+ h: 20
21
+ });
14
22
  return /*#__PURE__*/React.createElement("svg", {
15
23
  width: "100%",
16
24
  viewBox: "0 0 440 660",
@@ -18,7 +26,8 @@ const SmartLinkBenefitImage = ({
18
26
  fill: "none",
19
27
  xmlns: "http://www.w3.org/2000/svg"
20
28
  }, /*#__PURE__*/React.createElement("g", {
21
- clipPath: "url(#clip0_3120_9396)",
29
+ clipPath: "url(#clip0_3120_9396)"
30
+ }, /*#__PURE__*/React.createElement("g", {
22
31
  transform: "scale(1.3) translate(0, 0)"
23
32
  }, /*#__PURE__*/React.createElement("path", {
24
33
  d: "M366.41 476.854C366.44 476.804 366.44 476.714 366.5 476.644C364.75 475.764 364.55 473.604 363.2 472.314L363.15 472.264C361.78 471.824 362.15 470.454 360.45 470.444C360.45 470.444 360.89 470.224 360.9 470.224C358.14 467.484 351.32 460.754 351.32 460.754C351.17 461.364 352.41 460.304 353.66 460.484C353.66 460.484 353.75 460.254 353.84 460.434C357.03 457.324 360.62 456.134 364.7 454.654C366.74 454.104 367.05 448.334 363.56 450.724C363.52 450.684 363.43 450.654 363.39 450.584C362.17 452.004 360.14 451.484 358.6 452.224L358.54 452.254L355.98 453.504C354.59 454.074 352.94 454.524 351.21 454.964C351.26 454.914 351.31 454.864 351.36 454.814C351.36 454.814 351.54 452.044 351.49 450.674C351.49 450.674 353.24 448.474 352.66 446.964C353.65 445.194 357.17 441.324 353.97 440.224C352.92 440.224 352.1 439.314 351.74 441.004C351.68 440.994 351.6 441.014 351.52 440.984C351.33 442.734 349.26 443.974 348.69 445.634L348.67 445.704C348.81 447.124 347.71 448.524 347.7 448.524C347.18 449.824 346.5 451.244 345.78 452.724C345.48 451.924 345.15 451.214 344.82 450.704C343.62 449.404 344.13 431.644 339.69 435.564C339.9 438.914 340.96 442.404 340.1 445.384C339.68 445.614 340.32 446.804 340.84 447.774C340.8 449.004 340.55 449.664 340.48 451.424C338.28 449.834 328.68 441.784 329.27 447.204C330.3 447.754 331.05 448.384 331.59 449.664C332.09 450.214 336.5 452.694 336.64 453.314C336.35 454.174 341.56 454.864 339.45 455.504C339.76 456.184 340.18 456.834 340.67 457.464C338.39 457.704 335.66 458.374 334.23 459.244C333.98 459.674 324.88 460.254 321.58 462.384C319.61 463.494 317.87 464.044 319.92 465.714C320.66 465.114 323.44 465.974 323.38 465.184C324.06 465.464 328.66 463.704 329.17 464.004C329.42 464.404 333.04 462.284 332.61 463.284C335.12 463.994 338.18 463.414 341.36 462.604C340.1 464.604 338.86 467.454 338.7 469.224C337.62 471.494 334.77 476.514 333.86 479.594C332.56 481.834 333.01 482.014 334.65 483.164L334.68 483.194C335.02 483.424 334.64 483.194 335.93 483.244C335.8 483.124 335.61 482.604 335.36 482.694C335.53 482.344 337.49 481.844 336.67 481.374C336.64 481.304 337.92 480.324 338.05 479.264C339.19 475.484 341.92 473.574 343.94 469.264C343.89 469.714 347.29 478.184 347.13 482.404C346.88 484.484 351.92 487.584 351.19 482.944C351.25 482.924 351.3 482.844 351.39 482.834C350.58 480.924 351.65 478.954 351.23 477.014L351.21 476.934C350.3 475.754 351.35 474.774 349.91 473.814C349.91 473.814 350.4 473.864 350.41 473.874C349.77 471.124 349.37 467.764 348.77 464.754C350.92 466.704 352.81 468.804 353.59 471.114L353.69 470.964C353.69 471.034 353.84 471.084 353.71 471.244C355.52 471.624 356.14 472.384 357.45 472.894C357.45 472.894 358.85 475.424 360.48 475.514L362.96 479.024C364.03 480.834 369.8 479.794 366.45 476.894L366.41 476.854Z",
@@ -253,153 +262,6 @@ const SmartLinkBenefitImage = ({
253
262
  transform: "matrix(1 -2.23478e-05 -0.000671322 1 103.012 173.165)",
254
263
  fill: "#D0DEF2"
255
264
  }), /*#__PURE__*/React.createElement("mask", {
256
- id: "mask0_3120_9396",
257
- style: {
258
- maskType: 'luminance'
259
- },
260
- maskUnits: "userSpaceOnUse",
261
- x: "76",
262
- y: "167",
263
- width: "17",
264
- height: "20"
265
- }, /*#__PURE__*/React.createElement("path", {
266
- d: "M92.3609 167H76.9771V187H92.3609V167Z",
267
- fill: "white"
268
- })), /*#__PURE__*/React.createElement("g", {
269
- mask: "url(#mask0_3120_9396)"
270
- }, /*#__PURE__*/React.createElement("mask", {
271
- id: "mask1_3120_9396",
272
- style: {
273
- maskType: 'alpha'
274
- },
275
- maskUnits: "userSpaceOnUse",
276
- x: "76",
277
- y: "167",
278
- width: "17",
279
- height: "20"
280
- }, /*#__PURE__*/React.createElement("path", {
281
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
282
- fill: "white"
283
- })), /*#__PURE__*/React.createElement("g", {
284
- mask: "url(#mask1_3120_9396)"
285
- }, /*#__PURE__*/React.createElement("path", {
286
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L88.9957 170.182L86.5919 167Z",
287
- fill: "#4285F4"
288
- })), /*#__PURE__*/React.createElement("mask", {
289
- id: "mask2_3120_9396",
290
- style: {
291
- maskType: 'alpha'
292
- },
293
- maskUnits: "userSpaceOnUse",
294
- x: "76",
295
- y: "167",
296
- width: "17",
297
- height: "20"
298
- }, /*#__PURE__*/React.createElement("path", {
299
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
300
- fill: "white"
301
- })), /*#__PURE__*/React.createElement("g", {
302
- mask: "url(#mask2_3120_9396)"
303
- }, /*#__PURE__*/React.createElement("path", {
304
- d: "M87.0137 172.056L92.3608 177.11V172.455L87.0137 172.056Z",
305
- fill: "url(#paint0_linear_3120_9396)"
306
- })), /*#__PURE__*/React.createElement("mask", {
307
- id: "mask3_3120_9396",
308
- style: {
309
- maskType: 'alpha'
310
- },
311
- maskUnits: "userSpaceOnUse",
312
- x: "76",
313
- y: "167",
314
- width: "17",
315
- height: "20"
316
- }, /*#__PURE__*/React.createElement("path", {
317
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
318
- fill: "white"
319
- })), /*#__PURE__*/React.createElement("g", {
320
- mask: "url(#mask3_3120_9396)"
321
- }, /*#__PURE__*/React.createElement("path", {
322
- d: "M80.823 181.545H88.5149V180.636H80.823V181.545ZM80.823 183.364H86.5919V182.455H80.823V183.364ZM80.823 177V177.909H88.5149V177H80.823ZM80.823 179.727H88.5149V178.818H80.823V179.727Z",
323
- fill: "#F1F1F1"
324
- })), /*#__PURE__*/React.createElement("mask", {
325
- id: "mask4_3120_9396",
326
- style: {
327
- maskType: 'alpha'
328
- },
329
- maskUnits: "userSpaceOnUse",
330
- x: "76",
331
- y: "167",
332
- width: "17",
333
- height: "20"
334
- }, /*#__PURE__*/React.createElement("path", {
335
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
336
- fill: "white"
337
- })), /*#__PURE__*/React.createElement("g", {
338
- mask: "url(#mask4_3120_9396)"
339
- }, /*#__PURE__*/React.createElement("path", {
340
- d: "M86.592 167V171.091C86.592 171.844 87.2374 172.455 88.0343 172.455H92.361L86.592 167Z",
341
- fill: "#A1C2FA"
342
- })), /*#__PURE__*/React.createElement("mask", {
343
- id: "mask5_3120_9396",
344
- style: {
345
- maskType: 'alpha'
346
- },
347
- maskUnits: "userSpaceOnUse",
348
- x: "76",
349
- y: "167",
350
- width: "17",
351
- height: "20"
352
- }, /*#__PURE__*/React.createElement("path", {
353
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
354
- fill: "white"
355
- })), /*#__PURE__*/React.createElement("g", {
356
- mask: "url(#mask5_3120_9396)"
357
- }, /*#__PURE__*/React.createElement("path", {
358
- d: "M78.4193 167C77.6261 167 76.9771 167.614 76.9771 168.364V168.477C76.9771 167.727 77.6261 167.114 78.4193 167.114H86.5919V167H78.4193Z",
359
- fill: "white",
360
- fillOpacity: "0.2"
361
- })), /*#__PURE__*/React.createElement("mask", {
362
- id: "mask6_3120_9396",
363
- style: {
364
- maskType: 'alpha'
365
- },
366
- maskUnits: "userSpaceOnUse",
367
- x: "76",
368
- y: "167",
369
- width: "17",
370
- height: "20"
371
- }, /*#__PURE__*/React.createElement("path", {
372
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
373
- fill: "white"
374
- })), /*#__PURE__*/React.createElement("g", {
375
- mask: "url(#mask6_3120_9396)"
376
- }, /*#__PURE__*/React.createElement("path", {
377
- d: "M90.9186 186.886H78.4193C77.6261 186.886 76.9771 186.272 76.9771 185.522V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V185.522C92.3609 186.272 91.7119 186.886 90.9186 186.886Z",
378
- fill: "#1A237E",
379
- fillOpacity: "0.2"
380
- })), /*#__PURE__*/React.createElement("mask", {
381
- id: "mask7_3120_9396",
382
- style: {
383
- maskType: 'alpha'
384
- },
385
- maskUnits: "userSpaceOnUse",
386
- x: "76",
387
- y: "167",
388
- width: "17",
389
- height: "20"
390
- }, /*#__PURE__*/React.createElement("path", {
391
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
392
- fill: "white"
393
- })), /*#__PURE__*/React.createElement("g", {
394
- mask: "url(#mask7_3120_9396)"
395
- }, /*#__PURE__*/React.createElement("path", {
396
- d: "M88.0343 172.454C87.2374 172.454 86.592 171.844 86.592 171.091V171.204C86.592 171.958 87.2374 172.568 88.0343 172.568H92.361V172.454H88.0343Z",
397
- fill: "#1A237E",
398
- fillOpacity: "0.1"
399
- })), /*#__PURE__*/React.createElement("path", {
400
- d: "M86.5919 167H78.4193C77.6261 167 76.9771 167.614 76.9771 168.364V185.636C76.9771 186.386 77.6261 187 78.4193 187H90.9186C91.7119 187 92.3609 186.386 92.3609 185.636V172.455L86.5919 167Z",
401
- fill: "url(#paint1_radial_3120_9396)"
402
- })), /*#__PURE__*/React.createElement("mask", {
403
265
  id: "path-49-inside-1_3120_9396",
404
266
  fill: "white"
405
267
  }, /*#__PURE__*/React.createElement("path", {
@@ -442,7 +304,7 @@ const SmartLinkBenefitImage = ({
442
304
  }), /*#__PURE__*/React.createElement("path", {
443
305
  d: "M82.7198 134.846C85.0673 136.492 82.5184 138.446 84.4665 139.99C88.1502 142.366 87.5201 123.15 84.0027 123.526C81.095 124.254 83.8998 133.561 82.7198 134.846Z",
444
306
  fill: "#101214"
445
- }), productIconSlot), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
307
+ }), productIconSlot), providerIconSlot), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
446
308
  id: "paint0_linear_3120_9396",
447
309
  x1: "89.6875",
448
310
  y1: "172.49",
@@ -126,7 +126,10 @@ const EmbedModal = ({
126
126
  window.removeEventListener('blur', handleWindowBlur);
127
127
  };
128
128
  }, [isOpen]);
129
- return /*#__PURE__*/React.createElement(ModalTransition, null, isOpen && /*#__PURE__*/React.createElement(ModalDialog, {
129
+ return /*#__PURE__*/React.createElement(ModalTransition, null, isOpen &&
130
+ /*#__PURE__*/
131
+ // eslint-disable-next-line @atlaskit/design-system/no-modal-label
132
+ React.createElement(ModalDialog, {
130
133
  height: "100%",
131
134
  onClose: handleOnClose,
132
135
  onCloseComplete: handleOnCloseComplete,
@@ -34,24 +34,28 @@ export const AutomationModalHeader = ({
34
34
  titleId
35
35
  } = useModal();
36
36
  const showDescription = initialised && rules.length > 0 && !!modalDescription;
37
- return /*#__PURE__*/React.createElement(ModalHeader, {
38
- hasCloseButton: true
39
- }, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Inline, {
40
- alignBlock: "center"
41
- }, /*#__PURE__*/React.createElement(Box, {
42
- xcss: styles.iconStyle
43
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
44
- ,
45
- backgroundColor: "color.background.accent.green.subtlest"
46
- }, /*#__PURE__*/React.createElement(AutomationIcon, {
47
- size: "small",
48
- label: formatMessage(i18n.modalHeaderIconLabel),
49
- color: "var(--ds-icon-accent-green, #22A06B)",
50
- spacing: "compact"
51
- })), /*#__PURE__*/React.createElement(Heading, {
52
- size: "medium",
53
- id: titleId
54
- }, modalTitle)), showDescription && /*#__PURE__*/React.createElement(Box, {
55
- xcss: styles.modalDescriptionStyle
56
- }, modalDescription)));
37
+ return (
38
+ /*#__PURE__*/
39
+ // eslint-disable-next-line @atlaskit/design-system/use-modal-title
40
+ React.createElement(ModalHeader, {
41
+ hasCloseButton: true
42
+ }, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(Inline, {
43
+ alignBlock: "center"
44
+ }, /*#__PURE__*/React.createElement(Box, {
45
+ xcss: styles.iconStyle
46
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
47
+ ,
48
+ backgroundColor: "color.background.accent.green.subtlest"
49
+ }, /*#__PURE__*/React.createElement(AutomationIcon, {
50
+ size: "small",
51
+ label: formatMessage(i18n.modalHeaderIconLabel),
52
+ color: "var(--ds-icon-accent-green, #22A06B)",
53
+ spacing: "compact"
54
+ })), /*#__PURE__*/React.createElement(Heading, {
55
+ size: "medium",
56
+ id: titleId
57
+ }, modalTitle)), showDescription && /*#__PURE__*/React.createElement(Box, {
58
+ xcss: styles.modalDescriptionStyle
59
+ }, modalDescription)))
60
+ );
57
61
  };
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
9
9
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
10
10
  const PACKAGE_DATA = {
11
11
  packageName: "@atlaskit/smart-card",
12
- packageVersion: "45.16.1",
12
+ packageVersion: "45.16.3",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const LinkUrl = ({
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb8e2c6668c03d9b10d7e9c792af8e2695226173eb5ed35c269755dd23e0b6d7
3
+ size 22119
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70a34992507a11771133a5f3020a368f59df80e92f532f0ccb72c81a0500b32d
3
- size 20272
2
+ oid sha256:9da579a4acb5203522ae238674ae73efa2b6da2637ca1ba3d0206d9182dfc999
3
+ size 20262
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f6798fb6ccf3c433009df2f36833d9a174578fa7f4817a5aecb64d78fd5fac2
3
- size 28416
2
+ oid sha256:acba7f46ca259ef01df8ac10afb89e1b13143951dab5cfdf1237a9fbbfeb76f3
3
+ size 27767
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea04e0caa3568400707890b20a8db1ce771d04715961a72c94436b192aefd878
3
- size 35747
2
+ oid sha256:2ed2afe5cd757af7385a50902d2c8359fefe184154c225473bd1fb9776a2a60b
3
+ size 34198
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:859558a0092c4a43775d7c6d2744122d3599276194e671c12a67f2e5577c2b09
3
- size 24774
2
+ oid sha256:c10e9ce6c1f2c0b23917e620bd2969aa550482339adbabb0d7c4cb6d8bf9edfb
3
+ size 24670
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c486045b1cefe06abb599a83ad867d28bcbdf43643007efbea6e1216317b88f9
3
- size 31418
2
+ oid sha256:f9e29f02f3ae327dcd79446a4d71557d4d0aede2a6eeb5e805b8d8e2d6383935
3
+ size 30758
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:423f77b21e6e3097891c741648ab161a57865491be80dfd4618e37a0fc2586a0
3
- size 36826
2
+ oid sha256:b606548b4c33c5a659dc4dcc345e66f5c1450210b0fded990b12e18da88ad0e9
3
+ size 35283
@@ -175,11 +175,6 @@ export var messages = defineMessages({
175
175
  defaultMessage: 'Slides',
176
176
  description: 'Accessible label for the group of dot indicator buttons in the teaser carousel'
177
177
  },
178
- connect_link_account_embed_carousel_button_back: {
179
- id: 'fabric.linking.connect_link_account_embed_carousel_button_back.non-final',
180
- defaultMessage: 'Back',
181
- description: 'Label for the back button in the embed card carousel teaser'
182
- },
183
178
  connect_link_account_embed_carousel_button_next: {
184
179
  id: 'fabric.linking.connect_link_account_embed_carousel_button_next.non-final',
185
180
  defaultMessage: 'Next',
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card" || '',
7
- packageVersion: "45.16.1" || ''
7
+ packageVersion: "45.16.3" || ''
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -68,6 +68,7 @@ export var getSimulatedBetterMetadata = function getSimulatedBetterMetadata(card
68
68
  }].concat(baseBottomMetaData)
69
69
  };
70
70
  case 'integration-passionfruit-object-provider':
71
+ case 'mercury-object-provider':
71
72
  return {
72
73
  titleMetadata: defaultTitleMetadata,
73
74
  topMetadata: extractOwnedBy(data) ? [{
@@ -1,3 +1,4 @@
1
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}
1
2
  ._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
2
3
  ._zulp1ejb{gap:var(--ds-space-300,24px)}
3
4
  ._zulppxbi{gap:var(--ds-space-200,1pc)}
@@ -22,11 +22,10 @@ var styles = {
22
22
  dot: "_2rko1rr0 _1bsbftgi _4t3iftgi _bfhki8nm _1oecfnf5 _k8m01k61 _6fl45ucs _lcxvglyw",
23
23
  dotActive: "_bfhkjmqp",
24
24
  dotPassable: "_2rko1rr0 _1e0c1txw _4cvr1h6o _1bah1h6o _1bsb7vkz _4t3i7vkz _bfhksm61 _ca0qze3t _u5f3ze3t _n3tdze3t _19bvze3t",
25
- icon: "_1o9zidpf _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o",
25
+ icon: "_2rko12b0 _1reo15vq _18m915vq _1o9zidpf _1bsb1tcg _4t3i1tcg _1e0c1txw _4cvr1h6o _1bah1h6o",
26
26
  iconImage: "_1bsb1osq _4t3i1osq _5ral1f51",
27
27
  image: "_1bsb1osq _c71l1wdt _5ral1f51 _rsufaqso _1e0c1ule",
28
28
  rowButton: "_zulpu2gc _1e0c1txw _2lx2vrvc _1n261g80 _4cvr1h6o",
29
- rowButtonNavGroup: "_zulpu2gc _1e0c1txw _2lx2vrvc _4cvr1h6o _1o9zidpf",
30
29
  rowButtonCompact: "_1bsb1osq",
31
30
  rowDot: "_zulpze3t _1e0c1txw _2lx2vrvc _4cvr1h6o",
32
31
  rowIcon: "_zulpu2gc _1e0c1txw _4cvr1h6o",
@@ -41,7 +40,6 @@ var CarouselSlide = function CarouselSlide(_ref) {
41
40
  image = _ref.image,
42
41
  primaryButtonLabel = _ref.primaryButtonLabel,
43
42
  onPrimaryButtonClick = _ref.onPrimaryButtonClick,
44
- onBackClick = _ref.onBackClick,
45
43
  onDotClick = _ref.onDotClick,
46
44
  onNextClick = _ref.onNextClick,
47
45
  slideIndex = _ref.slideIndex,
@@ -105,23 +103,17 @@ var CarouselSlide = function CarouselSlide(_ref) {
105
103
  xcss: styles.columnContentBody
106
104
  }, /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement(Text, {
107
105
  testId: "".concat(testId, "-description")
108
- }, description)), (showPrimaryButton && !isCompact || showNavigation && (onNextClick || onBackClick)) && /*#__PURE__*/React.createElement(Box, {
106
+ }, description)), (showPrimaryButton && !isCompact || showNavigation && onNextClick) && /*#__PURE__*/React.createElement(Box, {
109
107
  xcss: styles.rowButton
110
108
  }, showPrimaryButton && !isCompact && /*#__PURE__*/React.createElement(Button, {
111
109
  appearance: "primary",
112
110
  onClick: onPrimaryButtonClick,
113
111
  testId: "".concat(testId, "-connect")
114
- }, primaryButtonLabel), showNavigation && (onBackClick || onNextClick) && /*#__PURE__*/React.createElement(Box, {
115
- xcss: styles.rowButtonNavGroup
116
- }, onBackClick && /*#__PURE__*/React.createElement(Button, {
117
- appearance: "subtle",
118
- onClick: onBackClick,
119
- testId: "".concat(testId, "-back")
120
- }, formatMessage(messages.connect_link_account_embed_carousel_button_back)), onNextClick && /*#__PURE__*/React.createElement(Button, {
112
+ }, primaryButtonLabel), showNavigation && onNextClick && /*#__PURE__*/React.createElement(Button, {
121
113
  appearance: "subtle",
122
114
  onClick: onNextClick,
123
115
  testId: "".concat(testId, "-next")
124
- }, formatMessage(messages.connect_link_account_embed_carousel_button_next)))))), showNavigation && /*#__PURE__*/React.createElement(Box, {
116
+ }, formatMessage(messages.connect_link_account_embed_carousel_button_next))))), showNavigation && /*#__PURE__*/React.createElement(Box, {
125
117
  xcss: styles.rowDot,
126
118
  role: "group",
127
119
  "aria-label": formatMessage(messages.connect_link_account_embed_carousel_dot_row_label)
@@ -79,12 +79,6 @@ var Carousel = function Carousel(_ref) {
79
79
  return (current + 1) % items.length;
80
80
  });
81
81
  }, [items, activeIndex, onNextClick]);
82
- var goPrev = useCallback(function () {
83
- hasNavigated.current = true;
84
- setActiveIndex(function (current) {
85
- return Math.max(0, current - 1);
86
- });
87
- }, []);
88
82
  var goTo = useCallback(function (index) {
89
83
  if (index === activeIndex) {
90
84
  return;
@@ -96,7 +90,6 @@ var Carousel = function Carousel(_ref) {
96
90
  onPrimaryButtonClick === null || onPrimaryButtonClick === void 0 || onPrimaryButtonClick(items[activeIndex].id);
97
91
  }, [onPrimaryButtonClick, items, activeIndex]);
98
92
  var currentSlide = items[activeIndex];
99
- var isFirstSlide = activeIndex === 0;
100
93
  var isLastSlide = activeIndex === items.length - 1;
101
94
  return /*#__PURE__*/React.createElement(Box, {
102
95
  ref: containerRef,
@@ -114,7 +107,6 @@ var Carousel = function Carousel(_ref) {
114
107
  image: currentSlide.image,
115
108
  title: currentSlide.title,
116
109
  onPrimaryButtonClick: onPrimaryButtonClick ? handlePrimaryButtonClick : undefined,
117
- onBackClick: !isFirstSlide ? goPrev : undefined,
118
110
  onDotClick: goTo,
119
111
  onNextClick: !isLastSlide ? goNext : undefined,
120
112
  size: size,
@@ -100,7 +100,8 @@ var UnauthorizedCarouselView = function UnauthorizedCarouselView(_ref) {
100
100
  product: parentProduct
101
101
  }),
102
102
  image: /*#__PURE__*/React.createElement(SmartLinkBenefitImage, {
103
- productIcon: parentProductIcon
103
+ productIcon: parentProductIcon,
104
+ providerIcon: providerIcon
104
105
  })
105
106
  }];
106
107
 
@@ -1,4 +1,4 @@
1
- ._18m915vq{overflow-y:hidden}
1
+ ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._18m915vq{overflow-y:hidden}
2
2
  ._1bah1h6o{justify-content:center}
3
3
  ._1bsb1osq{width:100%}
4
4
  ._1e0c1txw{display:flex}
@@ -18,7 +18,7 @@ var IconSlot = function IconSlot(_ref) {
18
18
  width: w,
19
19
  height: h
20
20
  }, /*#__PURE__*/React.createElement("div", {
21
- className: ax(["_1reo15vq _18m915vq _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o"])
21
+ className: ax(["_2rko12b0 _1reo15vq _18m915vq _1bsb1osq _4t3i1osq _1e0c1txw _4cvr1h6o _1bah1h6o"])
22
22
  }, icon));
23
23
  };
24
24
  export default IconSlot;