Skip to content

Commit cc1cae0

Browse files
committed
fix(micro-journeys): fix bolt-link usage with bolt-icon
1 parent bae9819 commit cc1cae0

13 files changed

+18
-68
lines changed

packages/micro-journeys/starters/cta-text-1.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<bolt-icon size="medium" name="asset-presentation"></bolt-icon>
77
</bolt-animate>
88
<bolt-animate slot="link">
9-
<bolt-link url="#">It’s not mind-reading. It’s signals<bolt-icon name="chevron-right" slot="after"></bolt-icon>
10-
</bolt-link>
9+
<bolt-link url="#">It’s not mind-reading. It’s signals<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
1110
</bolt-animate>
1211
</bolt-cta>

packages/micro-journeys/starters/cta-text-2.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
<bolt-icon name="asset-presentation"></bolt-icon>
77
</bolt-animate>
88
<bolt-animate slot="link">
9-
<bolt-link display="inline">
10-
See this in action
11-
<bolt-icon name="chevron-right"></bolt-icon>
12-
</bolt-link>
9+
<bolt-link display="inline">See this in action<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
1310
</bolt-animate>
1411
</bolt-cta>

packages/micro-journeys/starters/cta-text-3.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
</bolt-text>
44
<bolt-cta>
55
<bolt-animate slot="link">
6-
<bolt-link display="inline">
7-
What do we mean by “next best action”?
8-
<bolt-icon name="chevron-right"></bolt-icon>
6+
<bolt-link display="inline">What do we mean by “next best action”?<bolt-icon name="chevron-right" slot="after"></bolt-icon>
97
</bolt-link>
108
</bolt-animate>
119
</bolt-cta>

packages/micro-journeys/starters/cta-text-4.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
</bolt-text>
44
<bolt-cta>
55
<bolt-animate slot="link">
6-
<bolt-link display="inline">
7-
Find out how Cisco cut AHT in half
8-
<bolt-icon name="chevron-right"></bolt-icon>
9-
</bolt-link>
6+
<bolt-link display="inline">Find out how Cisco cut AHT in half<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
107
</bolt-animate>
118
</bolt-cta>

packages/micro-journeys/starters/cta-text-5.html

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
<bolt-icon size="medium" name="co-browse"></bolt-icon>
88
</bolt-animate>
99
<bolt-animate slot="link">
10-
<bolt-link display="inline">
11-
Explore our industry-leading software
12-
<bolt-icon name="chevron-right"></bolt-icon>
13-
</bolt-link>
10+
<bolt-link display="inline">Explore our industry-leading software<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
1411
</bolt-animate>
1512
</bolt-cta>
1613
<br>
@@ -19,10 +16,7 @@
1916
<bolt-icon size="medium" name="customer-service"></bolt-icon>
2017
</bolt-animate>
2118
<bolt-animate slot="link">
22-
<bolt-link display="inline">
23-
Learn more about intelligent guidance
24-
<bolt-icon name="chevron-right"></bolt-icon>
25-
</bolt-link>
19+
<bolt-link display="inline">Learn more about intelligent guidance<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
2620
</bolt-animate>
2721
</bolt-cta>
2822
<br>
@@ -31,9 +25,6 @@
3125
<bolt-icon size="medium" name="eye"></bolt-icon>
3226
</bolt-animate>
3327
<bolt-animate slot="link">
34-
<bolt-link display="inline">
35-
Sign up for an upcoming demo
36-
<bolt-icon name="chevron-right"></bolt-icon>
37-
</bolt-link>
28+
<bolt-link display="inline">Sign up for an upcoming demo<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
3829
</bolt-animate>
3930
</bolt-cta>

packages/micro-journeys/starters/cta-text-lorem.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
<bolt-icon size="medium" name="asset-presentation"></bolt-icon>
77
</bolt-animate>
88
<bolt-animate slot="link">
9-
<bolt-link display="inline">
10-
Ab animi atque consectetur
11-
<bolt-icon name="chevron-right"></bolt-icon>
12-
</bolt-link>
9+
<bolt-link display="inline">Ab animi atque consectetur<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
1310
</bolt-animate>
1411
</bolt-cta>

packages/micro-journeys/starters/one-character-1.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
<bolt-icon name="eye"></bolt-icon>
1414
</bolt-animate>
1515
<bolt-animate slot="link">
16-
<bolt-link display="inline">
17-
Customer billing view
18-
<bolt-icon name="chevron-right"></bolt-icon>
19-
</bolt-link>
16+
<bolt-link display="inline">Customer billing view<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
2017
</bolt-animate>
2118
</bolt-cta>
2219
</bolt-animate>

packages/micro-journeys/starters/one-character-lorem.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
<bolt-icon name="eye"></bolt-icon>
1414
</bolt-animate>
1515
<bolt-animate slot="link">
16-
<bolt-link font-size="xsmall" display="inline">
17-
Lorem ipsum dolor sit amet
18-
<bolt-icon name="chevron-right"></bolt-icon>
19-
</bolt-link>
16+
<bolt-link font-size="xsmall" display="inline">Lorem ipsum dolor sit amet<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
2017
</bolt-animate>
2118
</bolt-cta>
2219
</bolt-animate>

packages/micro-journeys/starters/step-one-character-lorem.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
<bolt-icon name="eye"></bolt-icon>
1717
</bolt-animate>
1818
<bolt-animate slot="link">
19-
<bolt-link display="inline">
20-
Lorem ipsum dolor sit amet
21-
<bolt-icon name="chevron-right"></bolt-icon>
22-
</bolt-link>
19+
<bolt-link display="inline">Lorem ipsum dolor sit amet<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
2320
</bolt-animate>
2421
</bolt-cta>
2522
</bolt-animate>
@@ -36,10 +33,7 @@
3633
<bolt-icon size="medium" name="asset-presentation"></bolt-icon>
3734
</bolt-animate>
3835
<bolt-animate slot="link">
39-
<bolt-link display="inline">
40-
Ab animi atque consectetur
41-
<bolt-icon name="chevron-right"></bolt-icon>
42-
</bolt-link>
36+
<bolt-link display="inline" slot="after">Ab animi atque consectetur<bolt-icon name="chevron-right"></bolt-icon></bolt-link>
4337
</bolt-animate>
4438
</bolt-cta>
4539
</bolt-animate>

packages/micro-journeys/starters/step-one-character-starter.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
</bolt-icon>
1717
</bolt-animate>
1818
<bolt-animate slot="link" initial-appearance="hidden" in="none" in-duration="500" in-easing="ease" in-order="1" idle="none" idle-duration="500" out="none" out-duration="350" out-easing="ease" out-order="1">
19-
<bolt-link display="inline" valign="center" on-click="none" class="gjs-comp-selected">
20-
Customer billing view
21-
<bolt-icon name="chevron-right">
22-
</bolt-icon>
23-
</bolt-link>
19+
<bolt-link display="inline" valign="center" on-click="none" class="gjs-comp-selected">Customer billing view<bolt-icon name="chevron-right" slot="after"></bolt-icon></bolt-link>
2420
</bolt-animate>
2521
</bolt-cta>
2622
<bolt-text font-size="xsmall" align="inherit" color="theme-body" display="block" font-family="body" font-style="regular" font-weight="regular" letter-spacing="regular" line-height="regular" tag="p" text-transform="regular">I am text
@@ -54,9 +50,7 @@
5450
</bolt-icon>
5551
</bolt-animate>
5652
<bolt-animate slot="link" initial-appearance="hidden" in="none" in-duration="500" in-easing="ease" in-order="1" idle="none" idle-duration="500" out="none" out-duration="350" out-easing="ease" out-order="1">
57-
<bolt-link display="inline" valign="center" on-click="none">CTA text 
58-
<bolt-icon name="chevron-right">
59-
</bolt-icon>
53+
<bolt-link display="inline" valign="center" on-click="none">CTA text<bolt-icon name="chevron-right" slot="after"></bolt-icon>
6054
</bolt-link>
6155
</bolt-animate>
6256
</bolt-cta>

0 commit comments

Comments
 (0)