botframework-webchat-fluent-theme 4.18.1-main.20250726.562f97e → 4.18.1-main.20250801.b40ec71

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botframework-webchat-fluent-theme",
3
- "version": "4.18.1-main.20250726.562f97e",
3
+ "version": "4.18.1-main.20250801.b40ec71",
4
4
  "description": "Fluent theme for Bot Framework Web Chat",
5
5
  "main": "./dist/botframework-webchat-fluent-theme.js",
6
6
  "types": "./dist/botframework-webchat-fluent-theme.d.ts",
@@ -68,15 +68,15 @@
68
68
  "@types/math-random": "^1.0.2",
69
69
  "@types/node": "^22.13.4",
70
70
  "@types/react": "^16.14.62",
71
- "botframework-webchat-base": "4.18.1-main.20250726.562f97e",
72
- "botframework-webchat-styles": "4.18.1-main.20250726.562f97e",
71
+ "botframework-webchat-base": "4.18.1-main.20250801.b40ec71",
72
+ "botframework-webchat-styles": "4.18.1-main.20250801.b40ec71",
73
73
  "tsup": "^8.3.6",
74
74
  "typescript": "^5.7.3"
75
75
  },
76
76
  "dependencies": {
77
- "botframework-webchat-api": "4.18.1-main.20250726.562f97e",
78
- "botframework-webchat-component": "4.18.1-main.20250726.562f97e",
79
- "botframework-webchat-core": "4.18.1-main.20250726.562f97e",
77
+ "botframework-webchat-api": "4.18.1-main.20250801.b40ec71",
78
+ "botframework-webchat-component": "4.18.1-main.20250801.b40ec71",
79
+ "botframework-webchat-core": "4.18.1-main.20250801.b40ec71",
80
80
  "classnames": "2.5.1",
81
81
  "inject-meta-tag": "0.0.1",
82
82
  "math-random": "2.0.1",
@@ -48,7 +48,7 @@ type Props = Readonly<{
48
48
  }>;
49
49
 
50
50
  function SendBox(props: Props) {
51
- const [{ hideTelephoneKeypadButton, hideUploadButton, maxMessageLength }] = useStyleOptions();
51
+ const [{ disableFileUpload, hideTelephoneKeypadButton, maxMessageLength }] = useStyleOptions();
52
52
  const [attachments, setAttachments] = useSendBoxAttachments();
53
53
  const [globalMessage, setGlobalMessage] = useSendBoxValue();
54
54
  const [localMessage, setLocalMessage] = useState('');
@@ -238,7 +238,7 @@ function SendBox(props: Props) {
238
238
  )}
239
239
  <Toolbar>
240
240
  {!hideTelephoneKeypadButton && <TelephoneKeypadToolbarButton />}
241
- {!hideUploadButton && <AddAttachmentButton onFilesAdded={handleAddFiles} />}
241
+ {!disableFileUpload && <AddAttachmentButton onFilesAdded={handleAddFiles} />}
242
242
  <ToolbarSeparator />
243
243
  <ToolbarButton
244
244
  aria-label={localize('TEXT_INPUT_SEND_BUTTON_ALT')}
@@ -250,7 +250,7 @@ function SendBox(props: Props) {
250
250
  </ToolbarButton>
251
251
  </Toolbar>
252
252
  </div>
253
- <DropZone onFilesAdded={handleAddFiles} />
253
+ {!disableFileUpload && <DropZone onFilesAdded={handleAddFiles} />}
254
254
  <ErrorMessage error={errorMessage} id={errorMessageId} />
255
255
  </div>
256
256
  </form>