@100mslive/roomkit-react 0.3.3-alpha.1 → 0.3.3-alpha.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. package/dist/{HLSView-GDOF4655.js → HLSView-BCIIVR2T.js} +331 -166
  2. package/dist/HLSView-BCIIVR2T.js.map +7 -0
  3. package/dist/IconButton/IconButton.d.ts +1 -1
  4. package/dist/Modal/Dialog.d.ts +1 -1
  5. package/dist/Prebuilt/IconButton.d.ts +2 -3
  6. package/dist/Prebuilt/components/Footer/ChatToggle.d.ts +3 -1
  7. package/dist/Prebuilt/components/HMSVideo/PlayPauseButton.d.ts +2 -2
  8. package/dist/Prebuilt/components/HMSVideo/PlayPauseSeekControls.d.ts +14 -0
  9. package/dist/Prebuilt/components/HMSVideo/{SeekControls.d.ts → SeekControl.d.ts} +2 -2
  10. package/dist/Prebuilt/components/HMSVideo/index.d.ts +15 -11
  11. package/dist/Prebuilt/components/Leave/LeaveAtoms.d.ts +2 -2
  12. package/dist/Prebuilt/components/VideoLayouts/WhiteboardLayout.d.ts +3 -0
  13. package/dist/Sheet/Sheet.d.ts +1 -1
  14. package/dist/{chunk-ZDW56PPL.js → chunk-W47ZJGSD.js} +212 -165
  15. package/dist/chunk-W47ZJGSD.js.map +7 -0
  16. package/dist/index.cjs.js +923 -696
  17. package/dist/index.cjs.js.map +4 -4
  18. package/dist/index.js +1 -1
  19. package/dist/meta.cjs.json +196 -112
  20. package/dist/meta.esbuild.json +210 -125
  21. package/package.json +6 -6
  22. package/src/IconButton/IconButton.tsx +2 -7
  23. package/src/Prebuilt/IconButton.tsx +6 -10
  24. package/src/Prebuilt/components/Footer/ChatToggle.tsx +2 -2
  25. package/src/Prebuilt/components/Footer/ParticipantList.tsx +4 -1
  26. package/src/Prebuilt/components/Footer/RoleAccordion.tsx +5 -6
  27. package/src/Prebuilt/components/Footer/WhiteboardToggle.tsx +17 -3
  28. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +1 -0
  29. package/src/Prebuilt/components/HMSVideo/PlayPauseButton.tsx +2 -2
  30. package/src/Prebuilt/components/HMSVideo/PlayPauseSeekControls.tsx +158 -0
  31. package/src/Prebuilt/components/HMSVideo/{SeekControls.tsx → SeekControl.tsx} +2 -2
  32. package/src/Prebuilt/components/HMSVideo/VideoProgress.tsx +7 -3
  33. package/src/Prebuilt/components/HMSVideo/index.ts +5 -4
  34. package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.tsx +7 -7
  35. package/src/Prebuilt/components/VideoLayouts/GridLayout.tsx +27 -4
  36. package/src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx +95 -0
  37. package/src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx +13 -5
  38. package/src/Prebuilt/layouts/HLSView.jsx +115 -78
  39. package/src/Prebuilt/layouts/VideoStreamingSection.tsx +1 -17
  40. package/dist/HLSView-GDOF4655.js.map +0 -7
  41. package/dist/Prebuilt/layouts/WhiteboardView.d.ts +0 -2
  42. package/dist/chunk-ZDW56PPL.js.map +0 -7
  43. package/src/Prebuilt/layouts/WhiteboardView.tsx +0 -69
@@ -106,7 +106,7 @@ var __async = (__this, __arguments, generator) => {
106
106
  var define_process_env_default;
107
107
  var init_define_process_env = __esm({
108
108
  "<define:process.env>"() {
109
- define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", 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.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.3-alpha.1", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.3-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.8", 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.2.8", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "590", 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_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", 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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240310.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.1/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.0-alpha.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", JOURNAL_STREAM: "8:19554", 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__rollup_plugin_commonjs: "^21.0.3", 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.3-alpha.1", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8338903597", 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: "8e27b80c474e3487828a60fce4aa1f444aa14577", 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: "2b4eb6b136e5c67e12006fe982ceadc0ea33b23198cb8487892ca00ba4e2cd5c", 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--1710832096589-0.6370797788370992:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832096394-0.31759327289111483:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832073832-0.31470723189659267:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710832073647-0.23318157752573399:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_bc8accc0-5dd2-44bf-aebb-4cc97b5738e1", INVOCATION_ID: "59e00abec76b4888b0bce75a92bf4b9a", 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: "482", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 264", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", 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/25.2.9519653", 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.3-alpha.1", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-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_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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "8e27b80c474e3487828a60fce4aa1f444aa14577", 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_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", 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_b2dfce6c-1460-4d7f-9260-6a3b0805fa80", 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/25.2.9519653", 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-0.5.154/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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b2dfce6c-1460-4d7f-9260-6a3b0805fa80" };
109
+ define_process_env_default = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e1af34ff-a562-4ece-98b8-62d8c089106d", npm_package_devDependencies_ts_node: "^10.4.0", npm_package_devDependencies__types_node: "^16.11.17", npm_package_devDependencies_rollup: "^2.70.1", 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", 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.19.1 linux x64", npm_config_always_auth: "", NX_WORKSPACE_ROOT: "/home/runner/work/web-sdks/web-sdks", npm_package_devDependencies__rollup_plugin_node_resolve: "^13.1.3", 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.3-alpha.3", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_e1af34ff-a562-4ece-98b8-62d8c089106d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/18.19.1/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.3-alpha.3", 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.8", 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.2.8", 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.6", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/26.2.11394342", 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: "595", 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_devDependencies__rollup_plugin_image: "^3.0.2", npm_package_keywords_1: "react", GOROOT_1_20_X64: "/opt/hostedtoolcache/go/1.20.14/x64", 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.8/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20240317.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.1/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.0-alpha.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", JOURNAL_STREAM: "8:19832", 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__rollup_plugin_commonjs: "^21.0.3", 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.3-alpha.3", npm_package_devDependencies__types_lodash_merge: "^4.6.6", npm_package_devDependencies__storybook_cli: "^7.0.27", npm_package_devDependencies__rollup_plugin_json: "^6.0.0", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "8343246532", 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: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", 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: "dc383a02648df0438838bc7519ddf0466d732140d594ac7884f40b9ad676af22", 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--1710852557001-0.002215858080938826:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852556808-0.8108733321995873:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534869-0.8214156190232955:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1710852534692-0.4998782271041631:/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.19.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/18.19.1/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.19.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9b743310-ce74-40c4-985b-43804b3d6bc4", INVOCATION_ID: "9c159d16d0984bb1b5de7dbc6ec5d7a9", 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: "484", 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", npm_package_devDependencies__rollup_plugin_typescript: "^8.3.1", 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_devDependencies_rollup_plugin_terser: "^7.0.2", npm_package_devDependencies__types_mdx: "2.0.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 410", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "publish-alpha", GITHUB_REPOSITORY: "100mslive/web-sdks", 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_devDependencies_rollup_plugin_import_css: "^3.3.1", 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/25.2.9519653", 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.3-alpha.3", npm_package_scripts_types: "tsc -w", GITHUB_REPOSITORY_ID: "429826515", GITHUB_ACTIONS: "true", npm_lifecycle_event: "build:only", npm_package_version: "0.3.3-alpha.3", npm_package_size_limit_4_limit: "20 KB", npm_package_size_limit_1_path: "packages/hms-video-store/dist/index.js", 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", npm_package_devDependencies_rollup_plugin_esbuild: "^5.0.0", GITHUB_SHA: "2f0dfb954601e7028cf0a4d9582a30be0fe726ca", 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_e1af34ff-a562-4ece-98b8-62d8c089106d", 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_e1af34ff-a562-4ece-98b8-62d8c089106d", 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/25.2.9519653", 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-0.5.154/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__storybook_react: "^7.0.27", INIT_CWD: "/home/runner/work/web-sdks/web-sdks", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/25.2.9519653", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e1af34ff-a562-4ece-98b8-62d8c089106d" };
110
110
  }
111
111
  });
112
112
 
@@ -9827,20 +9827,15 @@ var IconButton = styled("button", __spreadProps(__spreadValues({}, flexCenter),
9827
9827
  },
9828
9828
  "&[disabled]": {
9829
9829
  opacity: 0.5,
9830
- cursor: "not-allowed"
9830
+ cursor: "not-allowed",
9831
+ backgroundColor: "$secondary_dim",
9832
+ color: "$on_primary_high"
9831
9833
  },
9832
9834
  "&:focus": {
9833
9835
  outline: "none"
9834
9836
  },
9835
9837
  variants: {
9836
9838
  active: {
9837
- false: {
9838
- backgroundColor: "$secondary_dim",
9839
- color: "$on_primary_high",
9840
- "&:not([disabled]):hover": {
9841
- backgroundColor: "$secondary_default"
9842
- }
9843
- },
9844
9839
  true: {
9845
9840
  "&:not([disabled]):hover": {
9846
9841
  backgroundColor: "$on_surface_low"
@@ -12950,21 +12945,17 @@ var IconButton2 = styled(IconButton, {
12950
12945
  border: "1px solid $border_bright",
12951
12946
  bg: "$background_dim",
12952
12947
  r: "$1",
12948
+ "&[disabled]": {
12949
+ opacity: 0.5,
12950
+ cursor: "not-allowed",
12951
+ backgroundColor: "$secondary_dim",
12952
+ color: "$on_primary_high"
12953
+ },
12953
12954
  variants: {
12954
12955
  active: {
12955
12956
  true: {
12956
12957
  color: "$on_surface_high",
12957
12958
  backgroundColor: "transparent"
12958
- },
12959
- false: {
12960
- border: "1px solid transparent",
12961
- color: "$on_primary_high"
12962
- }
12963
- },
12964
- disabled: {
12965
- true: {
12966
- backgroundColor: "$surface_brighter",
12967
- color: "$on_surface_low"
12968
12959
  }
12969
12960
  }
12970
12961
  }
@@ -12990,9 +12981,9 @@ var IconSection = styled(IconButton_default, {
12990
12981
  p: "$4",
12991
12982
  r: "$1",
12992
12983
  bg: "transparent",
12993
- borderTopRightRadius: 0,
12984
+ borderTopRightRadius: "0 !important",
12994
12985
  borderColor: "$border_bright",
12995
- borderBottomRightRadius: 0,
12986
+ borderBottomRightRadius: "0 !important",
12996
12987
  position: "relative",
12997
12988
  "&:not([disabled]):focus-visible": {
12998
12989
  zIndex: 1
@@ -13005,8 +12996,8 @@ var IconSection = styled(IconButton_default, {
13005
12996
  variants: __spreadProps(__spreadValues({}, variants), {
13006
12997
  hideOptions: {
13007
12998
  true: {
13008
- borderTopRightRadius: "$1",
13009
- borderBottomRightRadius: "$1"
12999
+ borderTopRightRadius: "$1 !important",
13000
+ borderBottomRightRadius: "$1 !important"
13010
13001
  }
13011
13002
  }
13012
13003
  })
@@ -13016,10 +13007,10 @@ var OptionsSection = styled(IconButton_default, {
13016
13007
  h: "$14",
13017
13008
  p: "$4 $2",
13018
13009
  r: "$1",
13019
- borderTopLeftRadius: 0,
13010
+ borderTopLeftRadius: "0 !important",
13020
13011
  borderColor: "$border_bright",
13021
- borderBottomLeftRadius: 0,
13022
- borderLeftWidth: 0,
13012
+ borderBottomLeftRadius: "0 !important",
13013
+ borderLeftWidth: "0 !important",
13023
13014
  position: "relative",
13024
13015
  "&:not([disabled]):focus-visible": {
13025
13016
  zIndex: 1
@@ -18493,7 +18484,7 @@ var Xi = (a2, e) => {
18493
18484
  };
18494
18485
  var Ia = (a2, e) => () => (e || a2((e = { exports: {} }).exports, e), e.exports);
18495
18486
  var lr = Ia((ed, Ka) => {
18496
- Ka.exports = { version: "0.12.3-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"] };
18487
+ Ka.exports = { version: "0.12.3-alpha.3", 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"] };
18497
18488
  });
18498
18489
  var Zi = ((n) => (n.Disconnected = "Disconnected", n.Preview = "Preview", n.Connecting = "Connecting", n.Connected = "Connected", n.Reconnecting = "Reconnecting", n.Disconnecting = "Disconnecting", n.Failed = "Failed", n))(Zi || {});
18499
18490
  var Ra = ((e) => (e.CHAT = "chat", e))(Ra || {});
@@ -21026,7 +21017,7 @@ init_define_process_env();
21026
21017
  import React69 from "react";
21027
21018
  import { selectUnreadHMSMessagesCount, useHMSStore as useHMSStore32 } from "@100mslive/react-sdk";
21028
21019
  import { ChatIcon } from "@100mslive/react-icons";
21029
- var ChatToggle = () => {
21020
+ var ChatToggle = ({ onClick }) => {
21030
21021
  const countUnreadMessages = useHMSStore32(selectUnreadHMSMessagesCount);
21031
21022
  const isChatOpen = useIsSidepaneTypeOpen(SIDE_PANE_OPTIONS.CHAT);
21032
21023
  const toggleChat = useSidepaneToggle(SIDE_PANE_OPTIONS.CHAT);
@@ -21037,7 +21028,7 @@ var ChatToggle = () => {
21037
21028
  position: "relative"
21038
21029
  }
21039
21030
  },
21040
- /* @__PURE__ */ React69.createElement(Tooltip, { key: "chat", title: `${isChatOpen ? "Close" : "Open"} chat` }, /* @__PURE__ */ React69.createElement(IconButton_default, { onClick: toggleChat, active: !isChatOpen, "data-testid": "chat_btn" }, /* @__PURE__ */ React69.createElement(ChatIcon, null))),
21031
+ /* @__PURE__ */ React69.createElement(Tooltip, { key: "chat", title: `${isChatOpen ? "Close" : "Open"} chat` }, /* @__PURE__ */ React69.createElement(IconButton_default, { onClick: () => onClick ? onClick() : toggleChat(), active: !isChatOpen, "data-testid": "chat_btn" }, /* @__PURE__ */ React69.createElement(ChatIcon, null))),
21041
21032
  countUnreadMessages > 0 && /* @__PURE__ */ React69.createElement(
21042
21033
  Flex,
21043
21034
  {
@@ -21545,7 +21536,7 @@ var RoleAccordion = ({
21545
21536
  },
21546
21537
  /* @__PURE__ */ React73.createElement(Text, { variant: "sm", css: { color: "inherit" } }, "View All"),
21547
21538
  /* @__PURE__ */ React73.createElement(ChevronRightIcon, null)
21548
- ) : null, isHandRaisedAccordion && /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(HorizontalDivider, null), /* @__PURE__ */ React73.createElement(Flex, { css: { w: "100%", p: "$6", gap: "$4" }, justify: "center" }, /* @__PURE__ */ React73.createElement(Button, { variant: "standard", onClick: lowerAllHands, icon: true, css: { pl: "$2" } }, /* @__PURE__ */ React73.createElement(CrossIcon11, null), " Lower all hands"), canBringToStage && /* @__PURE__ */ React73.createElement(Button, { onClick: bringAllToStage, icon: true, css: { pl: "$2" } }, /* @__PURE__ */ React73.createElement(AddIcon, null), " ", bring_to_stage_label)))));
21539
+ ) : null, isHandRaisedAccordion && canBringToStage && /* @__PURE__ */ React73.createElement(React73.Fragment, null, /* @__PURE__ */ React73.createElement(HorizontalDivider, null), /* @__PURE__ */ React73.createElement(Flex, { css: { w: "100%", p: "$6", gap: "$4" }, justify: "center" }, /* @__PURE__ */ React73.createElement(Button, { variant: "standard", onClick: lowerAllHands, icon: true, css: { pl: "$2" } }, /* @__PURE__ */ React73.createElement(CrossIcon11, null), " Lower all hands"), /* @__PURE__ */ React73.createElement(Button, { onClick: bringAllToStage, icon: true, css: { pl: "$2" } }, /* @__PURE__ */ React73.createElement(AddIcon, null), " ", bring_to_stage_label)))));
21549
21540
  };
21550
21541
 
21551
21542
  // src/Prebuilt/components/hooks/usePeerOnStageActions.tsx
@@ -21837,7 +21828,10 @@ var HandRaisedAccordionParticipantActions = ({ peerId, role }) => {
21837
21828
  peerId,
21838
21829
  role
21839
21830
  });
21840
- return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(Button, { variant: "standard", css: quickActionStyle, onClick: lowerPeerHand }, /* @__PURE__ */ React74.createElement(CrossIcon12, { height: 18, width: 18 })), shouldShowStageRoleChange && !isInStage && /* @__PURE__ */ React74.createElement(Button, { variant: "primary", onClick: handleStageAction, css: quickActionStyle }, /* @__PURE__ */ React74.createElement(AddIcon2, { height: 18, width: 18 })));
21831
+ if (!shouldShowStageRoleChange) {
21832
+ return null;
21833
+ }
21834
+ return /* @__PURE__ */ React74.createElement(React74.Fragment, null, /* @__PURE__ */ React74.createElement(Button, { variant: "standard", css: quickActionStyle, onClick: lowerPeerHand }, /* @__PURE__ */ React74.createElement(CrossIcon12, { height: 18, width: 18 })), !isInStage && /* @__PURE__ */ React74.createElement(Button, { variant: "primary", onClick: handleStageAction, css: quickActionStyle }, /* @__PURE__ */ React74.createElement(AddIcon2, { height: 18, width: 18 })));
21841
21835
  };
21842
21836
  var ParticipantMoreActions = ({ peerId, role }) => {
21843
21837
  const {
@@ -21950,29 +21944,42 @@ var PollsToggle = () => {
21950
21944
  // src/Prebuilt/components/Footer/WhiteboardToggle.tsx
21951
21945
  init_define_process_env();
21952
21946
  import React76 from "react";
21953
- import { useWhiteboard } from "@100mslive/react-sdk";
21947
+ import { useScreenShare as useScreenShare4, useWhiteboard } from "@100mslive/react-sdk";
21954
21948
  import { PencilDrawIcon } from "@100mslive/react-icons";
21955
21949
  var WhiteboardToggle = () => {
21956
21950
  const { toggle, open, isOwner } = useWhiteboard();
21951
+ const { screenSharingPeerId, amIScreenSharing } = useScreenShare4();
21952
+ const remoteScreenShare = screenSharingPeerId && !amIScreenSharing;
21953
+ const disabled = remoteScreenShare || open && !isOwner;
21957
21954
  if (!toggle) {
21958
21955
  return null;
21959
21956
  }
21960
- return /* @__PURE__ */ React76.createElement(Tooltip, { key: "whiteboard", title: `${open ? "Close" : "Open"} Whiteboard` }, /* @__PURE__ */ React76.createElement(
21961
- IconButton_default,
21957
+ return /* @__PURE__ */ React76.createElement(
21958
+ Tooltip,
21962
21959
  {
21963
- onClick: () => __async(void 0, null, function* () {
21964
- try {
21965
- yield toggle();
21966
- } catch (error) {
21967
- ToastManager.addToast({ title: error.message, variant: "error" });
21968
- }
21969
- }),
21970
- active: !open,
21971
- disabled: open && !isOwner,
21972
- "data-testid": "whiteboard_btn"
21960
+ key: "whiteboard",
21961
+ title: remoteScreenShare ? "Cannot open whiteboard when viewing a shared screen" : `${open ? "Close" : "Open"} Whiteboard`
21973
21962
  },
21974
- /* @__PURE__ */ React76.createElement(PencilDrawIcon, null)
21975
- ));
21963
+ /* @__PURE__ */ React76.createElement(
21964
+ IconButton_default,
21965
+ {
21966
+ onClick: () => __async(void 0, null, function* () {
21967
+ if (disabled) {
21968
+ return;
21969
+ }
21970
+ try {
21971
+ yield toggle();
21972
+ } catch (error) {
21973
+ ToastManager.addToast({ title: error.message, variant: "error" });
21974
+ }
21975
+ }),
21976
+ active: !open,
21977
+ disabled,
21978
+ "data-testid": "whiteboard_btn"
21979
+ },
21980
+ /* @__PURE__ */ React76.createElement(PencilDrawIcon, null)
21981
+ )
21982
+ );
21976
21983
  };
21977
21984
 
21978
21985
  // src/Prebuilt/components/Footer/Footer.tsx
@@ -27245,24 +27252,18 @@ var RoleChangeRequestModal = () => {
27245
27252
  init_define_process_env();
27246
27253
  import React151, { Suspense, useEffect as useEffect48 } from "react";
27247
27254
  import { match as match11 } from "ts-pattern";
27248
- import {
27249
- selectIsConnectedToRoom as selectIsConnectedToRoom9,
27250
- selectLocalPeerRoleName as selectLocalPeerRoleName6,
27251
- selectPeerScreenSharing as selectPeerScreenSharing3,
27252
- selectWhiteboard as selectWhiteboard2,
27253
- useHMSActions as useHMSActions45,
27254
- useHMSStore as useHMSStore81
27255
- } from "@100mslive/react-sdk";
27255
+ import { selectIsConnectedToRoom as selectIsConnectedToRoom9, selectLocalPeerRoleName as selectLocalPeerRoleName6, useHMSActions as useHMSActions45, useHMSStore as useHMSStore81 } from "@100mslive/react-sdk";
27256
27256
 
27257
27257
  // src/Prebuilt/components/VideoLayouts/GridLayout.tsx
27258
27258
  init_define_process_env();
27259
- import React146, { useEffect as useEffect43, useMemo as useMemo17, useState as useState64 } from "react";
27259
+ import React147, { useEffect as useEffect44, useMemo as useMemo18, useState as useState64 } from "react";
27260
27260
  import {
27261
27261
  selectLocalPeerID as selectLocalPeerID14,
27262
27262
  selectLocalPeerRoleName as selectLocalPeerRoleName5,
27263
27263
  selectPeers as selectPeers3,
27264
27264
  selectPeerScreenSharing,
27265
- useHMSStore as useHMSStore78,
27265
+ selectWhiteboard as selectWhiteboard2,
27266
+ useHMSStore as useHMSStore79,
27266
27267
  useHMSVanillaStore as useHMSVanillaStore12
27267
27268
  } from "@100mslive/react-sdk";
27268
27269
 
@@ -28169,6 +28170,84 @@ var ScreenshareLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
28169
28170
  ), layoutMode === LayoutMode.SPOTLIGHT && activeSharePeer && /* @__PURE__ */ React145.createElement(InsetTile, { peerId: activeSharePeer == null ? void 0 : activeSharePeer.id }));
28170
28171
  };
28171
28172
 
28173
+ // src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx
28174
+ init_define_process_env();
28175
+ import React146, { useEffect as useEffect43, useMemo as useMemo17 } from "react";
28176
+ import { useMedia as useMedia33 } from "react-use";
28177
+ import { selectPeerByCondition, selectWhiteboard, useHMSStore as useHMSStore78, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
28178
+ var WhiteboardEmbed = () => {
28179
+ const isMobile = useMedia33(config.media.md);
28180
+ const { iframeRef } = useWhiteboard2(isMobile);
28181
+ return /* @__PURE__ */ React146.createElement(
28182
+ Box,
28183
+ {
28184
+ css: {
28185
+ mx: "$8",
28186
+ flex: "3 1 0",
28187
+ "@lg": {
28188
+ flex: "2 1 0",
28189
+ display: "flex",
28190
+ alignItems: "center"
28191
+ }
28192
+ }
28193
+ },
28194
+ /* @__PURE__ */ React146.createElement(
28195
+ "iframe",
28196
+ {
28197
+ title: "Whiteboard View",
28198
+ ref: iframeRef,
28199
+ style: {
28200
+ width: "100%",
28201
+ height: "100%",
28202
+ border: 0,
28203
+ borderRadius: "0.75rem"
28204
+ },
28205
+ allow: "autoplay; clipboard-write;",
28206
+ referrerPolicy: "no-referrer"
28207
+ }
28208
+ )
28209
+ );
28210
+ };
28211
+ var WhiteboardLayout = ({ peers, onPageChange, onPageSize, edgeToEdge }) => {
28212
+ const whiteboard = useHMSStore78(selectWhiteboard);
28213
+ const whiteboardOwner = useHMSStore78(selectPeerByCondition((peer) => peer.customerUserId === (whiteboard == null ? void 0 : whiteboard.owner)));
28214
+ const [layoutMode, setLayoutMode] = useSetUiSettings(UI_SETTINGS.layoutMode);
28215
+ const isMobile = useMedia33(config.media.md);
28216
+ const hasSidebar = !isMobile && layoutMode === LayoutMode.SIDEBAR;
28217
+ const secondaryPeers = useMemo17(() => {
28218
+ if (layoutMode === LayoutMode.SPOTLIGHT) {
28219
+ return [];
28220
+ }
28221
+ if (isMobile || layoutMode === LayoutMode.SIDEBAR) {
28222
+ return whiteboardOwner ? [whiteboardOwner, ...peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id))] : peers;
28223
+ }
28224
+ return peers.filter((p) => p.id !== (whiteboardOwner == null ? void 0 : whiteboardOwner.id));
28225
+ }, [whiteboardOwner, peers, isMobile, layoutMode]);
28226
+ useEffect43(() => {
28227
+ if (isMobile) {
28228
+ setLayoutMode(LayoutMode.GALLERY);
28229
+ return;
28230
+ }
28231
+ if (layoutMode === LayoutMode.SIDEBAR) {
28232
+ return;
28233
+ }
28234
+ setLayoutMode(LayoutMode.SIDEBAR);
28235
+ return () => {
28236
+ setLayoutMode(LayoutMode.GALLERY);
28237
+ };
28238
+ }, [isMobile]);
28239
+ return /* @__PURE__ */ React146.createElement(ProminenceLayout.Root, { edgeToEdge, hasSidebar }, /* @__PURE__ */ React146.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React146.createElement(WhiteboardEmbed, null)), /* @__PURE__ */ React146.createElement(
28240
+ SecondaryTiles,
28241
+ {
28242
+ peers: secondaryPeers,
28243
+ onPageChange,
28244
+ onPageSize,
28245
+ edgeToEdge,
28246
+ hasSidebar
28247
+ }
28248
+ ), layoutMode === LayoutMode.SPOTLIGHT && whiteboardOwner && /* @__PURE__ */ React146.createElement(InsetTile, { peerId: whiteboardOwner == null ? void 0 : whiteboardOwner.id }));
28249
+ };
28250
+
28172
28251
  // src/Prebuilt/common/PeersSorter.ts
28173
28252
  init_define_process_env();
28174
28253
  import { selectDominantSpeaker as selectDominantSpeaker2 } from "@100mslive/react-sdk";
@@ -28276,18 +28355,19 @@ var GridLayout = ({
28276
28355
  edge_to_edge = false,
28277
28356
  hide_metadata_on_tile = false
28278
28357
  }) => {
28279
- const peerSharing = useHMSStore78(selectPeerScreenSharing);
28358
+ const peerSharing = useHMSStore79(selectPeerScreenSharing);
28359
+ const whiteboard = useHMSStore79(selectWhiteboard2);
28280
28360
  const pinnedTrack = usePinnedTrack();
28281
- const peers = useHMSStore78(selectPeers3);
28282
- const localPeerRole = useHMSStore78(selectLocalPeerRoleName5);
28283
- const localPeerID = useHMSStore78(selectLocalPeerID14);
28361
+ const peers = useHMSStore79(selectPeers3);
28362
+ const localPeerRole = useHMSStore79(selectLocalPeerRoleName5);
28363
+ const localPeerID = useHMSStore79(selectLocalPeerID14);
28284
28364
  const [activeScreensharePeerId] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
28285
28365
  const isRoleProminence = prominentRoles.length && peers.some(
28286
28366
  (peer) => peer.roleName && prominentRoles.includes(peer.roleName) && (peer.videoTrack || peer.audioTrack)
28287
28367
  ) || pinnedTrack;
28288
- const updatedPeers = useMemo17(() => {
28289
- if (activeScreensharePeerId) {
28290
- return peers.filter((peer) => peer.id !== activeScreensharePeerId);
28368
+ const updatedPeers = useMemo18(() => {
28369
+ if (activeScreensharePeerId || (whiteboard == null ? void 0 : whiteboard.open)) {
28370
+ return peers.filter((peer) => peer.id !== activeScreensharePeerId || peer.customerUserId !== (whiteboard == null ? void 0 : whiteboard.owner));
28291
28371
  }
28292
28372
  if (isInsetEnabled) {
28293
28373
  const isLocalPeerPinned = localPeerID === (pinnedTrack == null ? void 0 : pinnedTrack.peerId);
@@ -28298,10 +28378,19 @@ var GridLayout = ({
28298
28378
  }
28299
28379
  }
28300
28380
  return peers;
28301
- }, [isInsetEnabled, activeScreensharePeerId, localPeerRole, localPeerID, prominentRoles, peers, pinnedTrack]);
28381
+ }, [
28382
+ isInsetEnabled,
28383
+ whiteboard,
28384
+ activeScreensharePeerId,
28385
+ localPeerRole,
28386
+ localPeerID,
28387
+ prominentRoles,
28388
+ peers,
28389
+ pinnedTrack
28390
+ ]);
28302
28391
  const vanillaStore = useHMSVanillaStore12();
28303
28392
  const [sortedPeers, setSortedPeers] = useState64(updatedPeers);
28304
- const peersSorter = useMemo17(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
28393
+ const peersSorter = useMemo18(() => new PeersSorter_default(vanillaStore), [vanillaStore]);
28305
28394
  const [pageSize, setPageSize] = useState64(0);
28306
28395
  const [mainPage, setMainPage] = useState64(0);
28307
28396
  const tileLayout = {
@@ -28312,7 +28401,7 @@ var GridLayout = ({
28312
28401
  hideMetadataOnTile: hide_metadata_on_tile,
28313
28402
  objectFit: video_object_fit
28314
28403
  };
28315
- useEffect43(() => {
28404
+ useEffect44(() => {
28316
28405
  if (mainPage !== 0) {
28317
28406
  return;
28318
28407
  }
@@ -28323,7 +28412,7 @@ var GridLayout = ({
28323
28412
  peersSorter.onUpdate(setSortedPeers);
28324
28413
  }, [mainPage, peersSorter, updatedPeers, pageSize]);
28325
28414
  if (peerSharing) {
28326
- return /* @__PURE__ */ React146.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React146.createElement(
28415
+ return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
28327
28416
  ScreenshareLayout,
28328
28417
  {
28329
28418
  peers: sortedPeers,
@@ -28332,8 +28421,18 @@ var GridLayout = ({
28332
28421
  edgeToEdge: edge_to_edge
28333
28422
  }
28334
28423
  ));
28424
+ } else if (whiteboard == null ? void 0 : whiteboard.open) {
28425
+ return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
28426
+ WhiteboardLayout,
28427
+ {
28428
+ peers: sortedPeers,
28429
+ onPageSize: setPageSize,
28430
+ onPageChange: setMainPage,
28431
+ edgeToEdge: edge_to_edge
28432
+ }
28433
+ ));
28335
28434
  } else if (isRoleProminence) {
28336
- return /* @__PURE__ */ React146.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React146.createElement(
28435
+ return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
28337
28436
  RoleProminence,
28338
28437
  {
28339
28438
  peers: sortedPeers,
@@ -28345,7 +28444,7 @@ var GridLayout = ({
28345
28444
  }
28346
28445
  ));
28347
28446
  }
28348
- return /* @__PURE__ */ React146.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React146.createElement(
28447
+ return /* @__PURE__ */ React147.createElement(VideoTileContext.Provider, { value: tileLayout }, /* @__PURE__ */ React147.createElement(
28349
28448
  EqualProminence,
28350
28449
  {
28351
28450
  peers: sortedPeers,
@@ -28359,32 +28458,32 @@ var GridLayout = ({
28359
28458
 
28360
28459
  // src/Prebuilt/layouts/EmbedView.jsx
28361
28460
  init_define_process_env();
28362
- import React147, { useEffect as useEffect44, useMemo as useMemo18 } from "react";
28363
- import { selectAppData as selectAppData8, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing2, useEmbedShare, useHMSStore as useHMSStore79 } from "@100mslive/react-sdk";
28461
+ import React148, { useEffect as useEffect45, useMemo as useMemo19 } from "react";
28462
+ import { selectAppData as selectAppData8, selectPeers as selectPeers4, selectPeerScreenSharing as selectPeerScreenSharing2, useEmbedShare, useHMSStore as useHMSStore80 } from "@100mslive/react-sdk";
28364
28463
  var EmbedView = () => {
28365
- return /* @__PURE__ */ React147.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React147.createElement(EmbedComponent, null));
28464
+ return /* @__PURE__ */ React148.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React148.createElement(EmbedComponent, null));
28366
28465
  };
28367
28466
  var EmbedScreenShareView = ({ children }) => {
28368
- const peers = useHMSStore79(selectPeers4);
28369
- const peerPresenting = useHMSStore79(selectPeerScreenSharing2);
28467
+ const peers = useHMSStore80(selectPeers4);
28468
+ const peerPresenting = useHMSStore80(selectPeerScreenSharing2);
28370
28469
  const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
28371
- const smallTilePeers = useMemo18(() => {
28470
+ const smallTilePeers = useMemo19(() => {
28372
28471
  const smallTilePeers2 = peers.filter((peer) => peer.id !== (peerPresenting == null ? void 0 : peerPresenting.id));
28373
28472
  return smallTilePeers2;
28374
28473
  }, [peers, peerPresenting]);
28375
- useEffect44(() => {
28474
+ useEffect45(() => {
28376
28475
  setActiveScreenSharePeer(peerPresenting == null ? void 0 : peerPresenting.id);
28377
28476
  return () => {
28378
28477
  setActiveScreenSharePeer("");
28379
28478
  };
28380
28479
  }, [peerPresenting == null ? void 0 : peerPresenting.id, setActiveScreenSharePeer]);
28381
- return /* @__PURE__ */ React147.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React147.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ React147.createElement(SecondaryTiles, { peers: smallTilePeers }));
28480
+ return /* @__PURE__ */ React148.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React148.createElement(ProminenceLayout.ProminentSection, null, children), /* @__PURE__ */ React148.createElement(SecondaryTiles, { peers: smallTilePeers }));
28382
28481
  };
28383
28482
  var EmbedComponent = () => {
28384
- const embedConfig = useHMSStore79(selectAppData8(APP_DATA.embedConfig));
28483
+ const embedConfig = useHMSStore80(selectAppData8(APP_DATA.embedConfig));
28385
28484
  const resetConfig = useResetEmbedConfig();
28386
28485
  const { iframeRef, startEmbedShare, isEmbedShareInProgress } = useEmbedShare(resetConfig);
28387
- useEffect44(() => {
28486
+ useEffect45(() => {
28388
28487
  (() => __async(void 0, null, function* () {
28389
28488
  if (embedConfig && !isEmbedShareInProgress) {
28390
28489
  try {
@@ -28399,7 +28498,7 @@ var EmbedComponent = () => {
28399
28498
  }
28400
28499
  }))();
28401
28500
  }, [isEmbedShareInProgress, embedConfig, startEmbedShare, resetConfig]);
28402
- return /* @__PURE__ */ React147.createElement(
28501
+ return /* @__PURE__ */ React148.createElement(
28403
28502
  Box,
28404
28503
  {
28405
28504
  css: {
@@ -28412,7 +28511,7 @@ var EmbedComponent = () => {
28412
28511
  }
28413
28512
  }
28414
28513
  },
28415
- /* @__PURE__ */ React147.createElement(
28514
+ /* @__PURE__ */ React148.createElement(
28416
28515
  "iframe",
28417
28516
  {
28418
28517
  title: "Embed View",
@@ -28432,13 +28531,13 @@ var EmbedComponent = () => {
28432
28531
 
28433
28532
  // src/Prebuilt/layouts/PDFView.jsx
28434
28533
  init_define_process_env();
28435
- import React148, { useEffect as useEffect45 } from "react";
28534
+ import React149, { useEffect as useEffect46 } from "react";
28436
28535
  import { usePDFShare } from "@100mslive/react-sdk";
28437
28536
  var PDFView = () => {
28438
28537
  const pdfConfig = usePDFConfig();
28439
28538
  const resetConfig = useResetPDFConfig();
28440
28539
  const { iframeRef, startPDFShare, isPDFShareInProgress } = usePDFShare(resetConfig);
28441
- useEffect45(() => {
28540
+ useEffect46(() => {
28442
28541
  (() => __async(void 0, null, function* () {
28443
28542
  try {
28444
28543
  if (!isPDFShareInProgress && pdfConfig) {
@@ -28453,7 +28552,7 @@ var PDFView = () => {
28453
28552
  }
28454
28553
  }))();
28455
28554
  }, [isPDFShareInProgress, pdfConfig, resetConfig, startPDFShare]);
28456
- return /* @__PURE__ */ React148.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React148.createElement(
28555
+ return /* @__PURE__ */ React149.createElement(EmbedScreenShareView, null, /* @__PURE__ */ React149.createElement(
28457
28556
  Box,
28458
28557
  {
28459
28558
  css: {
@@ -28466,7 +28565,7 @@ var PDFView = () => {
28466
28565
  }
28467
28566
  }
28468
28567
  },
28469
- /* @__PURE__ */ React148.createElement(
28568
+ /* @__PURE__ */ React149.createElement(
28470
28569
  "iframe",
28471
28570
  {
28472
28571
  title: "Embed View",
@@ -28486,10 +28585,10 @@ var PDFView = () => {
28486
28585
 
28487
28586
  // src/Prebuilt/layouts/WaitingView.jsx
28488
28587
  init_define_process_env();
28489
- import React149 from "react";
28588
+ import React150 from "react";
28490
28589
  import { ColoredTimeIcon } from "@100mslive/react-icons";
28491
- var WaitingView = React149.memo(() => {
28492
- return /* @__PURE__ */ React149.createElement(
28590
+ var WaitingView = React150.memo(() => {
28591
+ return /* @__PURE__ */ React150.createElement(
28493
28592
  Box,
28494
28593
  {
28495
28594
  css: {
@@ -28503,7 +28602,7 @@ var WaitingView = React149.memo(() => {
28503
28602
  },
28504
28603
  "data-testid": "waiting_view"
28505
28604
  },
28506
- /* @__PURE__ */ React149.createElement(
28605
+ /* @__PURE__ */ React150.createElement(
28507
28606
  Flex,
28508
28607
  {
28509
28608
  align: "center",
@@ -28517,8 +28616,8 @@ var WaitingView = React149.memo(() => {
28517
28616
  gap: "$8"
28518
28617
  }
28519
28618
  },
28520
- /* @__PURE__ */ React149.createElement(ColoredTimeIcon, { width: "80px", height: "80px" }),
28521
- /* @__PURE__ */ React149.createElement(
28619
+ /* @__PURE__ */ React150.createElement(ColoredTimeIcon, { width: "80px", height: "80px" }),
28620
+ /* @__PURE__ */ React150.createElement(
28522
28621
  Flex,
28523
28622
  {
28524
28623
  direction: "column",
@@ -28528,101 +28627,52 @@ var WaitingView = React149.memo(() => {
28528
28627
  gap: "$4"
28529
28628
  }
28530
28629
  },
28531
- /* @__PURE__ */ React149.createElement(Text, { color: "white", variant: "h6", css: { "@md": { fontSize: "$md" } } }, "Please wait"),
28532
- /* @__PURE__ */ React149.createElement(Text, { color: "$on_surface_medium", css: { mt: "$4", "@md": { fontSize: "$sm" } } }, "Sit back and relax till others let you join.")
28630
+ /* @__PURE__ */ React150.createElement(Text, { color: "white", variant: "h6", css: { "@md": { fontSize: "$md" } } }, "Please wait"),
28631
+ /* @__PURE__ */ React150.createElement(Text, { color: "$on_surface_medium", css: { mt: "$4", "@md": { fontSize: "$sm" } } }, "Sit back and relax till others let you join.")
28533
28632
  )
28534
28633
  )
28535
28634
  );
28536
28635
  });
28537
28636
 
28538
- // src/Prebuilt/layouts/WhiteboardView.tsx
28539
- init_define_process_env();
28540
- import React150, { useEffect as useEffect46, useMemo as useMemo19 } from "react";
28541
- import { useMedia as useMedia33 } from "react-use";
28542
- import { selectPeers as selectPeers5, selectWhiteboard, useHMSStore as useHMSStore80, useWhiteboard as useWhiteboard2 } from "@100mslive/react-sdk";
28543
- var EmbedComponent2 = () => {
28544
- const isMobile = useMedia33(config.media.md);
28545
- const { iframeRef } = useWhiteboard2(isMobile);
28546
- return /* @__PURE__ */ React150.createElement(
28547
- Box,
28548
- {
28549
- css: {
28550
- mx: "$8",
28551
- flex: "3 1 0",
28552
- "@lg": {
28553
- flex: "2 1 0",
28554
- display: "flex",
28555
- alignItems: "center"
28556
- }
28557
- }
28558
- },
28559
- /* @__PURE__ */ React150.createElement(
28560
- "iframe",
28561
- {
28562
- title: "Whiteboard View",
28563
- ref: iframeRef,
28564
- style: {
28565
- width: "100%",
28566
- height: "100%",
28567
- border: 0,
28568
- borderRadius: "0.75rem"
28569
- },
28570
- allow: "autoplay; clipboard-write;",
28571
- referrerPolicy: "no-referrer"
28572
- }
28573
- )
28574
- );
28575
- };
28576
- var WhiteboardView = () => {
28577
- const peers = useHMSStore80(selectPeers5);
28578
- const whiteboard = useHMSStore80(selectWhiteboard);
28579
- const [, setActiveScreenSharePeer] = useSetAppDataByKey(APP_DATA.activeScreensharePeerId);
28580
- const smallTilePeers = useMemo19(() => {
28581
- const smallTilePeers2 = peers.filter((peer) => peer.id !== (whiteboard == null ? void 0 : whiteboard.owner));
28582
- return smallTilePeers2;
28583
- }, [peers, whiteboard == null ? void 0 : whiteboard.owner]);
28584
- useEffect46(() => {
28585
- setActiveScreenSharePeer((whiteboard == null ? void 0 : whiteboard.owner) || "");
28586
- return () => {
28587
- setActiveScreenSharePeer("");
28588
- };
28589
- }, [whiteboard == null ? void 0 : whiteboard.owner, setActiveScreenSharePeer]);
28590
- return /* @__PURE__ */ React150.createElement(ProminenceLayout.Root, null, /* @__PURE__ */ React150.createElement(ProminenceLayout.ProminentSection, null, /* @__PURE__ */ React150.createElement(EmbedComponent2, null)), /* @__PURE__ */ React150.createElement(SecondaryTiles, { peers: smallTilePeers }));
28591
- };
28592
-
28593
28637
  // src/Prebuilt/components/hooks/useCloseScreenshareWhiteboard.tsx
28594
28638
  init_define_process_env();
28595
28639
  import { useEffect as useEffect47 } from "react";
28596
28640
  import { usePrevious } from "react-use";
28597
- import { useScreenShare as useScreenShare4, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
28641
+ import { useScreenShare as useScreenShare5, useWhiteboard as useWhiteboard3 } from "@100mslive/react-sdk";
28598
28642
  var useCloseScreenshareWhiteboard = () => {
28599
- const { amIScreenSharing, toggleScreenShare } = useScreenShare4();
28643
+ const { amIScreenSharing, screenSharingPeerId, toggleScreenShare } = useScreenShare5();
28600
28644
  const { isOwner: isWhiteboardOwner, toggle: toggleWhiteboard } = useWhiteboard3();
28601
- const prevScreenSharer = usePrevious(amIScreenSharing);
28645
+ const prevScreenSharer = usePrevious(screenSharingPeerId);
28602
28646
  const prevWhiteboardOwner = usePrevious(isWhiteboardOwner);
28603
28647
  useEffect47(() => {
28604
- if (isWhiteboardOwner && amIScreenSharing) {
28605
- if (prevScreenSharer && !prevWhiteboardOwner) {
28648
+ if (isWhiteboardOwner && screenSharingPeerId) {
28649
+ if (prevScreenSharer && amIScreenSharing && !prevWhiteboardOwner) {
28606
28650
  toggleScreenShare == null ? void 0 : toggleScreenShare();
28607
28651
  } else if (prevWhiteboardOwner && !prevScreenSharer) {
28608
28652
  toggleWhiteboard == null ? void 0 : toggleWhiteboard();
28609
28653
  }
28610
28654
  }
28611
- }, [isWhiteboardOwner, amIScreenSharing, prevScreenSharer, prevWhiteboardOwner, toggleScreenShare, toggleWhiteboard]);
28655
+ }, [
28656
+ isWhiteboardOwner,
28657
+ screenSharingPeerId,
28658
+ amIScreenSharing,
28659
+ prevScreenSharer,
28660
+ prevWhiteboardOwner,
28661
+ toggleScreenShare,
28662
+ toggleWhiteboard
28663
+ ]);
28612
28664
  };
28613
28665
 
28614
28666
  // src/Prebuilt/layouts/VideoStreamingSection.tsx
28615
- var HLSView = React151.lazy(() => import("./HLSView-GDOF4655.js"));
28667
+ var HLSView = React151.lazy(() => import("./HLSView-BCIIVR2T.js"));
28616
28668
  var VideoStreamingSection = ({
28617
28669
  screenType,
28618
28670
  elements,
28619
28671
  hideControls = false
28620
28672
  }) => {
28621
- var _a8, _b7, _c, _d;
28673
+ var _a8, _b7;
28622
28674
  const localPeerRole = useHMSStore81(selectLocalPeerRoleName6);
28623
28675
  const isConnected = useHMSStore81(selectIsConnectedToRoom9);
28624
- const peerSharing = useHMSStore81(selectPeerScreenSharing3);
28625
- const isWhiteboardOpen = (_a8 = useHMSStore81(selectWhiteboard2)) == null ? void 0 : _a8.open;
28626
28676
  const hmsActions = useHMSActions45();
28627
28677
  const waitingViewerRole = useWaitingViewerRole();
28628
28678
  const urlToIframe = useUrlToEmbed();
@@ -28654,12 +28704,8 @@ var VideoStreamingSection = ({
28654
28704
  ViewComponent = /* @__PURE__ */ React151.createElement(PDFView, null);
28655
28705
  } else if (urlToIframe) {
28656
28706
  ViewComponent = /* @__PURE__ */ React151.createElement(EmbedView, null);
28657
- } else if (peerSharing) {
28658
- ViewComponent = /* @__PURE__ */ React151.createElement(GridLayout, __spreadValues({}, (_b7 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _b7.grid));
28659
- } else if (isWhiteboardOpen) {
28660
- ViewComponent = /* @__PURE__ */ React151.createElement(WhiteboardView, null);
28661
28707
  } else {
28662
- ViewComponent = /* @__PURE__ */ React151.createElement(GridLayout, __spreadValues({}, (_c = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _c.grid));
28708
+ ViewComponent = /* @__PURE__ */ React151.createElement(GridLayout, __spreadValues({}, (_a8 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _a8.grid));
28663
28709
  }
28664
28710
  return /* @__PURE__ */ React151.createElement(Suspense, { fallback: /* @__PURE__ */ React151.createElement(FullPageProgress_default, null) }, /* @__PURE__ */ React151.createElement(
28665
28711
  Flex,
@@ -28688,7 +28734,7 @@ var VideoStreamingSection = ({
28688
28734
  SidePane_default,
28689
28735
  {
28690
28736
  screenType,
28691
- tileProps: (_d = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _d.grid,
28737
+ tileProps: (_b7 = elements == null ? void 0 : elements.video_tile_layout) == null ? void 0 : _b7.grid,
28692
28738
  hideControls
28693
28739
  }
28694
28740
  )
@@ -30883,6 +30929,7 @@ var TextArea = styled("textarea", {
30883
30929
 
30884
30930
  export {
30885
30931
  __spreadValues,
30932
+ __spreadProps,
30886
30933
  __objRest,
30887
30934
  __async,
30888
30935
  init_define_process_env,
@@ -30982,4 +31029,4 @@ lodash/lodash.js:
30982
31029
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
30983
31030
  *)
30984
31031
  */
30985
- //# sourceMappingURL=chunk-ZDW56PPL.js.map
31032
+ //# sourceMappingURL=chunk-W47ZJGSD.js.map