@zohodesk/dot 1.0.0-temp-200.5 → 1.0.0-temp-200.6
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/README.md +5 -0
- package/es/Onboarding/Onboarding.js +3 -2
- package/es/Onboarding/__tests__/Onboarding.spec.js +12 -0
- package/es/Onboarding/__tests__/__snapshots__/Onboarding.spec.js.snap +137 -20
- package/es/Onboarding/props/propTypes.js +1 -0
- package/lib/Onboarding/Onboarding.js +3 -2
- package/lib/Onboarding/__tests__/Onboarding.spec.js +12 -0
- package/lib/Onboarding/__tests__/__snapshots__/Onboarding.spec.js.snap +137 -20
- package/lib/Onboarding/props/propTypes.js +1 -0
- package/package.json +3 -3
- package/result.json +1 -1
- package/unittest/index.html +6 -2
package/README.md
CHANGED
|
@@ -205,6 +205,7 @@ const Onboarding = _ref => {
|
|
|
205
205
|
const {
|
|
206
206
|
imageSource,
|
|
207
207
|
videoSource,
|
|
208
|
+
mediaElement,
|
|
208
209
|
heading,
|
|
209
210
|
description,
|
|
210
211
|
hasVideoPlayButton = false,
|
|
@@ -229,8 +230,8 @@ const Onboarding = _ref => {
|
|
|
229
230
|
$ui_alignItems: "center",
|
|
230
231
|
$flag_fullsize: true
|
|
231
232
|
}, /*#__PURE__*/React.createElement("div", {
|
|
232
|
-
className: `${style.innerHead} ${hasVideoPlayButton ? style.dvLayer :
|
|
233
|
-
}, renderMediaElement(imageSource, videoSourceLink, videoSourceFormat), hasVideoPlayButton && /*#__PURE__*/React.createElement(Flex, {
|
|
233
|
+
className: `${style.innerHead} ${hasVideoPlayButton ? style.dvLayer : ''}`
|
|
234
|
+
}, mediaElement ? mediaElement : renderMediaElement(imageSource, videoSourceLink, videoSourceFormat), hasVideoPlayButton && /*#__PURE__*/React.createElement(Flex, {
|
|
234
235
|
$ui_displayMode: "flex",
|
|
235
236
|
$ui_justifyContent: "center",
|
|
236
237
|
$ui_alignItems: "center",
|
|
@@ -425,4 +425,16 @@ describe('Onboarding', () => {
|
|
|
425
425
|
}));
|
|
426
426
|
expect(asFragment()).toMatchSnapshot();
|
|
427
427
|
});
|
|
428
|
+
test('rendering data with mediaElement', () => {
|
|
429
|
+
const {
|
|
430
|
+
asFragment
|
|
431
|
+
} = render( /*#__PURE__*/React.createElement(Onboarding, {
|
|
432
|
+
sliderData: [{
|
|
433
|
+
tabName: "description",
|
|
434
|
+
description: "Discover innovative tools and solutions to streamline your processes and boost productivity on Slide 1.",
|
|
435
|
+
mediaElement: /*#__PURE__*/React.createElement("div", null, "Custom Element")
|
|
436
|
+
}]
|
|
437
|
+
}));
|
|
438
|
+
expect(asFragment()).toMatchSnapshot();
|
|
439
|
+
});
|
|
428
440
|
});
|
|
@@ -40,7 +40,7 @@ exports[`Onboarding rendering data of customprops for Secondarybuttonprops 1`]
|
|
|
40
40
|
data-test-id="flex"
|
|
41
41
|
>
|
|
42
42
|
<div
|
|
43
|
-
class="innerHead
|
|
43
|
+
class="innerHead "
|
|
44
44
|
/>
|
|
45
45
|
</div>
|
|
46
46
|
<div
|
|
@@ -159,7 +159,7 @@ exports[`Onboarding rendering data of customprops for descriptionProps 1`] = `
|
|
|
159
159
|
data-test-id="flex"
|
|
160
160
|
>
|
|
161
161
|
<div
|
|
162
|
-
class="innerHead
|
|
162
|
+
class="innerHead "
|
|
163
163
|
/>
|
|
164
164
|
</div>
|
|
165
165
|
<div
|
|
@@ -344,7 +344,7 @@ exports[`Onboarding rendering data of customprops for headingProps 1`] = `
|
|
|
344
344
|
data-test-id="flex"
|
|
345
345
|
>
|
|
346
346
|
<div
|
|
347
|
-
class="innerHead
|
|
347
|
+
class="innerHead "
|
|
348
348
|
/>
|
|
349
349
|
</div>
|
|
350
350
|
<div
|
|
@@ -457,7 +457,7 @@ exports[`Onboarding rendering data of customprops for primarybuttonprops 1`] =
|
|
|
457
457
|
data-test-id="flex"
|
|
458
458
|
>
|
|
459
459
|
<div
|
|
460
|
-
class="innerHead
|
|
460
|
+
class="innerHead "
|
|
461
461
|
/>
|
|
462
462
|
</div>
|
|
463
463
|
<div
|
|
@@ -645,7 +645,7 @@ exports[`Onboarding rendering data of customprops for secondaryButtonLinkProps
|
|
|
645
645
|
data-test-id="flex"
|
|
646
646
|
>
|
|
647
647
|
<div
|
|
648
|
-
class="innerHead
|
|
648
|
+
class="innerHead "
|
|
649
649
|
/>
|
|
650
650
|
</div>
|
|
651
651
|
<div
|
|
@@ -900,7 +900,7 @@ exports[`Onboarding rendering data of image without hasVideoPlayButton 1`] = `
|
|
|
900
900
|
data-test-id="flex"
|
|
901
901
|
>
|
|
902
902
|
<div
|
|
903
|
-
class="innerHead
|
|
903
|
+
class="innerHead "
|
|
904
904
|
>
|
|
905
905
|
<img
|
|
906
906
|
class=" mediaElement image imgMaxFullSize "
|
|
@@ -1015,7 +1015,7 @@ exports[`Onboarding rendering data of videoSource 1`] = `
|
|
|
1015
1015
|
data-test-id="flex"
|
|
1016
1016
|
>
|
|
1017
1017
|
<div
|
|
1018
|
-
class="innerHead
|
|
1018
|
+
class="innerHead "
|
|
1019
1019
|
>
|
|
1020
1020
|
<video
|
|
1021
1021
|
autoplay=""
|
|
@@ -1136,7 +1136,7 @@ exports[`Onboarding rendering data of SecondaryButton as link 1`] = `
|
|
|
1136
1136
|
data-test-id="flex"
|
|
1137
1137
|
>
|
|
1138
1138
|
<div
|
|
1139
|
-
class="innerHead
|
|
1139
|
+
class="innerHead "
|
|
1140
1140
|
/>
|
|
1141
1141
|
</div>
|
|
1142
1142
|
<div
|
|
@@ -1541,7 +1541,7 @@ exports[`Onboarding rendering data of primaryButtonText 1`] = `
|
|
|
1541
1541
|
data-test-id="flex"
|
|
1542
1542
|
>
|
|
1543
1543
|
<div
|
|
1544
|
-
class="innerHead
|
|
1544
|
+
class="innerHead "
|
|
1545
1545
|
/>
|
|
1546
1546
|
</div>
|
|
1547
1547
|
<div
|
|
@@ -1651,7 +1651,7 @@ exports[`Onboarding rendering data of secondaryButtonText 1`] = `
|
|
|
1651
1651
|
data-test-id="flex"
|
|
1652
1652
|
>
|
|
1653
1653
|
<div
|
|
1654
|
-
class="innerHead
|
|
1654
|
+
class="innerHead "
|
|
1655
1655
|
/>
|
|
1656
1656
|
</div>
|
|
1657
1657
|
<div
|
|
@@ -1771,7 +1771,7 @@ exports[`Onboarding rendering data of sliderData with heading and description 1`
|
|
|
1771
1771
|
data-test-id="flex"
|
|
1772
1772
|
>
|
|
1773
1773
|
<div
|
|
1774
|
-
class="innerHead
|
|
1774
|
+
class="innerHead "
|
|
1775
1775
|
/>
|
|
1776
1776
|
</div>
|
|
1777
1777
|
<div
|
|
@@ -1887,7 +1887,7 @@ exports[`Onboarding rendering data of sliderData with image 1`] = `
|
|
|
1887
1887
|
data-test-id="flex"
|
|
1888
1888
|
>
|
|
1889
1889
|
<div
|
|
1890
|
-
class="innerHead
|
|
1890
|
+
class="innerHead "
|
|
1891
1891
|
>
|
|
1892
1892
|
<img
|
|
1893
1893
|
class=" mediaElement image imgMaxFullSize "
|
|
@@ -2002,7 +2002,7 @@ exports[`Onboarding rendering data of two sliderData 1`] = `
|
|
|
2002
2002
|
data-test-id="flex"
|
|
2003
2003
|
>
|
|
2004
2004
|
<div
|
|
2005
|
-
class="innerHead
|
|
2005
|
+
class="innerHead "
|
|
2006
2006
|
/>
|
|
2007
2007
|
</div>
|
|
2008
2008
|
<div
|
|
@@ -2032,7 +2032,7 @@ exports[`Onboarding rendering data of two sliderData 1`] = `
|
|
|
2032
2032
|
data-test-id="flex"
|
|
2033
2033
|
>
|
|
2034
2034
|
<div
|
|
2035
|
-
class="innerHead
|
|
2035
|
+
class="innerHead "
|
|
2036
2036
|
/>
|
|
2037
2037
|
</div>
|
|
2038
2038
|
<div
|
|
@@ -2233,7 +2233,7 @@ exports[`Onboarding rendering data with hasExpandedButton - hasSecondaryButton a
|
|
|
2233
2233
|
data-test-id="flex"
|
|
2234
2234
|
>
|
|
2235
2235
|
<div
|
|
2236
|
-
class="innerHead
|
|
2236
|
+
class="innerHead "
|
|
2237
2237
|
/>
|
|
2238
2238
|
</div>
|
|
2239
2239
|
<div
|
|
@@ -2352,7 +2352,7 @@ exports[`Onboarding rendering data with hasExpandedButton by hasSecondaryButton,
|
|
|
2352
2352
|
data-test-id="flex"
|
|
2353
2353
|
>
|
|
2354
2354
|
<div
|
|
2355
|
-
class="innerHead
|
|
2355
|
+
class="innerHead "
|
|
2356
2356
|
/>
|
|
2357
2357
|
</div>
|
|
2358
2358
|
<div
|
|
@@ -2430,6 +2430,123 @@ exports[`Onboarding rendering data with hasExpandedButton by hasSecondaryButton,
|
|
|
2430
2430
|
</DocumentFragment>
|
|
2431
2431
|
`;
|
|
2432
2432
|
|
|
2433
|
+
exports[`Onboarding rendering data with mediaElement 1`] = `
|
|
2434
|
+
<DocumentFragment>
|
|
2435
|
+
<div
|
|
2436
|
+
class="mainContainer mainContainerAnimation"
|
|
2437
|
+
data-id="onboarding_container"
|
|
2438
|
+
data-test-id="onboarding_container"
|
|
2439
|
+
>
|
|
2440
|
+
<div
|
|
2441
|
+
class="mainWrapper"
|
|
2442
|
+
>
|
|
2443
|
+
<div
|
|
2444
|
+
class="gradientLayer"
|
|
2445
|
+
>
|
|
2446
|
+
<div
|
|
2447
|
+
class="circleBlur circleBlurOne"
|
|
2448
|
+
/>
|
|
2449
|
+
<div
|
|
2450
|
+
class="circleBlur circleBlurTwo"
|
|
2451
|
+
/>
|
|
2452
|
+
</div>
|
|
2453
|
+
<div
|
|
2454
|
+
class="carousel"
|
|
2455
|
+
>
|
|
2456
|
+
<div
|
|
2457
|
+
class="flex row carouselInner"
|
|
2458
|
+
data-id="flex"
|
|
2459
|
+
data-test-id="flex"
|
|
2460
|
+
style="--local_translate_movement: 0%;"
|
|
2461
|
+
>
|
|
2462
|
+
<div
|
|
2463
|
+
class="flex column noShrink carouselItem"
|
|
2464
|
+
data-id="flex"
|
|
2465
|
+
data-test-id="flex"
|
|
2466
|
+
>
|
|
2467
|
+
<div
|
|
2468
|
+
class="flex row alignItems_center justifyContent_center fullSize header"
|
|
2469
|
+
data-id="flex"
|
|
2470
|
+
data-test-id="flex"
|
|
2471
|
+
>
|
|
2472
|
+
<div
|
|
2473
|
+
class="innerHead "
|
|
2474
|
+
>
|
|
2475
|
+
<div>
|
|
2476
|
+
Custom Element
|
|
2477
|
+
</div>
|
|
2478
|
+
</div>
|
|
2479
|
+
</div>
|
|
2480
|
+
<div
|
|
2481
|
+
class="scroll_vertical content"
|
|
2482
|
+
data-id="flex"
|
|
2483
|
+
data-test-id="flex"
|
|
2484
|
+
>
|
|
2485
|
+
<div
|
|
2486
|
+
class="size20 lineclamp_3 lineheight_1_4 font_bold heading"
|
|
2487
|
+
/>
|
|
2488
|
+
<div
|
|
2489
|
+
class="size14 lineclamp_4 lineheight_1_6 description"
|
|
2490
|
+
data-title="Discover innovative tools and solutions to streamline your processes and boost productivity on Slide 1."
|
|
2491
|
+
>
|
|
2492
|
+
Discover innovative tools and solutions to streamline your processes and boost productivity on Slide 1.
|
|
2493
|
+
</div>
|
|
2494
|
+
</div>
|
|
2495
|
+
</div>
|
|
2496
|
+
</div>
|
|
2497
|
+
</div>
|
|
2498
|
+
<div
|
|
2499
|
+
class="flex row alignItems_center footer"
|
|
2500
|
+
data-id="flex"
|
|
2501
|
+
data-test-id="flex"
|
|
2502
|
+
>
|
|
2503
|
+
<div
|
|
2504
|
+
class="flex row justifyContent_end flexible basis_zero shrink btnWrapper"
|
|
2505
|
+
data-id="flex"
|
|
2506
|
+
data-test-id="flex"
|
|
2507
|
+
>
|
|
2508
|
+
<button
|
|
2509
|
+
class="primaryButton footerButton bold primaryfilled medium"
|
|
2510
|
+
data-id="onboarding_primary_button"
|
|
2511
|
+
data-selector-id="button"
|
|
2512
|
+
data-test-id="onboarding_primary_button"
|
|
2513
|
+
data-title="Got it"
|
|
2514
|
+
type="button"
|
|
2515
|
+
>
|
|
2516
|
+
Got it
|
|
2517
|
+
</button>
|
|
2518
|
+
</div>
|
|
2519
|
+
</div>
|
|
2520
|
+
<button
|
|
2521
|
+
class="flex row alignItems_center justifyContent_center fullSize closeIconContainer buttonReset"
|
|
2522
|
+
data-id="onboarding_close_icon"
|
|
2523
|
+
data-test-id="onboarding_close_icon"
|
|
2524
|
+
>
|
|
2525
|
+
<i
|
|
2526
|
+
aria-hidden="true"
|
|
2527
|
+
class="zd_font_icons basic icon-inapp-close closeIcon "
|
|
2528
|
+
data-id="fontIcon"
|
|
2529
|
+
data-selector-id="fontIcon"
|
|
2530
|
+
data-test-id="fontIcon"
|
|
2531
|
+
/>
|
|
2532
|
+
</button>
|
|
2533
|
+
<span
|
|
2534
|
+
class="basic newRibbon palette_primary medium flag"
|
|
2535
|
+
data-id="onboarding_ribbon"
|
|
2536
|
+
data-selector-id="ribbon"
|
|
2537
|
+
data-test-id="onboarding_ribbon"
|
|
2538
|
+
>
|
|
2539
|
+
<span
|
|
2540
|
+
class="childText"
|
|
2541
|
+
>
|
|
2542
|
+
New
|
|
2543
|
+
</span>
|
|
2544
|
+
</span>
|
|
2545
|
+
</div>
|
|
2546
|
+
</div>
|
|
2547
|
+
</DocumentFragment>
|
|
2548
|
+
`;
|
|
2549
|
+
|
|
2433
2550
|
exports[`Onboarding rendering data without SecondaryButton as link 1`] = `
|
|
2434
2551
|
<DocumentFragment>
|
|
2435
2552
|
<div
|
|
@@ -2470,7 +2587,7 @@ exports[`Onboarding rendering data without SecondaryButton as link 1`] = `
|
|
|
2470
2587
|
data-test-id="flex"
|
|
2471
2588
|
>
|
|
2472
2589
|
<div
|
|
2473
|
-
class="innerHead
|
|
2590
|
+
class="innerHead "
|
|
2474
2591
|
/>
|
|
2475
2592
|
</div>
|
|
2476
2593
|
<div
|
|
@@ -2793,7 +2910,7 @@ exports[`Onboarding rendering data without primaryButtonText 1`] = `
|
|
|
2793
2910
|
data-test-id="flex"
|
|
2794
2911
|
>
|
|
2795
2912
|
<div
|
|
2796
|
-
class="innerHead
|
|
2913
|
+
class="innerHead "
|
|
2797
2914
|
/>
|
|
2798
2915
|
</div>
|
|
2799
2916
|
<div
|
|
@@ -2892,7 +3009,7 @@ exports[`Onboarding rendering data without secondaryButtonText 1`] = `
|
|
|
2892
3009
|
data-test-id="flex"
|
|
2893
3010
|
>
|
|
2894
3011
|
<div
|
|
2895
|
-
class="innerHead
|
|
3012
|
+
class="innerHead "
|
|
2896
3013
|
/>
|
|
2897
3014
|
</div>
|
|
2898
3015
|
<div
|
|
@@ -3206,7 +3323,7 @@ exports[`Onboarding rendering with customId - hasSecondaryButtonLink 1`] = `
|
|
|
3206
3323
|
data-test-id="flex"
|
|
3207
3324
|
>
|
|
3208
3325
|
<div
|
|
3209
|
-
class="innerHead
|
|
3326
|
+
class="innerHead "
|
|
3210
3327
|
/>
|
|
3211
3328
|
</div>
|
|
3212
3329
|
<div
|
|
@@ -219,6 +219,7 @@ var Onboarding = function Onboarding(_ref) {
|
|
|
219
219
|
}, sliderData.map(function (item, index) {
|
|
220
220
|
var imageSource = item.imageSource,
|
|
221
221
|
videoSource = item.videoSource,
|
|
222
|
+
mediaElement = item.mediaElement,
|
|
222
223
|
heading = item.heading,
|
|
223
224
|
description = item.description,
|
|
224
225
|
_item$hasVideoPlayBut = item.hasVideoPlayButton,
|
|
@@ -243,8 +244,8 @@ var Onboarding = function Onboarding(_ref) {
|
|
|
243
244
|
$ui_alignItems: "center",
|
|
244
245
|
$flag_fullsize: true
|
|
245
246
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
246
|
-
className: "".concat(style.innerHead, " ").concat(hasVideoPlayButton ? style.dvLayer :
|
|
247
|
-
}, renderMediaElement(imageSource, videoSourceLink, videoSourceFormat), hasVideoPlayButton && /*#__PURE__*/_react["default"].createElement(_Flex["default"], {
|
|
247
|
+
className: "".concat(style.innerHead, " ").concat(hasVideoPlayButton ? style.dvLayer : '')
|
|
248
|
+
}, mediaElement ? mediaElement : renderMediaElement(imageSource, videoSourceLink, videoSourceFormat), hasVideoPlayButton && /*#__PURE__*/_react["default"].createElement(_Flex["default"], {
|
|
248
249
|
$ui_displayMode: "flex",
|
|
249
250
|
$ui_justifyContent: "center",
|
|
250
251
|
$ui_alignItems: "center",
|
|
@@ -432,4 +432,16 @@ describe('Onboarding', function () {
|
|
|
432
432
|
|
|
433
433
|
expect(asFragment()).toMatchSnapshot();
|
|
434
434
|
});
|
|
435
|
+
test('rendering data with mediaElement', function () {
|
|
436
|
+
var _render35 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_Onboarding["default"], {
|
|
437
|
+
sliderData: [{
|
|
438
|
+
tabName: "description",
|
|
439
|
+
description: "Discover innovative tools and solutions to streamline your processes and boost productivity on Slide 1.",
|
|
440
|
+
mediaElement: /*#__PURE__*/_react["default"].createElement("div", null, "Custom Element")
|
|
441
|
+
}]
|
|
442
|
+
})),
|
|
443
|
+
asFragment = _render35.asFragment;
|
|
444
|
+
|
|
445
|
+
expect(asFragment()).toMatchSnapshot();
|
|
446
|
+
});
|
|
435
447
|
});
|
|
@@ -40,7 +40,7 @@ exports[`Onboarding rendering data of customprops for Secondarybuttonprops 1`]
|
|
|
40
40
|
data-test-id="flex"
|
|
41
41
|
>
|
|
42
42
|
<div
|
|
43
|
-
class="innerHead
|
|
43
|
+
class="innerHead "
|
|
44
44
|
/>
|
|
45
45
|
</div>
|
|
46
46
|
<div
|
|
@@ -159,7 +159,7 @@ exports[`Onboarding rendering data of customprops for descriptionProps 1`] = `
|
|
|
159
159
|
data-test-id="flex"
|
|
160
160
|
>
|
|
161
161
|
<div
|
|
162
|
-
class="innerHead
|
|
162
|
+
class="innerHead "
|
|
163
163
|
/>
|
|
164
164
|
</div>
|
|
165
165
|
<div
|
|
@@ -344,7 +344,7 @@ exports[`Onboarding rendering data of customprops for headingProps 1`] = `
|
|
|
344
344
|
data-test-id="flex"
|
|
345
345
|
>
|
|
346
346
|
<div
|
|
347
|
-
class="innerHead
|
|
347
|
+
class="innerHead "
|
|
348
348
|
/>
|
|
349
349
|
</div>
|
|
350
350
|
<div
|
|
@@ -457,7 +457,7 @@ exports[`Onboarding rendering data of customprops for primarybuttonprops 1`] =
|
|
|
457
457
|
data-test-id="flex"
|
|
458
458
|
>
|
|
459
459
|
<div
|
|
460
|
-
class="innerHead
|
|
460
|
+
class="innerHead "
|
|
461
461
|
/>
|
|
462
462
|
</div>
|
|
463
463
|
<div
|
|
@@ -645,7 +645,7 @@ exports[`Onboarding rendering data of customprops for secondaryButtonLinkProps
|
|
|
645
645
|
data-test-id="flex"
|
|
646
646
|
>
|
|
647
647
|
<div
|
|
648
|
-
class="innerHead
|
|
648
|
+
class="innerHead "
|
|
649
649
|
/>
|
|
650
650
|
</div>
|
|
651
651
|
<div
|
|
@@ -900,7 +900,7 @@ exports[`Onboarding rendering data of image without hasVideoPlayButton 1`] = `
|
|
|
900
900
|
data-test-id="flex"
|
|
901
901
|
>
|
|
902
902
|
<div
|
|
903
|
-
class="innerHead
|
|
903
|
+
class="innerHead "
|
|
904
904
|
>
|
|
905
905
|
<img
|
|
906
906
|
class=" mediaElement image imgMaxFullSize "
|
|
@@ -1015,7 +1015,7 @@ exports[`Onboarding rendering data of videoSource 1`] = `
|
|
|
1015
1015
|
data-test-id="flex"
|
|
1016
1016
|
>
|
|
1017
1017
|
<div
|
|
1018
|
-
class="innerHead
|
|
1018
|
+
class="innerHead "
|
|
1019
1019
|
>
|
|
1020
1020
|
<video
|
|
1021
1021
|
autoplay=""
|
|
@@ -1136,7 +1136,7 @@ exports[`Onboarding rendering data of SecondaryButton as link 1`] = `
|
|
|
1136
1136
|
data-test-id="flex"
|
|
1137
1137
|
>
|
|
1138
1138
|
<div
|
|
1139
|
-
class="innerHead
|
|
1139
|
+
class="innerHead "
|
|
1140
1140
|
/>
|
|
1141
1141
|
</div>
|
|
1142
1142
|
<div
|
|
@@ -1541,7 +1541,7 @@ exports[`Onboarding rendering data of primaryButtonText 1`] = `
|
|
|
1541
1541
|
data-test-id="flex"
|
|
1542
1542
|
>
|
|
1543
1543
|
<div
|
|
1544
|
-
class="innerHead
|
|
1544
|
+
class="innerHead "
|
|
1545
1545
|
/>
|
|
1546
1546
|
</div>
|
|
1547
1547
|
<div
|
|
@@ -1651,7 +1651,7 @@ exports[`Onboarding rendering data of secondaryButtonText 1`] = `
|
|
|
1651
1651
|
data-test-id="flex"
|
|
1652
1652
|
>
|
|
1653
1653
|
<div
|
|
1654
|
-
class="innerHead
|
|
1654
|
+
class="innerHead "
|
|
1655
1655
|
/>
|
|
1656
1656
|
</div>
|
|
1657
1657
|
<div
|
|
@@ -1771,7 +1771,7 @@ exports[`Onboarding rendering data of sliderData with heading and description 1`
|
|
|
1771
1771
|
data-test-id="flex"
|
|
1772
1772
|
>
|
|
1773
1773
|
<div
|
|
1774
|
-
class="innerHead
|
|
1774
|
+
class="innerHead "
|
|
1775
1775
|
/>
|
|
1776
1776
|
</div>
|
|
1777
1777
|
<div
|
|
@@ -1887,7 +1887,7 @@ exports[`Onboarding rendering data of sliderData with image 1`] = `
|
|
|
1887
1887
|
data-test-id="flex"
|
|
1888
1888
|
>
|
|
1889
1889
|
<div
|
|
1890
|
-
class="innerHead
|
|
1890
|
+
class="innerHead "
|
|
1891
1891
|
>
|
|
1892
1892
|
<img
|
|
1893
1893
|
class=" mediaElement image imgMaxFullSize "
|
|
@@ -2002,7 +2002,7 @@ exports[`Onboarding rendering data of two sliderData 1`] = `
|
|
|
2002
2002
|
data-test-id="flex"
|
|
2003
2003
|
>
|
|
2004
2004
|
<div
|
|
2005
|
-
class="innerHead
|
|
2005
|
+
class="innerHead "
|
|
2006
2006
|
/>
|
|
2007
2007
|
</div>
|
|
2008
2008
|
<div
|
|
@@ -2032,7 +2032,7 @@ exports[`Onboarding rendering data of two sliderData 1`] = `
|
|
|
2032
2032
|
data-test-id="flex"
|
|
2033
2033
|
>
|
|
2034
2034
|
<div
|
|
2035
|
-
class="innerHead
|
|
2035
|
+
class="innerHead "
|
|
2036
2036
|
/>
|
|
2037
2037
|
</div>
|
|
2038
2038
|
<div
|
|
@@ -2233,7 +2233,7 @@ exports[`Onboarding rendering data with hasExpandedButton - hasSecondaryButton a
|
|
|
2233
2233
|
data-test-id="flex"
|
|
2234
2234
|
>
|
|
2235
2235
|
<div
|
|
2236
|
-
class="innerHead
|
|
2236
|
+
class="innerHead "
|
|
2237
2237
|
/>
|
|
2238
2238
|
</div>
|
|
2239
2239
|
<div
|
|
@@ -2352,7 +2352,7 @@ exports[`Onboarding rendering data with hasExpandedButton by hasSecondaryButton,
|
|
|
2352
2352
|
data-test-id="flex"
|
|
2353
2353
|
>
|
|
2354
2354
|
<div
|
|
2355
|
-
class="innerHead
|
|
2355
|
+
class="innerHead "
|
|
2356
2356
|
/>
|
|
2357
2357
|
</div>
|
|
2358
2358
|
<div
|
|
@@ -2430,6 +2430,123 @@ exports[`Onboarding rendering data with hasExpandedButton by hasSecondaryButton,
|
|
|
2430
2430
|
</DocumentFragment>
|
|
2431
2431
|
`;
|
|
2432
2432
|
|
|
2433
|
+
exports[`Onboarding rendering data with mediaElement 1`] = `
|
|
2434
|
+
<DocumentFragment>
|
|
2435
|
+
<div
|
|
2436
|
+
class="mainContainer mainContainerAnimation"
|
|
2437
|
+
data-id="onboarding_container"
|
|
2438
|
+
data-test-id="onboarding_container"
|
|
2439
|
+
>
|
|
2440
|
+
<div
|
|
2441
|
+
class="mainWrapper"
|
|
2442
|
+
>
|
|
2443
|
+
<div
|
|
2444
|
+
class="gradientLayer"
|
|
2445
|
+
>
|
|
2446
|
+
<div
|
|
2447
|
+
class="circleBlur circleBlurOne"
|
|
2448
|
+
/>
|
|
2449
|
+
<div
|
|
2450
|
+
class="circleBlur circleBlurTwo"
|
|
2451
|
+
/>
|
|
2452
|
+
</div>
|
|
2453
|
+
<div
|
|
2454
|
+
class="carousel"
|
|
2455
|
+
>
|
|
2456
|
+
<div
|
|
2457
|
+
class="flex row carouselInner"
|
|
2458
|
+
data-id="flex"
|
|
2459
|
+
data-test-id="flex"
|
|
2460
|
+
style="--local_translate_movement: 0%;"
|
|
2461
|
+
>
|
|
2462
|
+
<div
|
|
2463
|
+
class="flex column noShrink carouselItem"
|
|
2464
|
+
data-id="flex"
|
|
2465
|
+
data-test-id="flex"
|
|
2466
|
+
>
|
|
2467
|
+
<div
|
|
2468
|
+
class="flex row alignItems_center justifyContent_center fullSize header"
|
|
2469
|
+
data-id="flex"
|
|
2470
|
+
data-test-id="flex"
|
|
2471
|
+
>
|
|
2472
|
+
<div
|
|
2473
|
+
class="innerHead "
|
|
2474
|
+
>
|
|
2475
|
+
<div>
|
|
2476
|
+
Custom Element
|
|
2477
|
+
</div>
|
|
2478
|
+
</div>
|
|
2479
|
+
</div>
|
|
2480
|
+
<div
|
|
2481
|
+
class="scroll_vertical content"
|
|
2482
|
+
data-id="flex"
|
|
2483
|
+
data-test-id="flex"
|
|
2484
|
+
>
|
|
2485
|
+
<div
|
|
2486
|
+
class="size20 lineclamp_3 lineheight_1_4 font_bold heading"
|
|
2487
|
+
/>
|
|
2488
|
+
<div
|
|
2489
|
+
class="size14 lineclamp_4 lineheight_1_6 description"
|
|
2490
|
+
data-title="Discover innovative tools and solutions to streamline your processes and boost productivity on Slide 1."
|
|
2491
|
+
>
|
|
2492
|
+
Discover innovative tools and solutions to streamline your processes and boost productivity on Slide 1.
|
|
2493
|
+
</div>
|
|
2494
|
+
</div>
|
|
2495
|
+
</div>
|
|
2496
|
+
</div>
|
|
2497
|
+
</div>
|
|
2498
|
+
<div
|
|
2499
|
+
class="flex row alignItems_center footer"
|
|
2500
|
+
data-id="flex"
|
|
2501
|
+
data-test-id="flex"
|
|
2502
|
+
>
|
|
2503
|
+
<div
|
|
2504
|
+
class="flex row justifyContent_end flexible basis_zero shrink btnWrapper"
|
|
2505
|
+
data-id="flex"
|
|
2506
|
+
data-test-id="flex"
|
|
2507
|
+
>
|
|
2508
|
+
<button
|
|
2509
|
+
class="primaryButton footerButton bold primaryfilled medium"
|
|
2510
|
+
data-id="onboarding_primary_button"
|
|
2511
|
+
data-selector-id="button"
|
|
2512
|
+
data-test-id="onboarding_primary_button"
|
|
2513
|
+
data-title="Got it"
|
|
2514
|
+
type="button"
|
|
2515
|
+
>
|
|
2516
|
+
Got it
|
|
2517
|
+
</button>
|
|
2518
|
+
</div>
|
|
2519
|
+
</div>
|
|
2520
|
+
<button
|
|
2521
|
+
class="flex row alignItems_center justifyContent_center fullSize closeIconContainer buttonReset"
|
|
2522
|
+
data-id="onboarding_close_icon"
|
|
2523
|
+
data-test-id="onboarding_close_icon"
|
|
2524
|
+
>
|
|
2525
|
+
<i
|
|
2526
|
+
aria-hidden="true"
|
|
2527
|
+
class="zd_font_icons basic icon-inapp-close closeIcon "
|
|
2528
|
+
data-id="fontIcon"
|
|
2529
|
+
data-selector-id="fontIcon"
|
|
2530
|
+
data-test-id="fontIcon"
|
|
2531
|
+
/>
|
|
2532
|
+
</button>
|
|
2533
|
+
<span
|
|
2534
|
+
class="basic newRibbon palette_primary medium flag"
|
|
2535
|
+
data-id="onboarding_ribbon"
|
|
2536
|
+
data-selector-id="ribbon"
|
|
2537
|
+
data-test-id="onboarding_ribbon"
|
|
2538
|
+
>
|
|
2539
|
+
<span
|
|
2540
|
+
class="childText"
|
|
2541
|
+
>
|
|
2542
|
+
New
|
|
2543
|
+
</span>
|
|
2544
|
+
</span>
|
|
2545
|
+
</div>
|
|
2546
|
+
</div>
|
|
2547
|
+
</DocumentFragment>
|
|
2548
|
+
`;
|
|
2549
|
+
|
|
2433
2550
|
exports[`Onboarding rendering data without SecondaryButton as link 1`] = `
|
|
2434
2551
|
<DocumentFragment>
|
|
2435
2552
|
<div
|
|
@@ -2470,7 +2587,7 @@ exports[`Onboarding rendering data without SecondaryButton as link 1`] = `
|
|
|
2470
2587
|
data-test-id="flex"
|
|
2471
2588
|
>
|
|
2472
2589
|
<div
|
|
2473
|
-
class="innerHead
|
|
2590
|
+
class="innerHead "
|
|
2474
2591
|
/>
|
|
2475
2592
|
</div>
|
|
2476
2593
|
<div
|
|
@@ -2793,7 +2910,7 @@ exports[`Onboarding rendering data without primaryButtonText 1`] = `
|
|
|
2793
2910
|
data-test-id="flex"
|
|
2794
2911
|
>
|
|
2795
2912
|
<div
|
|
2796
|
-
class="innerHead
|
|
2913
|
+
class="innerHead "
|
|
2797
2914
|
/>
|
|
2798
2915
|
</div>
|
|
2799
2916
|
<div
|
|
@@ -2892,7 +3009,7 @@ exports[`Onboarding rendering data without secondaryButtonText 1`] = `
|
|
|
2892
3009
|
data-test-id="flex"
|
|
2893
3010
|
>
|
|
2894
3011
|
<div
|
|
2895
|
-
class="innerHead
|
|
3012
|
+
class="innerHead "
|
|
2896
3013
|
/>
|
|
2897
3014
|
</div>
|
|
2898
3015
|
<div
|
|
@@ -3206,7 +3323,7 @@ exports[`Onboarding rendering with customId - hasSecondaryButtonLink 1`] = `
|
|
|
3206
3323
|
data-test-id="flex"
|
|
3207
3324
|
>
|
|
3208
3325
|
<div
|
|
3209
|
-
class="innerHead
|
|
3326
|
+
class="innerHead "
|
|
3210
3327
|
/>
|
|
3211
3328
|
</div>
|
|
3212
3329
|
<div
|