@cloudscape-design/chat-components 1.0.70 → 1.0.71

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.
@@ -52,17 +52,6 @@ export interface AvatarProps {
52
52
  */
53
53
  imgUrl?: string;
54
54
  /**
55
- * Specifies an object of selectors and properties that are used to apply custom styles.
56
- *
57
- * - `root.background` (string) - (Optional) Background of the avatar.
58
- * - `root.borderColor` (string) - (Optional) Border color of the avatar.
59
- * - `root.borderRadius` (string) - (Optional) Border radius of the avatar.
60
- * - `root.borderWidth` (string) - (Optional) Border width of the avatar.
61
- * - `root.boxShadow` (string) - (Optional) Box shadow of the avatar.
62
- * - `root.color` (string) - (Optional) Text color of the avatar.
63
- * - `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.
64
- * - `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.
65
- * - `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.
66
55
  * @awsuiSystem core
67
56
  */
68
57
 
@@ -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 * Specifies an object of selectors and properties that are used to apply custom styles.\n *\n * - `root.background` (string) - (Optional) Background of the avatar.\n * - `root.borderColor` (string) - (Optional) Border color of the avatar.\n * - `root.borderRadius` (string) - (Optional) Border radius of the avatar.\n * - `root.borderWidth` (string) - (Optional) Border width of the avatar.\n * - `root.boxShadow` (string) - (Optional) Box shadow of the avatar.\n * - `root.color` (string) - (Optional) Text color of the avatar.\n * - `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.\n * - `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.\n * - `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.\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 * @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"]}
@@ -277,7 +277,6 @@ module.exports = {
277
277
  ]
278
278
  },
279
279
  "optional": true,
280
- "description": "Specifies an object of selectors and properties that are used to apply custom styles.\n\n- `root.background` (string) - (Optional) Background of the avatar.\n- `root.borderColor` (string) - (Optional) Border color of the avatar.\n- `root.borderRadius` (string) - (Optional) Border radius of the avatar.\n- `root.borderWidth` (string) - (Optional) Border width of the avatar.\n- `root.boxShadow` (string) - (Optional) Box shadow of the avatar.\n- `root.color` (string) - (Optional) Text color of the avatar.\n- `root.focusRing.borderColor` (string) - (Optional) Focus ring border color.\n- `root.focusRing.borderRadius` (string) - (Optional) Focus ring border radius.\n- `root.focusRing.borderWidth` (string) - (Optional) Focus ring border width.",
281
280
  "systemTags": [
282
281
  "core"
283
282
  ]
@@ -327,6 +327,25 @@ module.exports = { classes: [
327
327
  "name": "AbstractWrapper.keypress"
328
328
  }
329
329
  },
330
+ {
331
+ "name": "keypress",
332
+ "returnType": {
333
+ "name": "void",
334
+ "isNullable": false
335
+ },
336
+ "parameters": [
337
+ {
338
+ "name": "keyboardEventProps",
339
+ "typeName": "KeyboardEventInit",
340
+ "flags": {
341
+ "isOptional": false
342
+ }
343
+ }
344
+ ],
345
+ "inheritedFrom": {
346
+ "name": "AbstractWrapper.keypress"
347
+ }
348
+ },
330
349
  {
331
350
  "name": "keyup",
332
351
  "returnType": {
@@ -346,6 +365,25 @@ module.exports = { classes: [
346
365
  "name": "AbstractWrapper.keyup"
347
366
  }
348
367
  },
368
+ {
369
+ "name": "keyup",
370
+ "returnType": {
371
+ "name": "void",
372
+ "isNullable": false
373
+ },
374
+ "parameters": [
375
+ {
376
+ "name": "keyboardEventProps",
377
+ "typeName": "KeyboardEventInit",
378
+ "flags": {
379
+ "isOptional": false
380
+ }
381
+ }
382
+ ],
383
+ "inheritedFrom": {
384
+ "name": "AbstractWrapper.keyup"
385
+ }
386
+ },
349
387
  {
350
388
  "name": "matches",
351
389
  "returnType": {
@@ -729,6 +767,25 @@ module.exports = { classes: [
729
767
  "name": "AbstractWrapper.keypress"
730
768
  }
731
769
  },
770
+ {
771
+ "name": "keypress",
772
+ "returnType": {
773
+ "name": "void",
774
+ "isNullable": false
775
+ },
776
+ "parameters": [
777
+ {
778
+ "name": "keyboardEventProps",
779
+ "typeName": "KeyboardEventInit",
780
+ "flags": {
781
+ "isOptional": false
782
+ }
783
+ }
784
+ ],
785
+ "inheritedFrom": {
786
+ "name": "AbstractWrapper.keypress"
787
+ }
788
+ },
732
789
  {
733
790
  "name": "keyup",
734
791
  "returnType": {
@@ -748,6 +805,25 @@ module.exports = { classes: [
748
805
  "name": "AbstractWrapper.keyup"
749
806
  }
750
807
  },
808
+ {
809
+ "name": "keyup",
810
+ "returnType": {
811
+ "name": "void",
812
+ "isNullable": false
813
+ },
814
+ "parameters": [
815
+ {
816
+ "name": "keyboardEventProps",
817
+ "typeName": "KeyboardEventInit",
818
+ "flags": {
819
+ "isOptional": false
820
+ }
821
+ }
822
+ ],
823
+ "inheritedFrom": {
824
+ "name": "AbstractWrapper.keyup"
825
+ }
826
+ },
751
827
  {
752
828
  "name": "matches",
753
829
  "returnType": {
@@ -1084,6 +1160,25 @@ module.exports = { classes: [
1084
1160
  "name": "AbstractWrapper.keypress"
1085
1161
  }
1086
1162
  },
1163
+ {
1164
+ "name": "keypress",
1165
+ "returnType": {
1166
+ "name": "void",
1167
+ "isNullable": false
1168
+ },
1169
+ "parameters": [
1170
+ {
1171
+ "name": "keyboardEventProps",
1172
+ "typeName": "KeyboardEventInit",
1173
+ "flags": {
1174
+ "isOptional": false
1175
+ }
1176
+ }
1177
+ ],
1178
+ "inheritedFrom": {
1179
+ "name": "AbstractWrapper.keypress"
1180
+ }
1181
+ },
1087
1182
  {
1088
1183
  "name": "keyup",
1089
1184
  "returnType": {
@@ -1103,6 +1198,25 @@ module.exports = { classes: [
1103
1198
  "name": "AbstractWrapper.keyup"
1104
1199
  }
1105
1200
  },
1201
+ {
1202
+ "name": "keyup",
1203
+ "returnType": {
1204
+ "name": "void",
1205
+ "isNullable": false
1206
+ },
1207
+ "parameters": [
1208
+ {
1209
+ "name": "keyboardEventProps",
1210
+ "typeName": "KeyboardEventInit",
1211
+ "flags": {
1212
+ "isOptional": false
1213
+ }
1214
+ }
1215
+ ],
1216
+ "inheritedFrom": {
1217
+ "name": "AbstractWrapper.keyup"
1218
+ }
1219
+ },
1106
1220
  {
1107
1221
  "name": "matches",
1108
1222
  "returnType": {
@@ -1470,6 +1584,25 @@ module.exports = { classes: [
1470
1584
  "name": "AbstractWrapper.keypress"
1471
1585
  }
1472
1586
  },
1587
+ {
1588
+ "name": "keypress",
1589
+ "returnType": {
1590
+ "name": "void",
1591
+ "isNullable": false
1592
+ },
1593
+ "parameters": [
1594
+ {
1595
+ "name": "keyboardEventProps",
1596
+ "typeName": "KeyboardEventInit",
1597
+ "flags": {
1598
+ "isOptional": false
1599
+ }
1600
+ }
1601
+ ],
1602
+ "inheritedFrom": {
1603
+ "name": "AbstractWrapper.keypress"
1604
+ }
1605
+ },
1473
1606
  {
1474
1607
  "name": "keyup",
1475
1608
  "returnType": {
@@ -1489,6 +1622,25 @@ module.exports = { classes: [
1489
1622
  "name": "AbstractWrapper.keyup"
1490
1623
  }
1491
1624
  },
1625
+ {
1626
+ "name": "keyup",
1627
+ "returnType": {
1628
+ "name": "void",
1629
+ "isNullable": false
1630
+ },
1631
+ "parameters": [
1632
+ {
1633
+ "name": "keyboardEventProps",
1634
+ "typeName": "KeyboardEventInit",
1635
+ "flags": {
1636
+ "isOptional": false
1637
+ }
1638
+ }
1639
+ ],
1640
+ "inheritedFrom": {
1641
+ "name": "AbstractWrapper.keyup"
1642
+ }
1643
+ },
1492
1644
  {
1493
1645
  "name": "matches",
1494
1646
  "returnType": {
@@ -1825,6 +1977,25 @@ module.exports = { classes: [
1825
1977
  "name": "AbstractWrapper.keypress"
1826
1978
  }
1827
1979
  },
1980
+ {
1981
+ "name": "keypress",
1982
+ "returnType": {
1983
+ "name": "void",
1984
+ "isNullable": false
1985
+ },
1986
+ "parameters": [
1987
+ {
1988
+ "name": "keyboardEventProps",
1989
+ "typeName": "KeyboardEventInit",
1990
+ "flags": {
1991
+ "isOptional": false
1992
+ }
1993
+ }
1994
+ ],
1995
+ "inheritedFrom": {
1996
+ "name": "AbstractWrapper.keypress"
1997
+ }
1998
+ },
1828
1999
  {
1829
2000
  "name": "keyup",
1830
2001
  "returnType": {
@@ -1844,6 +2015,25 @@ module.exports = { classes: [
1844
2015
  "name": "AbstractWrapper.keyup"
1845
2016
  }
1846
2017
  },
2018
+ {
2019
+ "name": "keyup",
2020
+ "returnType": {
2021
+ "name": "void",
2022
+ "isNullable": false
2023
+ },
2024
+ "parameters": [
2025
+ {
2026
+ "name": "keyboardEventProps",
2027
+ "typeName": "KeyboardEventInit",
2028
+ "flags": {
2029
+ "isOptional": false
2030
+ }
2031
+ }
2032
+ ],
2033
+ "inheritedFrom": {
2034
+ "name": "AbstractWrapper.keyup"
2035
+ }
2036
+ },
1847
2037
  {
1848
2038
  "name": "matches",
1849
2039
  "returnType": {
@@ -1,5 +1,5 @@
1
1
  export var PACKAGE_SOURCE = "chat-components";
2
- export var PACKAGE_VERSION = "1.0.0 (d555ae4c)";
2
+ export var PACKAGE_VERSION = "1.0.0 (973328c3)";
3
3
  export var THEME = "open-source-visual-refresh";
4
4
  export var SYSTEM = "console";
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 (d555ae4c)",
3
+ "PACKAGE_VERSION": "1.0.0 (973328c3)",
4
4
  "THEME": "open-source-visual-refresh",
5
5
  "SYSTEM": "console",
6
6
  "ALWAYS_VISUAL_REFRESH": true
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "d555ae4c72f42d2dce9ddc22285a75ac60b0f3fe"
2
+ "commit": "973328c3846d8f466e1115febdc1f8face9a6789"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudscape-design/chat-components",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cloudscape-design/chat-components.git"