reactbridge-sdk 0.1.19 → 0.1.21

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.
package/dist/index.js CHANGED
@@ -784,8 +784,7 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
784
784
  React.createElement("button", { type: "button", onClick: () => setIsUploadMenuOpen(!isUploadMenuOpen), disabled: isLoading, title: "Attach file", style: {
785
785
  padding: theme.spacing.sm,
786
786
  paddingRight: 0,
787
- backgroundColor: theme.colors.secondary,
788
- color: "#ffffff",
787
+ color: theme.colors.border,
789
788
  border: "none",
790
789
  borderRadius: theme.borderRadius,
791
790
  cursor: isLoading ? "not-allowed" : "pointer",
@@ -793,7 +792,7 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
793
792
  display: "flex",
794
793
  alignItems: "center",
795
794
  justifyContent: "center",
796
- width: "40px",
795
+ width: "24px",
797
796
  height: "40px",
798
797
  } }, PLUS_ICON_SVG$1),
799
798
  isUploadMenuOpen && (React.createElement("div", { style: {
@@ -839,10 +838,8 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
839
838
  React.createElement("button", { type: "button", onClick: isListening ? stopVoiceInput : startVoiceInput, disabled: isLoading, title: isListening ? "Stop recording" : "Start voice input", style: {
840
839
  padding: theme.spacing.sm,
841
840
  paddingLeft: 0,
842
- backgroundColor: isListening
843
- ? theme.colors.error
844
- : theme.colors.secondary,
845
- color: "#ffffff",
841
+ paddingRight: 0,
842
+ color: isListening ? theme.colors.primary : theme.colors.border,
846
843
  border: "none",
847
844
  borderRadius: theme.borderRadius,
848
845
  cursor: isLoading ? "not-allowed" : "pointer",
@@ -850,7 +847,7 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
850
847
  display: "flex",
851
848
  alignItems: "center",
852
849
  justifyContent: "center",
853
- width: "40px",
850
+ width: "24px",
854
851
  height: "40px",
855
852
  } }, MIC_ICON_SVG$1),
856
853
  React.createElement("button", { type: "submit", disabled: isLoading || (!inputValue.trim() && !selectedFile), style: {
@@ -985,6 +982,7 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
985
982
  } }),
986
983
  React.createElement("button", { type: "button", onClick: () => setIsUploadMenuOpen(!isUploadMenuOpen), disabled: isLoading, title: "Attach file", style: {
987
984
  padding: theme.spacing.sm,
985
+ paddingRight: 0,
988
986
  color: theme.colors.border,
989
987
  border: "none",
990
988
  borderRadius: theme.borderRadius,
@@ -993,7 +991,7 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
993
991
  display: "flex",
994
992
  alignItems: "center",
995
993
  justifyContent: "center",
996
- width: "40px",
994
+ width: "24px",
997
995
  height: "40px",
998
996
  } }, PLUS_ICON_SVG$1),
999
997
  isUploadMenuOpen && (React.createElement("div", { style: {
@@ -1044,6 +1042,8 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
1044
1042
  "Upload Document"))),
1045
1043
  React.createElement("button", { type: "button", onClick: isListening ? stopVoiceInput : startVoiceInput, disabled: isLoading, title: isListening ? "Stop recording" : "Start voice input", style: {
1046
1044
  padding: theme.spacing.sm,
1045
+ paddingLeft: 0,
1046
+ paddingRight: 0,
1047
1047
  color: isListening ? theme.colors.primary : theme.colors.border,
1048
1048
  border: "none",
1049
1049
  borderRadius: theme.borderRadius,
@@ -1052,7 +1052,7 @@ toggleButtonClass = defaultToggleButtonClass, toggleButtonTitle = "Open chat ass
1052
1052
  display: "flex",
1053
1053
  alignItems: "center",
1054
1054
  justifyContent: "center",
1055
- width: "40px",
1055
+ width: "24px",
1056
1056
  height: "40px",
1057
1057
  } }, MIC_ICON_SVG$1),
1058
1058
  React.createElement("button", { type: "submit", disabled: isLoading || (!inputValue.trim() && !selectedFile), style: {