@azure/communication-react 1.25.0-alpha-202502170018 → 1.25.0-alpha-202502190016
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Dg3HJSdn.js → ChatMessageComponentAsRichTextEditBox-DbT6eOZX.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Dg3HJSdn.js.map → ChatMessageComponentAsRichTextEditBox-DbT6eOZX.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BCEa5fUV.js → RichTextSendBoxWrapper-NiF-fAKy.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BCEa5fUV.js.map → RichTextSendBoxWrapper-NiF-fAKy.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-lFbqq0RW.js → index-XSIxbvhZ.js} +15 -11
- package/dist/dist-cjs/communication-react/{index-lFbqq0RW.js.map → index-XSIxbvhZ.js.map} +1 -1
- package/dist/dist-cjs/communication-react/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +9 -5
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.25.0-alpha-
|
1
|
+
{"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.25.0-alpha-202502190016';\n"]}
|
@@ -24,8 +24,8 @@ export const ScreenShareButton = (props) => {
|
|
24
24
|
};
|
25
25
|
const screenshareButtonStyles = (theme) => ({
|
26
26
|
rootChecked: {
|
27
|
-
background: theme.
|
28
|
-
color:
|
27
|
+
background: theme.semanticColors.primaryButtonBackground,
|
28
|
+
color: theme.semanticColors.primaryButtonText,
|
29
29
|
':focus::after': { outlineColor: `${DefaultPalette.white} !important` }, // added !important to avoid override by FluentUI button styles
|
30
30
|
'@media (forced-colors: active)': {
|
31
31
|
border: '1px solid',
|
@@ -33,14 +33,18 @@ const screenshareButtonStyles = (theme) => ({
|
|
33
33
|
}
|
34
34
|
},
|
35
35
|
rootCheckedHovered: {
|
36
|
-
background: theme.
|
37
|
-
color:
|
36
|
+
background: theme.semanticColors.primaryButtonBackgroundHovered,
|
37
|
+
color: theme.semanticColors.primaryButtonTextHovered,
|
38
38
|
':focus::after': { outlineColor: `${DefaultPalette.white} !important` }, // added !important to avoid override by FluentUI button styles
|
39
39
|
'@media (forced-colors: active)': {
|
40
40
|
border: '1px solid',
|
41
41
|
borderColor: theme.palette.black
|
42
42
|
}
|
43
43
|
},
|
44
|
-
|
44
|
+
rootCheckedPressed: {
|
45
|
+
background: theme.semanticColors.primaryButtonBackgroundPressed,
|
46
|
+
color: theme.semanticColors.primaryButtonTextPressed
|
47
|
+
},
|
48
|
+
labelChecked: { color: theme.semanticColors.primaryButtonText }
|
45
49
|
});
|
46
50
|
//# sourceMappingURL=ScreenShareButton.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":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W,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK;SACjC;KACF;IACD,kBAAkB,EAAE;QAClB,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,8BAA8B;QAC/D,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,wBAAwB;KACrD;IACD,YAAY,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,EAAE;CAChE,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { useLocale } from '../localization';\nimport { ControlBarButton, ControlBarButtonProps } from './ControlBarButton';\nimport { DefaultPalette, IButtonStyles, mergeStyleSets, Theme, useTheme } from '@fluentui/react';\nimport { _HighContrastAwareIcon } from './HighContrastAwareIcon';\n\n/**\n * Strings of {@link ScreenShareButton} that can be overridden.\n *\n * @public\n */\nexport interface ScreenShareButtonStrings {\n /** Label when button is on. */\n onLabel: string;\n /** Label when button is off. */\n offLabel: string;\n /** * Tooltip content when the button is disabled. */\n tooltipDisabledContent?: string;\n /** Tooltip content when the button is on. */\n tooltipOnContent?: string;\n /** Tooltip content when the button is off. */\n tooltipOffContent?: string;\n}\n\n/**\n * Props for {@link ScreenShareButton}.\n *\n * @public\n */\nexport interface ScreenShareButtonProps extends ControlBarButtonProps {\n /**\n * Utility property for using this component with `communication react eventHandlers`.\n * Maps directly to the `onClick` property.\n */\n onToggleScreenShare?: () => Promise<void>;\n\n /**\n * Optional strings to override in component\n */\n strings?: Partial<ScreenShareButtonStrings>;\n}\n\n/**\n * A button to start / stop screen sharing.\n *\n * Can be used with {@link ControlBar}.\n *\n * @public\n */\nexport const ScreenShareButton = (props: ScreenShareButtonProps): JSX.Element => {\n const localeStrings = useLocale().strings.screenShareButton;\n const strings = { ...localeStrings, ...props.strings };\n\n const theme = useTheme();\n const styles = screenshareButtonStyles(theme);\n\n const onRenderScreenShareOnIcon = (): JSX.Element => (\n <_HighContrastAwareIcon disabled={props.disabled} iconName=\"ControlButtonScreenShareStop\" />\n );\n const onRenderScreenShareOffIcon = (): JSX.Element => (\n <_HighContrastAwareIcon disabled={props.disabled} iconName=\"ControlButtonScreenShareStart\" />\n );\n\n return (\n <ControlBarButton\n {...props}\n styles={mergeStyleSets(styles, props.styles)}\n onClick={props.onToggleScreenShare ?? props.onClick}\n onRenderOnIcon={props.onRenderOnIcon ?? onRenderScreenShareOnIcon}\n onRenderOffIcon={props.onRenderOffIcon ?? onRenderScreenShareOffIcon}\n strings={strings}\n labelKey={props.labelKey ?? 'screenShareButtonLabel'}\n disabled={props.disabled}\n />\n );\n};\n\nconst screenshareButtonStyles = (theme: Theme): IButtonStyles => ({\n rootChecked: {\n background: theme.semanticColors.primaryButtonBackground,\n color: theme.semanticColors.primaryButtonText,\n ':focus::after': { outlineColor: `${DefaultPalette.white} !important` }, // added !important to avoid override by FluentUI button styles\n '@media (forced-colors: active)': {\n border: '1px solid',\n borderColor: theme.palette.black\n }\n },\n rootCheckedHovered: {\n background: theme.semanticColors.primaryButtonBackgroundHovered,\n color: theme.semanticColors.primaryButtonTextHovered,\n ':focus::after': { outlineColor: `${DefaultPalette.white} !important` }, // added !important to avoid override by FluentUI button styles\n '@media (forced-colors: active)': {\n border: '1px solid',\n borderColor: theme.palette.black\n }\n },\n rootCheckedPressed: {\n background: theme.semanticColors.primaryButtonBackgroundPressed,\n color: theme.semanticColors.primaryButtonTextPressed\n },\n labelChecked: { color: theme.semanticColors.primaryButtonText }\n});\n"]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/communication-react",
|
3
|
-
"version": "1.25.0-alpha-
|
3
|
+
"version": "1.25.0-alpha-202502190016",
|
4
4
|
"sideEffects": false,
|
5
5
|
"description": "React library for building modern communication user experiences utilizing Azure Communication Services",
|
6
6
|
"keywords": [
|