From 4487df03c58e96a72c5cfc2c58fdb52bd7af7139 Mon Sep 17 00:00:00 2001 From: Jessica Kuelz <15003460+jkuelz@users.noreply.github.com> Date: Fri, 13 Feb 2026 17:05:12 -0800 Subject: [PATCH 1/2] chore: Add descriptions for style API --- src/__tests__/__snapshots__/documenter.test.ts.snap | 2 ++ src/avatar/interfaces.ts | 1 + src/chat-bubble/interfaces.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/src/__tests__/__snapshots__/documenter.test.ts.snap b/src/__tests__/__snapshots__/documenter.test.ts.snap index 4e3c831..224959a 100644 --- a/src/__tests__/__snapshots__/documenter.test.ts.snap +++ b/src/__tests__/__snapshots__/documenter.test.ts.snap @@ -78,6 +78,7 @@ Use it to define initials that uniquely identify the avatar's owner.", "type": "boolean", }, { + "description": "An object containing CSS properties to customize the avatar's visual appearance.", "inlineType": { "name": "AvatarProps.Style", "properties": [ @@ -216,6 +217,7 @@ If avatar is being used, set its \`loading\` state to true.", "type": "boolean", }, { + "description": "An object containing CSS properties to customize the chat bubble's visual appearance.", "inlineType": { "name": "ChatBubbleProps.Style", "properties": [ diff --git a/src/avatar/interfaces.ts b/src/avatar/interfaces.ts index b2cd1ad..5d51585 100644 --- a/src/avatar/interfaces.ts +++ b/src/avatar/interfaces.ts @@ -63,6 +63,7 @@ export interface AvatarProps { imgUrl?: string; /** + * An object containing CSS properties to customize the avatar's visual appearance. * @awsuiSystem core */ style?: AvatarProps.Style; diff --git a/src/chat-bubble/interfaces.ts b/src/chat-bubble/interfaces.ts index d564f2a..41f40fb 100644 --- a/src/chat-bubble/interfaces.ts +++ b/src/chat-bubble/interfaces.ts @@ -33,6 +33,7 @@ export interface ChatBubbleProps { hideAvatar?: boolean; /** + * An object containing CSS properties to customize the chat bubble's visual appearance. * @awsuiSystem core */ style?: ChatBubbleProps.Style; From c3b886dd76b31a587aa0f6275a7b1983037c4b91 Mon Sep 17 00:00:00 2001 From: Jessica Kuelz <15003460+jkuelz@users.noreply.github.com> Date: Mon, 16 Feb 2026 09:54:45 -0800 Subject: [PATCH 2/2] chore: Add sentence linking to style tab --- src/__tests__/__snapshots__/documenter.test.ts.snap | 6 ++++-- src/avatar/interfaces.ts | 1 + src/chat-bubble/interfaces.ts | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/__tests__/__snapshots__/documenter.test.ts.snap b/src/__tests__/__snapshots__/documenter.test.ts.snap index 224959a..cd57b96 100644 --- a/src/__tests__/__snapshots__/documenter.test.ts.snap +++ b/src/__tests__/__snapshots__/documenter.test.ts.snap @@ -78,7 +78,8 @@ Use it to define initials that uniquely identify the avatar's owner.", "type": "boolean", }, { - "description": "An object containing CSS properties to customize the avatar's visual appearance.", + "description": "An object containing CSS properties to customize the avatar's visual appearance. +Refer to the [style](/components/avatar/?tabId=style) tab for more details.", "inlineType": { "name": "AvatarProps.Style", "properties": [ @@ -217,7 +218,8 @@ If avatar is being used, set its \`loading\` state to true.", "type": "boolean", }, { - "description": "An object containing CSS properties to customize the chat bubble's visual appearance.", + "description": "An object containing CSS properties to customize the chat bubble's visual appearance. +Refer to the [style](/components/chat-bubble/?tabId=style) tab for more details.", "inlineType": { "name": "ChatBubbleProps.Style", "properties": [ diff --git a/src/avatar/interfaces.ts b/src/avatar/interfaces.ts index 5d51585..69ea453 100644 --- a/src/avatar/interfaces.ts +++ b/src/avatar/interfaces.ts @@ -64,6 +64,7 @@ export interface AvatarProps { /** * An object containing CSS properties to customize the avatar's visual appearance. + * Refer to the [style](/components/avatar/?tabId=style) tab for more details. * @awsuiSystem core */ style?: AvatarProps.Style; diff --git a/src/chat-bubble/interfaces.ts b/src/chat-bubble/interfaces.ts index 41f40fb..c1fc496 100644 --- a/src/chat-bubble/interfaces.ts +++ b/src/chat-bubble/interfaces.ts @@ -34,6 +34,7 @@ export interface ChatBubbleProps { /** * An object containing CSS properties to customize the chat bubble's visual appearance. + * Refer to the [style](/components/chat-bubble/?tabId=style) tab for more details. * @awsuiSystem core */ style?: ChatBubbleProps.Style;