@100mslive/roomkit-react 0.3.24 → 0.3.25-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/VideoTile/StyledVideoTile.d.ts +606 -1
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +22 -41
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +76 -96
- package/dist/index.js.map +3 -3
- package/dist/meta.cjs.json +39 -19
- package/dist/meta.esbuild.json +39 -19
- package/package.json +8 -7
- package/src/Prebuilt/components/ConferenceScreen.tsx +7 -35
- package/src/Prebuilt/components/VideoLayouts/Grid.tsx +32 -29
- package/src/VideoTile/StyledVideoTile.tsx +15 -6
package/dist/index.js
CHANGED
@@ -107,7 +107,7 @@ var __async = (__this, __arguments, generator) => {
|
|
107
107
|
var define_process_env_default;
|
108
108
|
var init_define_process_env = __esm({
|
109
109
|
"<define:process.env>"() {
|
110
|
-
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_253855c9-417a-485b-afa5-bdbe6f2eb8ad", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.14", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.24", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_253855c9-417a-485b-afa5-bdbe6f2eb8ad", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.24", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.10.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "597", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241103.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.8/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.2/x64", JOURNAL_STREAM: "8:19101", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.24", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11781608893", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5fa06e76860c048811f0ba23e372a048bfd93fa4", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "85cc4bca2b32aa4afe4c28224f8972094417987ca0a92fc94947cf583db7670b", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1731339490406-0.3540041951605988:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1731339490212-0.12326160019194932:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1731339464426-0.8679912238893788:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1731339464248-0.567642183168833:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_dca354ac-dbb5-4904-868b-7c01a2a8562b", INVOCATION_ID: "70c229ec9e944d099dbe917c35ea13b3", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "700", GITHUB_TRIGGERING_ACTOR: "KaustubhKumar05", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 143", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.24", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.24", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "5fa06e76860c048811f0ba23e372a048bfd93fa4", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "KaustubhKumar05", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_253855c9-417a-485b-afa5-bdbe6f2eb8ad", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "57426646", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_253855c9-417a-485b-afa5-bdbe6f2eb8ad", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_253855c9-417a-485b-afa5-bdbe6f2eb8ad" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d6a45172-e52f-4d4e-88da-f865d27b11b9", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_exports___index_css: "./dist/index.css", npm_package_exports___require: "./dist/index.cjs.js", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_screenfull: "^5.1.0", npm_package_dependencies_react_draggable: "^4.4.5", npm_package_dependencies__radix_ui_react_switch: "1.0.0", npm_package_dependencies__100mslive_hms_whiteboard: "0.0.15-alpha.1", USER: "runner", npm_package_devDependencies_jest: "26.6.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v18.20.4 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_scripts_babel: "npx storybook@latest babelrc", CI: "true", npm_package_devDependencies__size_limit_file: "^5.0.3", npm_config_bin_links: "true", npm_config_wrap_output: "", npm_package_dependencies__radix_ui_react_tabs: "1.0.0", npm_package_dependencies__100mslive_react_sdk: "0.10.25-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_d6a45172-e52f-4d4e-88da-f865d27b11b9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", npm_config_init_version: "1.0.0", npm_package_dependencies__emoji_mart_react: "^1.0.1", npm_package_dependencies__emoji_mart_data: "^1.0.6", npm_package_dependencies__100mslive_hms_virtual_background: "1.13.25-alpha.1", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_dependencies__radix_ui_react_tooltip: "1.0.6", npm_package_dependencies__radix_ui_react_popover: "1.0.6", npm_package_dependencies__100mslive_types_prebuilt: "0.12.12", npm_package_peerDependencies_react: ">=17.0.2 <19.0.0", npm_package_devDependencies__storybook_addon_links: "^7.0.27", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies__typescript_eslint_parser: "^5.4.0", npm_package_dependencies__radix_ui_react_dialog: "1.0.4", npm_package_devDependencies__types_react_window: "^1.8.5", npm_package_files_1: "src", npm_package_repository_directory: "packages/roomkit-react", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_controller: "cd packages/hls-controller && yarn start", npm_package_dependencies__stitches_react: "1.3.1-1", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "100mslive", npm_package_engines_node: ">=16", npm_package_devDependencies_typedoc_plugin_markdown: "^3.14.0", npm_config_init_license: "MIT", npm_package_dependencies_framer_motion: "^11.11.0", GRADLE_HOME: "/usr/share/gradle-8.11", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "73883131", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_scripts_lint_fix: "yarn lint --fix", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", npm_package_devDependencies__storybook_addon_a11y: "^7.0.27", SYSTEMD_EXEC_PID: "610", npm_package_scripts_postinstall: "husky install && lerna bootstrap", npm_package_devDependencies_husky: "^6.0.0", npm_package_dependencies_recordrtc: "^5.6.2", npm_package_dependencies_eventemitter2: "^6.4.9", npm_package_dependencies__radix_ui_react_label: "1.0.0", npm_package_dependencies__radix_ui_react_dropdown_menu: "2.0.5", npm_package_keywords_0: "100mslive", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: "100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.", npm_package_devDependencies_typescript: "~4.7.4", npm_package_devDependencies_typedoc: "^0.24.8", npm_package_devDependencies_babel_loader: "^8.2.5", npm_package_keywords_1: "react", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_react: "^18.1.0", npm_package_devDependencies__babel_preset_env: "^7.22.5", npm_package_keywords_2: "prebuilt", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241112.1.0", npm_package_devDependencies_prettier: "^2.4.1", npm_package_devDependencies_babel_jest: "^26.6.0", npm_package_scripts_dev: "node ../../scripts/dev", npm_package_keywords_3: "roomkit", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.9/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", FORCE_COLOR: "true", npm_package_dependencies__radix_ui_react_toast: "1.0.0", npm_package_dependencies__radix_ui_react_radio_group: "1.0.0", npm_package_dependencies__100mslive_hms_noise_cancellation: "0.0.1", npm_package_devDependencies__babel_preset_typescript: "^7.22.5", npm_package_exports___default: "./dist/index.js", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.3/x64", JOURNAL_STREAM: "8:18998", GITHUB_WORKFLOW: "Publish Packages", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "26.5.6", npm_package_devDependencies_lerna: "^5.6.2", npm_package_devDependencies__types_jest: "^27.0.3", npm_package_devDependencies__commitlint_config_conventional: "^15.0.0", npm_package_private: "true", npm_package_dependencies__radix_ui_react_accordion: "1.0.0", npm_package_devDependencies__babel_preset_react: "^7.22.5", npm_package_module: "dist/index.js", npm_package_scripts_lint: "eslint -c .eslintrc --no-error-on-unmatched-pattern src --ext .js --ext .jsx --ext .ts --ext .tsx", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^5.4.0", npm_config_registry: "https://registry.yarnpkg.com", npm_package_dependencies_react_window: "^1.8.7", npm_package_dependencies__100mslive_hls_player: "0.3.25-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "11889069594", STATS_VMFE: "true", npm_package_workspaces_0: "packages/*", npm_package_scripts_store: "cd packages/hms-video-store && yarn start", npm_package_devDependencies__babel_core: "^7.18.2", npm_package_dependencies_ts_pattern: "4.3.0", npm_package_devDependencies__storybook_addon_interactions: "^7.0.27", npm_package_devDependencies__storybook_addon_actions: "^7.0.27", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "40bd24d7d8405df6618586e51ec17448e1c4a16f", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_workspaces_1: "examples/*", npm_package_scripts_start: 'concurrently "yarn dev" "yarn types"', npm_config_ignore_scripts: "", NX_TASK_HASH: "a812b5348531b836dd3717efbb7ad4c371be2e050575047ac0fe642a121564b8", npm_package_exports___import: "./dist/index.js", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/publish-alpha", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_scripts_prebuilt: "cd packages/roomkit-react && yarn start", npm_package_devDependencies_postcss_loader: "^6.2.1", npm_package_devDependencies_esbuild_loader: "^4.0.2", PATH: "/tmp/yarn--1731920694613-0.5100844957089283:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1731920694419-0.19914657715418316:/home/runner/work/web-sdks/web-sdks/packages/roomkit-react/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1731920668113-0.3186319987683408:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1731920667929-0.10165169244296557:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/home/runner/work/web-sdks/web-sdks/node_modules/.bin:/opt/hostedtoolcache/node/18.20.4/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.20.4/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/18.20.4/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ded8bc12-6084-44b9-aea9-4b7a3759ca3c", INVOCATION_ID: "736d61e50a0a4c39b57759530422bbeb", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_scripts_size: "size-limit", npm_package_devDependencies_size_limit: "^5.0.3", npm_package_name: "@100mslive/roomkit-react", npm_package_devDependencies__storybook_react_webpack5: "^7.0.27", npm_package_repository_type: "git", GITHUB_ACTION: "__run_3", GITHUB_RUN_NUMBER: "702", GITHUB_TRIGGERING_ACTOR: "github-actions[bot]", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_lint_staged____js_ts_jsx_tsx_: "eslint", npm_package_devDependencies_babel_plugin_istanbul: "^6.1.1", LERNA_PACKAGE_NAME: "@100mslive/roomkit-react", npm_package_dependencies__radix_ui_react_select: "1.0.0", npm_package_size_limit_0_limit: "20 KB", npm_package_devDependencies__commitlint_cli: "^15.0.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_size_limit_1_limit: "20 KB", npm_package_devDependencies_eslint_plugin_simple_import_sort: "^8.0.0", npm_package_devDependencies_eslint: "^8.9.0", npm_package_dependencies_react_intersection_observer: "^9.4.3", npm_package_dependencies_react_dom: "^18.2.0", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 288", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", STATS_D_D: "false", npm_lifecycle_script: "rm -rf dist && node ../../scripts/build-webapp", npm_package_size_limit_2_limit: "400 KB", npm_package_resolutions_loader_utils: "^2.0.4", npm_package_devDependencies_dotenv: "^14.2.0", npm_package_dependencies__radix_ui_react_slider: "1.0.0", npm_package_scripts_types_build: "tsc -p tsconfig.json", npm_package_main: "dist/index.cjs.js", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_size_limit_3_limit: "20 KB", npm_package_size_limit_0_path: "packages/hms-video-store/dist/index.cjs.js", npm_package_scripts_cypress_open: "cypress open", npm_package_scripts_lerna_publish: "lerna publish from-package --dist-tag $PUBLISH_FLAG --yes --no-verify-access", npm_package_scripts_test: "yarn build --no-private && lerna run test", npm_package_devDependencies_concurrently: "^6.4.0", npm_config_version_git_message: "v%s", npm_package_dependencies__radix_ui_react_checkbox: "1.0.0", npm_package_dependencies__100mslive_react_icons: "0.10.25-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:only", npm_package_version: "0.3.25-alpha.1", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", npm_package_resolutions_axios: "^1.7.4", npm_package_scripts_build_only: "rm -rf dist && node ../../scripts/build-webapp", npm_package_devDependencies__types_react: "^18.1.0", npm_package_sideEffects: "false", npm_package_repository_url: "https://github.com/100mslive/web-sdks.git", npm_package_source: "src/index.ts", GITHUB_REF_PROTECTED: "true", npm_config_argv: '{"remain":[],"cooked":["run","test"],"original":["test"]}', npm_package_size_limit_5_limit: "20 KB", npm_package_size_limit_2_path: "packages/roomkit-react/dist/index.cjs.js", npm_package_scripts_build: "yarn build:only && yarn types:build", npm_package_devDependencies_tslib: "^2.2.0", npm_package_devDependencies_nx: "^14.5.1", npm_package_devDependencies_lint_staged: "^12.0.3", NX_CLI_SET: "true", npm_package_dependencies_uuid: "^8.3.2", npm_package_dependencies_react_virtualized_auto_sizer: "^1.0.7", npm_package_dependencies_lodash_merge: "^4.6.2", npm_package_dependencies_emoji_mart: "^5.2.2", GITHUB_WORKSPACE: "/home/runner/work/web-sdks/web-sdks", ACCEPT_EULA: "Y", GITHUB_JOB: "publish_packages", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_size_limit_6_limit: "150 KB", npm_package_size_limit_3_path: "packages/roomkit-react/dist/index.js", npm_package_devDependencies_cypress: "^9.5.2", GITHUB_SHA: "40bd24d7d8405df6618586e51ec17448e1c4a16f", GITHUB_RUN_ATTEMPT: "1", npm_package_size_limit_7_limit: "100 KB", npm_package_size_limit_4_path: "packages/hms-virtual-background/dist/index.cjs.js", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", npm_package_dependencies_qrcode_react: "^3.1.0", GITHUB_REF: "refs/heads/publish-alpha", GITHUB_ACTOR: "github-actions[bot]", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "MIT", npm_package_size_limit_5_path: "packages/hms-virtual-background/dist/index.js", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_size_limit_6_path: "packages/react-icons/dist/index.cjs.js", npm_package_scripts_format: "prettier -w src/**", npm_package_devDependencies_eslint_plugin_prettier: "^4.0.0", npm_package_devDependencies_eslint_config_react_app: "^7.0.0", NX_TASK_TARGET_PROJECT: "@100mslive/roomkit-react", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_d6a45172-e52f-4d4e-88da-f865d27b11b9", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "41898282", RUNNER_WORKSPACE: "/home/runner/work/web-sdks", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", npm_package_size_limit_7_path: "packages/react-icons/dist/index.js", npm_package_scripts_ybys: "yarn && yarn build --no-private && yarn storybook", npm_package_dependencies__radix_ui_react_progress: "1.0.0", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_d6a45172-e52f-4d4e-88da-f865d27b11b9", npm_package_scripts_prestart: "rm -rf dist && yarn types:build", npm_package_author_name: "100ms", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_scripts_build_storybook: "sb build", npm_package_devDependencies_postcss: "^8.4.5", npm_package_devDependencies_esbuild: "^0.18.13", npm_config_save_prefix: "^", npm_config_ignore_optional: "", npm_package_dependencies_worker_timers: "^7.0.40", npm_package_typings: "dist/index.d.ts", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_storybook: "sb dev -p 6006", npm_package_devDependencies_esbuild_plugin_postcss2: "0.1.1", npm_package_dependencies_react_swipeable: "^7.0.1", npm_package_devDependencies_babel_plugin_react_require: "3.1.3", npm_package_devDependencies__storybook_testing_library: "^0.2.0", npm_package_devDependencies__storybook_addon_essentials: "^7.0.27", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_scripts_reactsdk: "cd packages/react-sdk && yarn start", npm_package_dependencies_react_use: "^17.4.0", npm_package_dependencies__radix_ui_react_collapsible: "1.0.0", npm_package_devDependencies_storybook_dark_mode: "^3.0.0", npm_package_devDependencies_knip: "^5.11.0", npm_package_devDependencies__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_d6a45172-e52f-4d4e-88da-f865d27b11b9" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -10171,7 +10171,6 @@ var _a5, _b5;
|
|
10171
10171
|
var isMacOS = ((_b5 = (_a5 = parsedUserAgent.getOS()) == null ? void 0 : _a5.name) == null ? void 0 : _b5.toLowerCase()) === "mac os";
|
10172
10172
|
var _a6, _b6;
|
10173
10173
|
var isAndroid = ((_b6 = (_a6 = parsedUserAgent.getOS()) == null ? void 0 : _a6.name) == null ? void 0 : _b6.toLowerCase()) === "android";
|
10174
|
-
var isIPadOS = false;
|
10175
10174
|
var QUESTION_TYPE_TITLE = /* @__PURE__ */ ((QUESTION_TYPE_TITLE2) => {
|
10176
10175
|
QUESTION_TYPE_TITLE2["single-choice"] = "Single Choice";
|
10177
10176
|
QUESTION_TYPE_TITLE2["multiple-choice"] = "Multiple Choice";
|
@@ -11471,13 +11470,21 @@ init_define_process_env();
|
|
11471
11470
|
|
11472
11471
|
// src/VideoTile/StyledVideoTile.tsx
|
11473
11472
|
init_define_process_env();
|
11473
|
+
import { motion } from "framer-motion";
|
11474
11474
|
var Root7 = styled("div", {
|
11475
11475
|
padding: "0.75rem"
|
11476
|
-
// show videotile context menu on hover
|
11477
|
-
// [`&:hover .tile-menu`]: {
|
11478
|
-
// display: 'inline-block',
|
11479
|
-
// },
|
11480
11476
|
});
|
11477
|
+
var MotionRoot = motion(Root7);
|
11478
|
+
MotionRoot.defaultProps = {
|
11479
|
+
layout: true,
|
11480
|
+
transition: {
|
11481
|
+
type: "spring",
|
11482
|
+
stiffness: 300,
|
11483
|
+
damping: 30,
|
11484
|
+
mass: 1,
|
11485
|
+
duration: 0.15
|
11486
|
+
}
|
11487
|
+
};
|
11481
11488
|
var Container = styled("div", {
|
11482
11489
|
width: "100%",
|
11483
11490
|
height: "100%",
|
@@ -11588,7 +11595,7 @@ var AvatarContainer = styled(Box, __spreadProps(__spreadValues({}, flexCenter),
|
|
11588
11595
|
}
|
11589
11596
|
}));
|
11590
11597
|
var StyledVideoTile = {
|
11591
|
-
Root:
|
11598
|
+
Root: MotionRoot,
|
11592
11599
|
Container,
|
11593
11600
|
Overlay: Overlay2,
|
11594
11601
|
Info,
|
@@ -14642,11 +14649,10 @@ var AuthToken_default = AuthToken;
|
|
14642
14649
|
|
14643
14650
|
// src/Prebuilt/components/ConferenceScreen.tsx
|
14644
14651
|
init_define_process_env();
|
14645
|
-
import React176, { useEffect as useEffect65, useRef as useRef33
|
14652
|
+
import React176, { useEffect as useEffect65, useRef as useRef33 } from "react";
|
14646
14653
|
import { v4 as uuid3 } from "uuid";
|
14647
14654
|
import {
|
14648
14655
|
HMSRoomState as HMSRoomState8,
|
14649
|
-
selectAppData as selectAppData13,
|
14650
14656
|
selectIsConnectedToRoom as selectIsConnectedToRoom10,
|
14651
14657
|
selectRoomState as selectRoomState8,
|
14652
14658
|
useAwayNotifications as useAwayNotifications3,
|
@@ -21502,7 +21508,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21502
21508
|
n((t = t.apply(a2, e)).next());
|
21503
21509
|
});
|
21504
21510
|
var kr = co((Wc, fo) => {
|
21505
|
-
fo.exports = { version: "0.12.
|
21511
|
+
fo.exports = { version: "0.12.25-alpha.1", license: "MIT", repository: { type: "git", url: "https://github.com/100mslive/web-sdks.git", directory: "packages/hms-video-store" }, main: "dist/index.cjs.js", module: "dist/index.js", typings: "dist/index.d.ts", files: ["dist", "src"], engines: { node: ">=12" }, exports: { ".": { require: "./dist/index.cjs.js", import: "./dist/index.js", default: "./dist/index.js" } }, sideEffects: false, scripts: { prestart: "rm -rf dist && yarn types:build", start: 'concurrently "yarn dev" "yarn types"', dev: "node ../../scripts/dev", "build:only": "node ../../scripts/build", build: "yarn build:only && yarn types:build", types: "tsc -w", "types:build": "tsc -p tsconfig.json", format: "prettier --write src/**/*.ts", test: "jest --maxWorkers=1", "test:watch": "jest --watch", "test:coverage": "jest --coverage", lint: "eslint -c ../../.eslintrc .", "lint:fix": "yarn lint --fix", prepare: "yarn build", size: "size-limit", analyze: "size-limit --why", docs: "rm -rf ./docs && typedoc && rm -f ./docs/README.md && mkdir ./docs/home &&mv ./docs/modules.md ./docs/home/content.md && node ../../scripts/docs-store && npx prettier --write './docs/**/*'" }, name: "@100mslive/hms-video-store", author: "100ms", dependencies: { eventemitter2: "^6.4.9", immer: "^9.0.6", "lodash.isequal": "^4.5.0", reselect: "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", uuid: "^8.3.2", "webrtc-adapter": "^8.0.0", zustand: "3.5.7" }, devDependencies: { "@types/dom-screen-wake-lock": "^1.0.1", "@types/lodash.isequal": "^4.5.8", "@types/sdp-transform": "^2.4.4", "@types/ua-parser-js": "^0.7.36", "@types/uuid": "^8.3.0", "jest-canvas-mock": "^2.3.1", "jsdom-worker": "^0.3.0", tslib: "^2.2.0" }, description: "@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow", keywords: ["video", "webrtc", "conferencing", "100ms"] };
|
21506
21512
|
});
|
21507
21513
|
var fr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(fr || {});
|
21508
21514
|
var lo = ((e) => (e.CHAT = "chat", e))(lo || {});
|
@@ -29724,10 +29730,11 @@ var Pagination = ({
|
|
29724
29730
|
// src/Prebuilt/components/VideoLayouts/Grid.tsx
|
29725
29731
|
init_define_process_env();
|
29726
29732
|
import React143 from "react";
|
29733
|
+
import { AnimatePresence } from "framer-motion";
|
29727
29734
|
var Grid = React143.forwardRef(
|
29728
29735
|
({ tiles, edgeToEdge }, ref) => {
|
29729
29736
|
const videoTileProps = useVideoTileContext();
|
29730
|
-
return /* @__PURE__ */ React143.createElement(
|
29737
|
+
return /* @__PURE__ */ React143.createElement(AnimatePresence, null, /* @__PURE__ */ React143.createElement(
|
29731
29738
|
Box,
|
29732
29739
|
{
|
29733
29740
|
ref,
|
@@ -29758,7 +29765,7 @@ var Grid = React143.forwardRef(
|
|
29758
29765
|
}, videoTileProps)
|
29759
29766
|
);
|
29760
29767
|
})
|
29761
|
-
);
|
29768
|
+
));
|
29762
29769
|
}
|
29763
29770
|
);
|
29764
29771
|
|
@@ -33081,13 +33088,9 @@ var ConferenceScreen = () => {
|
|
33081
33088
|
const roomState = useHMSStore87(selectRoomState8);
|
33082
33089
|
const isConnectedToRoom = useHMSStore87(selectIsConnectedToRoom10);
|
33083
33090
|
const hmsActions = useHMSActions52();
|
33084
|
-
const [hideControls, setHideControls] = useState74(false);
|
33085
|
-
const dropdownList = useHMSStore87(selectAppData13(APP_DATA.dropdownList));
|
33086
33091
|
const authTokenInAppData = useAuthToken();
|
33087
33092
|
const headerRef = useRef33(null);
|
33088
33093
|
const footerRef = useRef33(null);
|
33089
|
-
const isMobileDevice = isAndroid || isIOS || isIPadOS;
|
33090
|
-
const dropdownListRef = useRef33();
|
33091
33094
|
const [isHLSStarted] = useSetAppDataByKey(APP_DATA.hlsStarted);
|
33092
33095
|
const { requestPermission } = useAwayNotifications3();
|
33093
33096
|
const showChat = !!((_a7 = screenProps.elements) == null ? void 0 : _a7.chat);
|
@@ -33095,27 +33098,6 @@ var ConferenceScreen = () => {
|
|
33095
33098
|
const isMobileHLSStream = useMobileHLSStream();
|
33096
33099
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
33097
33100
|
const isMwebHLSStream = isMobileHLSStream || isLandscapeHLSStream;
|
33098
|
-
const toggleControls = () => {
|
33099
|
-
var _a8;
|
33100
|
-
if (((_a8 = dropdownListRef.current) == null ? void 0 : _a8.length) === 0 && isMobileDevice && !isMwebHLSStream) {
|
33101
|
-
setHideControls((value) => !value);
|
33102
|
-
}
|
33103
|
-
};
|
33104
|
-
useEffect65(() => {
|
33105
|
-
let timeout;
|
33106
|
-
dropdownListRef.current = dropdownList || [];
|
33107
|
-
if (dropdownListRef.current && dropdownListRef.current.length === 0) {
|
33108
|
-
clearTimeout(timeout);
|
33109
|
-
timeout = setTimeout(() => {
|
33110
|
-
if (dropdownListRef.current && dropdownListRef.current.length === 0) {
|
33111
|
-
setHideControls(isMobileDevice);
|
33112
|
-
}
|
33113
|
-
}, 5e3);
|
33114
|
-
}
|
33115
|
-
return () => {
|
33116
|
-
clearTimeout(timeout);
|
33117
|
-
};
|
33118
|
-
}, [dropdownList, hideControls, isMobileDevice]);
|
33119
33101
|
useEffect65(() => {
|
33120
33102
|
if (authTokenInAppData && !isConnectedToRoom && !isPreviewScreenEnabled && roomState !== HMSRoomState8.Connecting && !autoRoomJoined.current) {
|
33121
33103
|
hmsActions.join({
|
@@ -33150,7 +33132,6 @@ var ConferenceScreen = () => {
|
|
33150
33132
|
if (!isConnectedToRoom && ![HMSRoomState8.Reconnecting, HMSRoomState8.Disconnected].includes(roomState)) {
|
33151
33133
|
return /* @__PURE__ */ React176.createElement(FullPageProgress_default, { text: roomState === HMSRoomState8.Connecting ? "Joining..." : "" });
|
33152
33134
|
}
|
33153
|
-
const hideControlsForStreaming = isMwebHLSStream ? true : hideControls;
|
33154
33135
|
return /* @__PURE__ */ React176.createElement(React176.Fragment, null, isHLSStarted ? /* @__PURE__ */ React176.createElement(Box, { css: { position: "fixed", zIndex: 100, w: "100%", h: "100%", left: 0, top: 0 } }, /* @__PURE__ */ React176.createElement(FullPageProgress_default, { text: "Starting live stream...", css: { opacity: 0.8, bg: "$background_dim" } })) : null, /* @__PURE__ */ React176.createElement(Flex, { css: { size: "100%", overflow: "hidden" }, direction: "column" }, !(screenProps.hideSections.includes("header") || isMwebHLSStream) && /* @__PURE__ */ React176.createElement(
|
33155
33136
|
Box,
|
33156
33137
|
{
|
@@ -33158,7 +33139,7 @@ var ConferenceScreen = () => {
|
|
33158
33139
|
css: {
|
33159
33140
|
h: "$18",
|
33160
33141
|
transition: "margin 0.3s ease-in-out",
|
33161
|
-
marginTop:
|
33142
|
+
marginTop: isMwebHLSStream ? `-${(_b7 = headerRef.current) == null ? void 0 : _b7.clientHeight}px` : "none",
|
33162
33143
|
"@md": {
|
33163
33144
|
h: "$17"
|
33164
33145
|
}
|
@@ -33182,15 +33163,14 @@ var ConferenceScreen = () => {
|
|
33182
33163
|
}
|
33183
33164
|
},
|
33184
33165
|
id: "conferencing",
|
33185
|
-
"data-testid": "conferencing"
|
33186
|
-
onClick: toggleControls
|
33166
|
+
"data-testid": "conferencing"
|
33187
33167
|
},
|
33188
33168
|
screenProps.elements ? /* @__PURE__ */ React176.createElement(
|
33189
33169
|
VideoStreamingSection,
|
33190
33170
|
{
|
33191
33171
|
screenType: screenProps.screenType,
|
33192
33172
|
elements: screenProps.elements,
|
33193
|
-
hideControls:
|
33173
|
+
hideControls: isMwebHLSStream
|
33194
33174
|
}
|
33195
33175
|
) : null
|
33196
33176
|
), !screenProps.hideSections.includes("footer") && screenProps.elements && !isMwebHLSStream && /* @__PURE__ */ React176.createElement(
|
@@ -33202,7 +33182,7 @@ var ConferenceScreen = () => {
|
|
33202
33182
|
maxHeight: "$24",
|
33203
33183
|
transition: "margin 0.3s ease-in-out",
|
33204
33184
|
bg: "$background_dim",
|
33205
|
-
marginBottom:
|
33185
|
+
marginBottom: isMwebHLSStream ? `-${(_f = footerRef.current) == null ? void 0 : _f.clientHeight}px` : void 0,
|
33206
33186
|
"@md": {
|
33207
33187
|
maxHeight: "unset",
|
33208
33188
|
bg: screenProps.screenType === "hls_live_streaming" ? "transparent" : "$background_dim"
|
@@ -33385,7 +33365,7 @@ var Init = () => {
|
|
33385
33365
|
init_define_process_env();
|
33386
33366
|
import { useEffect as useEffect68 } from "react";
|
33387
33367
|
import {
|
33388
|
-
selectAppData as
|
33368
|
+
selectAppData as selectAppData13,
|
33389
33369
|
selectIsLocalAudioEnabled as selectIsLocalAudioEnabled2,
|
33390
33370
|
selectIsLocalVideoEnabled as selectIsLocalVideoEnabled9,
|
33391
33371
|
useHMSActions as useHMSActions53,
|
@@ -33406,19 +33386,19 @@ var KeyboardInputManager = class {
|
|
33406
33386
|
yield __privateGet(this, _actions).setLocalVideoEnabled(!enabled);
|
33407
33387
|
}));
|
33408
33388
|
__privateAdd(this, _hideSidepane, () => {
|
33409
|
-
if (__privateGet(this, _store).getState(
|
33389
|
+
if (__privateGet(this, _store).getState(selectAppData13(APP_DATA.sidePane))) {
|
33410
33390
|
__privateGet(this, _actions).setAppData(APP_DATA.sidePane, "");
|
33411
33391
|
}
|
33412
33392
|
});
|
33413
33393
|
__privateAdd(this, _toggleStatsForNerds, () => {
|
33414
|
-
const uiSettings = __privateGet(this, _store).getState(
|
33394
|
+
const uiSettings = __privateGet(this, _store).getState(selectAppData13(APP_DATA.uiSettings));
|
33415
33395
|
const statsEnabled = uiSettings.showStatsOnTiles;
|
33416
33396
|
__privateGet(this, _actions).setAppData(APP_DATA.uiSettings, __spreadProps(__spreadValues({}, uiSettings), {
|
33417
33397
|
showStatsOnTiles: !statsEnabled
|
33418
33398
|
}));
|
33419
33399
|
});
|
33420
33400
|
__privateAdd(this, _toggleHlsStats, () => {
|
33421
|
-
__privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState(
|
33401
|
+
__privateGet(this, _actions).setAppData(APP_DATA.hlsStats, !__privateGet(this, _store).getState(selectAppData13(APP_DATA.hlsStats)));
|
33422
33402
|
});
|
33423
33403
|
// eslint-disable-next-line complexity
|
33424
33404
|
__privateAdd(this, _keyDownHandler, (e) => __async(this, null, function* () {
|
@@ -33493,12 +33473,12 @@ import { ExitIcon as ExitIcon3 } from "@100mslive/react-icons";
|
|
33493
33473
|
|
33494
33474
|
// src/Prebuilt/components/EndCallFeedback/Feedback.tsx
|
33495
33475
|
init_define_process_env();
|
33496
|
-
import React181, { useState as
|
33476
|
+
import React181, { useState as useState76 } from "react";
|
33497
33477
|
import { useMedia as useMedia48 } from "react-use";
|
33498
33478
|
|
33499
33479
|
// src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx
|
33500
33480
|
init_define_process_env();
|
33501
|
-
import React179, { useState as
|
33481
|
+
import React179, { useState as useState74 } from "react";
|
33502
33482
|
import { useMedia as useMedia46 } from "react-use";
|
33503
33483
|
import { useHMSActions as useHMSActions54 } from "@100mslive/react-sdk";
|
33504
33484
|
import { CheckIcon as CheckIcon10, CrossIcon as CrossIcon30 } from "@100mslive/react-icons";
|
@@ -33548,8 +33528,8 @@ var FeedbackContent = ({
|
|
33548
33528
|
const { endpoints } = useHMSPrebuiltContext();
|
33549
33529
|
const isMobile = useMedia46(config.media.md);
|
33550
33530
|
const hmsActions = useHMSActions54();
|
33551
|
-
const [comment, setComment] =
|
33552
|
-
const [selectedReasons, setSelectedReasons] =
|
33531
|
+
const [comment, setComment] = useState74("");
|
33532
|
+
const [selectedReasons, setSelectedReasons] = useState74(/* @__PURE__ */ new Set());
|
33553
33533
|
const handleCheckedChange = (checked, index) => {
|
33554
33534
|
const newSelected = new Set(selectedReasons);
|
33555
33535
|
if (checked) {
|
@@ -33855,11 +33835,11 @@ var FeedbackForm = ({
|
|
33855
33835
|
|
33856
33836
|
// src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx
|
33857
33837
|
init_define_process_env();
|
33858
|
-
import React180, { useState as
|
33838
|
+
import React180, { useState as useState75 } from "react";
|
33859
33839
|
import { useMedia as useMedia47 } from "react-use";
|
33860
33840
|
import { CrossIcon as CrossIcon31, UserMusicIcon } from "@100mslive/react-icons";
|
33861
33841
|
var ThankyouView = () => {
|
33862
|
-
const [isVisible, setIsVisible] =
|
33842
|
+
const [isVisible, setIsVisible] = useState75(true);
|
33863
33843
|
const isMobile = useMedia47(config.media.md);
|
33864
33844
|
if (!isVisible) {
|
33865
33845
|
return null;
|
@@ -33917,7 +33897,7 @@ var ThankyouView = () => {
|
|
33917
33897
|
// src/Prebuilt/components/EndCallFeedback/Feedback.tsx
|
33918
33898
|
var Feedback = () => {
|
33919
33899
|
const { feedback } = useRoomLayoutLeaveScreen();
|
33920
|
-
const [index, setIndex] =
|
33900
|
+
const [index, setIndex] = useState76(FEEBACK_INDEX.INIT);
|
33921
33901
|
const isMobile = useMedia48(config.media.md);
|
33922
33902
|
if (!feedback) {
|
33923
33903
|
return null;
|
@@ -34022,12 +34002,12 @@ var LeaveScreen = () => {
|
|
34022
34002
|
|
34023
34003
|
// src/Prebuilt/components/MwebLandscapePrompt.tsx
|
34024
34004
|
init_define_process_env();
|
34025
|
-
import React183, { useEffect as useEffect69, useState as
|
34005
|
+
import React183, { useEffect as useEffect69, useState as useState77 } from "react";
|
34026
34006
|
import { useMedia as useMedia49 } from "react-use";
|
34027
34007
|
import { match as match15, P as P7 } from "ts-pattern";
|
34028
34008
|
import { RefreshIcon } from "@100mslive/react-icons";
|
34029
34009
|
var MwebLandscapePrompt = () => {
|
34030
|
-
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] =
|
34010
|
+
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState77(false);
|
34031
34011
|
const isLandscape = useMedia49(config.media.ls);
|
34032
34012
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
34033
34013
|
useEffect69(() => {
|
@@ -34156,7 +34136,7 @@ var DeviceChangeNotifications = () => {
|
|
34156
34136
|
|
34157
34137
|
// src/Prebuilt/components/Notifications/DeviceInUseError.tsx
|
34158
34138
|
init_define_process_env();
|
34159
|
-
import React186, { useEffect as useEffect72, useState as
|
34139
|
+
import React186, { useEffect as useEffect72, useState as useState78 } from "react";
|
34160
34140
|
import {
|
34161
34141
|
HMSNotificationTypes as HMSNotificationTypes4,
|
34162
34142
|
HMSTrackExceptionTrackType,
|
@@ -34165,8 +34145,8 @@ import {
|
|
34165
34145
|
var Instruction = ({ description }) => /* @__PURE__ */ React186.createElement("li", null, /* @__PURE__ */ React186.createElement(DialogRow, { css: { ml: "$4" } }, /* @__PURE__ */ React186.createElement(Text, { variant: "body2" }, description)));
|
34166
34146
|
function DeviceInUseError() {
|
34167
34147
|
const notification = useHMSNotifications4(HMSNotificationTypes4.ERROR);
|
34168
|
-
const [showDeviceInUseModal, setShowDeviceInUseModal] =
|
34169
|
-
const [deviceType, setDeviceType] =
|
34148
|
+
const [showDeviceInUseModal, setShowDeviceInUseModal] = useState78(false);
|
34149
|
+
const [deviceType, setDeviceType] = useState78("");
|
34170
34150
|
useEffect72(() => {
|
34171
34151
|
const error = notification == null ? void 0 : notification.data;
|
34172
34152
|
if (!error || error.code !== 3003) {
|
@@ -34562,12 +34542,12 @@ var HandRaisedNotifications = () => {
|
|
34562
34542
|
|
34563
34543
|
// src/Prebuilt/components/Notifications/InitErrorModal.tsx
|
34564
34544
|
init_define_process_env();
|
34565
|
-
import React189, { useEffect as useEffect75, useState as
|
34545
|
+
import React189, { useEffect as useEffect75, useState as useState79 } from "react";
|
34566
34546
|
import { HMSNotificationTypes as HMSNotificationTypes7, useHMSNotifications as useHMSNotifications7 } from "@100mslive/react-sdk";
|
34567
34547
|
var InitErrorModal = () => {
|
34568
34548
|
const notification = useHMSNotifications7(HMSNotificationTypes7.ERROR);
|
34569
|
-
const [showModal, setShowModal] =
|
34570
|
-
const [info, setInfo] =
|
34549
|
+
const [showModal, setShowModal] = useState79(false);
|
34550
|
+
const [info, setInfo] = useState79({ title: "Init Error", description: "" });
|
34571
34551
|
useEffect75(() => {
|
34572
34552
|
const data3 = notification == null ? void 0 : notification.data;
|
34573
34553
|
if (!data3 || data3.action !== "INIT") {
|
@@ -34660,7 +34640,7 @@ var PeerNotifications = () => {
|
|
34660
34640
|
|
34661
34641
|
// src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
|
34662
34642
|
init_define_process_env();
|
34663
|
-
import React190, { useEffect as useEffect78, useState as
|
34643
|
+
import React190, { useEffect as useEffect78, useState as useState80 } from "react";
|
34664
34644
|
import { useMedia as useMedia50 } from "react-use";
|
34665
34645
|
import {
|
34666
34646
|
HMSNotificationTypes as HMSNotificationTypes9,
|
@@ -34674,8 +34654,8 @@ function PermissionErrorNotificationModal() {
|
|
34674
34654
|
return /* @__PURE__ */ React190.createElement(PermissionErrorModal, { error: notification == null ? void 0 : notification.data });
|
34675
34655
|
}
|
34676
34656
|
var PermissionErrorModal = ({ error }) => {
|
34677
|
-
const [deviceType, setDeviceType] =
|
34678
|
-
const [isSystemError, setIsSystemError] =
|
34657
|
+
const [deviceType, setDeviceType] = useState80("");
|
34658
|
+
const [isSystemError, setIsSystemError] = useState80(false);
|
34679
34659
|
const isMobile = useMedia50(config.media.md);
|
34680
34660
|
useEffect78(() => {
|
34681
34661
|
if (!error || (error == null ? void 0 : error.code) !== 3001 && (error == null ? void 0 : error.code) !== 3011 || (error == null ? void 0 : error.code) === 3001 && (error == null ? void 0 : error.message.includes("screen"))) {
|
@@ -34847,7 +34827,7 @@ var RoleChangeNotification = () => {
|
|
34847
34827
|
|
34848
34828
|
// src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
|
34849
34829
|
init_define_process_env();
|
34850
|
-
import React192, { useEffect as useEffect82, useState as
|
34830
|
+
import React192, { useEffect as useEffect82, useState as useState81 } from "react";
|
34851
34831
|
import {
|
34852
34832
|
HMSNotificationTypes as HMSNotificationTypes13,
|
34853
34833
|
useHMSActions as useHMSActions56,
|
@@ -34861,7 +34841,7 @@ var notificationTypes4 = [
|
|
34861
34841
|
];
|
34862
34842
|
var TrackBulkUnmuteModal = () => {
|
34863
34843
|
const hmsActions = useHMSActions56();
|
34864
|
-
const [muteNotification, setMuteNotification] =
|
34844
|
+
const [muteNotification, setMuteNotification] = useState81(null);
|
34865
34845
|
const notification = useHMSNotifications14(notificationTypes4);
|
34866
34846
|
useEffect82(() => {
|
34867
34847
|
switch (notification == null ? void 0 : notification.type) {
|
@@ -34942,7 +34922,7 @@ var TrackNotifications = () => {
|
|
34942
34922
|
|
34943
34923
|
// src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
|
34944
34924
|
init_define_process_env();
|
34945
|
-
import React193, { useEffect as useEffect84, useState as
|
34925
|
+
import React193, { useEffect as useEffect84, useState as useState82 } from "react";
|
34946
34926
|
import {
|
34947
34927
|
HMSNotificationTypes as HMSNotificationTypes15,
|
34948
34928
|
useHMSActions as useHMSActions57,
|
@@ -34957,7 +34937,7 @@ var notificationTypes6 = [
|
|
34957
34937
|
var TrackUnmuteModal = () => {
|
34958
34938
|
const hmsActions = useHMSActions57();
|
34959
34939
|
const notification = useHMSNotifications16(notificationTypes6);
|
34960
|
-
const [muteNotification, setMuteNotification] =
|
34940
|
+
const [muteNotification, setMuteNotification] = useState82(null);
|
34961
34941
|
useEffect84(() => {
|
34962
34942
|
switch (notification == null ? void 0 : notification.type) {
|
34963
34943
|
case HMSNotificationTypes15.REMOVED_FROM_ROOM:
|
@@ -35062,10 +35042,10 @@ function Notifications() {
|
|
35062
35042
|
|
35063
35043
|
// src/Prebuilt/components/PIP/PIPProvider.tsx
|
35064
35044
|
init_define_process_env();
|
35065
|
-
import React196, { useCallback as useCallback40, useMemo as useMemo22, useState as
|
35045
|
+
import React196, { useCallback as useCallback40, useMemo as useMemo22, useState as useState83 } from "react";
|
35066
35046
|
var PIPProvider = ({ children }) => {
|
35067
35047
|
const isSupported = "documentPictureInPicture" in window;
|
35068
|
-
const [pipWindow, setPipWindow] =
|
35048
|
+
const [pipWindow, setPipWindow] = useState83(null);
|
35069
35049
|
const closePipWindow = useCallback40(() => {
|
35070
35050
|
if (pipWindow != null) {
|
35071
35051
|
pipWindow.close();
|
@@ -35126,7 +35106,7 @@ var PreviewScreen = () => {
|
|
35126
35106
|
|
35127
35107
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
35128
35108
|
init_define_process_env();
|
35129
|
-
import React199, { useEffect as useEffect86, useState as
|
35109
|
+
import React199, { useEffect as useEffect86, useState as useState84 } from "react";
|
35130
35110
|
import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore95 } from "@100mslive/react-sdk";
|
35131
35111
|
|
35132
35112
|
// src/Prebuilt/components/Toast/Toast.jsx
|
@@ -35151,7 +35131,7 @@ var Toast2 = (_a7) => {
|
|
35151
35131
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
35152
35132
|
var ToastContainer = () => {
|
35153
35133
|
const isConnected = useHMSStore95(selectIsConnectedToRoom11);
|
35154
|
-
const [toasts, setToast] =
|
35134
|
+
const [toasts, setToast] = useState84([]);
|
35155
35135
|
useEffect86(() => {
|
35156
35136
|
ToastManager.addListener(setToast);
|
35157
35137
|
return () => {
|
@@ -35173,7 +35153,7 @@ var ToastContainer = () => {
|
|
35173
35153
|
// src/Prebuilt/layouts/Sheet.tsx
|
35174
35154
|
init_define_process_env();
|
35175
35155
|
import React201 from "react";
|
35176
|
-
import { selectAppData as
|
35156
|
+
import { selectAppData as selectAppData14, useHMSStore as useHMSStore96 } from "@100mslive/react-sdk";
|
35177
35157
|
|
35178
35158
|
// src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
|
35179
35159
|
init_define_process_env();
|
@@ -35197,7 +35177,7 @@ var RoomDetailsSheet = () => {
|
|
35197
35177
|
|
35198
35178
|
// src/Prebuilt/layouts/Sheet.tsx
|
35199
35179
|
var Sheet2 = () => {
|
35200
|
-
const sheet = useHMSStore96(
|
35180
|
+
const sheet = useHMSStore96(selectAppData14(APP_DATA.sheet));
|
35201
35181
|
let ViewComponent;
|
35202
35182
|
if (sheet === SHEET_OPTIONS.ROOM_DETAILS) {
|
35203
35183
|
ViewComponent = /* @__PURE__ */ React201.createElement(RoomDetailsSheet, null);
|
@@ -35207,7 +35187,7 @@ var Sheet2 = () => {
|
|
35207
35187
|
|
35208
35188
|
// src/Prebuilt/plugins/FlyingEmoji.jsx
|
35209
35189
|
init_define_process_env();
|
35210
|
-
import React202, { useCallback as useCallback41, useEffect as useEffect87, useMemo as useMemo23, useState as
|
35190
|
+
import React202, { useCallback as useCallback41, useEffect as useEffect87, useMemo as useMemo23, useState as useState85 } from "react";
|
35211
35191
|
import { useMedia as useMedia51 } from "react-use";
|
35212
35192
|
import {
|
35213
35193
|
selectIsLargeRoom as selectIsLargeRoom4,
|
@@ -35245,7 +35225,7 @@ function FlyingEmoji() {
|
|
35245
35225
|
const localPeerId = useHMSStore97(selectLocalPeerID16);
|
35246
35226
|
const vanillaStore = useHMSVanillaStore19();
|
35247
35227
|
const hmsActions = useHMSActions58();
|
35248
|
-
const [emojis, setEmojis] =
|
35228
|
+
const [emojis, setEmojis] = useState85([]);
|
35249
35229
|
const isMobile = useMedia51(config.media.md);
|
35250
35230
|
const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
|
35251
35231
|
const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
|
@@ -35617,7 +35597,7 @@ init_define_process_env();
|
|
35617
35597
|
|
35618
35598
|
// src/Diagnostics/Diagnostics.tsx
|
35619
35599
|
init_define_process_env();
|
35620
|
-
import React212, { useCallback as useCallback45, useRef as useRef38, useState as
|
35600
|
+
import React212, { useCallback as useCallback45, useRef as useRef38, useState as useState91 } from "react";
|
35621
35601
|
import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions63 } from "@100mslive/react-sdk";
|
35622
35602
|
import {
|
35623
35603
|
CheckCircleIcon as CheckCircleIcon7,
|
@@ -35630,7 +35610,7 @@ import {
|
|
35630
35610
|
|
35631
35611
|
// src/Diagnostics/AudioTest.tsx
|
35632
35612
|
init_define_process_env();
|
35633
|
-
import React208, { useCallback as useCallback44, useEffect as useEffect90, useState as
|
35613
|
+
import React208, { useCallback as useCallback44, useEffect as useEffect90, useState as useState87 } from "react";
|
35634
35614
|
import {
|
35635
35615
|
selectDevices,
|
35636
35616
|
selectLocalAudioTrackID as selectLocalAudioTrackID2,
|
@@ -35723,10 +35703,10 @@ var TestFooter = ({
|
|
35723
35703
|
// src/Diagnostics/DeviceSelector.jsx
|
35724
35704
|
init_define_process_env();
|
35725
35705
|
var import_prop_types = __toESM(require_prop_types());
|
35726
|
-
import React207, { useRef as useRef37, useState as
|
35706
|
+
import React207, { useRef as useRef37, useState as useState86 } from "react";
|
35727
35707
|
var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
|
35728
35708
|
var _a7, _b7;
|
35729
|
-
const [open, setOpen] =
|
35709
|
+
const [open, setOpen] = useState86(false);
|
35730
35710
|
const ref = useRef37(null);
|
35731
35711
|
return /* @__PURE__ */ React207.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React207.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React207.createElement(
|
35732
35712
|
Flex,
|
@@ -35793,8 +35773,8 @@ var MicTest = ({ setError }) => {
|
|
35793
35773
|
var _a7, _b7;
|
35794
35774
|
const { hmsDiagnostics } = useDiagnostics();
|
35795
35775
|
const devices = useHMSStore100(selectDevices);
|
35796
|
-
const [isRecording, setIsRecording] =
|
35797
|
-
const [selectedMic, setSelectedMic] =
|
35776
|
+
const [isRecording, setIsRecording] = useState87(false);
|
35777
|
+
const [selectedMic, setSelectedMic] = useState87(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
|
35798
35778
|
const trackID = useHMSStore100(selectLocalAudioTrackID2);
|
35799
35779
|
const audioLevel = useHMSStore100(selectTrackAudioByID2(trackID));
|
35800
35780
|
const { audioOutputDeviceId } = useHMSStore100(selectLocalMediaSettings);
|
@@ -35893,7 +35873,7 @@ var SpeakerTest = () => {
|
|
35893
35873
|
};
|
35894
35874
|
var AudioTest = () => {
|
35895
35875
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
35896
|
-
const [error, setErrorAlone] =
|
35876
|
+
const [error, setErrorAlone] = useState87();
|
35897
35877
|
const setError = useCallback44(
|
35898
35878
|
(err) => {
|
35899
35879
|
updateStep(2 /* AUDIO */, { hasFailed: !!err });
|
@@ -35923,7 +35903,7 @@ var AudioTest = () => {
|
|
35923
35903
|
|
35924
35904
|
// src/Diagnostics/BrowserTest.tsx
|
35925
35905
|
init_define_process_env();
|
35926
|
-
import React209, { useEffect as useEffect91, useState as
|
35906
|
+
import React209, { useEffect as useEffect91, useState as useState88 } from "react";
|
35927
35907
|
import { parsedUserAgent as parsedUserAgent4 } from "@100mslive/react-sdk";
|
35928
35908
|
var CMS_MEDIA_SERVER = "https://storage.googleapis.com/100ms-cms-prod/";
|
35929
35909
|
var operatingSystemIconInfo = {
|
@@ -36009,7 +35989,7 @@ var CheckDetails = ({ title, value, iconURL }) => /* @__PURE__ */ React209.creat
|
|
36009
35989
|
var BrowserTest = () => {
|
36010
35990
|
var _a7, _b7, _c, _d;
|
36011
35991
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
36012
|
-
const [error, setError] =
|
35992
|
+
const [error, setError] = useState88();
|
36013
35993
|
useEffect91(() => {
|
36014
35994
|
try {
|
36015
35995
|
hmsDiagnostics == null ? void 0 : hmsDiagnostics.checkBrowserSupport();
|
@@ -36037,7 +36017,7 @@ var BrowserTest = () => {
|
|
36037
36017
|
|
36038
36018
|
// src/Diagnostics/ConnectivityTest.tsx
|
36039
36019
|
init_define_process_env();
|
36040
|
-
import React210, { useState as
|
36020
|
+
import React210, { useState as useState89 } from "react";
|
36041
36021
|
import { ConnectivityState } from "@100mslive/react-sdk";
|
36042
36022
|
import { CheckCircleIcon as CheckCircleIcon6, CrossCircleIcon as CrossCircleIcon4, EyeCloseIcon as EyeCloseIcon3, EyeOpenIcon as EyeOpenIcon2, LinkIcon } from "@100mslive/react-icons";
|
36043
36023
|
var Regions = {
|
@@ -36060,7 +36040,7 @@ var ConnectivityTestStepResult = ({
|
|
36060
36040
|
success,
|
36061
36041
|
children
|
36062
36042
|
}) => {
|
36063
|
-
const [hideDetails, setHideDetails] =
|
36043
|
+
const [hideDetails, setHideDetails] = useState89(true);
|
36064
36044
|
return /* @__PURE__ */ React210.createElement(Box, { css: { my: "$10", p: "$10", r: "$1", bg: "$surface_bright" } }, /* @__PURE__ */ React210.createElement(Text, { css: { c: "$on_primary_medium", mb: "$6" } }, title), success ? /* @__PURE__ */ React210.createElement(Flex, null, /* @__PURE__ */ React210.createElement(Text, { css: { c: "$alert_success" } }, /* @__PURE__ */ React210.createElement(CheckCircleIcon6, { width: "1.5rem", height: "1.5rem" })), /* @__PURE__ */ React210.createElement(Text, { variant: "lg", css: { ml: "$4" } }, status)) : /* @__PURE__ */ React210.createElement(Flex, null, /* @__PURE__ */ React210.createElement(Text, { css: { c: "$alert_error_bright" } }, /* @__PURE__ */ React210.createElement(CrossCircleIcon4, { width: "1.5rem", height: "1.5rem" })), /* @__PURE__ */ React210.createElement(Text, { variant: "lg", css: { ml: "$4" } }, "Failed")), /* @__PURE__ */ React210.createElement(
|
36065
36045
|
Flex,
|
36066
36046
|
{
|
@@ -36216,10 +36196,10 @@ var RegionSelector = ({
|
|
36216
36196
|
};
|
36217
36197
|
var ConnectivityTest = () => {
|
36218
36198
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
36219
|
-
const [region, setRegion] =
|
36220
|
-
const [error, setError] =
|
36221
|
-
const [progress, setProgress] =
|
36222
|
-
const [result, setResult] =
|
36199
|
+
const [region, setRegion] = useState89(Object.keys(Regions)[0]);
|
36200
|
+
const [error, setError] = useState89();
|
36201
|
+
const [progress, setProgress] = useState89();
|
36202
|
+
const [result, setResult] = useState89();
|
36223
36203
|
const startTest = () => {
|
36224
36204
|
updateStep(3 /* CONNECTIVITY */, { hasFailed: false, isCompleted: false });
|
36225
36205
|
setError(void 0);
|
@@ -36259,7 +36239,7 @@ var downloadJson = (obj, fileName) => {
|
|
36259
36239
|
|
36260
36240
|
// src/Diagnostics/VideoTest.tsx
|
36261
36241
|
init_define_process_env();
|
36262
|
-
import React211, { useEffect as useEffect92, useState as
|
36242
|
+
import React211, { useEffect as useEffect92, useState as useState90 } from "react";
|
36263
36243
|
import {
|
36264
36244
|
selectDevices as selectDevices2,
|
36265
36245
|
selectLocalMediaSettings as selectLocalMediaSettings2,
|
@@ -36273,7 +36253,7 @@ var VideoTest = () => {
|
|
36273
36253
|
const { videoInput } = allDevices;
|
36274
36254
|
const trackID = useHMSStore101(selectLocalVideoTrackID4);
|
36275
36255
|
const sdkSelectedDevices = useHMSStore101(selectLocalMediaSettings2);
|
36276
|
-
const [error, setError] =
|
36256
|
+
const [error, setError] = useState90();
|
36277
36257
|
useEffect92(() => {
|
36278
36258
|
hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
|
36279
36259
|
updateStep(1 /* VIDEO */, { hasFailed: true });
|
@@ -36397,8 +36377,8 @@ var DiagnosticsStepsList = () => {
|
|
36397
36377
|
};
|
36398
36378
|
var DiagnosticsProvider = () => {
|
36399
36379
|
const actions = useHMSActions63();
|
36400
|
-
const [activeStep, setActiveStep] =
|
36401
|
-
const [steps, setSteps] =
|
36380
|
+
const [activeStep, setActiveStep] = useState91(0);
|
36381
|
+
const [steps, setSteps] = useState91(initialSteps);
|
36402
36382
|
const diagnosticsRef = useRef38(actions.initDiagnostics());
|
36403
36383
|
const updateStep = useCallback45((step, value) => {
|
36404
36384
|
setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));
|