@@ -3,15 +3,27 @@ import { ChatItem, ChatItemButton, ChatItemFormItem, ChatItemType, TextBasedForm
33export const plansAndPricingTitle = 'Plans & Pricing'
44
55export const upgradeQButton : ChatItemButton = {
6+ id : 'paidtier-upgrade-q' ,
67 flash : 'once' ,
7- fillState : 'hover ' ,
8+ fillState : 'always ' ,
89 position : 'inside' ,
9- id : 'paidtier-upgrade-q ' ,
10+ icon : 'external ' ,
1011 // https://github.com/aws/mynah-ui/blob/main/src/components/icon/icons/q.svg
1112 // https://github.com/aws/mynah-ui/blob/main/src/components/icon/icons/rocket.svg
1213 // icon: MynahIcons.Q,
1314 description : 'Upgrade to Amazon Q Pro' ,
1415 text : 'Upgrade Q' ,
16+ status : 'primary' ,
17+ disabled : false ,
18+ }
19+
20+ export const learnMoreButton : ChatItemButton = {
21+ id : 'paidtier-upgrade-q-learnmore' ,
22+ fillState : 'hover' ,
23+ // position: 'inside',
24+ icon : 'external' ,
25+ description : 'Learn about Amazon Q Pro' ,
26+ text : 'Learn more' ,
1527 status : 'info' ,
1628 disabled : false ,
1729}
@@ -46,7 +58,7 @@ export const freeTierLimitSticky: Partial<ChatItem> = {
4658 messageId : 'freetier-limit-banner' ,
4759 title : 'FREE TIER LIMIT REACHED' ,
4860 body : "You've reached your invocation limit for this month. Upgrade to Amazon Q Pro. [Learn More...](https://aws.amazon.com/q/pricing/)" ,
49- buttons : [ upgradeQButton ] ,
61+ buttons : [ upgradeQButton , learnMoreButton ] ,
5062 canBeDismissed : false ,
5163}
5264
@@ -81,7 +93,7 @@ export const upgradeSuccessSticky: Partial<ChatItem> = {
8193export const paidTierInfoCard : ChatItem = {
8294 type : ChatItemType . ANSWER ,
8395 title : 'UPGRADE TO AMAZON Q PRO' ,
84- buttons : [ upgradeQButton ] ,
96+ buttons : [ upgradeQButton , learnMoreButton ] ,
8597 header : {
8698 icon : 'q' ,
8799 iconStatus : 'primary' ,
0 commit comments