Skip to content

Commit 7c0d2c0

Browse files
committed
fix: switch back to using original button component API + point to pre-packaged Typeahead demo
1 parent 3e42909 commit 7c0d2c0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/components/bolt-page-header/src/page-header.twig

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -533,12 +533,11 @@
533533
{% include "@bolt-components-button/button.twig" with {
534534
text: "Search Pega.com",
535535
iconOnly: true,
536-
color: "text",
536+
style: "text",
537537
icon: {
538538
title: "Search Pega.com",
539539
name: "search",
540540
slot: "before",
541-
fallback: true,
542541
attributes: {
543542
class: "c-global-search-panel-trigger__icon"
544543
}
@@ -553,7 +552,7 @@
553552
{% include "@bolt-components-button/button.twig" with {
554553
text: "Close search",
555554
iconOnly: true,
556-
color: "text",
555+
style: "text",
557556
icon: {
558557
title: "Close search",
559558
name: "close",
@@ -577,7 +576,7 @@
577576
<div class="c-hamburger">
578577
{% include "@bolt-components-button/button.twig" with {
579578
text: "Open menu",
580-
color: "text",
579+
style: "text",
581580
iconOnly: true,
582581
icon: {
583582
title: "Open Menu",
@@ -610,7 +609,7 @@
610609
{% grid "o-bolt-grid--center c-global-search-panel__content__transition" %}
611610
{% cell "u-bolt-width-12/12 u-bolt-width-10/12@large" %}
612611
<div class="u-bolt-margin-bottom-small">
613-
{% include "@pl/typeahead-with-js-hook.twig" only %}
612+
{% include "@bolt-components-typeahead/typeahead.demo.twig" only %}
614613
</div>
615614
<bolt-text font-size="xsmall" align="center">
616615
Placeholder for helper text and did-you-mean text.

0 commit comments

Comments
 (0)