@aws-amplify/ui-react-ai 0.3.0 → 0.3.1

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.
@@ -43,6 +43,7 @@ function AIConversationBase({ actions, avatars, controls, handleSendMessage, mes
43
43
  ...controls,
44
44
  },
45
45
  displayText,
46
+ allowAttachments,
46
47
  });
47
48
  const providerProps = {
48
49
  messages,
@@ -52,7 +53,6 @@ function AIConversationBase({ actions, avatars, controls, handleSendMessage, mes
52
53
  ...avatars,
53
54
  },
54
55
  isLoading,
55
- allowAttachments,
56
56
  };
57
57
  return (React.createElement(Provider, { ...providerProps },
58
58
  React.createElement(Flex, { className: ComponentClassName.AIConversation },
package/dist/index.js CHANGED
@@ -1076,6 +1076,7 @@ function AIConversationBase({ actions, avatars, controls, handleSendMessage, mes
1076
1076
  ...controls,
1077
1077
  },
1078
1078
  displayText,
1079
+ allowAttachments,
1079
1080
  });
1080
1081
  const providerProps = {
1081
1082
  messages,
@@ -1085,7 +1086,6 @@ function AIConversationBase({ actions, avatars, controls, handleSendMessage, mes
1085
1086
  ...avatars,
1086
1087
  },
1087
1088
  isLoading,
1088
- allowAttachments,
1089
1089
  };
1090
1090
  return (React__namespace.createElement(Provider, { ...providerProps },
1091
1091
  React__namespace.createElement(uiReact.Flex, { className: ui.ComponentClassName.AIConversation },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react-ai",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -48,9 +48,9 @@
48
48
  "react-dom": "^16.14.0 || ^17.0 || ^18.0"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-amplify/ui": "^6.6.2",
52
- "@aws-amplify/ui-react": "^6.5.2",
53
- "@aws-amplify/ui-react-core": "^3.0.26"
51
+ "@aws-amplify/ui": "^6.6.3",
52
+ "@aws-amplify/ui-react": "^6.5.3",
53
+ "@aws-amplify/ui-react-core": "^3.0.27"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/jest-when": "^3.5.0",