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