botframework-webchat-fluent-theme 4.17.0-main.20240416.4ff01ae → 4.17.0-main.20240419.2240f2a

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.
Files changed (28) hide show
  1. package/dist/botframework-webchat-fluent-theme.development.css.map +1 -1
  2. package/dist/botframework-webchat-fluent-theme.development.js +278 -237
  3. package/dist/botframework-webchat-fluent-theme.development.js.map +1 -1
  4. package/dist/botframework-webchat-fluent-theme.production.min.css.map +1 -1
  5. package/dist/botframework-webchat-fluent-theme.production.min.js +1 -1
  6. package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
  7. package/dist/index.css.map +1 -1
  8. package/dist/index.js +216 -177
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +160 -121
  11. package/dist/index.mjs.map +1 -1
  12. package/package.json +4 -4
  13. package/src/components/Theme.module.css +11 -6
  14. package/src/components/sendbox/Attachments.tsx +5 -2
  15. package/src/components/sendbox/TelephoneKeypadToolbarButton.tsx +2 -1
  16. package/src/components/sendbox/TextArea.module.css +3 -1
  17. package/src/components/sendbox/Toolbar.module.css +6 -4
  18. package/src/components/sendbox/Toolbar.tsx +4 -1
  19. package/src/components/sendbox/index.module.css +28 -0
  20. package/src/components/sendbox/index.tsx +11 -10
  21. package/src/components/suggestedActions/SuggestedAction.module.css +1 -0
  22. package/src/components/telephoneKeypad/private/TelephoneKeypad.module.css +29 -0
  23. package/src/components/telephoneKeypad/private/TelephoneKeypad.tsx +15 -2
  24. package/src/icons/AddDocumentIcon.tsx +0 -1
  25. package/src/icons/AttachmentIcon.tsx +0 -1
  26. package/src/icons/InfoSmallIcon.tsx +17 -0
  27. package/src/icons/SendIcon.tsx +0 -1
  28. package/src/icons/TelephoneKeypad.tsx +0 -1
package/dist/index.mjs CHANGED
@@ -2,8 +2,8 @@
2
2
  import { injectMetaTag } from "inject-meta-tag";
3
3
 
4
4
  // src/private/FluentThemeProvider.tsx
5
- import { Components } from "botframework-webchat-component";
6
- import React21, { memo as memo15 } from "react";
5
+ import { Components as Components2 } from "botframework-webchat-component";
6
+ import React22, { memo as memo16 } from "react";
7
7
 
8
8
  // src/components/telephoneKeypad/Provider.tsx
9
9
  import React, { memo, useMemo, useState } from "react";
@@ -35,11 +35,13 @@ var Provider = memo(({ children }) => {
35
35
  var Provider_default = Provider;
36
36
 
37
37
  // src/components/telephoneKeypad/Surrogate.tsx
38
- import React4, { memo as memo4 } from "react";
38
+ import React5, { memo as memo5 } from "react";
39
39
 
40
40
  // src/components/telephoneKeypad/private/TelephoneKeypad.tsx
41
- import React3, { memo as memo3, useCallback as useCallback2, useEffect, useRef } from "react";
41
+ import React4, { memo as memo4, useCallback as useCallback2, useEffect, useRef } from "react";
42
+ import cx from "classnames";
42
43
  import { useRefFrom as useRefFrom2 } from "use-ref-from";
44
+ import { Components } from "botframework-webchat-component";
43
45
 
44
46
  // src/components/telephoneKeypad/private/Button.tsx
45
47
  import React2, { forwardRef, memo as memo2, useCallback } from "react";
@@ -54,7 +56,7 @@ var Button_default = {
54
56
  };
55
57
 
56
58
  // src/styles/injectStyle.ts
57
- var injectedStyles = "/* src/components/telephoneKeypad/private/Button.module.css */\n.webchat-fluent .Button_telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n background-color: White;\n border-radius: 100%;\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n cursor: pointer;\n display: flex;\n flex-direction: column;\n height: 60px;\n opacity: 0.7;\n padding: 0;\n position: relative;\n touch-action: none;\n user-select: none;\n width: 60px;\n}\n.webchat-fluent .Button_telephone-keypad__button:hover {\n background-color: var(--webchat-colorGray30);\n}\n.webchat-fluent .Button_telephone-keypad__button__ruby {\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n.webchat-fluent .Button_telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n.webchat-fluent .Button_telephone-keypad--horizontal .Button_telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n}\n.webchat-fluent .Button_telephone-keypad--horizontal .Button_telephone-keypad__button__ruby {\n display: none;\n}\n.webchat-fluent .Button_telephone-keypad--horizontal .Button_telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n}\n\n/* src/components/telephoneKeypad/private/TelephoneKeypad.module.css */\n.webchat-fluent .TelephoneKeypad_telephone-keypad {\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__box {\n box-sizing: border-box;\n display: grid;\n gap: 16px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(4, 1fr);\n justify-items: center;\n padding: 16px;\n width: 100%;\n}\n\n/* src/components/Theme.module.css */\n.webchat-fluent.Theme_theme {\n display: contents;\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n --webchat-colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover, #f5f5f5);\n --webchat-colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed, #e0e0e0);\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n --webchat-colorCompoundBrandForeground1: var(--colorCompoundBrandForeground1, #077fab);\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n --webchat-colorCompoundBrandForeground1Pressed: var(--colorCompoundBrandForeground1Pressed, #01678c);\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n --webchat-colorGray30: var(--colorGray30, #edebe9);\n --webchat-colorGray160: var(--colorGray160, #323130);\n --webchat-colorGray190: var(--colorGray190, #201f1e);\n --webchat-colorGray200: var(--colorGray200, #1b1a19);\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n --webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108));\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n --webchat-fontFamilyBase: var(--fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);\n --webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n}\n\n/* src/components/dropZone/index.module.css */\n.webchat-fluent .dropZone_sendbox__attachment-drop-zone {\n background-color: var(--webchat-colorNeutralBackground4);\n border-radius: inherit;\n cursor: copy;\n display: grid;\n gap: 8px;\n inset: 0;\n place-content: center;\n place-items: center;\n position: absolute;\n}\n.webchat-fluent .dropZone_sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White;\n}\n.webchat-fluent .dropZone_sendbox__attachment-drop-zone-icon {\n height: 36px;\n pointer-events: none;\n width: 36px;\n}\n\n/* src/components/suggestedActions/SuggestedAction.module.css */\n.webchat-fluent .SuggestedAction_suggested-action {\n align-items: center;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--webchat-colorBrandStroke2);\n cursor: pointer;\n display: flex;\n font-size: 12px;\n gap: 4px;\n padding: 4px 8px 4px;\n text-align: start;\n transition: all .15s ease-out;\n}\n@media (hover: hover) {\n .webchat-fluent .SuggestedAction_suggested-action:not([aria-disabled=true]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover);\n }\n}\n.webchat-fluent .SuggestedAction_suggested-action:not([aria-disabled=true]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed);\n}\n.webchat-fluent .SuggestedAction_suggested-action[aria-disabled=true] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n}\n.webchat-fluent .SuggestedAction_suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n\n/* src/components/suggestedActions/index.module.css */\n.webchat-fluent .suggestedActions_suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n.webchat-fluent .suggestedActions_suggested-actions:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px;\n}\n.webchat-fluent .suggestedActions_suggested-actions.suggestedActions_suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n}\n.webchat-fluent .suggestedActions_suggested-actions.suggestedActions_suggested-actions--stacked {\n flex-direction: column;\n}\n\n/* src/components/sendbox/Toolbar.module.css */\n.webchat-fluent .Toolbar_sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button {\n align-items: center;\n appearance: none;\n aspect-ratio: 1;\n background: transparent;\n border-radius: var(--webchat-borderRadiusSmall);\n border: none;\n cursor: pointer;\n display: flex;\n justify-content: center;\n padding: 3px;\n width: 32px;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button > svg {\n font-size: 20px;\n pointer-events: none;\n}\n@media (hover: hover) {\n .webchat-fluent .Toolbar_sendbox__toolbar-button:not([aria-disabled=true]):hover {\n background-color: var(--webchat-colorSubtleBackgroundHover);\n color: var(--webchat-colorCompoundBrandForeground1Hover);\n }\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button:not([aria-disabled=true]):active {\n background-color: var(--webchat-colorSubtleBackgroundPressed);\n color: var(--webchat-colorCompoundBrandForeground1Pressed);\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button[aria-disabled=true] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-separator:is(:first-child, :last-child, :only-child) {\n display: none;\n}\n\n/* src/components/sendbox/AddAttachmentButton.module.css */\n.webchat-fluent .AddAttachmentButton_sendbox__add-attachment {\n display: grid;\n}\n.webchat-fluent .AddAttachmentButton_sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 0;\n}\n\n/* src/components/sendbox/Attachments.module.css */\n.webchat-fluent .Attachments_sendbox__attachment {\n border-radius: var(--webchat-borderRadiusLarge);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n cursor: default;\n padding: 6px 8px;\n width: fit-content;\n}\n\n/* src/components/sendbox/ErrorMessage.module.css */\n.webchat-fluent .ErrorMessage_sendbox__error-message {\n color: transparent;\n font-size: 0;\n height: 0;\n left: 0;\n position: absolute;\n top: 0;\n width: 0;\n}\n\n/* src/components/sendbox/TextArea.module.css */\n.webchat-fluent .TextArea_sendbox__text-area {\n display: grid;\n grid-template-areas: \"main\";\n max-height: 200px;\n overflow: hidden;\n}\n.webchat-fluent .TextArea_sendbox__text-area--hidden {\n height: 0;\n visibility: collapse;\n}\n.webchat-fluent .TextArea_sendbox__text-area-shared {\n border: none;\n font: inherit;\n grid-area: main;\n outline: inherit;\n overflow-wrap: anywhere;\n resize: inherit;\n scrollbar-gutter: stable;\n}\n.webchat-fluent .TextArea_sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input {\n height: 100%;\n padding: 0;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll {\n scrollbar-color: unset;\n scrollbar-width: unset;\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar {\n width: 8px;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n}\n\n/* src/components/sendbox/index.module.css */\n.webchat-fluent .sendbox_sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n}\n.webchat-fluent .sendbox_sendbox__sendbox {\n background-color: var(--webchat-colorNeutralBackground1);\n border-radius: var(--webchat-borderRadiusLarge);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n display: grid;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n gap: 6px;\n line-height: 20px;\n padding: 8px;\n position: relative;\n}\n.webchat-fluent .sendbox_sendbox__sendbox:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n box-shadow: inset 0 -6px 0 -3px var(--webchat-colorCompoundBrandForeground1Hover);\n}\n.webchat-fluent .sendbox_sendbox__sendbox-text {\n background-color: transparent;\n border: none;\n flex: auto;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n line-height: 20px;\n outline: none;\n padding: 4px 4px 0;\n resize: none;\n}\n.webchat-fluent .sendbox_sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n.webchat-fluent .sendbox_sendbox__text-counter {\n color: var(--webchat-colorNeutralForeground4);\n cursor: default;\n font-family: var(--webchat-fontFamilyNumeric);\n font-size: 10px;\n line-height: 14px;\n}\n.webchat-fluent .sendbox_sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n";
59
+ var injectedStyles = "/* src/components/telephoneKeypad/private/Button.module.css */\n.webchat-fluent .Button_telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n background-color: White;\n border-radius: 100%;\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n cursor: pointer;\n display: flex;\n flex-direction: column;\n height: 60px;\n opacity: 0.7;\n padding: 0;\n position: relative;\n touch-action: none;\n user-select: none;\n width: 60px;\n}\n.webchat-fluent .Button_telephone-keypad__button:hover {\n background-color: var(--webchat-colorGray30);\n}\n.webchat-fluent .Button_telephone-keypad__button__ruby {\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n.webchat-fluent .Button_telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n.webchat-fluent .Button_telephone-keypad--horizontal .Button_telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n}\n.webchat-fluent .Button_telephone-keypad--horizontal .Button_telephone-keypad__button__ruby {\n display: none;\n}\n.webchat-fluent .Button_telephone-keypad--horizontal .Button_telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n}\n\n/* src/components/telephoneKeypad/private/TelephoneKeypad.module.css */\n.webchat-fluent .TelephoneKeypad_telephone-keypad {\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__box {\n box-sizing: border-box;\n display: grid;\n gap: 16px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-rows: repeat(4, 1fr);\n justify-items: center;\n padding: 16px;\n width: 100%;\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__info-message {\n align-items: center;\n color: var(--webchat-colorNeutralForeground4);\n display: flex;\n font-size: 12px;\n gap: 6px;\n margin-block-end: 6px;\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__info-message-link {\n color: var(--webchat-colorBrandForegroundLink);\n text-decoration-color: transparent;\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__info-message-link:target {\n color: var(--webchat-colorBrandForegroundLinkSelected);\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__info-message-link:hover {\n color: var(--webchat-colorBrandForegroundLinkHover);\n text-decoration: underline 1px currentColor;\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__info-message-link:active {\n color: var(--webchat-colorBrandForegroundLinkPressed);\n}\n.webchat-fluent .TelephoneKeypad_telephone-keypad__info-message-link:focus-visible {\n outline: none;\n text-decoration: underline 1px double var(--webchat-colorStrokeFocus2);\n}\n\n/* src/components/Theme.module.css */\n.webchat-fluent.Theme_theme {\n display: contents;\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n --webchat-colorNeutralForeground2BrandHover: var(--colorNeutralForeground2BrandHover, #02729c);\n --webchat-colorNeutralForeground2BrandPressed: var(--colorNeutralForeground2BrandPressed, #01678c);\n --webchat-colorNeutralForeground2BrandSelected: var(--colorNeutralForeground2BrandSelected, #067191);\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n --webchat-colorStrokeFocus2: var(--colorStrokeFocus2, #000000);\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n --webchat-colorBrandForegroundLink: var(--colorBrandForegroundLink, #01678c);\n --webchat-colorBrandForegroundLinkHover: var(--colorBrandForegroundLinkHover, #015a7a);\n --webchat-colorBrandForegroundLinkPressed: var(--colorBrandForegroundLinkPressed, #014259);\n --webchat-colorBrandForegroundLinkSelected: var(--colorBrandForegroundLinkSelected, #01678c);\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n --webchat-colorGray30: var(--colorGray30, #edebe9);\n --webchat-colorGray160: var(--colorGray160, #323130);\n --webchat-colorGray190: var(--colorGray190, #201f1e);\n --webchat-colorGray200: var(--colorGray200, #1b1a19);\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n --webchat-shadow16: var(--shadow16, 0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108));\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n --webchat-fontFamilyBase: var(--fontFamilyBase, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);\n --webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, \"Segoe UI\", \"Segoe UI Web (West European)\", -apple-system, BlinkMacSystemFont, Roboto, \"Helvetica Neue\", sans-serif);\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n}\n\n/* src/components/dropZone/index.module.css */\n.webchat-fluent .dropZone_sendbox__attachment-drop-zone {\n background-color: var(--webchat-colorNeutralBackground4);\n border-radius: inherit;\n cursor: copy;\n display: grid;\n gap: 8px;\n inset: 0;\n place-content: center;\n place-items: center;\n position: absolute;\n}\n.webchat-fluent .dropZone_sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White;\n}\n.webchat-fluent .dropZone_sendbox__attachment-drop-zone-icon {\n height: 36px;\n pointer-events: none;\n width: 36px;\n}\n\n/* src/components/suggestedActions/SuggestedAction.module.css */\n.webchat-fluent .SuggestedAction_suggested-action {\n align-items: center;\n background: transparent;\n border-radius: 8px;\n border: 1px solid var(--webchat-colorBrandStroke2);\n color: currentColor;\n cursor: pointer;\n display: flex;\n font-size: 12px;\n gap: 4px;\n padding: 4px 8px 4px;\n text-align: start;\n transition: all .15s ease-out;\n}\n@media (hover: hover) {\n .webchat-fluent .SuggestedAction_suggested-action:not([aria-disabled=true]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover);\n }\n}\n.webchat-fluent .SuggestedAction_suggested-action:not([aria-disabled=true]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed);\n}\n.webchat-fluent .SuggestedAction_suggested-action[aria-disabled=true] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n}\n.webchat-fluent .SuggestedAction_suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n\n/* src/components/suggestedActions/index.module.css */\n.webchat-fluent .suggestedActions_suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n.webchat-fluent .suggestedActions_suggested-actions:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px;\n}\n.webchat-fluent .suggestedActions_suggested-actions.suggestedActions_suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n}\n.webchat-fluent .suggestedActions_suggested-actions.suggestedActions_suggested-actions--stacked {\n flex-direction: column;\n}\n\n/* src/components/sendbox/Toolbar.module.css */\n.webchat-fluent .Toolbar_sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button {\n align-items: center;\n appearance: none;\n aspect-ratio: 1;\n background: transparent;\n border-radius: var(--webchat-borderRadiusSmall);\n border: none;\n color: currentColor;\n cursor: pointer;\n display: flex;\n justify-content: center;\n padding: 3px;\n width: 32px;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button > svg {\n font-size: 20px;\n pointer-events: none;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button.Toolbar_sendbox__toolbar-button--selected {\n color: var(--webchat-colorNeutralForeground2BrandSelected);\n}\n@media (hover: hover) {\n .webchat-fluent .Toolbar_sendbox__toolbar-button:not([aria-disabled=true]):hover {\n color: var(--webchat-colorNeutralForeground2BrandHover);\n }\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button:not([aria-disabled=true]):active {\n color: var(--webchat-colorNeutralForeground2BrandPressed);\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-button[aria-disabled=true] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n}\n.webchat-fluent .Toolbar_sendbox__toolbar-separator:is(:first-child, :last-child, :only-child) {\n display: none;\n}\n\n/* src/components/sendbox/AddAttachmentButton.module.css */\n.webchat-fluent .AddAttachmentButton_sendbox__add-attachment {\n display: grid;\n}\n.webchat-fluent .AddAttachmentButton_sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 0;\n}\n\n/* src/components/sendbox/Attachments.module.css */\n.webchat-fluent .Attachments_sendbox__attachment {\n border-radius: var(--webchat-borderRadiusLarge);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n cursor: default;\n padding: 6px 8px;\n width: fit-content;\n}\n\n/* src/components/sendbox/ErrorMessage.module.css */\n.webchat-fluent .ErrorMessage_sendbox__error-message {\n color: transparent;\n font-size: 0;\n height: 0;\n left: 0;\n position: absolute;\n top: 0;\n width: 0;\n}\n\n/* src/components/sendbox/TextArea.module.css */\n.webchat-fluent .TextArea_sendbox__text-area {\n display: grid;\n grid-template-areas: \"main\";\n max-height: 200px;\n overflow: hidden;\n}\n.webchat-fluent .TextArea_sendbox__text-area--hidden {\n height: 0;\n visibility: collapse;\n}\n.webchat-fluent .TextArea_sendbox__text-area-shared {\n border: none;\n font: inherit;\n grid-area: main;\n outline: inherit;\n overflow-wrap: anywhere;\n resize: inherit;\n scrollbar-gutter: stable;\n}\n.webchat-fluent .TextArea_sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input {\n background-color: inherit;\n color: currentColor;\n height: 100%;\n padding: 0;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll {\n scrollbar-color: unset;\n scrollbar-width: unset;\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar {\n width: 8px;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px;\n}\n.webchat-fluent .TextArea_sendbox__text-area-input--scroll::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n}\n\n/* src/components/sendbox/index.module.css */\n.webchat-fluent .sendbox_sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n --webchat-sendbox-attachment-area-active: ;\n}\n.webchat-fluent .sendbox_sendbox__sendbox {\n background-color: var(--webchat-colorNeutralBackground1);\n border-radius: var(--webchat-borderRadiusLarge);\n border: 1px solid var(--webchat-colorNeutralStroke1);\n display: grid;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n gap: 6px;\n grid-template: [telephone-keypad-start] \"text-area\" [telephone-keypad-end] var(--webchat-sendbox-attachment-area-active) \"controls\" / [telephone-keypad] 1fr;\n line-height: 20px;\n padding: 8px;\n position: relative;\n}\n.webchat-fluent .sendbox_sendbox__sendbox:has(.sendbox_sendbox__attachment--in-grid) {\n --webchat-sendbox-attachment-area-active: \"attachment\" ;\n}\n.webchat-fluent .sendbox_sendbox__sendbox:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n box-shadow: inset 0 -6px 0 -3px var(--webchat-colorCompoundBrandForeground1Hover);\n}\n.webchat-fluent .sendbox_sendbox__sendbox > .sendbox_sendbox__text-area--in-grid {\n grid-area: text-area;\n}\n.webchat-fluent .sendbox_sendbox__sendbox > .sendbox_sendbox__attachment--in-grid {\n grid-area: attachment;\n}\n.webchat-fluent .sendbox_sendbox__sendbox > .sendbox_sendbox__sendbox-controls--in-grid {\n grid-area: controls;\n}\n.webchat-fluent .sendbox_sendbox__sendbox > .sendbox_sendbox__telephone-keypad--in-grid {\n grid-area: telephone-keypad;\n}\n.webchat-fluent .sendbox_sendbox__sendbox-text {\n background-color: transparent;\n border: none;\n flex: auto;\n font-family: var(--webchat-fontFamilyBase);\n font-size: 14px;\n line-height: 20px;\n outline: none;\n padding: 4px 4px 0;\n resize: none;\n}\n.webchat-fluent .sendbox_sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n.webchat-fluent .sendbox_sendbox__text-counter {\n color: var(--webchat-colorNeutralForeground4);\n cursor: default;\n font-family: var(--webchat-fontFamilyNumeric);\n font-size: 10px;\n line-height: 14px;\n margin-inline-end: 4px;\n}\n.webchat-fluent .sendbox_sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n";
58
60
  function injectStyles() {
59
61
  if (globalThis.document) {
60
62
  const style = document.createElement("style");
@@ -137,21 +139,45 @@ function useShown() {
137
139
  // src/components/telephoneKeypad/private/TelephoneKeypad.module.css
138
140
  var TelephoneKeypad_default = {
139
141
  "telephone-keypad": "TelephoneKeypad_telephone-keypad",
140
- "telephone-keypad__box": "TelephoneKeypad_telephone-keypad__box"
142
+ "telephone-keypad__box": "TelephoneKeypad_telephone-keypad__box",
143
+ "telephone-keypad__info-message": "TelephoneKeypad_telephone-keypad__info-message",
144
+ "telephone-keypad__info-message-link": "TelephoneKeypad_telephone-keypad__info-message-link"
141
145
  };
142
146
 
147
+ // src/icons/InfoSmallIcon.tsx
148
+ import React3, { memo as memo3 } from "react";
149
+ var InfoSmallIcon_default = memo3((props) => /* @__PURE__ */ React3.createElement(
150
+ "svg",
151
+ {
152
+ "aria-hidden": "true",
153
+ className: props.className,
154
+ height: "1em",
155
+ viewBox: "0 0 16 16",
156
+ width: "1em",
157
+ xmlns: "http://www.w3.org/2000/svg"
158
+ },
159
+ /* @__PURE__ */ React3.createElement(
160
+ "path",
161
+ {
162
+ d: "M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z",
163
+ fill: "currentColor"
164
+ }
165
+ )
166
+ ));
167
+
143
168
  // src/components/telephoneKeypad/private/TelephoneKeypad.tsx
144
- var Orientation = memo3(
169
+ var { LocalizedString } = Components;
170
+ var Orientation = memo4(
145
171
  ({ children, isHorizontal }) => {
146
172
  const classNames = useStyles_default(TelephoneKeypad_default);
147
173
  return isHorizontal ? (
148
174
  // <HorizontalDialPadController>{children}</HorizontalDialPadController>
149
175
  false
150
- ) : /* @__PURE__ */ React3.createElement("div", { className: classNames["telephone-keypad__box"] }, children);
176
+ ) : /* @__PURE__ */ React4.createElement("div", { className: classNames["telephone-keypad__box"] }, children);
151
177
  }
152
178
  );
153
179
  Orientation.displayName = "TelephoneKeypad:Orientation";
154
- var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
180
+ var TelephoneKeypad = memo4(({ autoFocus, className, onButtonClick, isHorizontal }) => {
155
181
  const autoFocusRef = useRefFrom2(autoFocus);
156
182
  const classNames = useStyles_default(TelephoneKeypad_default);
157
183
  const firstButtonRef = useRef(null);
@@ -180,7 +206,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
180
206
  useEffect(() => {
181
207
  autoFocusRef.current && firstButtonRef.current?.focus();
182
208
  }, [autoFocusRef, firstButtonRef]);
183
- return /* @__PURE__ */ React3.createElement("div", { className: classNames["telephone-keypad"], onKeyDown: handleKeyDown }, /* @__PURE__ */ React3.createElement(Orientation, { isHorizontal }, /* @__PURE__ */ React3.createElement(
209
+ return /* @__PURE__ */ React4.createElement("div", { className: cx(classNames["telephone-keypad"], className), onKeyDown: handleKeyDown }, /* @__PURE__ */ React4.createElement(Orientation, { isHorizontal }, /* @__PURE__ */ React4.createElement(
184
210
  Button_default2,
185
211
  {
186
212
  button: "1",
@@ -188,7 +214,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
188
214
  onClick: handleButton1Click,
189
215
  ref: firstButtonRef
190
216
  }
191
- ), /* @__PURE__ */ React3.createElement(
217
+ ), /* @__PURE__ */ React4.createElement(
192
218
  Button_default2,
193
219
  {
194
220
  button: "2",
@@ -196,7 +222,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
196
222
  onClick: handleButton2Click,
197
223
  ruby: "ABC"
198
224
  }
199
- ), /* @__PURE__ */ React3.createElement(
225
+ ), /* @__PURE__ */ React4.createElement(
200
226
  Button_default2,
201
227
  {
202
228
  button: "3",
@@ -204,7 +230,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
204
230
  onClick: handleButton3Click,
205
231
  ruby: "DEF"
206
232
  }
207
- ), /* @__PURE__ */ React3.createElement(
233
+ ), /* @__PURE__ */ React4.createElement(
208
234
  Button_default2,
209
235
  {
210
236
  button: "4",
@@ -212,7 +238,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
212
238
  onClick: handleButton4Click,
213
239
  ruby: "GHI"
214
240
  }
215
- ), /* @__PURE__ */ React3.createElement(
241
+ ), /* @__PURE__ */ React4.createElement(
216
242
  Button_default2,
217
243
  {
218
244
  button: "5",
@@ -220,7 +246,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
220
246
  onClick: handleButton5Click,
221
247
  ruby: "JKL"
222
248
  }
223
- ), /* @__PURE__ */ React3.createElement(
249
+ ), /* @__PURE__ */ React4.createElement(
224
250
  Button_default2,
225
251
  {
226
252
  button: "6",
@@ -228,7 +254,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
228
254
  onClick: handleButton6Click,
229
255
  ruby: "MNO"
230
256
  }
231
- ), /* @__PURE__ */ React3.createElement(
257
+ ), /* @__PURE__ */ React4.createElement(
232
258
  Button_default2,
233
259
  {
234
260
  button: "7",
@@ -236,7 +262,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
236
262
  onClick: handleButton7Click,
237
263
  ruby: "PQRS"
238
264
  }
239
- ), /* @__PURE__ */ React3.createElement(
265
+ ), /* @__PURE__ */ React4.createElement(
240
266
  Button_default2,
241
267
  {
242
268
  button: "8",
@@ -244,7 +270,7 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
244
270
  onClick: handleButton8Click,
245
271
  ruby: "TUV"
246
272
  }
247
- ), /* @__PURE__ */ React3.createElement(
273
+ ), /* @__PURE__ */ React4.createElement(
248
274
  Button_default2,
249
275
  {
250
276
  button: "9",
@@ -252,26 +278,32 @@ var TelephoneKeypad = memo3(({ autoFocus, onButtonClick, isHorizontal }) => {
252
278
  onClick: handleButton9Click,
253
279
  ruby: "WXYZ"
254
280
  }
255
- ), /* @__PURE__ */ React3.createElement(Button_default2, { button: "star", "data-testid": testIds_default.sendBoxTelephoneKeypadButtonStar, onClick: handleButtonStarClick }), /* @__PURE__ */ React3.createElement(Button_default2, { button: "0", "data-testid": testIds_default.sendBoxTelephoneKeypadButton0, onClick: handleButton0Click, ruby: "+" }), /* @__PURE__ */ React3.createElement(
281
+ ), /* @__PURE__ */ React4.createElement(Button_default2, { button: "star", "data-testid": testIds_default.sendBoxTelephoneKeypadButtonStar, onClick: handleButtonStarClick }), /* @__PURE__ */ React4.createElement(Button_default2, { button: "0", "data-testid": testIds_default.sendBoxTelephoneKeypadButton0, onClick: handleButton0Click, ruby: "+" }), /* @__PURE__ */ React4.createElement(
256
282
  Button_default2,
257
283
  {
258
284
  button: "pound",
259
285
  "data-testid": testIds_default.sendBoxTelephoneKeypadButtonPound,
260
286
  onClick: handleButtonPoundClick
261
287
  }
288
+ )), /* @__PURE__ */ React4.createElement("div", { className: classNames["telephone-keypad__info-message"] }, /* @__PURE__ */ React4.createElement(InfoSmallIcon_default, null), /* @__PURE__ */ React4.createElement(
289
+ LocalizedString,
290
+ {
291
+ linkClassName: classNames["telephone-keypad__info-message-link"],
292
+ stringIds: "TELEPHONE_KEYPAD_INPUT_MESSAGE"
293
+ }
262
294
  )));
263
295
  });
264
296
  TelephoneKeypad.displayName = "TelephoneKeypad";
265
297
  var TelephoneKeypad_default2 = TelephoneKeypad;
266
298
 
267
299
  // src/components/telephoneKeypad/Surrogate.tsx
268
- var TelephoneKeypadSurrogate = memo4((props) => useShown()[0] ? /* @__PURE__ */ React4.createElement(TelephoneKeypad_default2, { ...props }) : false);
300
+ var TelephoneKeypadSurrogate = memo5((props) => useShown()[0] ? /* @__PURE__ */ React5.createElement(TelephoneKeypad_default2, { ...props }) : false);
269
301
  TelephoneKeypadSurrogate.displayName = "TelephoneKeypad.Surrogate";
270
302
  var Surrogate_default = TelephoneKeypadSurrogate;
271
303
 
272
304
  // src/components/Theme.tsx
273
- import React5 from "react";
274
- import cx from "classnames";
305
+ import React6 from "react";
306
+ import cx2 from "classnames";
275
307
 
276
308
  // src/components/Theme.module.css
277
309
  var Theme_default = {
@@ -282,30 +314,29 @@ var Theme_default = {
282
314
  var rootClassName = "webchat-fluent";
283
315
  function WebchatTheme(props) {
284
316
  const classNames = useStyles_default(Theme_default);
285
- return /* @__PURE__ */ React5.createElement("div", { className: cx(rootClassName, classNames["theme"]) }, props.children);
317
+ return /* @__PURE__ */ React6.createElement("div", { className: cx2(rootClassName, classNames["theme"]) }, props.children);
286
318
  }
287
319
 
288
320
  // src/components/sendbox/index.tsx
289
321
  import { hooks as hooks8 } from "botframework-webchat-component";
290
- import cx7 from "classnames";
291
- import React20, { memo as memo14, useCallback as useCallback8, useRef as useRef6, useState as useState3 } from "react";
322
+ import cx9 from "classnames";
323
+ import React21, { memo as memo15, useCallback as useCallback8, useRef as useRef6, useState as useState3 } from "react";
292
324
  import { useRefFrom as useRefFrom6 } from "use-ref-from";
293
325
 
294
326
  // src/icons/SendIcon.tsx
295
- import React6 from "react";
327
+ import React7 from "react";
296
328
  function SendIcon(props) {
297
- return /* @__PURE__ */ React6.createElement(
329
+ return /* @__PURE__ */ React7.createElement(
298
330
  "svg",
299
331
  {
300
332
  "aria-hidden": "true",
301
333
  className: props.className,
302
- fill: "currentColor",
303
334
  height: "1em",
304
335
  viewBox: "0 0 20 20",
305
336
  width: "1em",
306
337
  xmlns: "http://www.w3.org/2000/svg"
307
338
  },
308
- /* @__PURE__ */ React6.createElement(
339
+ /* @__PURE__ */ React7.createElement(
309
340
  "path",
310
341
  {
311
342
  d: "M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z",
@@ -317,25 +348,24 @@ function SendIcon(props) {
317
348
 
318
349
  // src/components/dropZone/index.tsx
319
350
  import { hooks } from "botframework-webchat-component";
320
- import cx2 from "classnames";
321
- import React8, { memo as memo5, useCallback as useCallback3, useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
351
+ import cx3 from "classnames";
352
+ import React9, { memo as memo6, useCallback as useCallback3, useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
322
353
  import { useRefFrom as useRefFrom3 } from "use-ref-from";
323
354
 
324
355
  // src/icons/AddDocumentIcon.tsx
325
- import React7 from "react";
356
+ import React8 from "react";
326
357
  function AddDocumentIcon(props) {
327
- return /* @__PURE__ */ React7.createElement(
358
+ return /* @__PURE__ */ React8.createElement(
328
359
  "svg",
329
360
  {
330
361
  "aria-hidden": "true",
331
362
  className: props.className,
332
- fill: "currentColor",
333
363
  height: "1em",
334
364
  viewBox: "0 0 20 20",
335
365
  width: "1em",
336
366
  xmlns: "http://www.w3.org/2000/svg"
337
367
  },
338
- /* @__PURE__ */ React7.createElement(
368
+ /* @__PURE__ */ React8.createElement(
339
369
  "path",
340
370
  {
341
371
  d: "M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z",
@@ -403,10 +433,10 @@ var DropZone = (props) => {
403
433
  },
404
434
  [onFilesAddedRef, setDropZoneState]
405
435
  );
406
- return dropZoneState ? /* @__PURE__ */ React8.createElement(
436
+ return dropZoneState ? /* @__PURE__ */ React9.createElement(
407
437
  "div",
408
438
  {
409
- className: cx2(classNames["sendbox__attachment-drop-zone"], {
439
+ className: cx3(classNames["sendbox__attachment-drop-zone"], {
410
440
  [classNames["sendbox__attachment-drop-zone--droppable"]]: dropZoneState === "droppable"
411
441
  }),
412
442
  "data-testid": testIds_default.sendBoxDropZone,
@@ -414,25 +444,25 @@ var DropZone = (props) => {
414
444
  onDrop: handleDrop,
415
445
  ref: dropZoneRef
416
446
  },
417
- /* @__PURE__ */ React8.createElement(AddDocumentIcon, { className: classNames["sendbox__attachment-drop-zone-icon"] }),
447
+ /* @__PURE__ */ React9.createElement(AddDocumentIcon, { className: classNames["sendbox__attachment-drop-zone-icon"] }),
418
448
  localize("TEXT_INPUT_DROP_ZONE")
419
449
  ) : null;
420
450
  };
421
451
  DropZone.displayName = "DropZone";
422
- var dropZone_default2 = memo5(DropZone);
452
+ var dropZone_default2 = memo6(DropZone);
423
453
 
424
454
  // src/components/DropZone.tsx
425
455
  var DropZone_default = dropZone_default2;
426
456
 
427
457
  // src/components/suggestedActions/index.tsx
428
458
  import { hooks as hooks3 } from "botframework-webchat-component";
429
- import cx4 from "classnames";
430
- import React11, { memo as memo8 } from "react";
459
+ import cx5 from "classnames";
460
+ import React12, { memo as memo9 } from "react";
431
461
 
432
462
  // src/components/suggestedActions/SuggestedAction.tsx
433
463
  import { hooks as hooks2 } from "botframework-webchat-component";
434
- import cx3 from "classnames";
435
- import React10, { memo as memo7, useCallback as useCallback4, useRef as useRef4 } from "react";
464
+ import cx4 from "classnames";
465
+ import React11, { memo as memo8, useCallback as useCallback4, useRef as useRef4 } from "react";
436
466
 
437
467
  // src/components/suggestedActions/SuggestedAction.module.css
438
468
  var SuggestedAction_default = {
@@ -441,13 +471,13 @@ var SuggestedAction_default = {
441
471
  };
442
472
 
443
473
  // src/components/suggestedActions/AccessibleButton.tsx
444
- import React9, { forwardRef as forwardRef2, memo as memo6, useRef as useRef3 } from "react";
474
+ import React10, { forwardRef as forwardRef2, memo as memo7, useRef as useRef3 } from "react";
445
475
  var preventDefaultHandler = (event) => event.preventDefault();
446
476
  var AccessibleButton = forwardRef2(
447
477
  ({ "aria-hidden": ariaHidden, children, disabled, onClick, tabIndex, ...props }, forwardedRef) => {
448
478
  const targetRef = useRef3(null);
449
479
  const ref = forwardedRef || targetRef;
450
- return /* @__PURE__ */ React9.createElement(
480
+ return /* @__PURE__ */ React10.createElement(
451
481
  "button",
452
482
  {
453
483
  "aria-disabled": disabled ? "true" : "false",
@@ -466,7 +496,7 @@ var AccessibleButton = forwardRef2(
466
496
  );
467
497
  }
468
498
  );
469
- var AccessibleButton_default = memo6(AccessibleButton);
499
+ var AccessibleButton_default = memo7(AccessibleButton);
470
500
 
471
501
  // src/components/suggestedActions/SuggestedAction.tsx
472
502
  var { useDisabled, useFocus, usePerformCardAction, useScrollToEnd, useStyleSet, useSuggestedActions } = hooks2;
@@ -499,20 +529,20 @@ function SuggestedAction({
499
529
  },
500
530
  [displayText, focus, performCardAction, scrollToEnd, setSuggestedActions, text, type, value]
501
531
  );
502
- return /* @__PURE__ */ React10.createElement(
532
+ return /* @__PURE__ */ React11.createElement(
503
533
  AccessibleButton_default,
504
534
  {
505
- className: cx3(classNames["suggested-action"], suggestedActionStyleSet + "", (className || "") + ""),
535
+ className: cx4(classNames["suggested-action"], suggestedActionStyleSet + "", (className || "") + ""),
506
536
  disabled,
507
537
  onClick: handleClick,
508
538
  ref: focusRef,
509
539
  type: "button"
510
540
  },
511
- image && /* @__PURE__ */ React10.createElement("img", { alt: imageAlt, className: classNames["suggested-action__image"], src: image }),
512
- /* @__PURE__ */ React10.createElement("span", null, buttonText)
541
+ image && /* @__PURE__ */ React11.createElement("img", { alt: imageAlt, className: classNames["suggested-action__image"], src: image }),
542
+ /* @__PURE__ */ React11.createElement("span", null, buttonText)
513
543
  );
514
544
  }
515
- var SuggestedAction_default2 = memo7(SuggestedAction);
545
+ var SuggestedAction_default2 = memo8(SuggestedAction);
516
546
 
517
547
  // src/components/suggestedActions/private/computeSuggestedActionText.ts
518
548
  function computeSuggestedActionText(cardAction) {
@@ -541,13 +571,13 @@ function SuggestedActionStackedOrFlowContainer(props) {
541
571
  const [{ suggestedActionLayout }] = useStyleOptions();
542
572
  const [{ suggestedActions: suggestedActionsStyleSet }] = useStyleSet2();
543
573
  const classNames = useStyles_default(suggestedActions_default);
544
- return /* @__PURE__ */ React11.createElement(
574
+ return /* @__PURE__ */ React12.createElement(
545
575
  "div",
546
576
  {
547
577
  "aria-label": props["aria-label"],
548
578
  "aria-live": "polite",
549
579
  "aria-orientation": "vertical",
550
- className: cx4(
580
+ className: cx5(
551
581
  classNames["suggested-actions"],
552
582
  suggestedActionsStyleSet + "",
553
583
  {
@@ -558,7 +588,7 @@ function SuggestedActionStackedOrFlowContainer(props) {
558
588
  ),
559
589
  role: "toolbar"
560
590
  },
561
- !!props.children && !!React11.Children.count(props.children) && props.children
591
+ !!props.children && !!React12.Children.count(props.children) && props.children
562
592
  );
563
593
  }
564
594
  function SuggestedActions() {
@@ -570,7 +600,7 @@ function SuggestedActions() {
570
600
  if (!suggestedActions?.length) {
571
601
  return null;
572
602
  }
573
- return /* @__PURE__ */ React11.createElement(
603
+ return /* @__PURE__ */ React12.createElement(
574
604
  SuggestedAction_default2,
575
605
  {
576
606
  buttonText: computeSuggestedActionText(cardAction),
@@ -585,7 +615,7 @@ function SuggestedActions() {
585
615
  }
586
616
  );
587
617
  });
588
- return /* @__PURE__ */ React11.createElement(
618
+ return /* @__PURE__ */ React12.createElement(
589
619
  SuggestedActionStackedOrFlowContainer,
590
620
  {
591
621
  "aria-label": localize("SUGGESTED_ACTIONS_LABEL_ALT"),
@@ -594,31 +624,30 @@ function SuggestedActions() {
594
624
  children
595
625
  );
596
626
  }
597
- var suggestedActions_default2 = memo8(SuggestedActions);
627
+ var suggestedActions_default2 = memo9(SuggestedActions);
598
628
 
599
629
  // src/components/SuggestedActions.tsx
600
630
  var SuggestedActions_default = suggestedActions_default2;
601
631
 
602
632
  // src/components/sendbox/AddAttachmentButton.tsx
603
633
  import { hooks as hooks4 } from "botframework-webchat-component";
604
- import React14, { useCallback as useCallback5, useRef as useRef5, memo as memo10 } from "react";
634
+ import React15, { useCallback as useCallback5, useRef as useRef5, memo as memo11 } from "react";
605
635
  import { useRefFrom as useRefFrom4 } from "use-ref-from";
606
636
 
607
637
  // src/icons/AttachmentIcon.tsx
608
- import React12 from "react";
638
+ import React13 from "react";
609
639
  function AttachmentIcon(props) {
610
- return /* @__PURE__ */ React12.createElement(
640
+ return /* @__PURE__ */ React13.createElement(
611
641
  "svg",
612
642
  {
613
643
  "aria-hidden": "true",
614
644
  className: props.className,
615
- fill: "currentColor",
616
645
  height: "1em",
617
646
  viewBox: "0 0 20 20",
618
647
  width: "1em",
619
648
  xmlns: "http://www.w3.org/2000/svg"
620
649
  },
621
- /* @__PURE__ */ React12.createElement(
650
+ /* @__PURE__ */ React13.createElement(
622
651
  "path",
623
652
  {
624
653
  d: "m4.83 10.48 5.65-5.65a3 3 0 0 1 4.25 4.24L8 15.8a1.5 1.5 0 0 1-2.12-2.12l6-6.01a.5.5 0 1 0-.7-.71l-6 6.01a2.5 2.5 0 0 0 3.53 3.54l6.71-6.72a4 4 0 1 0-5.65-5.66L4.12 9.78a.5.5 0 0 0 .7.7Z",
@@ -629,26 +658,29 @@ function AttachmentIcon(props) {
629
658
  }
630
659
 
631
660
  // src/components/sendbox/Toolbar.tsx
632
- import cx5 from "classnames";
633
- import React13, { memo as memo9 } from "react";
661
+ import cx6 from "classnames";
662
+ import React14, { memo as memo10 } from "react";
634
663
 
635
664
  // src/components/sendbox/Toolbar.module.css
636
665
  var Toolbar_default = {
637
666
  sendbox__toolbar: "Toolbar_sendbox__toolbar",
638
667
  "sendbox__toolbar-button": "Toolbar_sendbox__toolbar-button",
668
+ "sendbox__toolbar-button--selected": "Toolbar_sendbox__toolbar-button--selected",
639
669
  "sendbox__toolbar-separator": "Toolbar_sendbox__toolbar-separator"
640
670
  };
641
671
 
642
672
  // src/components/sendbox/Toolbar.tsx
643
673
  var preventDefaultHandler2 = (event) => event.preventDefault();
644
- var ToolbarButton = memo9(
674
+ var ToolbarButton = memo10(
645
675
  (props) => {
646
676
  const classNames = useStyles_default(Toolbar_default);
647
- return /* @__PURE__ */ React13.createElement(
677
+ return /* @__PURE__ */ React14.createElement(
648
678
  "button",
649
679
  {
650
680
  "aria-label": props["aria-label"],
651
- className: cx5(classNames["sendbox__toolbar-button"], props.className),
681
+ className: cx6(classNames["sendbox__toolbar-button"], props.className, {
682
+ [classNames["sendbox__toolbar-button--selected"]]: props.selected
683
+ }),
652
684
  "data-testid": props["data-testid"],
653
685
  onClick: props.disabled ? preventDefaultHandler2 : props.onClick,
654
686
  type: props.type === "submit" ? "submit" : "button",
@@ -662,19 +694,19 @@ var ToolbarButton = memo9(
662
694
  }
663
695
  );
664
696
  ToolbarButton.displayName = "ToolbarButton";
665
- var Toolbar = memo9((props) => {
697
+ var Toolbar = memo10((props) => {
666
698
  const classNames = useStyles_default(Toolbar_default);
667
- return /* @__PURE__ */ React13.createElement("div", { className: cx5(classNames["sendbox__toolbar"], props.className) }, props.children);
699
+ return /* @__PURE__ */ React14.createElement("div", { className: cx6(classNames["sendbox__toolbar"], props.className) }, props.children);
668
700
  });
669
701
  Toolbar.displayName = "Toolbar";
670
- var ToolbarSeparator = memo9(
702
+ var ToolbarSeparator = memo10(
671
703
  (props) => {
672
704
  const classNames = useStyles_default(Toolbar_default);
673
- return /* @__PURE__ */ React13.createElement(
705
+ return /* @__PURE__ */ React14.createElement(
674
706
  "div",
675
707
  {
676
708
  "aria-orientation": "vertical",
677
- className: cx5(classNames["sendbox__toolbar-separator"], props.className),
709
+ className: cx6(classNames["sendbox__toolbar-separator"], props.className),
678
710
  role: "separator"
679
711
  }
680
712
  );
@@ -708,7 +740,7 @@ function AddAttachmentButton(props) {
708
740
  },
709
741
  [inputRef, onFilesAddedRef]
710
742
  );
711
- return /* @__PURE__ */ React14.createElement("div", { className: classNames["sendbox__add-attachment"] }, /* @__PURE__ */ React14.createElement(
743
+ return /* @__PURE__ */ React15.createElement("div", { className: classNames["sendbox__add-attachment"] }, /* @__PURE__ */ React15.createElement(
712
744
  "input",
713
745
  {
714
746
  accept: uploadAccept,
@@ -723,21 +755,22 @@ function AddAttachmentButton(props) {
723
755
  tabIndex: -1,
724
756
  type: "file"
725
757
  }
726
- ), /* @__PURE__ */ React14.createElement(
758
+ ), /* @__PURE__ */ React15.createElement(
727
759
  ToolbarButton,
728
760
  {
729
761
  "aria-label": localize("TEXT_INPUT_UPLOAD_BUTTON_ALT"),
730
762
  "data-testid": testIds_default.sendBoxUploadButton,
731
763
  onClick: handleClick
732
764
  },
733
- /* @__PURE__ */ React14.createElement(AttachmentIcon, null)
765
+ /* @__PURE__ */ React15.createElement(AttachmentIcon, null)
734
766
  ));
735
767
  }
736
- var AddAttachmentButton_default2 = memo10(AddAttachmentButton);
768
+ var AddAttachmentButton_default2 = memo11(AddAttachmentButton);
737
769
 
738
770
  // src/components/sendbox/Attachments.tsx
739
771
  import { hooks as hooks5 } from "botframework-webchat-component";
740
- import React15, { memo as memo11 } from "react";
772
+ import React16, { memo as memo12 } from "react";
773
+ import cx7 from "classnames";
741
774
 
742
775
  // src/components/sendbox/Attachments.module.css
743
776
  var Attachments_default = {
@@ -754,16 +787,17 @@ var attachmentsPluralStringIds = {
754
787
  other: "TEXT_INPUT_ATTACHMENTS_OTHER"
755
788
  };
756
789
  function Attachments({
757
- attachments
790
+ attachments,
791
+ className
758
792
  }) {
759
793
  const classNames = useStyles_default(Attachments_default);
760
794
  const localizeWithPlural = useLocalizer4({ plural: true });
761
- return attachments.length ? /* @__PURE__ */ React15.createElement("div", { className: classNames["sendbox__attachment"] }, localizeWithPlural(attachmentsPluralStringIds, attachments.length)) : null;
795
+ return attachments.length ? /* @__PURE__ */ React16.createElement("div", { className: cx7(classNames["sendbox__attachment"], className) }, localizeWithPlural(attachmentsPluralStringIds, attachments.length)) : null;
762
796
  }
763
- var Attachments_default2 = memo11(Attachments);
797
+ var Attachments_default2 = memo12(Attachments);
764
798
 
765
799
  // src/components/sendbox/ErrorMessage.tsx
766
- import React16, { memo as memo12 } from "react";
800
+ import React17, { memo as memo13 } from "react";
767
801
 
768
802
  // src/components/sendbox/ErrorMessage.module.css
769
803
  var ErrorMessage_default = {
@@ -775,30 +809,29 @@ function ErrorMessage(props) {
775
809
  const classNames = useStyles_default(ErrorMessage_default);
776
810
  return (
777
811
  // eslint-disable-next-line react/forbid-dom-props
778
- /* @__PURE__ */ React16.createElement("span", { className: classNames["sendbox__error-message"], id: props.id, role: "alert" }, props.error)
812
+ /* @__PURE__ */ React17.createElement("span", { className: classNames["sendbox__error-message"], id: props.id, role: "alert" }, props.error)
779
813
  );
780
814
  }
781
- var ErrorMessage_default2 = memo12(ErrorMessage);
815
+ var ErrorMessage_default2 = memo13(ErrorMessage);
782
816
 
783
817
  // src/components/sendbox/TelephoneKeypadToolbarButton.tsx
784
- import React18, { memo as memo13, useCallback as useCallback6 } from "react";
818
+ import React19, { memo as memo14, useCallback as useCallback6 } from "react";
785
819
  import { hooks as hooks6 } from "botframework-webchat-component";
786
820
 
787
821
  // src/icons/TelephoneKeypad.tsx
788
- import React17 from "react";
822
+ import React18 from "react";
789
823
  function TelephoneKeypadIcon(props) {
790
- return /* @__PURE__ */ React17.createElement(
824
+ return /* @__PURE__ */ React18.createElement(
791
825
  "svg",
792
826
  {
793
827
  "aria-hidden": "true",
794
828
  className: props.className,
795
- fill: "currentColor",
796
829
  height: "1em",
797
830
  viewBox: "0 0 20 20",
798
831
  width: "1em",
799
832
  xmlns: "http://www.w3.org/2000/svg"
800
833
  },
801
- /* @__PURE__ */ React17.createElement(
834
+ /* @__PURE__ */ React18.createElement(
802
835
  "path",
803
836
  {
804
837
  d: "M6 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Zm0 4a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM7.25 12a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM10 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM11.25 16a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 5.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM15.25 8a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0ZM14 13.25a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z",
@@ -810,26 +843,27 @@ function TelephoneKeypadIcon(props) {
810
843
 
811
844
  // src/components/sendbox/TelephoneKeypadToolbarButton.tsx
812
845
  var { useLocalizer: useLocalizer5 } = hooks6;
813
- var TelephoneKeypadToolbarButton = memo13(() => {
814
- const [, setTelephoneKeypadShown] = useShown();
846
+ var TelephoneKeypadToolbarButton = memo14(() => {
847
+ const [telephoneKeypadShown, setTelephoneKeypadShown] = useShown();
815
848
  const localize = useLocalizer5();
816
849
  const handleClick = useCallback6(() => setTelephoneKeypadShown((shown) => !shown), [setTelephoneKeypadShown]);
817
- return /* @__PURE__ */ React18.createElement(
850
+ return /* @__PURE__ */ React19.createElement(
818
851
  ToolbarButton,
819
852
  {
820
853
  "aria-label": localize("TEXT_INPUT_TELEPHONE_KEYPAD_BUTTON_ALT"),
821
854
  "data-testid": testIds_default.sendBoxTelephoneKeypadToolbarButton,
822
- onClick: handleClick
855
+ onClick: handleClick,
856
+ selected: telephoneKeypadShown
823
857
  },
824
- /* @__PURE__ */ React18.createElement(TelephoneKeypadIcon, null)
858
+ /* @__PURE__ */ React19.createElement(TelephoneKeypadIcon, null)
825
859
  );
826
860
  });
827
861
  TelephoneKeypadToolbarButton.displayName = "SendBox.TelephoneKeypadToolbarButton";
828
862
  var TelephoneKeypadToolbarButton_default = TelephoneKeypadToolbarButton;
829
863
 
830
864
  // src/components/sendbox/TextArea.tsx
831
- import cx6 from "classnames";
832
- import React19, { forwardRef as forwardRef3, useCallback as useCallback7 } from "react";
865
+ import cx8 from "classnames";
866
+ import React20, { forwardRef as forwardRef3, useCallback as useCallback7 } from "react";
833
867
 
834
868
  // src/components/sendbox/TextArea.module.css
835
869
  var TextArea_default = {
@@ -852,10 +886,10 @@ var TextArea = forwardRef3((props, ref) => {
852
886
  }
853
887
  }
854
888
  }, []);
855
- return /* @__PURE__ */ React19.createElement(
889
+ return /* @__PURE__ */ React20.createElement(
856
890
  "div",
857
891
  {
858
- className: cx6(
892
+ className: cx8(
859
893
  classNames["sendbox__text-area"],
860
894
  {
861
895
  [classNames["sendbox__text-area--hidden"]]: props.hidden
@@ -864,10 +898,10 @@ var TextArea = forwardRef3((props, ref) => {
864
898
  ),
865
899
  role: props.hidden ? "hidden" : void 0
866
900
  },
867
- /* @__PURE__ */ React19.createElement(
901
+ /* @__PURE__ */ React20.createElement(
868
902
  "div",
869
903
  {
870
- className: cx6(
904
+ className: cx8(
871
905
  classNames["sendbox__text-area-doppelganger"],
872
906
  classNames["sendbox__text-area-shared"],
873
907
  classNames["sendbox__text-area-input--scroll"]
@@ -876,11 +910,11 @@ var TextArea = forwardRef3((props, ref) => {
876
910
  props.value || props.placeholder,
877
911
  " "
878
912
  ),
879
- /* @__PURE__ */ React19.createElement(
913
+ /* @__PURE__ */ React20.createElement(
880
914
  "textarea",
881
915
  {
882
916
  "aria-label": props["aria-label"],
883
- className: cx6(
917
+ className: cx8(
884
918
  classNames["sendbox__text-area-input"],
885
919
  classNames["sendbox__text-area-shared"],
886
920
  classNames["sendbox__text-area-input--scroll"]
@@ -939,6 +973,10 @@ function useUniqueId(prefix) {
939
973
  var sendbox_default = {
940
974
  sendbox: "sendbox_sendbox",
941
975
  sendbox__sendbox: "sendbox_sendbox__sendbox",
976
+ "sendbox__attachment--in-grid": "sendbox_sendbox__attachment--in-grid",
977
+ "sendbox__text-area--in-grid": "sendbox_sendbox__text-area--in-grid",
978
+ "sendbox__sendbox-controls--in-grid": "sendbox_sendbox__sendbox-controls--in-grid",
979
+ "sendbox__telephone-keypad--in-grid": "sendbox_sendbox__telephone-keypad--in-grid",
942
980
  "sendbox__sendbox-text": "sendbox_sendbox__sendbox-text",
943
981
  "sendbox__sendbox-controls": "sendbox_sendbox__sendbox-controls",
944
982
  "sendbox__text-counter": "sendbox_sendbox__text-counter",
@@ -1017,18 +1055,11 @@ function SendBox(props) {
1017
1055
  "aria-errormessage": errorMessageId
1018
1056
  }
1019
1057
  };
1020
- return /* @__PURE__ */ React20.createElement("form", { ...aria, className: cx7(classNames["sendbox"], props.className), onSubmit: handleFormSubmit }, /* @__PURE__ */ React20.createElement(SuggestedActions_default, null), /* @__PURE__ */ React20.createElement("div", { className: cx7(classNames["sendbox__sendbox"]), onClickCapture: handleSendBoxClick }, /* @__PURE__ */ React20.createElement(
1021
- Surrogate_default,
1022
- {
1023
- autoFocus: true,
1024
- isHorizontal: false,
1025
- onButtonClick: handleTelephoneKeypadButtonClick
1026
- }
1027
- ), /* @__PURE__ */ React20.createElement(
1058
+ return /* @__PURE__ */ React21.createElement("form", { ...aria, className: cx9(classNames["sendbox"], props.className), onSubmit: handleFormSubmit }, /* @__PURE__ */ React21.createElement(SuggestedActions_default, null), /* @__PURE__ */ React21.createElement("div", { className: cx9(classNames["sendbox__sendbox"]), onClickCapture: handleSendBoxClick }, /* @__PURE__ */ React21.createElement(
1028
1059
  TextArea_default2,
1029
1060
  {
1030
1061
  "aria-label": isMessageLengthExceeded ? localize("TEXT_INPUT_LENGTH_EXCEEDED_ALT") : localize("TEXT_INPUT_ALT"),
1031
- className: classNames["sendbox__sendbox-text"],
1062
+ className: cx9(classNames["sendbox__sendbox-text"], classNames["sendbox__text-area--in-grid"]),
1032
1063
  "data-testid": testIds_default.sendBoxTextBox,
1033
1064
  hidden: telephoneKeypadShown,
1034
1065
  onInput: handleMessageChange,
@@ -1036,38 +1067,46 @@ function SendBox(props) {
1036
1067
  ref: inputRef,
1037
1068
  value: message
1038
1069
  }
1039
- ), /* @__PURE__ */ React20.createElement(Attachments_default2, { attachments }), /* @__PURE__ */ React20.createElement("div", { className: cx7(classNames["sendbox__sendbox-controls"]) }, maxMessageLength && /* @__PURE__ */ React20.createElement(
1070
+ ), /* @__PURE__ */ React21.createElement(
1071
+ Surrogate_default,
1072
+ {
1073
+ autoFocus: true,
1074
+ className: classNames["sendbox__telephone-keypad--in-grid"],
1075
+ isHorizontal: false,
1076
+ onButtonClick: handleTelephoneKeypadButtonClick
1077
+ }
1078
+ ), /* @__PURE__ */ React21.createElement(Attachments_default2, { attachments, className: classNames["sendbox__attachment--in-grid"] }), /* @__PURE__ */ React21.createElement("div", { className: cx9(classNames["sendbox__sendbox-controls"], classNames["sendbox__sendbox-controls--in-grid"]) }, !telephoneKeypadShown && maxMessageLength && /* @__PURE__ */ React21.createElement(
1040
1079
  "div",
1041
1080
  {
1042
- className: cx7(classNames["sendbox__text-counter"], {
1081
+ className: cx9(classNames["sendbox__text-counter"], {
1043
1082
  [classNames["sendbox__text-counter--error"]]: isMessageLengthExceeded
1044
1083
  })
1045
1084
  },
1046
1085
  `${message.length}/${maxMessageLength}`
1047
- ), /* @__PURE__ */ React20.createElement(Toolbar, null, !hideTelephoneKeypadButton && /* @__PURE__ */ React20.createElement(TelephoneKeypadToolbarButton_default, null), !hideUploadButton && /* @__PURE__ */ React20.createElement(AddAttachmentButton_default2, { onFilesAdded: handleAddFiles }), /* @__PURE__ */ React20.createElement(ToolbarSeparator, null), /* @__PURE__ */ React20.createElement(
1086
+ ), /* @__PURE__ */ React21.createElement(Toolbar, null, !hideTelephoneKeypadButton && /* @__PURE__ */ React21.createElement(TelephoneKeypadToolbarButton_default, null), !hideUploadButton && /* @__PURE__ */ React21.createElement(AddAttachmentButton_default2, { onFilesAdded: handleAddFiles }), /* @__PURE__ */ React21.createElement(ToolbarSeparator, null), /* @__PURE__ */ React21.createElement(
1048
1087
  ToolbarButton,
1049
1088
  {
1050
1089
  "aria-label": localize("TEXT_INPUT_SEND_BUTTON_ALT"),
1051
1090
  "data-testid": testIds_default.sendBoxSendButton,
1052
- disabled: isMessageLengthExceeded,
1091
+ disabled: isMessageLengthExceeded || telephoneKeypadShown,
1053
1092
  type: "submit"
1054
1093
  },
1055
- /* @__PURE__ */ React20.createElement(SendIcon, null)
1056
- ))), /* @__PURE__ */ React20.createElement(DropZone_default, { onFilesAdded: handleAddFiles }), /* @__PURE__ */ React20.createElement(ErrorMessage_default2, { error: errorMessage, id: errorMessageId })));
1094
+ /* @__PURE__ */ React21.createElement(SendIcon, null)
1095
+ ))), /* @__PURE__ */ React21.createElement(DropZone_default, { onFilesAdded: handleAddFiles }), /* @__PURE__ */ React21.createElement(ErrorMessage_default2, { error: errorMessage, id: errorMessageId })));
1057
1096
  }
1058
- var sendbox_default2 = memo14(SendBox);
1097
+ var sendbox_default2 = memo15(SendBox);
1059
1098
 
1060
1099
  // src/components/SendBox.tsx
1061
1100
  var SendBox_default = sendbox_default2;
1062
1101
 
1063
1102
  // src/private/FluentThemeProvider.tsx
1064
- var { ThemeProvider } = Components;
1103
+ var { ThemeProvider } = Components2;
1065
1104
  var sendBoxMiddleware = [() => () => () => SendBox_default];
1066
- var FluentThemeProvider = ({ children }) => /* @__PURE__ */ React21.createElement(WebchatTheme, null, /* @__PURE__ */ React21.createElement(Provider_default, null, /* @__PURE__ */ React21.createElement(ThemeProvider, { sendBoxMiddleware }, children)));
1067
- var FluentThemeProvider_default = memo15(FluentThemeProvider);
1105
+ var FluentThemeProvider = ({ children }) => /* @__PURE__ */ React22.createElement(WebchatTheme, null, /* @__PURE__ */ React22.createElement(Provider_default, null, /* @__PURE__ */ React22.createElement(ThemeProvider, { sendBoxMiddleware }, children)));
1106
+ var FluentThemeProvider_default = memo16(FluentThemeProvider);
1068
1107
 
1069
1108
  // src/index.ts
1070
- injectMetaTag("botframework-webchat-fluent-theme:version", "4.17.0-main.20240416.4ff01ae");
1109
+ injectMetaTag("botframework-webchat-fluent-theme:version", "4.17.0-main.20240419.2240f2a");
1071
1110
  injectStyles();
1072
1111
  export {
1073
1112
  FluentThemeProvider_default as FluentThemeProvider,