@100mslive/roomkit-react 0.3.24-alpha.2 → 0.3.24-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Prebuilt/components/EndCallFeedback/ThankyouView.d.ts +1 -1
- package/dist/Theme/ThemeProvider.d.ts +0 -1
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +74 -45
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +120 -91
- package/dist/index.js.map +3 -3
- package/dist/meta.cjs.json +23 -23
- package/dist/meta.esbuild.json +23 -23
- package/package.json +7 -7
- package/src/Prebuilt/App.tsx +0 -1
- package/src/Prebuilt/AppStateContext.tsx +1 -0
- package/src/Prebuilt/components/ConferenceScreen.tsx +1 -0
- package/src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx +22 -2
- package/src/Prebuilt/components/StatsForNerds.jsx +65 -51
- package/src/Theme/ThemeProvider.tsx +3 -9
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_4307d202-3622-4081-81d5-e38e69b47388", 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-alpha.2", 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-alpha.2", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4307d202-3622-4081-81d5-e38e69b47388", 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-alpha.2", 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: "600", 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: "20241020.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:18931", 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-alpha.2", 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: "11461268789", 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: "e4156f3df2ca373cfc388e1dcad98d242b026367", 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: "1f01fb50db49b9d97afe3a52c1306c5906d746f1932aba18877a48bca2bcd3b0", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", GITHUB_WORKFLOW_REF: "100mslive/web-sdks/.github/workflows/publish.yml@refs/heads/chore/limit-theme-to-container", 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--1729603875802-0.5958114277783384:/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--1729603875604-0.34623062272179506:/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--1729603849587-0.7905823328868511:/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--1729603849400-0.09058083023897012:/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_1cdcc34c-c1fe-4c4a-bdc2-14710ac902df", INVOCATION_ID: "dd11e5c584eb4d7d85915f19ad37add1", 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: "690", GITHUB_TRIGGERING_ACTOR: "hdz-666", 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 202", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "chore/limit-theme-to-container", 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-alpha.2", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.24-alpha.2", 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: "e4156f3df2ca373cfc388e1dcad98d242b026367", 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/chore/limit-theme-to-container", GITHUB_ACTOR: "hdz-666", 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_4307d202-3622-4081-81d5-e38e69b47388", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/web-sdks/web-sdks/packages/roomkit-react", GITHUB_ACTOR_ID: "93115614", 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_4307d202-3622-4081-81d5-e38e69b47388", 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://provjobdsettingscdn.blob.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_4307d202-3622-4081-81d5-e38e69b47388" };
|
110
|
+
define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b080d535-70b8-4e74-91e8-809b92a993a3", 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-alpha.4", 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-alpha.4", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b080d535-70b8-4e74-91e8-809b92a993a3", 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-alpha.4", 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.1.12297006", 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: "608", 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: "20241015.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:19593", 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-alpha.4", 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: "11588215884", 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: "73e8ffadcba71e5b6c48fedf53923518066c4504", 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: "c355d64787f38a0d96690ca661ffd440bd11989a7bf7cf3dfe12c3f1a24d83ab", npm_package_exports___import: "./dist/index.js", STATS_BLT: "true", 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--1730270232759-0.1780717938756431:/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--1730270232561-0.3096121968676704:/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--1730270206459-0.910288666579854:/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--1730270206272-0.16371821375495443:/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_f47b8baf-5ea4-4620-ab85-2c26add1612c", INVOCATION_ID: "a8948ea9c7d94b61b4a1ff6eff785219", 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: "693", 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 426", 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.1.12297006", 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-alpha.4", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.24-alpha.4", 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: "73e8ffadcba71e5b6c48fedf53923518066c4504", 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_b080d535-70b8-4e74-91e8-809b92a993a3", 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_b080d535-70b8-4e74-91e8-809b92a993a3", 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.1.12297006", 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://provjobdsettingscdn.blob.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.1.12297006", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b080d535-70b8-4e74-91e8-809b92a993a3" };
|
111
111
|
}
|
112
112
|
});
|
113
113
|
|
@@ -10288,7 +10288,6 @@ var HMSThemeProvider = ({
|
|
10288
10288
|
themeType,
|
10289
10289
|
theme: userTheme,
|
10290
10290
|
aspectRatio = defaultAspectRatio,
|
10291
|
-
container = "",
|
10292
10291
|
children
|
10293
10292
|
}) => {
|
10294
10293
|
const systemTheme = "default" /* default */;
|
@@ -10300,17 +10299,13 @@ var HMSThemeProvider = ({
|
|
10300
10299
|
if (!isBrowser2) {
|
10301
10300
|
return updatedTheme2;
|
10302
10301
|
}
|
10303
|
-
let element = document.querySelector(container);
|
10304
|
-
if (!element) {
|
10305
|
-
element = document.documentElement;
|
10306
|
-
}
|
10307
10302
|
if (previousClassName.current) {
|
10308
|
-
|
10303
|
+
document.documentElement.classList.remove(previousClassName.current);
|
10309
10304
|
}
|
10310
10305
|
previousClassName.current = updatedTheme2.className;
|
10311
|
-
|
10306
|
+
document.documentElement.classList.add(updatedTheme2);
|
10312
10307
|
return updatedTheme2;
|
10313
|
-
}, [userTheme,
|
10308
|
+
}, [userTheme, currentTheme, isBrowser2]);
|
10314
10309
|
const toggleTheme = useCallback((themeToUpdateTo) => {
|
10315
10310
|
if (themeToUpdateTo) {
|
10316
10311
|
setCurrentTheme(themeToUpdateTo);
|
@@ -14522,6 +14517,7 @@ var useAppStateManager = () => {
|
|
14522
14517
|
[HMSRoomState2.Disconnected, HMSRoomState2.Connected],
|
14523
14518
|
[HMSRoomState2.Disconnected, HMSRoomState2.Connecting],
|
14524
14519
|
[HMSRoomState2.Disconnected, HMSRoomState2.Reconnecting],
|
14520
|
+
[HMSRoomState2.Disconnected, HMSRoomState2.Preview],
|
14525
14521
|
() => {
|
14526
14522
|
setActiveState((prevState) => {
|
14527
14523
|
return match2({ isLeaveScreenEnabled, isPreviewScreenEnabled, prevState }).when(
|
@@ -18298,53 +18294,67 @@ var StatsForNerds = ({ open, onOpenChange }) => {
|
|
18298
18294
|
{
|
18299
18295
|
css: {
|
18300
18296
|
bg: "$surface_dim",
|
18301
|
-
|
18302
|
-
|
18297
|
+
px: "$4",
|
18298
|
+
pb: "$4"
|
18303
18299
|
}
|
18304
18300
|
},
|
18305
18301
|
/* @__PURE__ */ React56.createElement(Sheet.Title, { css: { py: "$10", px: "$8", alignItems: "center" } }, /* @__PURE__ */ React56.createElement(Flex, { justify: "between" }, /* @__PURE__ */ React56.createElement(Flex, { align: "center", css: { mb: "$1" } }, /* @__PURE__ */ React56.createElement(Text, { variant: "h6", inline: true }, "Stats For Nerds")), /* @__PURE__ */ React56.createElement(Dialog.DefaultClose, { "data-testid": "stats_dialog_close_icon" }))),
|
18306
18302
|
/* @__PURE__ */ React56.createElement(HorizontalDivider, null),
|
18307
|
-
/* @__PURE__ */ React56.createElement(Flex, { justify: "start", gap: 4, css: { m: "$10 0" } }, /* @__PURE__ */ React56.createElement(Switch, { checked: showStatsOnTiles, onCheckedChange: setShowStatsOnTiles }), /* @__PURE__ */ React56.createElement(Text, { variant: "body2", css: { fontWeight: "$semiBold" } }, "Show Stats on Tiles")),
|
18308
18303
|
/* @__PURE__ */ React56.createElement(
|
18309
18304
|
Flex,
|
18310
18305
|
{
|
18311
18306
|
direction: "column",
|
18312
18307
|
css: {
|
18313
|
-
|
18314
|
-
|
18315
|
-
|
18308
|
+
mr: "-$2",
|
18309
|
+
overflowY: "auto",
|
18310
|
+
maxHeight: "65vh",
|
18311
|
+
pr: "$6",
|
18312
|
+
pl: "$4"
|
18316
18313
|
}
|
18317
18314
|
},
|
18318
|
-
/* @__PURE__ */ React56.createElement(
|
18319
|
-
/* @__PURE__ */ React56.createElement(
|
18320
|
-
|
18315
|
+
/* @__PURE__ */ React56.createElement(Flex, { justify: "start", gap: 4, css: { m: "$10 0" } }, /* @__PURE__ */ React56.createElement(Switch, { checked: showStatsOnTiles, onCheckedChange: setShowStatsOnTiles }), /* @__PURE__ */ React56.createElement(Text, { variant: "body2", css: { fontWeight: "$semiBold" } }, "Show Stats on Tiles")),
|
18316
|
+
/* @__PURE__ */ React56.createElement(
|
18317
|
+
Flex,
|
18321
18318
|
{
|
18322
|
-
|
18323
|
-
css: {
|
18324
|
-
|
18325
|
-
|
18326
|
-
|
18327
|
-
|
18328
|
-
|
18329
|
-
|
18330
|
-
|
18331
|
-
|
18319
|
+
direction: "column",
|
18320
|
+
css: {
|
18321
|
+
mb: "$12",
|
18322
|
+
position: "relative",
|
18323
|
+
minWidth: 0
|
18324
|
+
}
|
18325
|
+
},
|
18326
|
+
/* @__PURE__ */ React56.createElement(Label3, { variant: "body2", css: { c: "$on_surface_high" } }, "Stats For"),
|
18327
|
+
/* @__PURE__ */ React56.createElement(Dropdown.Root, { "data-testid": "dialog_select_Stats For", open: openDropdown, onOpenChange: setOpenDropdown }, /* @__PURE__ */ React56.createElement(
|
18328
|
+
DialogDropdownTrigger,
|
18332
18329
|
{
|
18333
|
-
|
18334
|
-
|
18335
|
-
|
18330
|
+
title: selectedStat.label || "Select Stats",
|
18331
|
+
css: { mt: "$4" },
|
18332
|
+
titleCSS: { mx: 0 },
|
18333
|
+
open: openDropdown,
|
18334
|
+
ref
|
18335
|
+
}
|
18336
|
+
), /* @__PURE__ */ React56.createElement(Dropdown.Portal, null, /* @__PURE__ */ React56.createElement(Dropdown.Content, { align: "start", sideOffset: 8, css: { w: (_a7 = ref.current) == null ? void 0 : _a7.clientWidth, zIndex: 1e3 } }, statsOptions.map((option) => {
|
18337
|
+
const isSelected = option.id === selectedStat.id && option.layer === selectedStat.layer;
|
18338
|
+
return /* @__PURE__ */ React56.createElement(
|
18339
|
+
Dropdown.Item,
|
18340
|
+
{
|
18341
|
+
key: `${option.id}-${option.layer || ""}`,
|
18342
|
+
onClick: () => {
|
18343
|
+
setSelectedStat(option);
|
18344
|
+
},
|
18345
|
+
css: {
|
18346
|
+
px: "$9",
|
18347
|
+
bg: isSelected ? selectionBg : void 0,
|
18348
|
+
c: isSelected ? "$on_primary_high" : "$on_primary_high"
|
18349
|
+
}
|
18336
18350
|
},
|
18337
|
-
|
18338
|
-
|
18339
|
-
|
18340
|
-
|
18341
|
-
|
18342
|
-
|
18343
|
-
|
18344
|
-
);
|
18345
|
-
}))))
|
18346
|
-
),
|
18347
|
-
selectedStat.id === "local-peer" ? /* @__PURE__ */ React56.createElement(LocalPeerStats, null) : /* @__PURE__ */ React56.createElement(TrackStats, { trackID: selectedStat.id, layer: selectedStat.layer, local: selectedStat.local })
|
18351
|
+
option.label
|
18352
|
+
);
|
18353
|
+
}))))
|
18354
|
+
),
|
18355
|
+
selectedStat.id === "local-peer" ? /* @__PURE__ */ React56.createElement(LocalPeerStats, null) : /* @__PURE__ */ React56.createElement(TrackStats, { trackID: selectedStat.id, layer: selectedStat.layer, local: selectedStat.local }),
|
18356
|
+
/* @__PURE__ */ React56.createElement(Flex, { justify: "start", gap: 4, css: { m: "$10 0", w: "100%" } }, /* @__PURE__ */ React56.createElement(DebugInfo, { details }))
|
18357
|
+
)
|
18348
18358
|
)) : /* @__PURE__ */ React56.createElement(Dialog.Root, { open, onOpenChange }, /* @__PURE__ */ React56.createElement(Dialog.Portal, null, /* @__PURE__ */ React56.createElement(Dialog.Overlay, null), /* @__PURE__ */ React56.createElement(
|
18349
18359
|
Dialog.Content,
|
18350
18360
|
{
|
@@ -21490,7 +21500,7 @@ var c = (a2, e, t) => new Promise((i, r) => {
|
|
21490
21500
|
n((t = t.apply(a2, e)).next());
|
21491
21501
|
});
|
21492
21502
|
var yr = oo((xc, go) => {
|
21493
|
-
go.exports = { version: "0.12.24-alpha.
|
21503
|
+
go.exports = { version: "0.12.24-alpha.4", 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"] };
|
21494
21504
|
});
|
21495
21505
|
var Tr = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Tr || {});
|
21496
21506
|
var no = ((e) => (e.CHAT = "chat", e))(no || {});
|
@@ -33083,6 +33093,7 @@ var ConferenceScreen = () => {
|
|
33083
33093
|
userName: userName || uuid3(),
|
33084
33094
|
authToken: authTokenInAppData,
|
33085
33095
|
initEndpoint: endpoints == null ? void 0 : endpoints.init,
|
33096
|
+
rememberDeviceSelection: true,
|
33086
33097
|
settings: {
|
33087
33098
|
isAudioMuted: !isPreviewScreenEnabled,
|
33088
33099
|
isVideoMuted: !isPreviewScreenEnabled,
|
@@ -33453,7 +33464,7 @@ import { ExitIcon as ExitIcon3 } from "@100mslive/react-icons";
|
|
33453
33464
|
|
33454
33465
|
// src/Prebuilt/components/EndCallFeedback/Feedback.tsx
|
33455
33466
|
init_define_process_env();
|
33456
|
-
import React181, { useState as
|
33467
|
+
import React181, { useState as useState77 } from "react";
|
33457
33468
|
import { useMedia as useMedia48 } from "react-use";
|
33458
33469
|
|
33459
33470
|
// src/Prebuilt/components/EndCallFeedback/FeedbackForm.tsx
|
@@ -33815,11 +33826,15 @@ var FeedbackForm = ({
|
|
33815
33826
|
|
33816
33827
|
// src/Prebuilt/components/EndCallFeedback/ThankyouView.tsx
|
33817
33828
|
init_define_process_env();
|
33818
|
-
import React180 from "react";
|
33829
|
+
import React180, { useState as useState76 } from "react";
|
33819
33830
|
import { useMedia as useMedia47 } from "react-use";
|
33820
|
-
import { UserMusicIcon } from "@100mslive/react-icons";
|
33831
|
+
import { CrossIcon as CrossIcon31, UserMusicIcon } from "@100mslive/react-icons";
|
33821
33832
|
var ThankyouView = () => {
|
33833
|
+
const [isVisible, setIsVisible] = useState76(true);
|
33822
33834
|
const isMobile = useMedia47(config.media.md);
|
33835
|
+
if (!isVisible) {
|
33836
|
+
return null;
|
33837
|
+
}
|
33823
33838
|
return /* @__PURE__ */ React180.createElement(
|
33824
33839
|
Flex,
|
33825
33840
|
{
|
@@ -33839,6 +33854,21 @@ var ThankyouView = () => {
|
|
33839
33854
|
}
|
33840
33855
|
}
|
33841
33856
|
},
|
33857
|
+
isMobile && /* @__PURE__ */ React180.createElement(
|
33858
|
+
CrossIcon31,
|
33859
|
+
{
|
33860
|
+
width: "24px",
|
33861
|
+
height: "24px",
|
33862
|
+
color: "white",
|
33863
|
+
onClick: () => setIsVisible(false),
|
33864
|
+
style: {
|
33865
|
+
position: "absolute",
|
33866
|
+
top: "8px",
|
33867
|
+
right: "16px",
|
33868
|
+
cursor: "pointer"
|
33869
|
+
}
|
33870
|
+
}
|
33871
|
+
),
|
33842
33872
|
/* @__PURE__ */ React180.createElement(UserMusicIcon, { width: "64px", height: "64px" }),
|
33843
33873
|
/* @__PURE__ */ React180.createElement(Flex, { direction: "column", align: isMobile ? "center" : "start" }, /* @__PURE__ */ React180.createElement(Text, { variant: "h5" }, "Thank you for your feedback"), /* @__PURE__ */ React180.createElement(
|
33844
33874
|
Text,
|
@@ -33858,7 +33888,7 @@ var ThankyouView = () => {
|
|
33858
33888
|
// src/Prebuilt/components/EndCallFeedback/Feedback.tsx
|
33859
33889
|
var Feedback = () => {
|
33860
33890
|
const { feedback } = useRoomLayoutLeaveScreen();
|
33861
|
-
const [index, setIndex] =
|
33891
|
+
const [index, setIndex] = useState77(FEEBACK_INDEX.INIT);
|
33862
33892
|
const isMobile = useMedia48(config.media.md);
|
33863
33893
|
if (!feedback) {
|
33864
33894
|
return null;
|
@@ -33963,12 +33993,12 @@ var LeaveScreen = () => {
|
|
33963
33993
|
|
33964
33994
|
// src/Prebuilt/components/MwebLandscapePrompt.tsx
|
33965
33995
|
init_define_process_env();
|
33966
|
-
import React183, { useEffect as useEffect69, useState as
|
33996
|
+
import React183, { useEffect as useEffect69, useState as useState78 } from "react";
|
33967
33997
|
import { useMedia as useMedia49 } from "react-use";
|
33968
33998
|
import { match as match15, P as P7 } from "ts-pattern";
|
33969
33999
|
import { RefreshIcon } from "@100mslive/react-icons";
|
33970
34000
|
var MwebLandscapePrompt = () => {
|
33971
|
-
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] =
|
34001
|
+
const [showMwebLandscapePrompt, setShowMwebLandscapePrompt] = useState78(false);
|
33972
34002
|
const isLandscape = useMedia49(config.media.ls);
|
33973
34003
|
const isLandscapeHLSStream = useLandscapeHLSStream();
|
33974
34004
|
useEffect69(() => {
|
@@ -34097,13 +34127,13 @@ var DeviceChangeNotifications = () => {
|
|
34097
34127
|
|
34098
34128
|
// src/Prebuilt/components/Notifications/DeviceInUseError.tsx
|
34099
34129
|
init_define_process_env();
|
34100
|
-
import React186, { useEffect as useEffect72, useState as
|
34130
|
+
import React186, { useEffect as useEffect72, useState as useState79 } from "react";
|
34101
34131
|
import { HMSNotificationTypes as HMSNotificationTypes4, useHMSNotifications as useHMSNotifications4 } from "@100mslive/react-sdk";
|
34102
34132
|
var Instruction = ({ description }) => /* @__PURE__ */ React186.createElement("li", null, /* @__PURE__ */ React186.createElement(DialogRow, { css: { ml: "$4" } }, /* @__PURE__ */ React186.createElement(Text, { variant: "body2" }, description)));
|
34103
34133
|
function DeviceInUseError() {
|
34104
34134
|
const notification = useHMSNotifications4(HMSNotificationTypes4.ERROR);
|
34105
|
-
const [showDeviceInUseModal, setShowDeviceInUseModal] =
|
34106
|
-
const [deviceType, setDeviceType] =
|
34135
|
+
const [showDeviceInUseModal, setShowDeviceInUseModal] = useState79(false);
|
34136
|
+
const [deviceType, setDeviceType] = useState79("");
|
34107
34137
|
useEffect72(() => {
|
34108
34138
|
const error = notification == null ? void 0 : notification.data;
|
34109
34139
|
if (!error || error.code !== 3003) {
|
@@ -34497,12 +34527,12 @@ var HandRaisedNotifications = () => {
|
|
34497
34527
|
|
34498
34528
|
// src/Prebuilt/components/Notifications/InitErrorModal.tsx
|
34499
34529
|
init_define_process_env();
|
34500
|
-
import React189, { useEffect as useEffect75, useState as
|
34530
|
+
import React189, { useEffect as useEffect75, useState as useState80 } from "react";
|
34501
34531
|
import { HMSNotificationTypes as HMSNotificationTypes7, useHMSNotifications as useHMSNotifications7 } from "@100mslive/react-sdk";
|
34502
34532
|
var InitErrorModal = () => {
|
34503
34533
|
const notification = useHMSNotifications7(HMSNotificationTypes7.ERROR);
|
34504
|
-
const [showModal, setShowModal] =
|
34505
|
-
const [info, setInfo] =
|
34534
|
+
const [showModal, setShowModal] = useState80(false);
|
34535
|
+
const [info, setInfo] = useState80({ title: "Init Error", description: "" });
|
34506
34536
|
useEffect75(() => {
|
34507
34537
|
const data3 = notification == null ? void 0 : notification.data;
|
34508
34538
|
if (!data3 || data3.action !== "INIT") {
|
@@ -34595,7 +34625,7 @@ var PeerNotifications = () => {
|
|
34595
34625
|
|
34596
34626
|
// src/Prebuilt/components/Notifications/PermissionErrorModal.tsx
|
34597
34627
|
init_define_process_env();
|
34598
|
-
import React190, { useEffect as useEffect78, useState as
|
34628
|
+
import React190, { useEffect as useEffect78, useState as useState81 } from "react";
|
34599
34629
|
import { useMedia as useMedia50 } from "react-use";
|
34600
34630
|
import { HMSNotificationTypes as HMSNotificationTypes9, useHMSNotifications as useHMSNotifications10 } from "@100mslive/react-sdk";
|
34601
34631
|
import androidPermissionAlert from "./android-perm-1.png";
|
@@ -34605,8 +34635,8 @@ function PermissionErrorNotificationModal() {
|
|
34605
34635
|
return /* @__PURE__ */ React190.createElement(PermissionErrorModal, { error: notification == null ? void 0 : notification.data });
|
34606
34636
|
}
|
34607
34637
|
var PermissionErrorModal = ({ error }) => {
|
34608
|
-
const [deviceType, setDeviceType] =
|
34609
|
-
const [isSystemError, setIsSystemError] =
|
34638
|
+
const [deviceType, setDeviceType] = useState81("");
|
34639
|
+
const [isSystemError, setIsSystemError] = useState81(false);
|
34610
34640
|
const isMobile = useMedia50(config.media.md);
|
34611
34641
|
useEffect78(() => {
|
34612
34642
|
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"))) {
|
@@ -34777,7 +34807,7 @@ var RoleChangeNotification = () => {
|
|
34777
34807
|
|
34778
34808
|
// src/Prebuilt/components/Notifications/TrackBulkUnmuteModal.tsx
|
34779
34809
|
init_define_process_env();
|
34780
|
-
import React192, { useEffect as useEffect82, useState as
|
34810
|
+
import React192, { useEffect as useEffect82, useState as useState82 } from "react";
|
34781
34811
|
import {
|
34782
34812
|
HMSNotificationTypes as HMSNotificationTypes13,
|
34783
34813
|
useHMSActions as useHMSActions56,
|
@@ -34791,7 +34821,7 @@ var notificationTypes4 = [
|
|
34791
34821
|
];
|
34792
34822
|
var TrackBulkUnmuteModal = () => {
|
34793
34823
|
const hmsActions = useHMSActions56();
|
34794
|
-
const [muteNotification, setMuteNotification] =
|
34824
|
+
const [muteNotification, setMuteNotification] = useState82(null);
|
34795
34825
|
const notification = useHMSNotifications14(notificationTypes4);
|
34796
34826
|
useEffect82(() => {
|
34797
34827
|
switch (notification == null ? void 0 : notification.type) {
|
@@ -34872,7 +34902,7 @@ var TrackNotifications = () => {
|
|
34872
34902
|
|
34873
34903
|
// src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx
|
34874
34904
|
init_define_process_env();
|
34875
|
-
import React193, { useEffect as useEffect84, useState as
|
34905
|
+
import React193, { useEffect as useEffect84, useState as useState83 } from "react";
|
34876
34906
|
import {
|
34877
34907
|
HMSNotificationTypes as HMSNotificationTypes15,
|
34878
34908
|
useHMSActions as useHMSActions57,
|
@@ -34887,7 +34917,7 @@ var notificationTypes6 = [
|
|
34887
34917
|
var TrackUnmuteModal = () => {
|
34888
34918
|
const hmsActions = useHMSActions57();
|
34889
34919
|
const notification = useHMSNotifications16(notificationTypes6);
|
34890
|
-
const [muteNotification, setMuteNotification] =
|
34920
|
+
const [muteNotification, setMuteNotification] = useState83(null);
|
34891
34921
|
useEffect84(() => {
|
34892
34922
|
switch (notification == null ? void 0 : notification.type) {
|
34893
34923
|
case HMSNotificationTypes15.REMOVED_FROM_ROOM:
|
@@ -34992,10 +35022,10 @@ function Notifications() {
|
|
34992
35022
|
|
34993
35023
|
// src/Prebuilt/components/PIP/PIPProvider.tsx
|
34994
35024
|
init_define_process_env();
|
34995
|
-
import React196, { useCallback as useCallback40, useMemo as useMemo22, useState as
|
35025
|
+
import React196, { useCallback as useCallback40, useMemo as useMemo22, useState as useState84 } from "react";
|
34996
35026
|
var PIPProvider = ({ children }) => {
|
34997
35027
|
const isSupported = "documentPictureInPicture" in window;
|
34998
|
-
const [pipWindow, setPipWindow] =
|
35028
|
+
const [pipWindow, setPipWindow] = useState84(null);
|
34999
35029
|
const closePipWindow = useCallback40(() => {
|
35000
35030
|
if (pipWindow != null) {
|
35001
35031
|
pipWindow.close();
|
@@ -35056,7 +35086,7 @@ var PreviewScreen = () => {
|
|
35056
35086
|
|
35057
35087
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
35058
35088
|
init_define_process_env();
|
35059
|
-
import React199, { useEffect as useEffect86, useState as
|
35089
|
+
import React199, { useEffect as useEffect86, useState as useState85 } from "react";
|
35060
35090
|
import { selectIsConnectedToRoom as selectIsConnectedToRoom11, useHMSStore as useHMSStore95 } from "@100mslive/react-sdk";
|
35061
35091
|
|
35062
35092
|
// src/Prebuilt/components/Toast/Toast.jsx
|
@@ -35081,7 +35111,7 @@ var Toast2 = (_a7) => {
|
|
35081
35111
|
// src/Prebuilt/components/Toast/ToastContainer.jsx
|
35082
35112
|
var ToastContainer = () => {
|
35083
35113
|
const isConnected = useHMSStore95(selectIsConnectedToRoom11);
|
35084
|
-
const [toasts, setToast] =
|
35114
|
+
const [toasts, setToast] = useState85([]);
|
35085
35115
|
useEffect86(() => {
|
35086
35116
|
ToastManager.addListener(setToast);
|
35087
35117
|
return () => {
|
@@ -35108,7 +35138,7 @@ import { selectAppData as selectAppData15, useHMSStore as useHMSStore96 } from "
|
|
35108
35138
|
// src/Prebuilt/components/RoomDetails/RoomDetailsSheet.tsx
|
35109
35139
|
init_define_process_env();
|
35110
35140
|
import React200 from "react";
|
35111
|
-
import { CrossIcon as
|
35141
|
+
import { CrossIcon as CrossIcon32 } from "@100mslive/react-icons";
|
35112
35142
|
var RoomDetailsSheet = () => {
|
35113
35143
|
const { title, description, details } = useRoomLayoutHeader();
|
35114
35144
|
const toggleSheet = useSheetToggle(SHEET_OPTIONS.ROOM_DETAILS);
|
@@ -35121,7 +35151,7 @@ var RoomDetailsSheet = () => {
|
|
35121
35151
|
css: { w: "100%", borderBottom: "1px solid $border_bright", pb: "$4", mb: "$4", px: "$8" }
|
35122
35152
|
},
|
35123
35153
|
/* @__PURE__ */ React200.createElement(Text, { css: { fontWeight: "$semiBold", color: "$on_surface_high" } }, "Description"),
|
35124
|
-
/* @__PURE__ */ React200.createElement(Sheet.Close, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React200.createElement(
|
35154
|
+
/* @__PURE__ */ React200.createElement(Sheet.Close, { css: { color: "$on_surface_high" } }, /* @__PURE__ */ React200.createElement(CrossIcon32, null))
|
35125
35155
|
), /* @__PURE__ */ React200.createElement(Flex, { align: "center", css: { w: "100%", gap: "$4", pb: "$8", px: "$8" } }, /* @__PURE__ */ React200.createElement(Logo, null), /* @__PURE__ */ React200.createElement(Box, null, /* @__PURE__ */ React200.createElement(Text, { variant: "sm", css: { c: "$on_secondary_high", fontWeight: "$semiBold" } }, title), /* @__PURE__ */ React200.createElement(RoomDetailsRow, { details }))), /* @__PURE__ */ React200.createElement(Text, { variant: "sm", css: { color: "$on_surface_medium", px: "$8" } }, description)));
|
35126
35156
|
};
|
35127
35157
|
|
@@ -35137,7 +35167,7 @@ var Sheet2 = () => {
|
|
35137
35167
|
|
35138
35168
|
// src/Prebuilt/plugins/FlyingEmoji.jsx
|
35139
35169
|
init_define_process_env();
|
35140
|
-
import React202, { useCallback as useCallback41, useEffect as useEffect87, useMemo as useMemo23, useState as
|
35170
|
+
import React202, { useCallback as useCallback41, useEffect as useEffect87, useMemo as useMemo23, useState as useState86 } from "react";
|
35141
35171
|
import { useMedia as useMedia51 } from "react-use";
|
35142
35172
|
import {
|
35143
35173
|
selectIsLargeRoom as selectIsLargeRoom4,
|
@@ -35175,7 +35205,7 @@ function FlyingEmoji() {
|
|
35175
35205
|
const localPeerId = useHMSStore97(selectLocalPeerID16);
|
35176
35206
|
const vanillaStore = useHMSVanillaStore19();
|
35177
35207
|
const hmsActions = useHMSActions58();
|
35178
|
-
const [emojis, setEmojis] =
|
35208
|
+
const [emojis, setEmojis] = useState86([]);
|
35179
35209
|
const isMobile = useMedia51(config.media.md);
|
35180
35210
|
const isLargeRoom = useHMSStore97(selectIsLargeRoom4);
|
35181
35211
|
const startingPoints = useMemo23(() => getStartingPoints(isMobile), [isMobile]);
|
@@ -35459,8 +35489,7 @@ var HMSPrebuilt = React204.forwardRef(
|
|
35459
35489
|
//@ts-ignore: font list to match token types of stiches
|
35460
35490
|
sans: fontFamily
|
35461
35491
|
}
|
35462
|
-
}
|
35463
|
-
container: containerSelector
|
35492
|
+
}
|
35464
35493
|
},
|
35465
35494
|
/* @__PURE__ */ React204.createElement(PIPProvider, null, /* @__PURE__ */ React204.createElement(Init, null), /* @__PURE__ */ React204.createElement(DialogContainerProvider, { dialogContainerSelector: containerSelector }, /* @__PURE__ */ React204.createElement(
|
35466
35495
|
Box,
|
@@ -35549,7 +35578,7 @@ init_define_process_env();
|
|
35549
35578
|
|
35550
35579
|
// src/Diagnostics/Diagnostics.tsx
|
35551
35580
|
init_define_process_env();
|
35552
|
-
import React212, { useCallback as useCallback45, useRef as useRef38, useState as
|
35581
|
+
import React212, { useCallback as useCallback45, useRef as useRef38, useState as useState92 } from "react";
|
35553
35582
|
import { HMSRoomProvider as HMSRoomProvider2, useHMSActions as useHMSActions63 } from "@100mslive/react-sdk";
|
35554
35583
|
import {
|
35555
35584
|
CheckCircleIcon as CheckCircleIcon7,
|
@@ -35562,7 +35591,7 @@ import {
|
|
35562
35591
|
|
35563
35592
|
// src/Diagnostics/AudioTest.tsx
|
35564
35593
|
init_define_process_env();
|
35565
|
-
import React208, { useCallback as useCallback44, useEffect as useEffect90, useState as
|
35594
|
+
import React208, { useCallback as useCallback44, useEffect as useEffect90, useState as useState88 } from "react";
|
35566
35595
|
import {
|
35567
35596
|
selectDevices,
|
35568
35597
|
selectLocalAudioTrackID as selectLocalAudioTrackID2,
|
@@ -35655,10 +35684,10 @@ var TestFooter = ({
|
|
35655
35684
|
// src/Diagnostics/DeviceSelector.jsx
|
35656
35685
|
init_define_process_env();
|
35657
35686
|
var import_prop_types = __toESM(require_prop_types());
|
35658
|
-
import React207, { useRef as useRef37, useState as
|
35687
|
+
import React207, { useRef as useRef37, useState as useState87 } from "react";
|
35659
35688
|
var DeviceSelector2 = ({ title, devices, selection, onChange, icon, children = null }) => {
|
35660
35689
|
var _a7, _b7;
|
35661
|
-
const [open, setOpen] =
|
35690
|
+
const [open, setOpen] = useState87(false);
|
35662
35691
|
const ref = useRef37(null);
|
35663
35692
|
return /* @__PURE__ */ React207.createElement(Box, { css: { mb: "$6" } }, /* @__PURE__ */ React207.createElement(Text, { css: { mb: "$4" } }, title), /* @__PURE__ */ React207.createElement(
|
35664
35693
|
Flex,
|
@@ -35725,8 +35754,8 @@ var MicTest = ({ setError }) => {
|
|
35725
35754
|
var _a7, _b7;
|
35726
35755
|
const { hmsDiagnostics } = useDiagnostics();
|
35727
35756
|
const devices = useHMSStore100(selectDevices);
|
35728
|
-
const [isRecording, setIsRecording] =
|
35729
|
-
const [selectedMic, setSelectedMic] =
|
35757
|
+
const [isRecording, setIsRecording] = useState88(false);
|
35758
|
+
const [selectedMic, setSelectedMic] = useState88(((_a7 = devices.audioInput[0]) == null ? void 0 : _a7.deviceId) || "default");
|
35730
35759
|
const trackID = useHMSStore100(selectLocalAudioTrackID2);
|
35731
35760
|
const audioLevel = useHMSStore100(selectTrackAudioByID2(trackID));
|
35732
35761
|
const { audioOutputDeviceId } = useHMSStore100(selectLocalMediaSettings);
|
@@ -35825,7 +35854,7 @@ var SpeakerTest = () => {
|
|
35825
35854
|
};
|
35826
35855
|
var AudioTest = () => {
|
35827
35856
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
35828
|
-
const [error, setErrorAlone] =
|
35857
|
+
const [error, setErrorAlone] = useState88();
|
35829
35858
|
const setError = useCallback44(
|
35830
35859
|
(err) => {
|
35831
35860
|
updateStep(2 /* AUDIO */, { hasFailed: !!err });
|
@@ -35855,7 +35884,7 @@ var AudioTest = () => {
|
|
35855
35884
|
|
35856
35885
|
// src/Diagnostics/BrowserTest.tsx
|
35857
35886
|
init_define_process_env();
|
35858
|
-
import React209, { useEffect as useEffect91, useState as
|
35887
|
+
import React209, { useEffect as useEffect91, useState as useState89 } from "react";
|
35859
35888
|
import { parsedUserAgent as parsedUserAgent4 } from "@100mslive/react-sdk";
|
35860
35889
|
var CMS_MEDIA_SERVER = "https://storage.googleapis.com/100ms-cms-prod/";
|
35861
35890
|
var operatingSystemIconInfo = {
|
@@ -35941,7 +35970,7 @@ var CheckDetails = ({ title, value, iconURL }) => /* @__PURE__ */ React209.creat
|
|
35941
35970
|
var BrowserTest = () => {
|
35942
35971
|
var _a7, _b7, _c, _d;
|
35943
35972
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
35944
|
-
const [error, setError] =
|
35973
|
+
const [error, setError] = useState89();
|
35945
35974
|
useEffect91(() => {
|
35946
35975
|
try {
|
35947
35976
|
hmsDiagnostics == null ? void 0 : hmsDiagnostics.checkBrowserSupport();
|
@@ -35969,7 +35998,7 @@ var BrowserTest = () => {
|
|
35969
35998
|
|
35970
35999
|
// src/Diagnostics/ConnectivityTest.tsx
|
35971
36000
|
init_define_process_env();
|
35972
|
-
import React210, { useState as
|
36001
|
+
import React210, { useState as useState90 } from "react";
|
35973
36002
|
import { ConnectivityState } from "@100mslive/react-sdk";
|
35974
36003
|
import { CheckCircleIcon as CheckCircleIcon6, CrossCircleIcon as CrossCircleIcon4, EyeCloseIcon as EyeCloseIcon3, EyeOpenIcon as EyeOpenIcon2, LinkIcon } from "@100mslive/react-icons";
|
35975
36004
|
var Regions = {
|
@@ -35992,7 +36021,7 @@ var ConnectivityTestStepResult = ({
|
|
35992
36021
|
success,
|
35993
36022
|
children
|
35994
36023
|
}) => {
|
35995
|
-
const [hideDetails, setHideDetails] =
|
36024
|
+
const [hideDetails, setHideDetails] = useState90(true);
|
35996
36025
|
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(
|
35997
36026
|
Flex,
|
35998
36027
|
{
|
@@ -36148,10 +36177,10 @@ var RegionSelector = ({
|
|
36148
36177
|
};
|
36149
36178
|
var ConnectivityTest = () => {
|
36150
36179
|
const { hmsDiagnostics, updateStep } = useDiagnostics();
|
36151
|
-
const [region, setRegion] =
|
36152
|
-
const [error, setError] =
|
36153
|
-
const [progress, setProgress] =
|
36154
|
-
const [result, setResult] =
|
36180
|
+
const [region, setRegion] = useState90(Object.keys(Regions)[0]);
|
36181
|
+
const [error, setError] = useState90();
|
36182
|
+
const [progress, setProgress] = useState90();
|
36183
|
+
const [result, setResult] = useState90();
|
36155
36184
|
const startTest = () => {
|
36156
36185
|
updateStep(3 /* CONNECTIVITY */, { hasFailed: false, isCompleted: false });
|
36157
36186
|
setError(void 0);
|
@@ -36191,7 +36220,7 @@ var downloadJson = (obj, fileName) => {
|
|
36191
36220
|
|
36192
36221
|
// src/Diagnostics/VideoTest.tsx
|
36193
36222
|
init_define_process_env();
|
36194
|
-
import React211, { useEffect as useEffect92, useState as
|
36223
|
+
import React211, { useEffect as useEffect92, useState as useState91 } from "react";
|
36195
36224
|
import {
|
36196
36225
|
selectDevices as selectDevices2,
|
36197
36226
|
selectLocalMediaSettings as selectLocalMediaSettings2,
|
@@ -36205,7 +36234,7 @@ var VideoTest = () => {
|
|
36205
36234
|
const { videoInput } = allDevices;
|
36206
36235
|
const trackID = useHMSStore101(selectLocalVideoTrackID4);
|
36207
36236
|
const sdkSelectedDevices = useHMSStore101(selectLocalMediaSettings2);
|
36208
|
-
const [error, setError] =
|
36237
|
+
const [error, setError] = useState91();
|
36209
36238
|
useEffect92(() => {
|
36210
36239
|
hmsDiagnostics == null ? void 0 : hmsDiagnostics.startCameraCheck().catch((err) => {
|
36211
36240
|
updateStep(1 /* VIDEO */, { hasFailed: true });
|
@@ -36329,8 +36358,8 @@ var DiagnosticsStepsList = () => {
|
|
36329
36358
|
};
|
36330
36359
|
var DiagnosticsProvider = () => {
|
36331
36360
|
const actions = useHMSActions63();
|
36332
|
-
const [activeStep, setActiveStep] =
|
36333
|
-
const [steps, setSteps] =
|
36361
|
+
const [activeStep, setActiveStep] = useState92(0);
|
36362
|
+
const [steps, setSteps] = useState92(initialSteps);
|
36334
36363
|
const diagnosticsRef = useRef38(actions.initDiagnostics());
|
36335
36364
|
const updateStep = useCallback45((step, value) => {
|
36336
36365
|
setSteps((prevSteps) => __spreadProps(__spreadValues({}, prevSteps), { [step]: __spreadValues(__spreadValues({}, prevSteps[step]), value) }));
|