diff --git a/package.json b/package.json index 004a2ff1..e86faef7 100644 --- a/package.json +++ b/package.json @@ -48,6 +48,7 @@ "@sentry/tracing": "^6.13.3", "@use-gesture/react": "^10.2.11", "@vector-im/compound-design-tokens": "^0.0.5", + "@vector-im/compound-web": "^0.2.15", "@vitejs/plugin-basic-ssl": "^1.0.1", "@vitejs/plugin-react": "^4.0.1", "classnames": "^2.3.1", @@ -121,7 +122,7 @@ "vite-plugin-svgr": "^3.2.0" }, "jest": { - "testEnvironment": "jsdom", + "testEnvironment": "./test/environment.ts", "testMatch": [ "/test/**/*-test.[jt]s?(x)" ], diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json index 076c65b8..f2605959 100644 --- a/public/locales/en-GB/app.json +++ b/public/locales/en-GB/app.json @@ -40,6 +40,7 @@ "Element Call Home": "Element Call Home", "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call is temporarily not end-to-end encrypted while we test scalability.", "Enable end-to-end encryption (password protected calls)": "Enable end-to-end encryption (password protected calls)", + "End call": "End call", "End-to-end encryption isn't supported on your browser.": "End-to-end encryption isn't supported on your browser.", "Exit full screen": "Exit full screen", "Expose developer settings in the settings window.": "Expose developer settings in the settings window.", @@ -61,15 +62,15 @@ "Join call": "Join call", "Join call now": "Join call now", "Join existing call?": "Join existing call?", - "Leave": "Leave", "Loading…": "Loading…", "Local volume": "Local volume", "Logging in…": "Logging in…", "Login": "Login", "Login to your account": "Login to your account", "Microphone": "Microphone", + "Microphone off": "Microphone off", + "Microphone on": "Microphone on", "More": "More", - "Mute microphone": "Mute microphone", "No": "No", "Not now, return to home screen": "Not now, return to home screen", "Not registered yet? <2>Create an account": "Not registered yet? <2>Create an account", @@ -91,13 +92,13 @@ "Sending…": "Sending…", "Settings": "Settings", "Share screen": "Share screen", + "Sharing screen": "Sharing screen", "Show call inspector": "Show call inspector", "Show connection stats": "Show connection stats", "Sign in": "Sign in", "Sign out": "Sign out", "Speaker": "Speaker", "Spotlight": "Spotlight", - "Stop sharing screen": "Stop sharing screen", "Submit": "Submit", "Submit feedback": "Submit feedback", "Submitting…": "Submitting…", @@ -107,15 +108,14 @@ "This call already exists, would you like to join?": "This call already exists, would you like to join?", "This call is not end-to-end encrypted.": "This call is not end-to-end encrypted.", "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy and <6>Terms of Service apply.<9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)": "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy and <6>Terms of Service apply.<9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)", - "Turn off camera": "Turn off camera", - "Turn on camera": "Turn on camera", - "Unmute microphone": "Unmute microphone", "User menu": "User menu", "Username": "Username", "Version: {{version}}": "Version: {{version}}", "Video": "Video", "Video call": "Video call", "Video call name": "Video call name", + "Video off": "Video off", + "Video on": "Video on", "Waiting for other participants…": "Waiting for other participants…", "Walkie-talkie call": "Walkie-talkie call", "Walkie-talkie call name": "Walkie-talkie call name", diff --git a/src/button/Button.module.css b/src/button/Button.module.css index 0ec4b534..b1b712e1 100644 --- a/src/button/Button.module.css +++ b/src/button/Button.module.css @@ -63,6 +63,7 @@ limitations under the License. .toolbarButton:disabled { background-color: var(--cpd-color-bg-action-primary-disabled); + box-shadow: none; } .toolbarButton, @@ -70,33 +71,39 @@ limitations under the License. width: 50px; height: 50px; border-radius: 50px; - background-color: var(--cpd-color-bg-subtle-secondary); -} - -.toolbarButton:hover, -.toolbarButtonSecondary:hover { - background-color: var(--cpd-color-bg-action-secondary-hovered); -} - -.toolbarButton:active, -.toolbarButtonSecondary:active { - background-color: var(--cpd-color-bg-action-secondary-pressed); + background-color: var(--cpd-color-bg-canvas-default); + color: var(--cpd-color-icon-primary); + border: 1px solid var(--cpd-color-gray-400); + box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05); } .toolbarButton.on, .toolbarButton.off { background-color: var(--cpd-color-bg-action-primary-rest); + color: var(--cpd-color-icon-on-solid-primary); } .toolbarButtonSecondary.on { background-color: var(--cpd-color-text-success-primary); } +.toolbarButton:active, +.toolbarButtonSecondary:active { + background-color: var(--cpd-color-bg-subtle-primary); + border: none; + box-shadow: none; +} + +.toolbarButton.on:active, +.toolbarButton.off:active { + background-color: var(--cpd-color-bg-action-primary-pressed); +} + .iconButton:not(.stroke) svg * { fill: var(--cpd-color-bg-action-primary-rest); } -.iconButton:not(.stroke):hover svg * { +.iconButton:not(.stroke):tertiary svg * { fill: var(--cpd-color-icon-accent-tertiary); } @@ -110,31 +117,12 @@ limitations under the License. .hangupButton { background-color: var(--cpd-color-bg-critical-primary); + border-color: var(--cpd-color-border-critical-subtle); + color: var(--stopgap-color-on-solid-accent); } -.hangupButton:hover { - background-color: var(--cpd-color-bg-critical-hovered); -} - -.toolbarButton.hangupButton svg * { - fill: var(--stopgap-color-on-solid-accent); -} - -.toolbarButton svg *, -.toolbarButtonSecondary svg * { - fill: var(--cpd-color-icon-primary); -} - -.toolbarButton.on svg * { - fill: var(--cpd-color-icon-accent-tertiary); -} - -.toolbarButton.off svg * { - fill: var(--cpd-color-icon-on-solid-primary); -} - -.toolbarButtonSecondary.on svg * { - fill: var(--stopgap-color-on-solid-accent); +.hangupButton:active { + background-color: var(--cpd-color-bg-critical-pressed); } .secondary, @@ -196,10 +184,6 @@ limitations under the License. fill: var(--cpd-color-icon-secondary); } -.iconCopyButton:hover svg * { - fill: var(--cpd-color-icon-accent-tertiary); -} - .iconCopyButton.on svg *, .iconCopyButton.on:hover svg * { fill: transparent; @@ -212,10 +196,6 @@ limitations under the License. border-radius: 8px; } -.dropdownButton:hover { - background-color: var(--cpd-color-bg-action-secondary-hovered); -} - .dropdownButton:active, .dropdownButton.on { background-color: var(--cpd-color-bg-action-secondary-pressed); @@ -239,3 +219,33 @@ limitations under the License. color: var(--cpd-color-text-action-accent); cursor: pointer; } + +@media (hover: hover) { + .toolbarButton:hover, + .toolbarButtonSecondary:hover { + background-color: var(--cpd-color-bg-subtle-primary); + border: none; + box-shadow: none; + } + + .toolbarButton.on:hover, + .toolbarButton.off:hover { + background-color: var(--cpd-color-bg-action-primary-hovered); + } + + .iconButton:not(.stroke):hover svg * { + fill: var(--cpd-color-icon-accent-tertiary); + } + + .hangupButton:hover { + background-color: var(--cpd-color-bg-critical-hovered); + } + + .iconCopyButton:hover svg * { + fill: var(--cpd-color-icon-accent-tertiary); + } + + .dropdownButton:hover { + background-color: var(--cpd-color-bg-action-secondary-hovered); + } +} diff --git a/src/button/Button.tsx b/src/button/Button.tsx index 2de62a80..ac02c6ed 100644 --- a/src/button/Button.tsx +++ b/src/button/Button.tsx @@ -19,17 +19,18 @@ import classNames from "classnames"; import { useButton } from "@react-aria/button"; import { mergeProps, useObjectRef } from "@react-aria/utils"; import { useTranslation } from "react-i18next"; +import { Tooltip } from "@vector-im/compound-web"; +import { ReactComponent as MicOnSolidIcon } from "@vector-im/compound-design-tokens/icons/mic-on-solid.svg"; +import { ReactComponent as MicOffSolidIcon } from "@vector-im/compound-design-tokens/icons/mic-off-solid.svg"; +import { ReactComponent as VideoCallIcon } from "@vector-im/compound-design-tokens/icons/video-call.svg"; +import { ReactComponent as VideoCallOffIcon } from "@vector-im/compound-design-tokens/icons/video-call-off.svg"; +import { ReactComponent as EndCallIcon } from "@vector-im/compound-design-tokens/icons/end-call.svg"; +import { ReactComponent as ShareScreenSolidIcon } from "@vector-im/compound-design-tokens/icons/share-screen-solid.svg"; +import { ReactComponent as SettingsSolidIcon } from "@vector-im/compound-design-tokens/icons/settings-solid.svg"; +import { ReactComponent as UserAddSolidIcon } from "@vector-im/compound-design-tokens/icons/user-add-solid.svg"; +import { ReactComponent as ChevronDownIcon } from "@vector-im/compound-design-tokens/icons/chevron-down.svg"; import styles from "./Button.module.css"; -import { ReactComponent as MicIcon } from "../icons/Mic.svg"; -import { ReactComponent as MuteMicIcon } from "../icons/MuteMic.svg"; -import { ReactComponent as VideoIcon } from "../icons/Video.svg"; -import { ReactComponent as DisableVideoIcon } from "../icons/DisableVideo.svg"; -import { ReactComponent as HangupIcon } from "../icons/Hangup.svg"; -import { ReactComponent as ScreenshareIcon } from "../icons/Screenshare.svg"; -import { ReactComponent as SettingsIcon } from "../icons/Settings.svg"; -import { ReactComponent as AddUserIcon } from "../icons/AddUser.svg"; -import { ReactComponent as ArrowDownIcon } from "../icons/ArrowDown.svg"; import { ReactComponent as Fullscreen } from "../icons/Fullscreen.svg"; import { ReactComponent as FullscreenExit } from "../icons/FullscreenExit.svg"; import { TooltipTrigger } from "../Tooltip"; @@ -129,7 +130,7 @@ export const Button = forwardRef( > <> {children} - {variant === "dropdown" && } + {variant === "dropdown" && } ); @@ -147,13 +148,11 @@ export function MicButton({ const { t } = useTranslation(); return ( - (muted ? t("Unmute microphone") : t("Mute microphone"))} - > - - + ); } @@ -168,13 +167,11 @@ export function VideoButton({ const { t } = useTranslation(); return ( - (muted ? t("Turn on camera") : t("Turn off camera"))} - > - - + ); } @@ -191,13 +188,11 @@ export function ScreenshareButton({ const { t } = useTranslation(); return ( - (enabled ? t("Stop sharing screen") : t("Share screen"))} - > - - + ); } @@ -210,18 +205,17 @@ export function HangupButton({ [index: string]: unknown; }) { const { t } = useTranslation(); - const tooltip = useCallback(() => t("Leave"), [t]); return ( - + - + ); } @@ -234,14 +228,13 @@ export function SettingsButton({ [index: string]: unknown; }) { const { t } = useTranslation(); - const tooltip = useCallback(() => t("Settings"), [t]); return ( - + - + ); } @@ -256,14 +249,13 @@ export function InviteButton({ [index: string]: unknown; }) { const { t } = useTranslation(); - const tooltip = useCallback(() => t("Invite"), [t]); return ( - + - + ); } diff --git a/src/index.css b/src/index.css index 83c6c02f..e5969466 100644 --- a/src/index.css +++ b/src/index.css @@ -22,6 +22,7 @@ limitations under the License. @import "normalize.css/normalize.css"; @import "@vector-im/compound-design-tokens/assets/web/css/compound-design-tokens.css"; +@import "@vector-im/compound-web/dist/style.css"; :root { --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", diff --git a/src/room/InCallView.module.css b/src/room/InCallView.module.css index 963eec56..1fce9d0c 100644 --- a/src/room/InCallView.module.css +++ b/src/room/InCallView.module.css @@ -52,6 +52,7 @@ limitations under the License. display: flex; justify-content: center; align-items: center; + gap: 12px; padding: var(--footerPadding) 0; /* TODO: Un-hardcode these colors */ background: linear-gradient( @@ -68,14 +69,6 @@ limitations under the License. ); } -.footer > * { - margin-right: 30px; -} - -.footer > :last-child { - margin-right: 0px; -} - .maximised .footer { position: absolute; width: 100%; @@ -84,12 +77,16 @@ limitations under the License. @media (min-height: 300px) { .inRoom { - --footerPadding: 24px; + --footerPadding: 40px; } } @media (min-width: 800px) { .inRoom { - --footerPadding: 32px; + --footerPadding: 60px; + } + + .footer { + gap: 16px; } } diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index fa99a5c9..1d3701bc 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -381,19 +381,19 @@ export function InCallView({ const buttons: JSX.Element[] = []; buttons.push( - , , + ); diff --git a/src/room/VideoPreview.tsx b/src/room/VideoPreview.tsx index 26139967..1b5c07ce 100644 --- a/src/room/VideoPreview.tsx +++ b/src/room/VideoPreview.tsx @@ -131,16 +131,16 @@ export const VideoPreview: FC = ({ matrixInfo, muteStates }) => { )}
- +
diff --git a/test/environment.ts b/test/environment.ts new file mode 100644 index 00000000..5c29e1ea --- /dev/null +++ b/test/environment.ts @@ -0,0 +1,18 @@ +import { TextEncoder } from "util"; +import JSDOMEnvironment_, { + TestEnvironment as TestEnvironment_, +} from "jest-environment-jsdom"; +import { JestEnvironmentConfig, EnvironmentContext } from "@jest/environment"; + +// This is a patched version of jsdom that adds TextEncoder, as a workaround for +// https://github.com/jsdom/jsdom/issues/2524 +// Once that issue is resolved, this custom environment file can be deleted +export default class JSDOMEnvironment extends JSDOMEnvironment_ { + constructor(config: JestEnvironmentConfig, context: EnvironmentContext) { + super(config, context); + this.global.TextEncoder ??= TextEncoder; + } +} + +export const TestEnvironment = + TestEnvironment_ === JSDOMEnvironment_ ? JSDOMEnvironment : TestEnvironment_; diff --git a/yarn.lock b/yarn.lock index 70874d88..5c70424d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1432,7 +1432,7 @@ core-js-pure "^3.20.2" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.1.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.5.0", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4": version "7.22.11" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.11.tgz#7a9ba3bbe406ad6f9e8dd4da2ece453eb23a77a4" integrity sha512-ee7jVNlWN09+KftVOu9n7S8gQzD/Z6hN/I8VBRXW4P1+Xe7kJGXMwu8vds4aGIMHZnNbdpSWCfZZtinytpcAvA== @@ -1819,7 +1819,7 @@ dependencies: "@floating-ui/utils" "^0.1.1" -"@floating-ui/dom@^1.1.0": +"@floating-ui/dom@^1.1.0", "@floating-ui/dom@^1.5.1": version "1.5.1" resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.1.tgz#88b70defd002fe851f17b4a25efb2d3c04d7a8d7" integrity sha512-KwvVcPSXg6mQygvA1TjbN/gh///36kKtllIF8SUm0qpFj8+rvYrpvlYdL1JoA71SHpDqgSSdGOSoQ0Mp3uY5aw== @@ -1827,6 +1827,13 @@ "@floating-ui/core" "^1.4.1" "@floating-ui/utils" "^0.1.1" +"@floating-ui/react-dom@^2.0.0": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.2.tgz#fab244d64db08e6bed7be4b5fcce65315ef44d20" + integrity sha512-5qhlDvjaLmAst/rKb3VdlCinwTF4EYMiVxuuc/HVUjs46W0zgtbMmAZ1UTsDrRTxRmUEzl92mOtWbeeXL26lSQ== + dependencies: + "@floating-ui/dom" "^1.5.1" + "@floating-ui/utils@^0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.1.tgz#1a5b1959a528e374e8037c4396c3e825d6cf4a83" @@ -2558,6 +2565,206 @@ schema-utils "^3.0.0" source-map "^0.7.3" +"@radix-ui/primitive@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/primitive/-/primitive-1.0.1.tgz#e46f9958b35d10e9f6dc71c497305c22e3e55dbd" + integrity sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw== + dependencies: + "@babel/runtime" "^7.13.10" + +"@radix-ui/react-arrow@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@radix-ui/react-arrow/-/react-arrow-1.0.3.tgz#c24f7968996ed934d57fe6cde5d6ec7266e1d25d" + integrity sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-primitive" "1.0.3" + +"@radix-ui/react-compose-refs@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.1.tgz#7ed868b66946aa6030e580b1ffca386dd4d21989" + integrity sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw== + dependencies: + "@babel/runtime" "^7.13.10" + +"@radix-ui/react-context@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-context/-/react-context-1.0.1.tgz#fe46e67c96b240de59187dcb7a1a50ce3e2ec00c" + integrity sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg== + dependencies: + "@babel/runtime" "^7.13.10" + +"@radix-ui/react-dismissable-layer@1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.0.4.tgz#883a48f5f938fa679427aa17fcba70c5494c6978" + integrity sha512-7UpBa/RKMoHJYjie1gkF1DlK8l1fdU/VKDpoS3rCCo8YBJR294GwcEHyxHw72yvphJ7ld0AXEcSLAzY2F/WyCg== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/primitive" "1.0.1" + "@radix-ui/react-compose-refs" "1.0.1" + "@radix-ui/react-primitive" "1.0.3" + "@radix-ui/react-use-callback-ref" "1.0.1" + "@radix-ui/react-use-escape-keydown" "1.0.3" + +"@radix-ui/react-form@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@radix-ui/react-form/-/react-form-0.0.3.tgz#328e7163e723ccc748459d66a2d685d7b4f85d5a" + integrity sha512-kgE+Z/haV6fxE5WqIXj05KkaXa3OkZASoTDy25yX2EIp/x0c54rOH/vFr5nOZTg7n7T1z8bSyXmiVIFP9bbhPQ== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/primitive" "1.0.1" + "@radix-ui/react-compose-refs" "1.0.1" + "@radix-ui/react-context" "1.0.1" + "@radix-ui/react-id" "1.0.1" + "@radix-ui/react-label" "2.0.2" + "@radix-ui/react-primitive" "1.0.3" + +"@radix-ui/react-id@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-id/-/react-id-1.0.1.tgz#73cdc181f650e4df24f0b6a5b7aa426b912c88c0" + integrity sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-use-layout-effect" "1.0.1" + +"@radix-ui/react-label@2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@radix-ui/react-label/-/react-label-2.0.2.tgz#9c72f1d334aac996fdc27b48a8bdddd82108fb6d" + integrity sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-primitive" "1.0.3" + +"@radix-ui/react-popper@1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@radix-ui/react-popper/-/react-popper-1.1.2.tgz#4c0b96fcd188dc1f334e02dba2d538973ad842e9" + integrity sha512-1CnGGfFi/bbqtJZZ0P/NQY20xdG3E0LALJaLUEoKwPLwl6PPPfbeiCqMVQnhoFRAxjJj4RpBRJzDmUgsex2tSg== + dependencies: + "@babel/runtime" "^7.13.10" + "@floating-ui/react-dom" "^2.0.0" + "@radix-ui/react-arrow" "1.0.3" + "@radix-ui/react-compose-refs" "1.0.1" + "@radix-ui/react-context" "1.0.1" + "@radix-ui/react-primitive" "1.0.3" + "@radix-ui/react-use-callback-ref" "1.0.1" + "@radix-ui/react-use-layout-effect" "1.0.1" + "@radix-ui/react-use-rect" "1.0.1" + "@radix-ui/react-use-size" "1.0.1" + "@radix-ui/rect" "1.0.1" + +"@radix-ui/react-portal@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@radix-ui/react-portal/-/react-portal-1.0.3.tgz#ffb961244c8ed1b46f039e6c215a6c4d9989bda1" + integrity sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-primitive" "1.0.3" + +"@radix-ui/react-presence@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-presence/-/react-presence-1.0.1.tgz#491990ba913b8e2a5db1b06b203cb24b5cdef9ba" + integrity sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-compose-refs" "1.0.1" + "@radix-ui/react-use-layout-effect" "1.0.1" + +"@radix-ui/react-primitive@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@radix-ui/react-primitive/-/react-primitive-1.0.3.tgz#d49ea0f3f0b2fe3ab1cb5667eb03e8b843b914d0" + integrity sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-slot" "1.0.2" + +"@radix-ui/react-slot@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.0.2.tgz#a9ff4423eade67f501ffb32ec22064bc9d3099ab" + integrity sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-compose-refs" "1.0.1" + +"@radix-ui/react-tooltip@^1.0.6": + version "1.0.6" + resolved "https://registry.yarnpkg.com/@radix-ui/react-tooltip/-/react-tooltip-1.0.6.tgz#87a7786cd9f2b4de957ac645afae1575339c58b0" + integrity sha512-DmNFOiwEc2UDigsYj6clJENma58OelxD24O4IODoZ+3sQc3Zb+L8w1EP+y9laTuKCLAysPw4fD6/v0j4KNV8rg== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/primitive" "1.0.1" + "@radix-ui/react-compose-refs" "1.0.1" + "@radix-ui/react-context" "1.0.1" + "@radix-ui/react-dismissable-layer" "1.0.4" + "@radix-ui/react-id" "1.0.1" + "@radix-ui/react-popper" "1.1.2" + "@radix-ui/react-portal" "1.0.3" + "@radix-ui/react-presence" "1.0.1" + "@radix-ui/react-primitive" "1.0.3" + "@radix-ui/react-slot" "1.0.2" + "@radix-ui/react-use-controllable-state" "1.0.1" + "@radix-ui/react-visually-hidden" "1.0.3" + +"@radix-ui/react-use-callback-ref@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.1.tgz#f4bb1f27f2023c984e6534317ebc411fc181107a" + integrity sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ== + dependencies: + "@babel/runtime" "^7.13.10" + +"@radix-ui/react-use-controllable-state@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.0.1.tgz#ecd2ced34e6330caf89a82854aa2f77e07440286" + integrity sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-use-callback-ref" "1.0.1" + +"@radix-ui/react-use-escape-keydown@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.3.tgz#217b840c250541609c66f67ed7bab2b733620755" + integrity sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-use-callback-ref" "1.0.1" + +"@radix-ui/react-use-layout-effect@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.1.tgz#be8c7bc809b0c8934acf6657b577daf948a75399" + integrity sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ== + dependencies: + "@babel/runtime" "^7.13.10" + +"@radix-ui/react-use-rect@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-rect/-/react-use-rect-1.0.1.tgz#fde50b3bb9fd08f4a1cd204572e5943c244fcec2" + integrity sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/rect" "1.0.1" + +"@radix-ui/react-use-size@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/react-use-size/-/react-use-size-1.0.1.tgz#1c5f5fea940a7d7ade77694bb98116fb49f870b2" + integrity sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-use-layout-effect" "1.0.1" + +"@radix-ui/react-visually-hidden@1.0.3": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.0.3.tgz#51aed9dd0fe5abcad7dee2a234ad36106a6984ac" + integrity sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA== + dependencies: + "@babel/runtime" "^7.13.10" + "@radix-ui/react-primitive" "1.0.3" + +"@radix-ui/rect@1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@radix-ui/rect/-/rect-1.0.1.tgz#bf8e7d947671996da2e30f4904ece343bc4a883f" + integrity sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ== + dependencies: + "@babel/runtime" "^7.13.10" + "@react-aria/button@^3.3.4": version "3.5.1" resolved "https://registry.yarnpkg.com/@react-aria/button/-/button-3.5.1.tgz#8084a50d4f7daa34dfd7b6d41b90f40dcf15e15e" @@ -4808,6 +5015,17 @@ dependencies: svg2vectordrawable "^2.9.1" +"@vector-im/compound-web@^0.2.15": + version "0.2.15" + resolved "https://registry.yarnpkg.com/@vector-im/compound-web/-/compound-web-0.2.15.tgz#89121053cae95cc4fa82b84fc4ebf87cdf75c564" + integrity sha512-F4ay88XJH9LkGrHcpHyJnqqkWOdYmzwLbTQjbjokKwOPeDvcLJDZkTyRR03GbU8Ir/tlGYSx0TbrXA5XQI0g3A== + dependencies: + "@radix-ui/react-form" "^0.0.3" + "@radix-ui/react-tooltip" "^1.0.6" + classnames "^2.3.2" + graphemer "^1.4.0" + rimraf "^3.0.1" + "@vitejs/plugin-basic-ssl@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz#48c46eab21e0730921986ce742563ae83fe7fe34" @@ -6469,7 +6687,7 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -classnames@^2.3.1: +classnames@^2.3.1, classnames@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924" integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw== @@ -13862,7 +14080,7 @@ rimraf@^2.5.4, rimraf@^2.6.3: dependencies: glob "^7.1.3" -rimraf@^3.0.2: +rimraf@^3.0.1, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==