botframework-webchat-fluent-theme 4.17.0-main.20240416.4ff01ae → 4.17.0-main.20240416.e3f5401

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 (45) hide show
  1. package/dist/botframework-webchat-fluent-theme.development.js +2065 -357
  2. package/dist/botframework-webchat-fluent-theme.development.js.map +1 -1
  3. package/dist/botframework-webchat-fluent-theme.production.min.js +3 -1
  4. package/dist/botframework-webchat-fluent-theme.production.min.js.map +1 -1
  5. package/dist/index.js +632 -333
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +516 -217
  8. package/dist/index.mjs.map +1 -1
  9. package/package.json +5 -4
  10. package/src/components/Theme.tsx +65 -4
  11. package/src/components/dropZone/index.tsx +31 -6
  12. package/src/components/sendbox/AddAttachmentButton.tsx +17 -5
  13. package/src/components/sendbox/Attachments.tsx +12 -3
  14. package/src/components/sendbox/ErrorMessage.tsx +13 -2
  15. package/src/components/sendbox/TelephoneKeypadToolbarButton.tsx +1 -1
  16. package/src/components/sendbox/TextArea.tsx +70 -9
  17. package/src/components/sendbox/Toolbar.tsx +55 -4
  18. package/src/components/sendbox/index.tsx +69 -9
  19. package/src/components/suggestedActions/SuggestedAction.tsx +43 -3
  20. package/src/components/suggestedActions/index.tsx +29 -6
  21. package/src/components/telephoneKeypad/private/Button.tsx +67 -5
  22. package/src/components/telephoneKeypad/private/TelephoneKeypad.tsx +35 -4
  23. package/src/index.ts +0 -3
  24. package/src/private/useStyleToEmotionObject.ts +32 -0
  25. package/src/styles/index.ts +15 -0
  26. package/src/tsconfig.json +1 -2
  27. package/dist/botframework-webchat-fluent-theme.development.css.map +0 -1
  28. package/dist/botframework-webchat-fluent-theme.production.min.css.map +0 -1
  29. package/dist/index.css.map +0 -1
  30. package/src/components/Theme.module.css +0 -60
  31. package/src/components/dropZone/index.module.css +0 -23
  32. package/src/components/sendbox/AddAttachmentButton.module.css +0 -10
  33. package/src/components/sendbox/Attachments.module.css +0 -7
  34. package/src/components/sendbox/ErrorMessage.module.css +0 -9
  35. package/src/components/sendbox/TextArea.module.css +0 -61
  36. package/src/components/sendbox/Toolbar.module.css +0 -49
  37. package/src/components/sendbox/index.module.css +0 -58
  38. package/src/components/suggestedActions/SuggestedAction.module.css +0 -34
  39. package/src/components/suggestedActions/index.module.css +0 -23
  40. package/src/components/telephoneKeypad/private/Button.module.css +0 -62
  41. package/src/components/telephoneKeypad/private/TelephoneKeypad.module.css +0 -30
  42. package/src/env.d.ts +0 -7
  43. package/src/styles/injectStyle.ts +0 -9
  44. package/src/styles/useStyles.ts +0 -19
  45. package/src/styles.ts +0 -4
@@ -2,10 +2,72 @@ import React, { forwardRef, memo, useCallback, type Ref } from 'react';
2
2
 
3
3
  import { useRefFrom } from 'use-ref-from';
4
4
 
5
+ import { useStyles } from '../../../styles';
5
6
  import { type DTMF } from '../types';
6
7
 
7
- import styles from './Button.module.css';
8
- import { useStyles } from '../../../styles';
8
+ const styles = {
9
+ 'webchat__telephone-keypad__button': {
10
+ '-webkit-user-select': 'none',
11
+ alignItems: 'center',
12
+ appearance: 'none',
13
+ // backgroundColor: isDarkTheme() || isHighContrastTheme() ? black : white,
14
+ backgroundColor: 'White',
15
+ borderRadius: '100%',
16
+
17
+ // Whitelabel styles
18
+ // border: `solid 1px ${isHighContrastTheme() ? white : isDarkTheme() ? gray160 : gray40}`,
19
+ // color: 'inherit',
20
+
21
+ border: 'solid 1px var(--webchat-colorNeutralStroke1)',
22
+ color: 'var(--webchat-colorGray200)',
23
+ fontWeight: 'var(--webchat-fontWeightSemibold)',
24
+
25
+ cursor: 'pointer',
26
+ display: 'flex',
27
+ flexDirection: 'column',
28
+ height: 60,
29
+ opacity: 0.7,
30
+ padding: 0,
31
+ position: 'relative',
32
+ touchAction: 'none',
33
+ userSelect: 'none',
34
+ width: 60,
35
+
36
+ '&:hover': {
37
+ // backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30
38
+ backgroundColor: 'var(--webchat-colorGray30)'
39
+ }
40
+ },
41
+
42
+ 'webchat__telephone-keypad__button__ruby': {
43
+ // color: isHighContrastTheme() ? white : isDarkTheme() ? gray40 : gray160,
44
+ color: 'var(--webchat-colorGray190)',
45
+ fontSize: 10
46
+ },
47
+
48
+ 'webchat__telephone-keypad__button__text': {
49
+ fontSize: 24,
50
+ marginTop: 8
51
+ },
52
+
53
+ 'webchat__telephone-keypad--horizontal': {
54
+ '& .webchat__telephone-keypad__button': {
55
+ height: 32,
56
+ width: 32,
57
+ margin: '8px 4px',
58
+ justifyContent: 'center'
59
+ },
60
+
61
+ 'webchat__telephone-keypad__button__ruby': {
62
+ display: 'none'
63
+ },
64
+
65
+ '& .webchat__telephone-keypad__button__text': {
66
+ fontSize: 20,
67
+ marginTop: 0
68
+ }
69
+ }
70
+ };
9
71
 
10
72
  type Props = Readonly<{
11
73
  button: DTMF;
@@ -25,16 +87,16 @@ const Button = memo(
25
87
 
26
88
  return (
27
89
  <button
28
- className={classNames['telephone-keypad__button']}
90
+ className={classNames['webchat__telephone-keypad__button']}
29
91
  data-testid={dataTestId}
30
92
  onClick={handleClick}
31
93
  ref={ref}
32
94
  type="button"
33
95
  >
34
- <span className={classNames['telephone-keypad__button__text']}>
96
+ <span className={classNames['webchat__telephone-keypad__button__text']}>
35
97
  {button === 'star' ? '\u2217' : button === 'pound' ? '#' : button}
36
98
  </span>
37
- {!!ruby && <ruby className={classNames['telephone-keypad__button__ruby']}>{ruby}</ruby>}
99
+ {!!ruby && <ruby className={classNames['webchat__telephone-keypad__button__ruby']}>{ruby}</ruby>}
38
100
  </button>
39
101
  );
40
102
  })
@@ -1,13 +1,44 @@
1
1
  import React, { KeyboardEventHandler, memo, useCallback, useEffect, useRef, type ReactNode } from 'react';
2
2
  import { useRefFrom } from 'use-ref-from';
3
3
 
4
+ import { useStyles } from '../../../styles';
4
5
  import Button from './Button';
5
6
  // import HorizontalDialPadController from './HorizontalDialPadController';
6
7
  import testIds from '../../../testIds';
7
8
  import { type DTMF } from '../types';
8
9
  import useShown from '../useShown';
9
- import styles from './TelephoneKeypad.module.css';
10
- import { useStyles } from '../../../styles';
10
+
11
+ const styles = {
12
+ 'webchat__telephone-keypad': {
13
+ /* Commented out whitelabel styles for now. */
14
+ // background: getHighContrastDarkThemeColor(highContrastColor: black, darkThemeColor: gray190, string, defaultColor: gray10),
15
+ // borderRadius: '8px 8px 0px 0px',
16
+ // boxShadow: '-3px 0px 7px 0px rgba(0, 0, 0, 0.13), -0.6px 0px 1.8px 0px rgba(0, 0, 0, 0.10)',
17
+
18
+ alignItems: 'center',
19
+ background: 'var(--webchat-colorNeutralBackground1)',
20
+ // border: isHighContrastTheme() ? `1px solid ${white}` : 'none',
21
+ border: 'none',
22
+ borderRadius: 'var(--webchat-borderRadiusXLarge)',
23
+ // boxShadow: 'var(--shadow16)',
24
+ display: 'flex',
25
+ flexDirection: 'column',
26
+ fontFamily: 'var(--webchat-fontFamilyBase)',
27
+ justifyContent: 'center'
28
+ // margin: 'var(--spacingHorizontalMNudge)'
29
+ },
30
+
31
+ 'webchat__telephone-keypad__box': {
32
+ boxSizing: 'border-box',
33
+ display: 'grid',
34
+ gap: '16px',
35
+ gridTemplateColumns: 'repeat(3, 1fr)',
36
+ gridTemplateRows: 'repeat(4, 1fr)',
37
+ justifyItems: 'center',
38
+ padding: '16px',
39
+ width: '100%'
40
+ }
41
+ };
11
42
 
12
43
  type Props = Readonly<{
13
44
  autoFocus?: boolean | undefined;
@@ -23,7 +54,7 @@ const Orientation = memo(
23
54
  // <HorizontalDialPadController>{children}</HorizontalDialPadController>
24
55
  false
25
56
  ) : (
26
- <div className={classNames['telephone-keypad__box']}>{children}</div>
57
+ <div className={classNames['webchat__telephone-keypad__box']}>{children}</div>
27
58
  );
28
59
  }
29
60
  );
@@ -64,7 +95,7 @@ const TelephoneKeypad = memo(({ autoFocus, onButtonClick, isHorizontal }: Props)
64
95
  }, [autoFocusRef, firstButtonRef]);
65
96
 
66
97
  return (
67
- <div className={classNames['telephone-keypad']} onKeyDown={handleKeyDown}>
98
+ <div className={classNames['webchat__telephone-keypad']} onKeyDown={handleKeyDown}>
68
99
  <Orientation isHorizontal={isHorizontal}>
69
100
  <Button
70
101
  button="1"
package/src/index.ts CHANGED
@@ -2,12 +2,9 @@ import { injectMetaTag } from 'inject-meta-tag';
2
2
 
3
3
  import FluentThemeProvider from './private/FluentThemeProvider';
4
4
  import testIds from './testIds';
5
- import { injectStyle } from './styles';
6
5
 
7
6
  declare const NPM_PACKAGE_VERSION: string;
8
7
 
9
8
  injectMetaTag('botframework-webchat-fluent-theme:version', NPM_PACKAGE_VERSION);
10
9
 
11
- injectStyle();
12
-
13
10
  export { FluentThemeProvider, testIds };
@@ -0,0 +1,32 @@
1
+ import createEmotion, { type Emotion } from '@emotion/css/create-instance';
2
+ // TODO: [P0] Use `math-random`. Today, it requires "crypto" today, maybe missing "conditions" or what.
3
+ // import random from 'math-random';
4
+ import { useMemo } from 'react';
5
+
6
+ const { random } = Math;
7
+
8
+ const emotionPool: Record<string, Emotion> = {};
9
+ const nonce = '';
10
+
11
+ /* eslint no-magic-numbers: ["error", { "ignore": [0, 2, 5, 26, 65] }] */
12
+
13
+ function createCSSKey() {
14
+ return random()
15
+ .toString(26)
16
+ .substr(2, 5)
17
+ .replace(/\d/gu, (value: string) => String.fromCharCode(value.charCodeAt(0) + 65));
18
+ }
19
+
20
+ export default function useStyleToEmotionObject() {
21
+ return useMemo(() => {
22
+ // Emotion doesn't hash with nonce. We need to provide the pooling mechanism.
23
+ // 1. If 2 instances use different nonce, they should result in different hash;
24
+ // 2. If 2 instances are being mounted, pooling will make sure we render only 1 set of <style> tags, instead of 2.
25
+ const emotion =
26
+ // Prefix "id-" to prevent object injection attack.
27
+ emotionPool[`id-${nonce}`] ||
28
+ (emotionPool[`id-${nonce}`] = createEmotion({ key: `webchat--css-${createCSSKey()}`, nonce }));
29
+
30
+ return (style: TemplateStringsArray) => emotion.css(style);
31
+ }, []);
32
+ }
@@ -0,0 +1,15 @@
1
+ import { useMemo } from 'react';
2
+
3
+ import useStyleToEmotionObject from '../private/useStyleToEmotionObject';
4
+
5
+ export function useStyles<T extends Record<`webchat-fluent__${string}`, any>>(styles: T): Record<keyof T, string> {
6
+ const getClassName = useStyleToEmotionObject();
7
+ // @ts-expect-error: entries/fromEntries don't allow to specify keys type
8
+ return useMemo(
9
+ () =>
10
+ Object.freeze(
11
+ Object.fromEntries(Object.entries(styles).map(([cls, style]) => [cls, `${cls} ${getClassName(style)}`]))
12
+ ),
13
+ [styles, getClassName]
14
+ );
15
+ }
package/src/tsconfig.json CHANGED
@@ -5,8 +5,7 @@
5
5
  "jsx": "react",
6
6
  "moduleResolution": "Bundler",
7
7
  "skipLibCheck": true,
8
- "target": "ESNext",
9
- "plugins": [{ "name": "typescript-plugin-css-modules" }]
8
+ "target": "ESNext"
10
9
  },
11
10
  "extends": "@tsconfig/strictest/tsconfig.json"
12
11
  }
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/telephoneKeypad/private/Button.module.css","../src/components/telephoneKeypad/private/TelephoneKeypad.module.css","../src/components/Theme.module.css","../src/components/dropZone/index.module.css","../src/components/suggestedActions/SuggestedAction.module.css","../src/components/suggestedActions/index.module.css","../src/components/sendbox/Toolbar.module.css","../src/components/sendbox/AddAttachmentButton.module.css","../src/components/sendbox/Attachments.module.css","../src/components/sendbox/ErrorMessage.module.css","../src/components/sendbox/TextArea.module.css","../src/components/sendbox/index.module.css"],"sourcesContent":["\n:global(.webchat-fluent) .telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n /* backgroundColor: isDarkTheme() || isHighContrastTheme() ? black : white, */\n background-color: White;\n border-radius: 100%;\n\n /* Whitelabel styles */\n /* border: `solid 1px ${isHighContrastTheme() ? white : isDarkTheme() ? gray160 : gray40}`, */\n /* color: inherit; */\n\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n\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 &:hover {\n /* backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30 */\n background-color: var(--webchat-colorGray30)\n }\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__ruby {\n /* color: isHighContrastTheme() ? white : isDarkTheme() ? gray40 : gray160, */\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n\n:global(.webchat-fluent) .telephone-keypad--horizontal {\n & .telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n };\n\n .telephone-keypad__button__ruby {\n display: none;\n }\n\n & .telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad {\n /* Commented out whitelabel styles for now. */\n /* background: getHighContrastDarkThemeColor(highContrastColor: black, darkThemeColor: gray190, string, defaultColor: gray10), */\n /* borderRadius: '8px 8px 0px 0px; */\n /* boxShadow: '-3px 0px 7px 0px rgba(0, 0, 0, 0.13), -0.6px 0px 1.8px 0px rgba(0, 0, 0, 0.10)', */\n\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n /* border: isHighContrastTheme() ? `1px solid ${white}` : none; */\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n /* boxShadow: var(--shadow16); */\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n /* margin: var(--spacingHorizontalMNudge)' */\n}\n\n:global(.webchat-fluent) .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:global(.webchat-fluent).theme {\n display: contents;\n\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n\n --webchat-colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover, #f5f5f5);\n --webchat-colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed, #e0e0e0);\n\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n\n --webchat-colorCompoundBrandForeground1: var(--colorCompoundBrandForeground1, #077fab);\n\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n --webchat-colorCompoundBrandForeground1Pressed: var(--colorCompoundBrandForeground1Pressed, #01678c);\n\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/colors.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/borderRadius.ts */\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/spacings.ts */\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n}",":global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {\n height: 36px;\n /* Set \"pointer-events: none\" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the \"--droppable\" modifier.*/\n pointer-events: none;\n width: 36px\n}\n",":global(.webchat-fluent) .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 &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover)\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed)\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed\n }\n}\n\n:global(.webchat-fluent) .suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n","\n:global(.webchat-fluent) .suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n &:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px\n }\n\n &.suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n\n &.suggested-actions--stacked {\n flex-direction: column\n }\n}\n",":global(.webchat-fluent) .sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n\n:global(.webchat-fluent) .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 > svg {\n font-size: 20px;\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorSubtleBackgroundHover);\n color: var(--webchat-colorCompoundBrandForeground1Hover);\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorSubtleBackgroundPressed);\n color: var(--webchat-colorCompoundBrandForeground1Pressed);\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n }\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n\n &:first-child, &:last-child, &:only-child {\n display: none\n }\n}\n",":global(.webchat-fluent) .sendbox__add-attachment {\n display: grid\n}\n\n:global(.webchat-fluent) .sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 0;\n}\n",":global(.webchat-fluent) .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",":global(.webchat-fluent) .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",":global(.webchat-fluent) .sendbox__text-area {\n display: grid;\n grid-template-areas: 'main';\n max-height: 200px;\n overflow: hidden;\n}\n\n:global(.webchat-fluent) .sendbox__text-area--hidden {\n /* TODO: Not perfect way of hiding the text box. */\n height: 0;\n visibility: collapse;\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input {\n height: 100%;\n padding: 0\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input--scroll {\n /* Edge uses -webkit-scrollbar if scrollbar-* is not set */\n scrollbar-color: unset;\n scrollbar-width: unset;\n /* Firefox */\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n\n /* Chrome, Edge, and Safari */\n &::-webkit-scrollbar {\n width: 8px\n }\n\n &::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n }\n}\n",":global(.webchat-fluent) .sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n}\n\n:global(.webchat-fluent) .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 &:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n /* TODO clarify with design the color:\n - Teams is using colorCompoundBrandForeground1\n - Fluent is using colorCompoundBrandStroke\n - we are using colorCompoundBrandForeground1Hover */\n box-shadow: inset 0 -6px 0 -3px var(--webchat-colorCompoundBrandForeground1Hover);\n }\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n"],"mappings":";AACQ,CAAC,eAAgB,CAACA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AS;AACT,WAAS,IAAI,IAAI;AACjB,UAAQ;AACV;AAEQ,CAzCC,eAyCgB,CAACC;AACxB,eAAa;AACb,WAAS;AACT,wBAAsB;AACxB;AAEQ,CA/CC,eA+CgB,CAACC;AACxB,SAAO,IAAI;AACX,UAAQ;AACR,eAAa,IAAI;AACjB,aAAW;AACX,eAAa;AACf;AAEQ,CAvDC,eAuDgB,CAACC;AACxB,SAAO,IAAI;AACb;","names":["telephone-keypad__button","telephone-keypad__button__ruby","telephone-keypad__button__text","telephone-keypad--horizontal","telephone-keypad","telephone-keypad__box","theme","sendbox__attachment-drop-zone","sendbox__attachment-drop-zone--droppable","sendbox__attachment-drop-zone-icon","suggested-action","suggested-action__image","suggested-actions","suggested-actions--flow","suggested-actions--stacked","sendbox__toolbar","sendbox__toolbar-button","sendbox__toolbar-separator","sendbox__add-attachment","sendbox__add-attachment-input","sendbox__attachment","sendbox__error-message","sendbox__text-area","sendbox__text-area--hidden","sendbox__text-area-shared","sendbox__text-area-doppelganger","sendbox__text-area-input","sendbox__text-area-input--scroll","sendbox","sendbox__sendbox","sendbox__sendbox-text","sendbox__sendbox-controls","sendbox__text-counter","sendbox__text-counter--error"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/telephoneKeypad/private/Button.module.css","../src/components/telephoneKeypad/private/TelephoneKeypad.module.css","../src/components/Theme.module.css","../src/components/dropZone/index.module.css","../src/components/suggestedActions/SuggestedAction.module.css","../src/components/suggestedActions/index.module.css","../src/components/sendbox/Toolbar.module.css","../src/components/sendbox/AddAttachmentButton.module.css","../src/components/sendbox/Attachments.module.css","../src/components/sendbox/ErrorMessage.module.css","../src/components/sendbox/TextArea.module.css","../src/components/sendbox/index.module.css"],"sourcesContent":["\n:global(.webchat-fluent) .telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n /* backgroundColor: isDarkTheme() || isHighContrastTheme() ? black : white, */\n background-color: White;\n border-radius: 100%;\n\n /* Whitelabel styles */\n /* border: `solid 1px ${isHighContrastTheme() ? white : isDarkTheme() ? gray160 : gray40}`, */\n /* color: inherit; */\n\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n\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 &:hover {\n /* backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30 */\n background-color: var(--webchat-colorGray30)\n }\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__ruby {\n /* color: isHighContrastTheme() ? white : isDarkTheme() ? gray40 : gray160, */\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n\n:global(.webchat-fluent) .telephone-keypad--horizontal {\n & .telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n };\n\n .telephone-keypad__button__ruby {\n display: none;\n }\n\n & .telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad {\n /* Commented out whitelabel styles for now. */\n /* background: getHighContrastDarkThemeColor(highContrastColor: black, darkThemeColor: gray190, string, defaultColor: gray10), */\n /* borderRadius: '8px 8px 0px 0px; */\n /* boxShadow: '-3px 0px 7px 0px rgba(0, 0, 0, 0.13), -0.6px 0px 1.8px 0px rgba(0, 0, 0, 0.10)', */\n\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n /* border: isHighContrastTheme() ? `1px solid ${white}` : none; */\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n /* boxShadow: var(--shadow16); */\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n /* margin: var(--spacingHorizontalMNudge)' */\n}\n\n:global(.webchat-fluent) .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:global(.webchat-fluent).theme {\n display: contents;\n\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n\n --webchat-colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover, #f5f5f5);\n --webchat-colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed, #e0e0e0);\n\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n\n --webchat-colorCompoundBrandForeground1: var(--colorCompoundBrandForeground1, #077fab);\n\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n --webchat-colorCompoundBrandForeground1Pressed: var(--colorCompoundBrandForeground1Pressed, #01678c);\n\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/colors.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/borderRadius.ts */\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/spacings.ts */\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n}",":global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {\n height: 36px;\n /* Set \"pointer-events: none\" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the \"--droppable\" modifier.*/\n pointer-events: none;\n width: 36px\n}\n",":global(.webchat-fluent) .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 &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover)\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed)\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed\n }\n}\n\n:global(.webchat-fluent) .suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n","\n:global(.webchat-fluent) .suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n &:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px\n }\n\n &.suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n\n &.suggested-actions--stacked {\n flex-direction: column\n }\n}\n",":global(.webchat-fluent) .sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n\n:global(.webchat-fluent) .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 > svg {\n font-size: 20px;\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorSubtleBackgroundHover);\n color: var(--webchat-colorCompoundBrandForeground1Hover);\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorSubtleBackgroundPressed);\n color: var(--webchat-colorCompoundBrandForeground1Pressed);\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n }\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n\n &:first-child, &:last-child, &:only-child {\n display: none\n }\n}\n",":global(.webchat-fluent) .sendbox__add-attachment {\n display: grid\n}\n\n:global(.webchat-fluent) .sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 0;\n}\n",":global(.webchat-fluent) .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",":global(.webchat-fluent) .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",":global(.webchat-fluent) .sendbox__text-area {\n display: grid;\n grid-template-areas: 'main';\n max-height: 200px;\n overflow: hidden;\n}\n\n:global(.webchat-fluent) .sendbox__text-area--hidden {\n /* TODO: Not perfect way of hiding the text box. */\n height: 0;\n visibility: collapse;\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input {\n height: 100%;\n padding: 0\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input--scroll {\n /* Edge uses -webkit-scrollbar if scrollbar-* is not set */\n scrollbar-color: unset;\n scrollbar-width: unset;\n /* Firefox */\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n\n /* Chrome, Edge, and Safari */\n &::-webkit-scrollbar {\n width: 8px\n }\n\n &::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n }\n}\n",":global(.webchat-fluent) .sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n}\n\n:global(.webchat-fluent) .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 &:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n /* TODO clarify with design the color:\n - Teams is using colorCompoundBrandForeground1\n - Fluent is using colorCompoundBrandStroke\n - we are using colorCompoundBrandForeground1Hover */\n box-shadow: inset 0 -6px 0 -3px var(--webchat-colorCompoundBrandForeground1Hover);\n }\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n"],"mappings":"AACQ,CAAC,eAAgB,CAACA,EACxB,oBAAqB,KACrB,YAAa,OACb,WAAY,KAEZ,iBAAkB,KANpB,cAOiB,KAMf,OAAQ,MAAM,IAAI,IAAI,+BACtB,MAAO,IAAI,wBACX,YAAa,IAAI,8BAEjB,OAAQ,QACR,QAAS,KACT,eAAgB,OAChB,OAAQ,KACR,QAAS,GArBX,QAsBW,EACT,SAAU,SACV,aAAc,KACd,YAAa,KACb,MAAO,IAMT,CA/BQ,CAAC,eAAgB,CAACA,CA2BvB,OAEC,iBAAkB,IAAI,sBACxB,CAGM,CAjCC,eAiCgB,CAACC,EAExB,MAAO,IAAI,wBACX,UAAW,IACb,CAEQ,CAvCC,eAuCgB,CAACC,EACxB,UAAW,KACX,WAAY,GACd,CAEQ,CA5CC,eA4CgB,CAACC,EACtB,CA7CsBH,EA8CtB,OAAQ,KACR,gBAAiB,OAhDrB,OAiDY,IAAI,IACZ,MAAO,IACT,CANM,CA5CC,eA4CgB,CAACG,EAQxB,CAnBwBF,EAoBtB,QAAS,IACX,CAVM,CA5CC,eA4CgB,CAACE,EAYtB,CAjBsBD,EAkBtB,UAAW,KACX,WAAY,CACd,CC3DM,CAAC,eAAgB,CAACE,EAMxB,YAAa,OACb,WAAY,IAAI,mCAEhB,OAAQ,KACR,cAAe,IAAI,8BAEnB,QAAS,KACT,eAAgB,OAChB,YAAa,IAAI,0BACjB,gBAAiB,MAEnB,CAEQ,CAnBC,eAmBgB,CAACC,EACxB,WAAY,WACZ,QAAS,KACT,IAAK,KACL,sBAAuB,OAAO,CAAC,CAAE,KACjC,mBAAoB,OAAO,CAAC,CAAE,KAC9B,cAAe,OA1BjB,QA2BW,KACT,MAAO,IACT,CC5BQ,CAAC,cAAe,CAACC,EACvB,QAAS,SAET,mCAAmC,IAAI,yBAAyB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AAK,IAAI,6CACtC,CAGM,CA7BC,eA6BgB,CAACC,EACxB,iBAAkB,YAClB,OAAQ,KACR,KAAM,KACN,YAAa,IAAI,0BACjB,UAAW,KACX,YAAa,KACb,QAAS,KApCX,QAqCW,IAAI,IAAI,EACjB,OAAQ,IACV,CAEQ,CAzCC,eAyCgB,CAACC,EACxB,YAAa,OACb,QAAS,KACT,qBAAsB,GACxB,CAEQ,CA/CC,eA+CgB,CAACC,EACxB,MAAO,IAAI,mCACX,OAAQ,QACR,YAAa,IAAI,6BACjB,UAAW,KACX,YAAa,IACf,CAEQ,CAvDC,eAuDgB,CAACC,EACxB,MAAO,IAAI,uCACb","names":["telephone-keypad__button","telephone-keypad__button__ruby","telephone-keypad__button__text","telephone-keypad--horizontal","telephone-keypad","telephone-keypad__box","theme","sendbox__attachment-drop-zone","sendbox__attachment-drop-zone--droppable","sendbox__attachment-drop-zone-icon","suggested-action","suggested-action__image","suggested-actions","suggested-actions--flow","suggested-actions--stacked","sendbox__toolbar","sendbox__toolbar-button","sendbox__toolbar-separator","sendbox__add-attachment","sendbox__add-attachment-input","sendbox__attachment","sendbox__error-message","sendbox__text-area","sendbox__text-area--hidden","sendbox__text-area-shared","sendbox__text-area-doppelganger","sendbox__text-area-input","sendbox__text-area-input--scroll","sendbox","sendbox__sendbox","sendbox__sendbox-text","sendbox__sendbox-controls","sendbox__text-counter","sendbox__text-counter--error"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/telephoneKeypad/private/Button.module.css","../src/components/telephoneKeypad/private/TelephoneKeypad.module.css","../src/components/Theme.module.css","../src/components/dropZone/index.module.css","../src/components/suggestedActions/SuggestedAction.module.css","../src/components/suggestedActions/index.module.css","../src/components/sendbox/Toolbar.module.css","../src/components/sendbox/AddAttachmentButton.module.css","../src/components/sendbox/Attachments.module.css","../src/components/sendbox/ErrorMessage.module.css","../src/components/sendbox/TextArea.module.css","../src/components/sendbox/index.module.css"],"sourcesContent":["\n:global(.webchat-fluent) .telephone-keypad__button {\n -webkit-user-select: none;\n align-items: center;\n appearance: none;\n /* backgroundColor: isDarkTheme() || isHighContrastTheme() ? black : white, */\n background-color: White;\n border-radius: 100%;\n\n /* Whitelabel styles */\n /* border: `solid 1px ${isHighContrastTheme() ? white : isDarkTheme() ? gray160 : gray40}`, */\n /* color: inherit; */\n\n border: solid 1px var(--webchat-colorNeutralStroke1);\n color: var(--webchat-colorGray200);\n font-weight: var(--webchat-fontWeightSemibold);\n\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 &:hover {\n /* backgroundColor: isHighContrastTheme() ? gray210 : isDarkTheme() ? gray150 : gray30 */\n background-color: var(--webchat-colorGray30)\n }\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__ruby {\n /* color: isHighContrastTheme() ? white : isDarkTheme() ? gray40 : gray160, */\n color: var(--webchat-colorGray190);\n font-size: 10px;\n}\n\n:global(.webchat-fluent) .telephone-keypad__button__text {\n font-size: 24px;\n margin-top: 8px;\n}\n\n:global(.webchat-fluent) .telephone-keypad--horizontal {\n & .telephone-keypad__button {\n height: 32px;\n justify-content: center;\n margin: 8px 4px;\n width: 32px;\n };\n\n .telephone-keypad__button__ruby {\n display: none;\n }\n\n & .telephone-keypad__button__text {\n font-size: 20px;\n margin-top: 0;\n }\n}\n","\n:global(.webchat-fluent) .telephone-keypad {\n /* Commented out whitelabel styles for now. */\n /* background: getHighContrastDarkThemeColor(highContrastColor: black, darkThemeColor: gray190, string, defaultColor: gray10), */\n /* borderRadius: '8px 8px 0px 0px; */\n /* boxShadow: '-3px 0px 7px 0px rgba(0, 0, 0, 0.13), -0.6px 0px 1.8px 0px rgba(0, 0, 0, 0.10)', */\n\n align-items: center;\n background: var(--webchat-colorNeutralBackground1);\n /* border: isHighContrastTheme() ? `1px solid ${white}` : none; */\n border: none;\n border-radius: var(--webchat-borderRadiusXLarge);\n /* boxShadow: var(--shadow16); */\n display: flex;\n flex-direction: column;\n font-family: var(--webchat-fontFamilyBase);\n justify-content: center;\n /* margin: var(--spacingHorizontalMNudge)' */\n}\n\n:global(.webchat-fluent) .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:global(.webchat-fluent).theme {\n display: contents;\n\n --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);\n --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);\n --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);\n\n --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);\n\n --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);\n --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);\n --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);\n\n --webchat-colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover, #f5f5f5);\n --webchat-colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed, #e0e0e0);\n\n --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);\n --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);\n --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);\n\n --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);\n\n --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);\n --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);\n\n --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);\n --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);\n\n --webchat-colorCompoundBrandForeground1: var(--colorCompoundBrandForeground1, #077fab);\n\n --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);\n --webchat-colorCompoundBrandForeground1Pressed: var(--colorCompoundBrandForeground1Pressed, #01678c);\n\n --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/colors.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/borderRadius.ts */\n --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);\n --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);\n --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/spacings.ts */\n --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);\n\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\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\n /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */\n --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);\n}",":global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {\n background-color: #e00;\n color: White\n}\n\n:global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {\n height: 36px;\n /* Set \"pointer-events: none\" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the \"--droppable\" modifier.*/\n pointer-events: none;\n width: 36px\n}\n",":global(.webchat-fluent) .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 &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorBrandBackground2Hover);\n color: var(--webchat-colorBrandForeground2Hover)\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorBrandBackground2Pressed);\n color: var(--webchat-colorBrandForeground2Pressed)\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed\n }\n}\n\n:global(.webchat-fluent) .suggested-action__image {\n font-size: 12px;\n height: 1em;\n width: 1em;\n}\n","\n:global(.webchat-fluent) .suggested-actions {\n align-items: flex-end;\n align-self: flex-end;\n display: flex;\n flex-direction: column;\n gap: 8px;\n\n &:not(:empty) {\n padding-block-end: 8px;\n padding-inline-start: 4px\n }\n\n &.suggested-actions--flow {\n flex-direction: row;\n flex-wrap: wrap;\n justify-content: flex-end;\n }\n\n &.suggested-actions--stacked {\n flex-direction: column\n }\n}\n",":global(.webchat-fluent) .sendbox__toolbar {\n display: flex;\n gap: 4px;\n margin-inline-start: auto;\n}\n\n:global(.webchat-fluent) .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 > svg {\n font-size: 20px;\n pointer-events: none;\n }\n\n @media (hover: hover) {\n &:not([aria-disabled=\"true\"]):hover {\n background-color: var(--webchat-colorSubtleBackgroundHover);\n color: var(--webchat-colorCompoundBrandForeground1Hover);\n }\n }\n &:not([aria-disabled=\"true\"]):active {\n background-color: var(--webchat-colorSubtleBackgroundPressed);\n color: var(--webchat-colorCompoundBrandForeground1Pressed);\n }\n &[aria-disabled=\"true\"] {\n color: var(--webchat-colorNeutralForegroundDisabled);\n cursor: not-allowed;\n }\n}\n\n:global(.webchat-fluent) .sendbox__toolbar-separator {\n align-self: center;\n border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);\n height: 28px;\n\n &:first-child, &:last-child, &:only-child {\n display: none\n }\n}\n",":global(.webchat-fluent) .sendbox__add-attachment {\n display: grid\n}\n\n:global(.webchat-fluent) .sendbox__add-attachment-input {\n font-size: 0;\n height: 0;\n opacity: 0;\n width: 0;\n}\n",":global(.webchat-fluent) .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",":global(.webchat-fluent) .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",":global(.webchat-fluent) .sendbox__text-area {\n display: grid;\n grid-template-areas: 'main';\n max-height: 200px;\n overflow: hidden;\n}\n\n:global(.webchat-fluent) .sendbox__text-area--hidden {\n /* TODO: Not perfect way of hiding the text box. */\n height: 0;\n visibility: collapse;\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__text-area-doppelganger {\n overflow: hidden;\n visibility: hidden;\n white-space: pre-wrap;\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input {\n height: 100%;\n padding: 0\n}\n\n:global(.webchat-fluent) .sendbox__text-area-input--scroll {\n /* Edge uses -webkit-scrollbar if scrollbar-* is not set */\n scrollbar-color: unset;\n scrollbar-width: unset;\n /* Firefox */\n -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);\n -moz-scrollbar-width: thin;\n\n /* Chrome, Edge, and Safari */\n &::-webkit-scrollbar {\n width: 8px\n }\n\n &::-webkit-scrollbar-track {\n background-color: var(--webchat-colorNeutralBackground5);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-thumb {\n background-color: var(--webchat-colorNeutralForeground2);\n border-radius: 16px\n }\n\n &::-webkit-scrollbar-corner {\n background-color: var(--webchat-colorNeutralBackground5);\n }\n}\n",":global(.webchat-fluent) .sendbox {\n color: var(--webchat-colorNeutralForeground1);\n font-family: var(--webchat-fontFamilyBase);\n padding: 0 10px 10px;\n text-rendering: optimizeLegibility;\n}\n\n:global(.webchat-fluent) .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 &:focus-within {\n border-color: var(--webchat-colorNeutralStroke1Selected);\n /* TODO clarify with design the color:\n - Teams is using colorCompoundBrandForeground1\n - Fluent is using colorCompoundBrandStroke\n - we are using colorCompoundBrandForeground1Hover */\n box-shadow: inset 0 -6px 0 -3px var(--webchat-colorCompoundBrandForeground1Hover);\n }\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__sendbox-controls {\n align-items: center;\n display: flex;\n padding-inline-start: 4px;\n}\n\n:global(.webchat-fluent) .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\n:global(.webchat-fluent) .sendbox__text-counter--error {\n color: var(--webchat-colorStatusDangerForeground1);\n}\n"],"mappings":";AACQ,CAAC,eAAgB,CAACA;AACxB,uBAAqB;AACrB,eAAa;AACb,cAAY;AAEZ,oBAAkB;AAClB,iBAAe;AAMf,UAAQ,MAAM,IAAI,IAAI;AACtB,SAAO,IAAI;AACX,eAAa,IAAI;AAEjB,UAAQ;AACR,WAAS;AACT,kBAAgB;AAChB,UAAQ;AACR,WAAS;AACT,WAAS;AACT,YAAU;AACV,gBAAc;AACd,eAAa;AACb,SAAO;AAMT;AA/BQ,CAAC,eAAgB,CAACA,+BA2BvB;AAEC,oBAAkB,IAAI;AACxB;AAGM,CAjCC,eAiCgB,CAACC;AAExB,SAAO,IAAI;AACX,aAAW;AACb;AAEQ,CAvCC,eAuCgB,CAACC;AACxB,aAAW;AACX,cAAY;AACd;AAEQ,CA5CC,eA4CgB,CAACC,oCACtB,CA7CsBH;AA8CtB,UAAQ;AACR,mBAAiB;AACjB,UAAQ,IAAI;AACZ,SAAO;AACT;AANM,CA5CC,eA4CgB,CAACG,oCAQxB,CAnBwBF;AAoBtB,WAAS;AACX;AAVM,CA5CC,eA4CgB,CAACE,oCAYtB,CAjBsBD;AAkBtB,aAAW;AACX,cAAY;AACd;;;AC3DM,CAAC,eAAgB,CAACE;AAMxB,eAAa;AACb,cAAY,IAAI;AAEhB,UAAQ;AACR,iBAAe,IAAI;AAEnB,WAAS;AACT,kBAAgB;AAChB,eAAa,IAAI;AACjB,mBAAiB;AAEnB;AAEQ,CAnBC,eAmBgB,CAACC;AACxB,cAAY;AACZ,WAAS;AACT,OAAK;AACL,yBAAuB,OAAO,CAAC,EAAE;AACjC,s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ACjB,aAAW;AACX,OAAK;AACL,eAAa;AACb,WAAS;AACT,YAAU;AAUZ;AApBQ,CAPC,eAOgB,CAACA,wBAYvB;AACC,gBAAc,IAAI;AAKlB,cAAY,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI;AACtC;AAGM,CA7BC,eA6BgB,CAACC;AACxB,oBAAkB;AAClB,UAAQ;AACR,QAAM;AACN,eAAa,IAAI;AACjB,aAAW;AACX,eAAa;AACb,WAAS;AACT,WAAS,IAAI,IAAI;AACjB,UAAQ;AACV;AAEQ,CAzCC,eAyCgB,CAACC;AACxB,eAAa;AACb,WAAS;AACT,wBAAsB;AACxB;AAEQ,CA/CC,eA+CgB,CAACC;AACxB,SAAO,IAAI;AACX,UAAQ;AACR,eAAa,IAAI;AACjB,aAAW;AACX,eAAa;AACf;AAEQ,CAvDC,eAuDgB,CAACC;AACxB,SAAO,IAAI;AACb;","names":["telephone-keypad__button","telephone-keypad__button__ruby","telephone-keypad__button__text","telephone-keypad--horizontal","telephone-keypad","telephone-keypad__box","theme","sendbox__attachment-drop-zone","sendbox__attachment-drop-zone--droppable","sendbox__attachment-drop-zone-icon","suggested-action","suggested-action__image","suggested-actions","suggested-actions--flow","suggested-actions--stacked","sendbox__toolbar","sendbox__toolbar-button","sendbox__toolbar-separator","sendbox__add-attachment","sendbox__add-attachment-input","sendbox__attachment","sendbox__error-message","sendbox__text-area","sendbox__text-area--hidden","sendbox__text-area-shared","sendbox__text-area-doppelganger","sendbox__text-area-input","sendbox__text-area-input--scroll","sendbox","sendbox__sendbox","sendbox__sendbox-text","sendbox__sendbox-controls","sendbox__text-counter","sendbox__text-counter--error"]}
@@ -1,60 +0,0 @@
1
-
2
- :global(.webchat-fluent).theme {
3
- display: contents;
4
-
5
- --webchat-colorNeutralForeground1: var(--colorNeutralForeground1, #242424);
6
- --webchat-colorNeutralForeground2: var(--colorNeutralForeground2, #424242);
7
- --webchat-colorNeutralForeground4: var(--colorNeutralForeground4, #707070);
8
-
9
- --webchat-colorNeutralForegroundDisabled: var(--colorNeutralForegroundDisabled, #bdbdbd);
10
-
11
- --webchat-colorNeutralBackground1: var(--colorNeutralBackground1, #ffffff);
12
- --webchat-colorNeutralBackground4: var(--colorNeutralBackground4, #f0f0f0);
13
- --webchat-colorNeutralBackground5: var(--colorNeutralBackground5, #ebebeb);
14
-
15
- --webchat-colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover, #f5f5f5);
16
- --webchat-colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed, #e0e0e0);
17
-
18
- --webchat-colorNeutralStroke1: var(--colorNeutralStroke1, #d1d1d1);
19
- --webchat-colorNeutralStroke2: var(--colorNeutralStroke2, #e0e0e0);
20
- --webchat-colorNeutralStroke1Selected: var(--colorNeutralStroke1Selected, #bdbdbd);
21
-
22
- --webchat-colorBrandStroke2: var(--colorBrandStroke2, #9edcf7);
23
-
24
- --webchat-colorBrandForeground2Hover: var(--colorBrandForeground2Hover, #015a7a);
25
- --webchat-colorBrandForeground2Pressed: var(--colorBrandForeground2Pressed, #01384d);
26
-
27
- --webchat-colorBrandBackground2Hover: var(--colorBrandBackground2Hover, #bee7fa);
28
- --webchat-colorBrandBackground2Pressed: var(--colorBrandBackground2Pressed, #7fd2f5);
29
-
30
- --webchat-colorCompoundBrandForeground1: var(--colorCompoundBrandForeground1, #077fab);
31
-
32
- --webchat-colorCompoundBrandForeground1Hover: var(--colorCompoundBrandForeground1Hover, #02729c);
33
- --webchat-colorCompoundBrandForeground1Pressed: var(--colorCompoundBrandForeground1Pressed, #01678c);
34
-
35
- --webchat-colorStatusDangerForeground1: var(--colorStatusDangerForeground1, #b10e1c);
36
-
37
- /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/colors.ts */
38
- --webchat-colorGray30: var(--colorGray30, #edebe9);
39
- --webchat-colorGray160: var(--colorGray160, #323130);
40
- --webchat-colorGray190: var(--colorGray190, #201f1e);
41
- --webchat-colorGray200: var(--colorGray200, #1b1a19);
42
-
43
- /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/borderRadius.ts */
44
- --webchat-borderRadiusSmall: var(--borderRadiusSmall, 2px);
45
- --webchat-borderRadiusLarge: var(--borderRadiusLarge, 6px);
46
- --webchat-borderRadiusXLarge: var(--borderRadiusXLarge, 8px);
47
-
48
- /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/utils/shadows.ts */
49
- --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));
50
-
51
- /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/spacings.ts */
52
- --webchat-spacingHorizontalMNudge: var(--spacingHorizontalMNudge, 10px);
53
-
54
- /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */
55
- --webchat-fontFamilyBase: var(--fontFamilyBase, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif);
56
- --webchat-fontFamilyNumeric: var(--fontFamilyNumeric, Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif);
57
-
58
- /* https://github.com/microsoft/fluentui/blob/master/packages/tokens/src/global/fonts.ts */
59
- --webchat-fontWeightSemibold: var(--fontWeightSemibold, 600);
60
- }
@@ -1,23 +0,0 @@
1
- :global(.webchat-fluent) .sendbox__attachment-drop-zone {
2
- background-color: var(--webchat-colorNeutralBackground4);
3
- border-radius: inherit;
4
- cursor: copy;
5
- display: grid;
6
- gap: 8px;
7
- inset: 0;
8
- place-content: center;
9
- place-items: center;
10
- position: absolute;
11
- }
12
-
13
- :global(.webchat-fluent) .sendbox__attachment-drop-zone--droppable {
14
- background-color: #e00;
15
- color: White
16
- }
17
-
18
- :global(.webchat-fluent) .sendbox__attachment-drop-zone-icon {
19
- height: 36px;
20
- /* Set "pointer-events: none" to ignore dragging over the icon. Otherwise, when dragging over the icon; it would disable the "--droppable" modifier.*/
21
- pointer-events: none;
22
- width: 36px
23
- }
@@ -1,10 +0,0 @@
1
- :global(.webchat-fluent) .sendbox__add-attachment {
2
- display: grid
3
- }
4
-
5
- :global(.webchat-fluent) .sendbox__add-attachment-input {
6
- font-size: 0;
7
- height: 0;
8
- opacity: 0;
9
- width: 0;
10
- }
@@ -1,7 +0,0 @@
1
- :global(.webchat-fluent) .sendbox__attachment {
2
- border-radius: var(--webchat-borderRadiusLarge);
3
- border: 1px solid var(--webchat-colorNeutralStroke1);
4
- cursor: default;
5
- padding: 6px 8px;
6
- width: fit-content
7
- }
@@ -1,9 +0,0 @@
1
- :global(.webchat-fluent) .sendbox__error-message {
2
- color: transparent;
3
- font-size: 0;
4
- height: 0;
5
- left: 0;
6
- position: absolute;
7
- top: 0;
8
- width: 0;
9
- }
@@ -1,61 +0,0 @@
1
- :global(.webchat-fluent) .sendbox__text-area {
2
- display: grid;
3
- grid-template-areas: 'main';
4
- max-height: 200px;
5
- overflow: hidden;
6
- }
7
-
8
- :global(.webchat-fluent) .sendbox__text-area--hidden {
9
- /* TODO: Not perfect way of hiding the text box. */
10
- height: 0;
11
- visibility: collapse;
12
- }
13
-
14
- :global(.webchat-fluent) .sendbox__text-area-shared {
15
- border: none;
16
- font: inherit;
17
- grid-area: main;
18
- outline: inherit;
19
- overflow-wrap: anywhere;
20
- resize: inherit;
21
- scrollbar-gutter: stable;
22
- }
23
-
24
- :global(.webchat-fluent) .sendbox__text-area-doppelganger {
25
- overflow: hidden;
26
- visibility: hidden;
27
- white-space: pre-wrap;
28
- }
29
-
30
- :global(.webchat-fluent) .sendbox__text-area-input {
31
- height: 100%;
32
- padding: 0
33
- }
34
-
35
- :global(.webchat-fluent) .sendbox__text-area-input--scroll {
36
- /* Edge uses -webkit-scrollbar if scrollbar-* is not set */
37
- scrollbar-color: unset;
38
- scrollbar-width: unset;
39
- /* Firefox */
40
- -moz-scrollbar-color: var(--webchat-colorNeutralBackground5) var(--webchat-colorNeutralForeground2);
41
- -moz-scrollbar-width: thin;
42
-
43
- /* Chrome, Edge, and Safari */
44
- &::-webkit-scrollbar {
45
- width: 8px
46
- }
47
-
48
- &::-webkit-scrollbar-track {
49
- background-color: var(--webchat-colorNeutralBackground5);
50
- border-radius: 16px
51
- }
52
-
53
- &::-webkit-scrollbar-thumb {
54
- background-color: var(--webchat-colorNeutralForeground2);
55
- border-radius: 16px
56
- }
57
-
58
- &::-webkit-scrollbar-corner {
59
- background-color: var(--webchat-colorNeutralBackground5);
60
- }
61
- }
@@ -1,49 +0,0 @@
1
- :global(.webchat-fluent) .sendbox__toolbar {
2
- display: flex;
3
- gap: 4px;
4
- margin-inline-start: auto;
5
- }
6
-
7
- :global(.webchat-fluent) .sendbox__toolbar-button {
8
- align-items: center;
9
- appearance: none;
10
- aspect-ratio: 1;
11
- background: transparent;
12
- border-radius: var(--webchat-borderRadiusSmall);
13
- border: none;
14
- cursor: pointer;
15
- display: flex;
16
- justify-content: center;
17
- padding: 3px;
18
- width: 32px;
19
-
20
- > svg {
21
- font-size: 20px;
22
- pointer-events: none;
23
- }
24
-
25
- @media (hover: hover) {
26
- &:not([aria-disabled="true"]):hover {
27
- background-color: var(--webchat-colorSubtleBackgroundHover);
28
- color: var(--webchat-colorCompoundBrandForeground1Hover);
29
- }
30
- }
31
- &:not([aria-disabled="true"]):active {
32
- background-color: var(--webchat-colorSubtleBackgroundPressed);
33
- color: var(--webchat-colorCompoundBrandForeground1Pressed);
34
- }
35
- &[aria-disabled="true"] {
36
- color: var(--webchat-colorNeutralForegroundDisabled);
37
- cursor: not-allowed;
38
- }
39
- }
40
-
41
- :global(.webchat-fluent) .sendbox__toolbar-separator {
42
- align-self: center;
43
- border-inline-end: 1px solid var(--webchat-colorNeutralStroke2);
44
- height: 28px;
45
-
46
- &:first-child, &:last-child, &:only-child {
47
- display: none
48
- }
49
- }