@cloudscape-design/chat-components 1.0.95 → 1.0.97

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.
@@ -51,6 +51,8 @@ export interface AvatarProps {
51
51
  */
52
52
  imgUrl?: string;
53
53
  /**
54
+ * An object containing CSS properties to customize the avatar's visual appearance.
55
+ * Refer to the [style](/components/avatar/?tabId=style) tab for more details.
54
56
  * @awsuiSystem core
55
57
  */
56
58
  style?: AvatarProps.Style;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/avatar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { IconProps } from \"@cloudscape-design/components/icon\";\n\nexport interface AvatarProps {\n /**\n * Determines the color of the avatar.\n * Use `gen-ai` for AI assistants and `default` otherwise.\n */\n color?: AvatarProps.Color;\n\n /**\n * The text content shown in the avatar's tooltip.\n *\n * When you use this property, make sure to include it in the `ariaLabel`.\n */\n tooltipText?: string;\n\n /**\n * The text content shown directly in the avatar's body.\n * Can be 1 or 2 symbols long, every subsequent symbol is ignored.\n * Use it to define initials that uniquely identify the avatar's owner.\n */\n initials?: string;\n\n /**\n * When set to true, a loading indicator is shown in avatar.\n */\n loading?: boolean;\n\n /**\n * Text to describe the avatar for assistive technology.\n * When more than one avatar is used, provide a unique label for each.\n * For example, \"Avatar of John Doe\" or \"Avatar of generative AI assistant\".\n *\n * If `tooltipText` is used make sure to include it in the `ariaLabel`.\n */\n ariaLabel: string;\n\n /**\n * Specifies the icon to be displayed as Avatar.\n * Use `gen-ai` icon for AI assistants. By default `user-profile` icon is used.\n *\n * If you set both `iconName` and `initials`, `initials` will take precedence.\n */\n iconName?: IconProps.Name;\n\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available, and your custom icon can't be an SVG.\n * @deprecated Use `iconSvg` or `imgUrl` instead.\n */\n iconUrl?: string;\n\n /**\n * Specifies the SVG of a custom icon.\n * Use this property if the icon you want isn't available.\n */\n iconSvg?: React.ReactNode;\n\n /**\n * Specifies the URL of a custom image. If you set both `iconUrl` and `imgUrl`, `imgUrl` will take precedence.\n */\n imgUrl?: string;\n\n /**\n * @awsuiSystem core\n */\n style?: AvatarProps.Style;\n\n /**\n * Defines the width and height of the avatar.\n * This value corresponds to the `width` CSS-property and will center and crop images using `object-fit: cover`.\n * The default and minimum width value is 28px.\n */\n width?: number;\n}\n\nexport namespace AvatarProps {\n export type Color = \"default\" | \"gen-ai\";\n\n export interface Style {\n root?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: string;\n color?: string;\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/avatar/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { IconProps } from \"@cloudscape-design/components/icon\";\n\nexport interface AvatarProps {\n /**\n * Determines the color of the avatar.\n * Use `gen-ai` for AI assistants and `default` otherwise.\n */\n color?: AvatarProps.Color;\n\n /**\n * The text content shown in the avatar's tooltip.\n *\n * When you use this property, make sure to include it in the `ariaLabel`.\n */\n tooltipText?: string;\n\n /**\n * The text content shown directly in the avatar's body.\n * Can be 1 or 2 symbols long, every subsequent symbol is ignored.\n * Use it to define initials that uniquely identify the avatar's owner.\n */\n initials?: string;\n\n /**\n * When set to true, a loading indicator is shown in avatar.\n */\n loading?: boolean;\n\n /**\n * Text to describe the avatar for assistive technology.\n * When more than one avatar is used, provide a unique label for each.\n * For example, \"Avatar of John Doe\" or \"Avatar of generative AI assistant\".\n *\n * If `tooltipText` is used make sure to include it in the `ariaLabel`.\n */\n ariaLabel: string;\n\n /**\n * Specifies the icon to be displayed as Avatar.\n * Use `gen-ai` icon for AI assistants. By default `user-profile` icon is used.\n *\n * If you set both `iconName` and `initials`, `initials` will take precedence.\n */\n iconName?: IconProps.Name;\n\n /**\n * Specifies the URL of a custom icon. Use this property if the icon you want isn't available, and your custom icon can't be an SVG.\n * @deprecated Use `iconSvg` or `imgUrl` instead.\n */\n iconUrl?: string;\n\n /**\n * Specifies the SVG of a custom icon.\n * Use this property if the icon you want isn't available.\n */\n iconSvg?: React.ReactNode;\n\n /**\n * Specifies the URL of a custom image. If you set both `iconUrl` and `imgUrl`, `imgUrl` will take precedence.\n */\n imgUrl?: string;\n\n /**\n * An object containing CSS properties to customize the avatar's visual appearance.\n * Refer to the [style](/components/avatar/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: AvatarProps.Style;\n\n /**\n * Defines the width and height of the avatar.\n * This value corresponds to the `width` CSS-property and will center and crop images using `object-fit: cover`.\n * The default and minimum width value is 28px.\n */\n width?: number;\n}\n\nexport namespace AvatarProps {\n export type Color = \"default\" | \"gen-ai\";\n\n export interface Style {\n root?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: string;\n color?: string;\n focusRing?: {\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n };\n };\n }\n}\n"]}
@@ -23,6 +23,8 @@ export interface ChatBubbleProps {
23
23
  */
24
24
  hideAvatar?: boolean;
25
25
  /**
26
+ * An object containing CSS properties to customize the chat bubble's visual appearance.
27
+ * Refer to the [style](/components/chat-bubble/?tabId=style) tab for more details.
26
28
  * @awsuiSystem core
27
29
  */
28
30
  style?: ChatBubbleProps.Style;
@@ -40,8 +42,10 @@ export declare namespace ChatBubbleProps {
40
42
  borderWidth?: string;
41
43
  boxShadow?: string;
42
44
  color?: string;
45
+ fontFamily?: string;
43
46
  fontSize?: string;
44
47
  fontWeight?: string;
48
+ letterSpacing?: string;
45
49
  rowGap?: string;
46
50
  paddingBlock?: string;
47
51
  paddingInline?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/chat-bubble/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport interface ChatBubbleProps {\n /** Avatar slot paired with the chat bubble content. Use [avatar](/components/avatar/). */\n avatar: React.ReactNode;\n\n /** Defines the type of the chat bubble and sets its color accordingly. */\n type: ChatBubbleProps.Type;\n\n /** Content of the chat bubble */\n children: React.ReactNode;\n\n /** Actions slot of the chat bubble, placed at the footer. Use [button group](/components/button-group/). */\n actions?: React.ReactNode;\n\n /**\n * Adds a loading bar to the bottom of the chat bubble. This property should only be used for Generative AI loading state.\n * If avatar is being used, set its `loading` state to true.\n */\n showLoadingBar?: boolean;\n\n /**\n * Adds aria-label to the chat bubble container. Use this to provide a unique accessible name for each chat bubble on the page.\n * For example, \"John Doe at 3:42:10am\".\n */\n ariaLabel: string;\n\n /**\n * Hides the avatar while preserving its space.\n * Useful for when there are multiple consecutive messages coming from the same author.\n */\n hideAvatar?: boolean;\n\n /**\n * @awsuiSystem core\n */\n style?: ChatBubbleProps.Style;\n}\n\nexport namespace ChatBubbleProps {\n export type Type = \"incoming\" | \"outgoing\";\n export interface Style {\n root?: {\n columnGap?: string;\n };\n bubble?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: string;\n color?: string;\n fontSize?: string;\n fontWeight?: string;\n rowGap?: string;\n paddingBlock?: string;\n paddingInline?: string;\n };\n }\n}\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/chat-bubble/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport interface ChatBubbleProps {\n /** Avatar slot paired with the chat bubble content. Use [avatar](/components/avatar/). */\n avatar: React.ReactNode;\n\n /** Defines the type of the chat bubble and sets its color accordingly. */\n type: ChatBubbleProps.Type;\n\n /** Content of the chat bubble */\n children: React.ReactNode;\n\n /** Actions slot of the chat bubble, placed at the footer. Use [button group](/components/button-group/). */\n actions?: React.ReactNode;\n\n /**\n * Adds a loading bar to the bottom of the chat bubble. This property should only be used for Generative AI loading state.\n * If avatar is being used, set its `loading` state to true.\n */\n showLoadingBar?: boolean;\n\n /**\n * Adds aria-label to the chat bubble container. Use this to provide a unique accessible name for each chat bubble on the page.\n * For example, \"John Doe at 3:42:10am\".\n */\n ariaLabel: string;\n\n /**\n * Hides the avatar while preserving its space.\n * Useful for when there are multiple consecutive messages coming from the same author.\n */\n hideAvatar?: boolean;\n\n /**\n * An object containing CSS properties to customize the chat bubble's visual appearance.\n * Refer to the [style](/components/chat-bubble/?tabId=style) tab for more details.\n * @awsuiSystem core\n */\n style?: ChatBubbleProps.Style;\n}\n\nexport namespace ChatBubbleProps {\n export type Type = \"incoming\" | \"outgoing\";\n export interface Style {\n root?: {\n columnGap?: string;\n };\n bubble?: {\n background?: string;\n borderColor?: string;\n borderRadius?: string;\n borderWidth?: string;\n boxShadow?: string;\n color?: string;\n fontFamily?: string;\n fontSize?: string;\n fontWeight?: string;\n letterSpacing?: string;\n rowGap?: string;\n paddingBlock?: string;\n paddingInline?: string;\n };\n }\n}\n"]}
@@ -12,8 +12,10 @@ export declare function getBubbleStyle(style: ChatBubbleProps.Style | undefined)
12
12
  borderWidth?: undefined;
13
13
  boxShadow?: undefined;
14
14
  color?: undefined;
15
+ fontFamily?: undefined;
15
16
  fontSize?: undefined;
16
17
  fontWeight?: undefined;
18
+ letterSpacing?: undefined;
17
19
  paddingBlock?: undefined;
18
20
  paddingInline?: undefined;
19
21
  rowGap?: undefined;
@@ -25,8 +27,10 @@ export declare function getBubbleStyle(style: ChatBubbleProps.Style | undefined)
25
27
  borderWidth: string | undefined;
26
28
  boxShadow: string | undefined;
27
29
  color: string | undefined;
30
+ fontFamily: string | undefined;
28
31
  fontSize: string | undefined;
29
32
  fontWeight: string | undefined;
33
+ letterSpacing: string | undefined;
30
34
  paddingBlock: string | undefined;
31
35
  paddingInline: string | undefined;
32
36
  rowGap: string | undefined;
@@ -11,7 +11,7 @@ export function getChatBubbleRootStyle(style) {
11
11
  };
12
12
  }
13
13
  export function getBubbleStyle(style) {
14
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
15
15
  if (SYSTEM !== "core") {
16
16
  return {};
17
17
  }
@@ -23,11 +23,13 @@ export function getBubbleStyle(style) {
23
23
  borderWidth: (_e = style === null || style === void 0 ? void 0 : style.bubble) === null || _e === void 0 ? void 0 : _e.borderWidth,
24
24
  boxShadow: (_f = style === null || style === void 0 ? void 0 : style.bubble) === null || _f === void 0 ? void 0 : _f.boxShadow,
25
25
  color: (_g = style === null || style === void 0 ? void 0 : style.bubble) === null || _g === void 0 ? void 0 : _g.color,
26
- fontSize: (_h = style === null || style === void 0 ? void 0 : style.bubble) === null || _h === void 0 ? void 0 : _h.fontSize,
27
- fontWeight: (_j = style === null || style === void 0 ? void 0 : style.bubble) === null || _j === void 0 ? void 0 : _j.fontWeight,
28
- paddingBlock: (_k = style === null || style === void 0 ? void 0 : style.bubble) === null || _k === void 0 ? void 0 : _k.paddingBlock,
29
- paddingInline: (_l = style === null || style === void 0 ? void 0 : style.bubble) === null || _l === void 0 ? void 0 : _l.paddingInline,
30
- rowGap: (_m = style === null || style === void 0 ? void 0 : style.bubble) === null || _m === void 0 ? void 0 : _m.rowGap,
26
+ fontFamily: (_h = style === null || style === void 0 ? void 0 : style.bubble) === null || _h === void 0 ? void 0 : _h.fontFamily,
27
+ fontSize: (_j = style === null || style === void 0 ? void 0 : style.bubble) === null || _j === void 0 ? void 0 : _j.fontSize,
28
+ fontWeight: (_k = style === null || style === void 0 ? void 0 : style.bubble) === null || _k === void 0 ? void 0 : _k.fontWeight,
29
+ letterSpacing: (_l = style === null || style === void 0 ? void 0 : style.bubble) === null || _l === void 0 ? void 0 : _l.letterSpacing,
30
+ paddingBlock: (_m = style === null || style === void 0 ? void 0 : style.bubble) === null || _m === void 0 ? void 0 : _m.paddingBlock,
31
+ paddingInline: (_o = style === null || style === void 0 ? void 0 : style.bubble) === null || _o === void 0 ? void 0 : _o.paddingInline,
32
+ rowGap: (_p = style === null || style === void 0 ? void 0 : style.bubble) === null || _p === void 0 ? void 0 : _p.rowGap,
31
33
  };
32
34
  }
33
35
  //# sourceMappingURL=style.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/chat-bubble/style.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,MAAM,UAAU,sBAAsB,CAAC,KAAwC;;IAC7E,IAAI,MAAM,KAAK,MAAM,EAAE;QACrB,OAAO,EAAE,CAAC;KACX;IAED,OAAO;QACL,SAAS,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,SAAS;KAClC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,KAAwC;;IACrE,IAAI,MAAM,KAAK,MAAM,EAAE;QACrB,OAAO,EAAE,CAAC;KACX;IAED,OAAO;QACL,UAAU,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,UAAU;QACrC,WAAW,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,WAAW;QACvC,YAAY,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,YAAY;QACzC,WAAW,EAAE,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,WAAW,EAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;QAC7D,WAAW,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,WAAW;QACvC,SAAS,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,SAAS;QACnC,KAAK,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,KAAK;QAC3B,QAAQ,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,QAAQ;QACjC,UAAU,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,UAAU;QACrC,YAAY,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,YAAY;QACzC,aAAa,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,aAAa;QAC3C,MAAM,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,MAAM;KAC9B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { SYSTEM } from \"../internal/environment\";\nimport { ChatBubbleProps } from \"./interfaces\";\n\nexport function getChatBubbleRootStyle(style: ChatBubbleProps.Style | undefined) {\n if (SYSTEM !== \"core\") {\n return {};\n }\n\n return {\n columnGap: style?.root?.columnGap,\n };\n}\n\nexport function getBubbleStyle(style: ChatBubbleProps.Style | undefined) {\n if (SYSTEM !== \"core\") {\n return {};\n }\n\n return {\n background: style?.bubble?.background,\n borderColor: style?.bubble?.borderColor,\n borderRadius: style?.bubble?.borderRadius,\n borderStyle: style?.bubble?.borderWidth ? \"solid\" : undefined,\n borderWidth: style?.bubble?.borderWidth,\n boxShadow: style?.bubble?.boxShadow,\n color: style?.bubble?.color,\n fontSize: style?.bubble?.fontSize,\n fontWeight: style?.bubble?.fontWeight,\n paddingBlock: style?.bubble?.paddingBlock,\n paddingInline: style?.bubble?.paddingInline,\n rowGap: style?.bubble?.rowGap,\n };\n}\n"]}
1
+ {"version":3,"file":"style.js","sourceRoot":"","sources":["../../../src/chat-bubble/style.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,MAAM,UAAU,sBAAsB,CAAC,KAAwC;;IAC7E,IAAI,MAAM,KAAK,MAAM,EAAE;QACrB,OAAO,EAAE,CAAC;KACX;IAED,OAAO;QACL,SAAS,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,0CAAE,SAAS;KAClC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,KAAwC;;IACrE,IAAI,MAAM,KAAK,MAAM,EAAE;QACrB,OAAO,EAAE,CAAC;KACX;IAED,OAAO;QACL,UAAU,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,UAAU;QACrC,WAAW,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,WAAW;QACvC,YAAY,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,YAAY;QACzC,WAAW,EAAE,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,WAAW,EAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS;QAC7D,WAAW,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,WAAW;QACvC,SAAS,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,SAAS;QACnC,KAAK,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,KAAK;QAC3B,UAAU,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,UAAU;QACrC,QAAQ,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,QAAQ;QACjC,UAAU,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,UAAU;QACrC,aAAa,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,aAAa;QAC3C,YAAY,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,YAAY;QACzC,aAAa,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,aAAa;QAC3C,MAAM,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,MAAM;KAC9B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { SYSTEM } from \"../internal/environment\";\nimport { ChatBubbleProps } from \"./interfaces\";\n\nexport function getChatBubbleRootStyle(style: ChatBubbleProps.Style | undefined) {\n if (SYSTEM !== \"core\") {\n return {};\n }\n\n return {\n columnGap: style?.root?.columnGap,\n };\n}\n\nexport function getBubbleStyle(style: ChatBubbleProps.Style | undefined) {\n if (SYSTEM !== \"core\") {\n return {};\n }\n\n return {\n background: style?.bubble?.background,\n borderColor: style?.bubble?.borderColor,\n borderRadius: style?.bubble?.borderRadius,\n borderStyle: style?.bubble?.borderWidth ? \"solid\" : undefined,\n borderWidth: style?.bubble?.borderWidth,\n boxShadow: style?.bubble?.boxShadow,\n color: style?.bubble?.color,\n fontFamily: style?.bubble?.fontFamily,\n fontSize: style?.bubble?.fontSize,\n fontWeight: style?.bubble?.fontWeight,\n letterSpacing: style?.bubble?.letterSpacing,\n paddingBlock: style?.bubble?.paddingBlock,\n paddingInline: style?.bubble?.paddingInline,\n rowGap: style?.bubble?.rowGap,\n };\n}\n"]}
@@ -282,6 +282,7 @@ module.exports = {
282
282
  ]
283
283
  },
284
284
  "optional": true,
285
+ "description": "An object containing CSS properties to customize the avatar's visual appearance.\nRefer to the [style](/components/avatar/?tabId=style) tab for more details.",
285
286
  "systemTags": [
286
287
  "core"
287
288
  ]
@@ -49,7 +49,7 @@ module.exports = {
49
49
  {
50
50
  "name": "bubble",
51
51
  "optional": true,
52
- "type": "{ background?: string | undefined; borderColor?: string | undefined; borderRadius?: string | undefined; borderWidth?: string | undefined; boxShadow?: string | undefined; color?: string | undefined; ... 4 more ...; paddingInline?: string | undefined; }",
52
+ "type": "{ background?: string | undefined; borderColor?: string | undefined; borderRadius?: string | undefined; borderWidth?: string | undefined; boxShadow?: string | undefined; color?: string | undefined; ... 6 more ...; paddingInline?: string | undefined; }",
53
53
  "inlineType": {
54
54
  "name": "object",
55
55
  "type": "object",
@@ -84,6 +84,11 @@ module.exports = {
84
84
  "optional": true,
85
85
  "type": "string"
86
86
  },
87
+ {
88
+ "name": "fontFamily",
89
+ "optional": true,
90
+ "type": "string"
91
+ },
87
92
  {
88
93
  "name": "fontSize",
89
94
  "optional": true,
@@ -94,6 +99,11 @@ module.exports = {
94
99
  "optional": true,
95
100
  "type": "string"
96
101
  },
102
+ {
103
+ "name": "letterSpacing",
104
+ "optional": true,
105
+ "type": "string"
106
+ },
97
107
  {
98
108
  "name": "paddingBlock",
99
109
  "optional": true,
@@ -131,6 +141,7 @@ module.exports = {
131
141
  ]
132
142
  },
133
143
  "optional": true,
144
+ "description": "An object containing CSS properties to customize the chat bubble's visual appearance.\nRefer to the [style](/components/chat-bubble/?tabId=style) tab for more details.",
134
145
  "systemTags": [
135
146
  "core"
136
147
  ]
@@ -1,5 +1,5 @@
1
1
  export var PACKAGE_SOURCE = "chat-components";
2
- export var PACKAGE_VERSION = "1.0.0 (f4e982f2)";
2
+ export var PACKAGE_VERSION = "1.0.0 (8fdd3f37)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var SYSTEM = "core";
5
5
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "chat-components",
3
- "PACKAGE_VERSION": "1.0.0 (f4e982f2)",
3
+ "PACKAGE_VERSION": "1.0.0 (8fdd3f37)",
4
4
  "THEME": "open-source-visual-refresh",
5
5
  "SYSTEM": "core",
6
6
  "ALWAYS_VISUAL_REFRESH": true
@@ -558,6 +558,7 @@ export const fontChartDetailSize: string;
558
558
  export const fontDisplayLabelWeight: string;
559
559
  export const fontExpandableHeadingSize: string;
560
560
  export const fontFamilyBase: string;
561
+ export const fontFamilyHeading: string;
561
562
  export const fontFamilyMonospace: string;
562
563
  export const fontHeaderH2DescriptionLineHeight: string;
563
564
  export const fontHeaderH2DescriptionSize: string;
@@ -558,6 +558,7 @@ export var fontChartDetailSize = "var(--font-chart-detail-size-9qr25q, 12px)";
558
558
  export var fontDisplayLabelWeight = "var(--font-display-label-weight-zavpeo, 700)";
559
559
  export var fontExpandableHeadingSize = "var(--font-expandable-heading-size-0uk059, 16px)";
560
560
  export var fontFamilyBase = "var(--font-family-base-gmnpzl, 'Open Sans', 'Helvetica Neue', Roboto, Arial, sans-serif)";
561
+ export var fontFamilyHeading = "var(--font-family-heading-ugphat, 'Open Sans', 'Helvetica Neue', Roboto, Arial, sans-serif)";
561
562
  export var fontFamilyMonospace = "var(--font-family-monospace-q47m7k, Monaco, Menlo, Consolas, 'Courier Prime', Courier, 'Courier New', monospace)";
562
563
  export var fontHeaderH2DescriptionLineHeight = "var(--font-header-h2-description-line-height-ts2s6o, 20px)";
563
564
  export var fontHeaderH2DescriptionSize = "var(--font-header-h2-description-size-g2wws3, 14px)";
@@ -2261,6 +2261,7 @@ module.exports.preset = {
2261
2261
  "fontDisplayLabelWeight": "700",
2262
2262
  "fontExpandableHeadingSize": "{fontSizeHeadingS}",
2263
2263
  "fontFamilyBase": "'Open Sans', 'Helvetica Neue', Roboto, Arial, sans-serif",
2264
+ "fontFamilyHeading": "{fontFamilyBase}",
2264
2265
  "fontFamilyMonospace": "Monaco, Menlo, Consolas, 'Courier Prime', Courier, 'Courier New', monospace",
2265
2266
  "fontHeaderH2DescriptionLineHeight": "{lineHeightBodyM}",
2266
2267
  "fontHeaderH2DescriptionSize": "{fontSizeBodyM}",
@@ -11731,6 +11732,7 @@ module.exports.preset = {
11731
11732
  "colorDropzoneBorderHover",
11732
11733
  "colorTreeViewConnectorLine",
11733
11734
  "fontFamilyBase",
11735
+ "fontFamilyHeading",
11734
11736
  "fontFamilyMonospace",
11735
11737
  "fontSizeBodyM",
11736
11738
  "fontSizeBodyS",
@@ -12109,6 +12111,7 @@ module.exports.preset = {
12109
12111
  "colorDropzoneBorderHover",
12110
12112
  "colorTreeViewConnectorLine",
12111
12113
  "fontFamilyBase",
12114
+ "fontFamilyHeading",
12112
12115
  "fontFamilyMonospace",
12113
12116
  "fontSizeBodyM",
12114
12117
  "fontSizeBodyS",
@@ -12758,6 +12761,7 @@ module.exports.preset = {
12758
12761
  "fontDisplayLabelWeight": "font-display-label-weight",
12759
12762
  "fontExpandableHeadingSize": "font-expandable-heading-size",
12760
12763
  "fontFamilyBase": "font-family-base",
12764
+ "fontFamilyHeading": "font-family-heading",
12761
12765
  "fontFamilyMonospace": "font-family-monospace",
12762
12766
  "fontHeaderH2DescriptionLineHeight": "font-header-h2-description-line-height",
12763
12767
  "fontHeaderH2DescriptionSize": "font-header-h2-description-size",
@@ -13577,6 +13581,7 @@ module.exports.preset = {
13577
13581
  "fontDisplayLabelWeight": "--font-display-label-weight-zavpeo",
13578
13582
  "fontExpandableHeadingSize": "--font-expandable-heading-size-0uk059",
13579
13583
  "fontFamilyBase": "--font-family-base-gmnpzl",
13584
+ "fontFamilyHeading": "--font-family-heading-ugphat",
13580
13585
  "fontFamilyMonospace": "--font-family-monospace-q47m7k",
13581
13586
  "fontHeaderH2DescriptionLineHeight": "--font-header-h2-description-line-height-ts2s6o",
13582
13587
  "fontHeaderH2DescriptionSize": "--font-header-h2-description-size-g2wws3",
@@ -230,6 +230,7 @@ export declare interface TypedOverride {
230
230
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
231
231
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
232
232
  fontFamilyBase?: GlobalValue;
233
+ fontFamilyHeading?: GlobalValue;
233
234
  fontFamilyMonospace?: GlobalValue;
234
235
  fontSizeBodyM?: GlobalValue;
235
236
  fontSizeBodyS?: GlobalValue;
@@ -512,6 +513,7 @@ export declare interface TypedOverride {
512
513
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
513
514
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
514
515
  fontFamilyBase?: GlobalValue;
516
+ fontFamilyHeading?: GlobalValue;
515
517
  fontFamilyMonospace?: GlobalValue;
516
518
  fontSizeBodyM?: GlobalValue;
517
519
  fontSizeBodyS?: GlobalValue;
@@ -794,6 +796,7 @@ export declare interface TypedOverride {
794
796
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
795
797
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
796
798
  fontFamilyBase?: GlobalValue;
799
+ fontFamilyHeading?: GlobalValue;
797
800
  fontFamilyMonospace?: GlobalValue;
798
801
  fontSizeBodyM?: GlobalValue;
799
802
  fontSizeBodyS?: GlobalValue;
@@ -1076,6 +1079,7 @@ export declare interface TypedOverride {
1076
1079
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1077
1080
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1078
1081
  fontFamilyBase?: GlobalValue;
1082
+ fontFamilyHeading?: GlobalValue;
1079
1083
  fontFamilyMonospace?: GlobalValue;
1080
1084
  fontSizeBodyM?: GlobalValue;
1081
1085
  fontSizeBodyS?: GlobalValue;
@@ -1358,6 +1362,7 @@ export declare interface TypedOverride {
1358
1362
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1359
1363
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1360
1364
  fontFamilyBase?: GlobalValue;
1365
+ fontFamilyHeading?: GlobalValue;
1361
1366
  fontFamilyMonospace?: GlobalValue;
1362
1367
  fontSizeBodyM?: GlobalValue;
1363
1368
  fontSizeBodyS?: GlobalValue;
@@ -1640,6 +1645,7 @@ export declare interface TypedOverride {
1640
1645
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1641
1646
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1642
1647
  fontFamilyBase?: GlobalValue;
1648
+ fontFamilyHeading?: GlobalValue;
1643
1649
  fontFamilyMonospace?: GlobalValue;
1644
1650
  fontSizeBodyM?: GlobalValue;
1645
1651
  fontSizeBodyS?: GlobalValue;
@@ -1922,6 +1928,7 @@ export declare interface TypedOverride {
1922
1928
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1923
1929
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1924
1930
  fontFamilyBase?: GlobalValue;
1931
+ fontFamilyHeading?: GlobalValue;
1925
1932
  fontFamilyMonospace?: GlobalValue;
1926
1933
  fontSizeBodyM?: GlobalValue;
1927
1934
  fontSizeBodyS?: GlobalValue;
@@ -2204,6 +2211,7 @@ export declare interface TypedOverride {
2204
2211
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2205
2212
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2206
2213
  fontFamilyBase?: GlobalValue;
2214
+ fontFamilyHeading?: GlobalValue;
2207
2215
  fontFamilyMonospace?: GlobalValue;
2208
2216
  fontSizeBodyM?: GlobalValue;
2209
2217
  fontSizeBodyS?: GlobalValue;
@@ -2486,6 +2494,7 @@ export declare interface TypedOverride {
2486
2494
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2487
2495
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2488
2496
  fontFamilyBase?: GlobalValue;
2497
+ fontFamilyHeading?: GlobalValue;
2489
2498
  fontFamilyMonospace?: GlobalValue;
2490
2499
  fontSizeBodyM?: GlobalValue;
2491
2500
  fontSizeBodyS?: GlobalValue;
@@ -230,6 +230,7 @@ export declare interface TypedOverride {
230
230
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
231
231
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
232
232
  fontFamilyBase?: GlobalValue;
233
+ fontFamilyHeading?: GlobalValue;
233
234
  fontFamilyMonospace?: GlobalValue;
234
235
  fontSizeBodyM?: GlobalValue;
235
236
  fontSizeBodyS?: GlobalValue;
@@ -512,6 +513,7 @@ export declare interface TypedOverride {
512
513
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
513
514
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
514
515
  fontFamilyBase?: GlobalValue;
516
+ fontFamilyHeading?: GlobalValue;
515
517
  fontFamilyMonospace?: GlobalValue;
516
518
  fontSizeBodyM?: GlobalValue;
517
519
  fontSizeBodyS?: GlobalValue;
@@ -794,6 +796,7 @@ export declare interface TypedOverride {
794
796
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
795
797
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
796
798
  fontFamilyBase?: GlobalValue;
799
+ fontFamilyHeading?: GlobalValue;
797
800
  fontFamilyMonospace?: GlobalValue;
798
801
  fontSizeBodyM?: GlobalValue;
799
802
  fontSizeBodyS?: GlobalValue;
@@ -1076,6 +1079,7 @@ export declare interface TypedOverride {
1076
1079
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1077
1080
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1078
1081
  fontFamilyBase?: GlobalValue;
1082
+ fontFamilyHeading?: GlobalValue;
1079
1083
  fontFamilyMonospace?: GlobalValue;
1080
1084
  fontSizeBodyM?: GlobalValue;
1081
1085
  fontSizeBodyS?: GlobalValue;
@@ -1358,6 +1362,7 @@ export declare interface TypedOverride {
1358
1362
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1359
1363
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1360
1364
  fontFamilyBase?: GlobalValue;
1365
+ fontFamilyHeading?: GlobalValue;
1361
1366
  fontFamilyMonospace?: GlobalValue;
1362
1367
  fontSizeBodyM?: GlobalValue;
1363
1368
  fontSizeBodyS?: GlobalValue;
@@ -1640,6 +1645,7 @@ export declare interface TypedOverride {
1640
1645
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1641
1646
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1642
1647
  fontFamilyBase?: GlobalValue;
1648
+ fontFamilyHeading?: GlobalValue;
1643
1649
  fontFamilyMonospace?: GlobalValue;
1644
1650
  fontSizeBodyM?: GlobalValue;
1645
1651
  fontSizeBodyS?: GlobalValue;
@@ -1922,6 +1928,7 @@ export declare interface TypedOverride {
1922
1928
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1923
1929
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
1924
1930
  fontFamilyBase?: GlobalValue;
1931
+ fontFamilyHeading?: GlobalValue;
1925
1932
  fontFamilyMonospace?: GlobalValue;
1926
1933
  fontSizeBodyM?: GlobalValue;
1927
1934
  fontSizeBodyS?: GlobalValue;
@@ -2204,6 +2211,7 @@ export declare interface TypedOverride {
2204
2211
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2205
2212
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2206
2213
  fontFamilyBase?: GlobalValue;
2214
+ fontFamilyHeading?: GlobalValue;
2207
2215
  fontFamilyMonospace?: GlobalValue;
2208
2216
  fontSizeBodyM?: GlobalValue;
2209
2217
  fontSizeBodyS?: GlobalValue;
@@ -2486,6 +2494,7 @@ export declare interface TypedOverride {
2486
2494
  colorDropzoneBorderHover?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2487
2495
  colorTreeViewConnectorLine?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
2488
2496
  fontFamilyBase?: GlobalValue;
2497
+ fontFamilyHeading?: GlobalValue;
2489
2498
  fontFamilyMonospace?: GlobalValue;
2490
2499
  fontSizeBodyM?: GlobalValue;
2491
2500
  fontSizeBodyS?: GlobalValue;
@@ -2261,6 +2261,7 @@ export var preset = {
2261
2261
  "fontDisplayLabelWeight": "700",
2262
2262
  "fontExpandableHeadingSize": "{fontSizeHeadingS}",
2263
2263
  "fontFamilyBase": "'Open Sans', 'Helvetica Neue', Roboto, Arial, sans-serif",
2264
+ "fontFamilyHeading": "{fontFamilyBase}",
2264
2265
  "fontFamilyMonospace": "Monaco, Menlo, Consolas, 'Courier Prime', Courier, 'Courier New', monospace",
2265
2266
  "fontHeaderH2DescriptionLineHeight": "{lineHeightBodyM}",
2266
2267
  "fontHeaderH2DescriptionSize": "{fontSizeBodyM}",
@@ -11731,6 +11732,7 @@ export var preset = {
11731
11732
  "colorDropzoneBorderHover",
11732
11733
  "colorTreeViewConnectorLine",
11733
11734
  "fontFamilyBase",
11735
+ "fontFamilyHeading",
11734
11736
  "fontFamilyMonospace",
11735
11737
  "fontSizeBodyM",
11736
11738
  "fontSizeBodyS",
@@ -12109,6 +12111,7 @@ export var preset = {
12109
12111
  "colorDropzoneBorderHover",
12110
12112
  "colorTreeViewConnectorLine",
12111
12113
  "fontFamilyBase",
12114
+ "fontFamilyHeading",
12112
12115
  "fontFamilyMonospace",
12113
12116
  "fontSizeBodyM",
12114
12117
  "fontSizeBodyS",
@@ -12758,6 +12761,7 @@ export var preset = {
12758
12761
  "fontDisplayLabelWeight": "font-display-label-weight",
12759
12762
  "fontExpandableHeadingSize": "font-expandable-heading-size",
12760
12763
  "fontFamilyBase": "font-family-base",
12764
+ "fontFamilyHeading": "font-family-heading",
12761
12765
  "fontFamilyMonospace": "font-family-monospace",
12762
12766
  "fontHeaderH2DescriptionLineHeight": "font-header-h2-description-line-height",
12763
12767
  "fontHeaderH2DescriptionSize": "font-header-h2-description-size",
@@ -13577,6 +13581,7 @@ export var preset = {
13577
13581
  "fontDisplayLabelWeight": "--font-display-label-weight-zavpeo",
13578
13582
  "fontExpandableHeadingSize": "--font-expandable-heading-size-0uk059",
13579
13583
  "fontFamilyBase": "--font-family-base-gmnpzl",
13584
+ "fontFamilyHeading": "--font-family-heading-ugphat",
13580
13585
  "fontFamilyMonospace": "--font-family-monospace-q47m7k",
13581
13586
  "fontHeaderH2DescriptionLineHeight": "--font-header-h2-description-line-height-ts2s6o",
13582
13587
  "fontHeaderH2DescriptionSize": "--font-header-h2-description-size-g2wws3",
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "f4e982f2e42c5b29bce4156041ed23a110180402"
2
+ "commit": "8fdd3f37ecee9619ac8806a71b4c86c624461aa9"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/chat-components",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cloudscape-design/chat-components.git"