@100mslive/roomkit-react 0.1.7-alpha.0 → 0.1.8-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. package/dist/AudioLevel/AudioLevel.d.ts +5 -8
  2. package/dist/AudioLevel/index.d.ts +2 -1
  3. package/dist/AudioLevel/useBorderAudioLevel.d.ts +8 -0
  4. package/dist/{HLSView-F5BDZVT2.js → HLSView-IQRPLYNH.js} +8 -6
  5. package/dist/{HLSView-F5BDZVT2.js.map → HLSView-IQRPLYNH.js.map} +2 -2
  6. package/dist/Prebuilt/components/Chip.d.ts +12 -0
  7. package/dist/Prebuilt/components/PrebuiltDialogPortal.d.ts +4 -0
  8. package/dist/Prebuilt/components/RoleChangeRequest/RequestPrompt.d.ts +9 -0
  9. package/dist/VideoTile/StyledVideoTile.d.ts +445 -3
  10. package/dist/{VirtualBackground-THDRYDRA.js → VirtualBackground-GP4ATXD3.js} +3 -3
  11. package/dist/{chunk-JSH7SKEH.js → chunk-2H5NIZB7.js} +2 -2
  12. package/dist/{chunk-CDYRVICT.js → chunk-GLYGPYNS.js} +574 -1196
  13. package/dist/chunk-GLYGPYNS.js.map +7 -0
  14. package/dist/{chunk-U3G743OY.js → chunk-Z3O2WGWV.js} +2 -2
  15. package/dist/{chunk-U3G743OY.js.map → chunk-Z3O2WGWV.js.map} +1 -1
  16. package/dist/{conference-6IVZHILI.js → conference-JD35TNH4.js} +1545 -840
  17. package/dist/conference-JD35TNH4.js.map +7 -0
  18. package/dist/index.cjs.js +5975 -5849
  19. package/dist/index.cjs.js.map +4 -4
  20. package/dist/index.js +4 -2
  21. package/dist/meta.cjs.json +1633 -1399
  22. package/dist/meta.esbuild.json +1689 -1454
  23. package/package.json +6 -6
  24. package/src/AudioLevel/AudioLevel.tsx +79 -30
  25. package/src/AudioLevel/audio-level.png +0 -0
  26. package/src/AudioLevel/index.ts +2 -1
  27. package/src/AudioLevel/useBorderAudioLevel.tsx +34 -0
  28. package/src/Input/Input.tsx +1 -1
  29. package/src/Prebuilt/App.tsx +1 -0
  30. package/src/Prebuilt/components/Chat/ChatBody.jsx +125 -106
  31. package/src/Prebuilt/components/{Chip.jsx → Chip.tsx} +13 -2
  32. package/src/Prebuilt/components/Footer/ParticipantList.jsx +24 -13
  33. package/src/Prebuilt/components/Footer/RoleAccordion.tsx +43 -3
  34. package/src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx +41 -46
  35. package/src/Prebuilt/components/Leave/MwebLeaveRoom.tsx +23 -35
  36. package/src/Prebuilt/components/MoreSettings/ChangeNameModal.jsx +3 -2
  37. package/src/Prebuilt/components/MoreSettings/EmbedUrl.jsx +3 -2
  38. package/src/Prebuilt/components/MwebLandscapePrompt.jsx +58 -0
  39. package/src/Prebuilt/components/Notifications/HLSFailureModal.jsx +3 -2
  40. package/src/Prebuilt/components/Notifications/PermissionErrorModal.jsx +3 -2
  41. package/src/Prebuilt/components/PrebuiltDialogPortal.tsx +6 -0
  42. package/src/Prebuilt/components/Preview/PreviewJoin.tsx +9 -6
  43. package/src/Prebuilt/components/RaiseHand.jsx +4 -11
  44. package/src/Prebuilt/components/RoleChangeModal.jsx +3 -2
  45. package/src/Prebuilt/components/RoleChangeRequest/RequestPrompt.tsx +67 -0
  46. package/src/Prebuilt/components/{RoleChangeRequestModal.tsx → RoleChangeRequest/RoleChangeRequestModal.tsx} +18 -50
  47. package/src/Prebuilt/components/Settings/SettingsModal.jsx +3 -2
  48. package/src/Prebuilt/components/Settings/StartRecording.jsx +3 -2
  49. package/src/Prebuilt/components/StatsForNerds.jsx +3 -2
  50. package/src/Prebuilt/components/VideoTile.jsx +34 -75
  51. package/src/Prebuilt/components/conference.jsx +1 -1
  52. package/src/Prebuilt/components/hooks/useMetadata.jsx +2 -1
  53. package/src/Prebuilt/components/pdfAnnotator/pdfFileOptions.jsx +3 -2
  54. package/src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx +4 -29
  55. package/src/Prebuilt/components/pdfAnnotator/uploadedFile.jsx +3 -2
  56. package/src/Prebuilt/layouts/HLSView.jsx +4 -2
  57. package/src/Prebuilt/layouts/SidePane.tsx +0 -1
  58. package/src/Prebuilt/primitives/DialogContent.jsx +5 -4
  59. package/src/VideoTile/StyledVideoTile.tsx +10 -14
  60. package/dist/chunk-CDYRVICT.js.map +0 -7
  61. package/dist/conference-6IVZHILI.js.map +0 -7
  62. /package/dist/Prebuilt/components/{RoleChangeRequestModal.d.ts → RoleChangeRequest/RoleChangeRequestModal.d.ts} +0 -0
  63. /package/dist/{VirtualBackground-THDRYDRA.js.map → VirtualBackground-GP4ATXD3.js.map} +0 -0
  64. /package/dist/{chunk-JSH7SKEH.js.map → chunk-2H5NIZB7.js.map} +0 -0
@@ -1757,7 +1757,10 @@ declare const Info: import("@stitches/react/types/styled-component").StyledCompo
1757
1757
  };
1758
1758
  };
1759
1759
  }>>;
1760
- declare const AttributeBox: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
1760
+ declare const AttributeBox: import("@stitches/react/types/styled-component").StyledComponent<"div", {
1761
+ size?: "medium" | "small" | undefined;
1762
+ position?: "left" | "right" | undefined;
1763
+ }, {
1761
1764
  allowMotion: string;
1762
1765
  sm: string;
1763
1766
  md: string;
@@ -2196,9 +2199,448 @@ declare const AttributeBox: import("@stitches/react/types/styled-component").Sty
2196
2199
  };
2197
2200
  };
2198
2201
  }>>;
2199
- declare const AudioIndicator: import("@stitches/react/types/styled-component").StyledComponent<"div", {
2202
+ declare const AudioIndicator: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
2200
2203
  size?: "medium" | "small" | undefined;
2204
+ position?: "left" | "right" | undefined;
2205
+ }, {
2206
+ allowMotion: string;
2207
+ sm: string;
2208
+ md: string;
2209
+ lg: string;
2210
+ xl: string;
2211
+ '2xl': string;
2212
+ ls: string;
2213
+ }, import("@stitches/react/types/css-util").CSS<{
2214
+ allowMotion: string;
2215
+ sm: string;
2216
+ md: string;
2217
+ lg: string;
2218
+ xl: string;
2219
+ '2xl': string;
2220
+ ls: string;
2221
+ }, {
2222
+ colors: {
2223
+ primary_default: string;
2224
+ primary_bright: string;
2225
+ primary_dim: string;
2226
+ primary_disabled: string;
2227
+ on_primary_high: string;
2228
+ on_primary_medium: string;
2229
+ on_primary_low: string;
2230
+ secondary_default: string;
2231
+ secondary_bright: string;
2232
+ secondary_dim: string;
2233
+ secondary_disabled: string;
2234
+ on_secondary_high: string;
2235
+ on_secondary_medium: string;
2236
+ on_secondary_low: string;
2237
+ background_default: string;
2238
+ background_dim: string;
2239
+ surface_default: string;
2240
+ surface_bright: string;
2241
+ surface_brighter: string;
2242
+ surface_dim: string;
2243
+ on_surface_high: string;
2244
+ on_surface_medium: string;
2245
+ on_surface_low: string;
2246
+ border_default: string;
2247
+ border_bright: string;
2248
+ alert_success: string;
2249
+ alert_warning: string;
2250
+ alert_error_default: string;
2251
+ alert_error_bright: string;
2252
+ alert_error_brighter: string;
2253
+ alert_error_dim: string;
2254
+ };
2255
+ shadows: {
2256
+ sm: string;
2257
+ md: string;
2258
+ };
2259
+ fonts: {
2260
+ sans: string;
2261
+ };
2262
+ fontSizes: {
2263
+ h1: string;
2264
+ h2: string;
2265
+ h3: string;
2266
+ h4: string;
2267
+ h5: string;
2268
+ h6: string;
2269
+ tiny: string;
2270
+ xs: string;
2271
+ sm: string;
2272
+ md: string;
2273
+ lg: string;
2274
+ };
2275
+ fontWeights: {
2276
+ semiBold: number;
2277
+ medium: number;
2278
+ regular: number;
2279
+ };
2280
+ lineHeights: {
2281
+ h1: string;
2282
+ h2: string;
2283
+ h3: string;
2284
+ h4: string;
2285
+ h5: string;
2286
+ h6: string;
2287
+ tiny: string;
2288
+ xs: string;
2289
+ sm: string;
2290
+ md: string;
2291
+ };
2292
+ radii: {
2293
+ '0': string;
2294
+ '1': string;
2295
+ '2': string;
2296
+ '3': string;
2297
+ '4': string;
2298
+ round: string;
2299
+ };
2300
+ space: {
2301
+ 0: string;
2302
+ xs: string;
2303
+ sm: string;
2304
+ md: string;
2305
+ lg: string;
2306
+ xl: string;
2307
+ px: string;
2308
+ 1: string;
2309
+ 2: string;
2310
+ 3: string;
2311
+ 4: string;
2312
+ 5: string;
2313
+ 6: string;
2314
+ 7: string;
2315
+ 8: string;
2316
+ 9: string;
2317
+ 10: string;
2318
+ 11: string;
2319
+ 12: string;
2320
+ 13: string;
2321
+ 14: string;
2322
+ 15: string;
2323
+ 16: string;
2324
+ 17: string;
2325
+ 18: string;
2326
+ 19: string;
2327
+ 20: string;
2328
+ 24: string;
2329
+ 28: string;
2330
+ 32: string;
2331
+ 36: string;
2332
+ 40: string;
2333
+ 44: string;
2334
+ 48: string;
2335
+ 52: string;
2336
+ 56: string;
2337
+ 60: string;
2338
+ 64: string;
2339
+ 72: string;
2340
+ 80: string;
2341
+ 96: string;
2342
+ 100: string;
2343
+ };
2344
+ borderWidths: {
2345
+ light: string;
2346
+ normal: string;
2347
+ bold: string;
2348
+ extrabold: string;
2349
+ black: string;
2350
+ };
2351
+ }, {
2352
+ width: string;
2353
+ height: string;
2354
+ minWidth: string;
2355
+ maxWidth: string;
2356
+ minHeight: string;
2357
+ maxHeight: string;
2358
+ flexBasis: string;
2359
+ gridTemplateColumns: string;
2360
+ gridTemplateRows: string;
2361
+ blockSize: string;
2362
+ minBlockSize: string;
2363
+ maxBlockSize: string;
2364
+ inlineSize: string;
2365
+ minInlineSize: string;
2366
+ maxInlineSize: string;
2367
+ gap: "space";
2368
+ gridGap: "space";
2369
+ columnGap: "space";
2370
+ gridColumnGap: "space";
2371
+ rowGap: "space";
2372
+ gridRowGap: "space";
2373
+ inset: "space";
2374
+ insetBlock: "space";
2375
+ insetBlockEnd: "space";
2376
+ insetBlockStart: "space";
2377
+ insetInline: "space";
2378
+ insetInlineEnd: "space";
2379
+ insetInlineStart: "space";
2380
+ margin: "space";
2381
+ marginTop: "space";
2382
+ marginRight: "space";
2383
+ marginBottom: "space";
2384
+ marginLeft: "space";
2385
+ marginBlock: "space";
2386
+ marginBlockEnd: "space";
2387
+ marginBlockStart: "space";
2388
+ marginInline: "space";
2389
+ marginInlineEnd: "space";
2390
+ marginInlineStart: "space";
2391
+ padding: "space";
2392
+ paddingTop: "space";
2393
+ paddingRight: "space";
2394
+ paddingBottom: "space";
2395
+ paddingLeft: "space";
2396
+ paddingBlock: "space";
2397
+ paddingBlockEnd: "space";
2398
+ paddingBlockStart: "space";
2399
+ paddingInline: "space";
2400
+ paddingInlineEnd: "space";
2401
+ paddingInlineStart: "space";
2402
+ scrollMargin: "space";
2403
+ scrollMarginTop: "space";
2404
+ scrollMarginRight: "space";
2405
+ scrollMarginBottom: "space";
2406
+ scrollMarginLeft: "space";
2407
+ scrollMarginBlock: "space";
2408
+ scrollMarginBlockEnd: "space";
2409
+ scrollMarginBlockStart: "space";
2410
+ scrollMarginInline: "space";
2411
+ scrollMarginInlineEnd: "space";
2412
+ scrollMarginInlineStart: "space";
2413
+ scrollPadding: "space";
2414
+ scrollPaddingTop: "space";
2415
+ scrollPaddingRight: "space";
2416
+ scrollPaddingBottom: "space";
2417
+ scrollPaddingLeft: "space";
2418
+ scrollPaddingBlock: "space";
2419
+ scrollPaddingBlockEnd: "space";
2420
+ scrollPaddingBlockStart: "space";
2421
+ scrollPaddingInline: "space";
2422
+ scrollPaddingInlineEnd: "space";
2423
+ scrollPaddingInlineStart: "space";
2424
+ top: "space";
2425
+ right: "space";
2426
+ bottom: "space";
2427
+ left: "space";
2428
+ fontSize: "fontSizes";
2429
+ background: "colors";
2430
+ backgroundColor: "colors";
2431
+ backgroundImage: "colors";
2432
+ borderImage: "colors";
2433
+ border: "colors";
2434
+ borderBlock: "colors";
2435
+ borderBlockEnd: "colors";
2436
+ borderBlockStart: "colors";
2437
+ borderBottom: "colors";
2438
+ borderBottomColor: "colors";
2439
+ borderColor: "colors";
2440
+ borderInline: "colors";
2441
+ borderInlineEnd: "colors";
2442
+ borderInlineStart: "colors";
2443
+ borderLeft: "colors";
2444
+ borderLeftColor: "colors";
2445
+ borderRight: "colors";
2446
+ borderRightColor: "colors";
2447
+ borderTop: "colors";
2448
+ borderTopColor: "colors";
2449
+ caretColor: "colors";
2450
+ color: "colors";
2451
+ columnRuleColor: "colors";
2452
+ outline: "colors";
2453
+ outlineColor: "colors";
2454
+ fill: "colors";
2455
+ stroke: "colors";
2456
+ textDecorationColor: "colors";
2457
+ fontFamily: "fonts";
2458
+ fontWeight: "fontWeights";
2459
+ lineHeight: "lineHeights";
2460
+ letterSpacing: "letterSpacings";
2461
+ borderWidth: "borderWidths";
2462
+ borderTopWidth: "borderWidths";
2463
+ borderLeftWidth: "borderWidths";
2464
+ borderRightWidth: "borderWidths";
2465
+ borderBottomWidth: "borderWidths";
2466
+ borderStyle: "borderStyles";
2467
+ borderTopStyle: "borderStyles";
2468
+ borderLeftStyle: "borderStyles";
2469
+ borderRightStyle: "borderStyles";
2470
+ borderBottomStyle: "borderStyles";
2471
+ borderRadius: "radii";
2472
+ borderTopLeftRadius: "radii";
2473
+ borderTopRightRadius: "radii";
2474
+ borderBottomRightRadius: "radii";
2475
+ borderBottomLeftRadius: "radii";
2476
+ boxShadow: "shadows";
2477
+ textShadow: "shadows";
2478
+ transition: "transitions";
2479
+ zIndex: "zIndices";
2201
2480
  }, {
2481
+ bg: (value: {
2482
+ readonly [$$PropertyValue]: "backgroundColor";
2483
+ }) => {
2484
+ backgroundColor: {
2485
+ readonly [$$PropertyValue]: "backgroundColor";
2486
+ };
2487
+ };
2488
+ c: (value: {
2489
+ readonly [$$PropertyValue]: "color";
2490
+ }) => {
2491
+ color: {
2492
+ readonly [$$PropertyValue]: "color";
2493
+ };
2494
+ };
2495
+ r: (value: {
2496
+ readonly [$$ScaleValue]: "radii";
2497
+ }) => {
2498
+ borderRadius: {
2499
+ readonly [$$ScaleValue]: "radii";
2500
+ };
2501
+ };
2502
+ fs: (value: string | number | {
2503
+ readonly [$$PropertyValue]: "fontSize";
2504
+ }) => {
2505
+ fontSize: string | number | {
2506
+ readonly [$$PropertyValue]: "fontSize";
2507
+ };
2508
+ };
2509
+ size: (value: string | number | {
2510
+ readonly [$$ScaleValue]: "space";
2511
+ }) => {
2512
+ height: string | number | {
2513
+ readonly [$$ScaleValue]: "space";
2514
+ };
2515
+ width: string | number | {
2516
+ readonly [$$ScaleValue]: "space";
2517
+ };
2518
+ };
2519
+ w: (value: string | number | {
2520
+ readonly [$$ScaleValue]: "space";
2521
+ }) => {
2522
+ width: string | number | {
2523
+ readonly [$$ScaleValue]: "space";
2524
+ };
2525
+ };
2526
+ h: (value: string | number | {
2527
+ readonly [$$ScaleValue]: "space";
2528
+ }) => {
2529
+ height: string | number | {
2530
+ readonly [$$ScaleValue]: "space";
2531
+ };
2532
+ };
2533
+ p: (value: string | number | {
2534
+ readonly [$$ScaleValue]: "space";
2535
+ }) => {
2536
+ padding: string | number | {
2537
+ readonly [$$ScaleValue]: "space";
2538
+ };
2539
+ };
2540
+ pt: (value: string | number | {
2541
+ readonly [$$ScaleValue]: "space";
2542
+ }) => {
2543
+ paddingTop: string | number | {
2544
+ readonly [$$ScaleValue]: "space";
2545
+ };
2546
+ };
2547
+ pr: (value: string | number | {
2548
+ readonly [$$ScaleValue]: "space";
2549
+ }) => {
2550
+ paddingRight: string | number | {
2551
+ readonly [$$ScaleValue]: "space";
2552
+ };
2553
+ };
2554
+ pb: (value: string | number | {
2555
+ readonly [$$ScaleValue]: "space";
2556
+ }) => {
2557
+ paddingBottom: string | number | {
2558
+ readonly [$$ScaleValue]: "space";
2559
+ };
2560
+ };
2561
+ pl: (value: string | number | {
2562
+ readonly [$$ScaleValue]: "space";
2563
+ }) => {
2564
+ paddingLeft: string | number | {
2565
+ readonly [$$ScaleValue]: "space";
2566
+ };
2567
+ };
2568
+ px: (value: string | number | {
2569
+ readonly [$$ScaleValue]: "space";
2570
+ }) => {
2571
+ paddingLeft: string | number | {
2572
+ readonly [$$ScaleValue]: "space";
2573
+ };
2574
+ paddingRight: string | number | {
2575
+ readonly [$$ScaleValue]: "space";
2576
+ };
2577
+ };
2578
+ py: (value: string | number | {
2579
+ readonly [$$ScaleValue]: "space";
2580
+ }) => {
2581
+ paddingTop: string | number | {
2582
+ readonly [$$ScaleValue]: "space";
2583
+ };
2584
+ paddingBottom: string | number | {
2585
+ readonly [$$ScaleValue]: "space";
2586
+ };
2587
+ };
2588
+ m: (value: string | number | {
2589
+ readonly [$$ScaleValue]: "space";
2590
+ }) => {
2591
+ margin: string | number | {
2592
+ readonly [$$ScaleValue]: "space";
2593
+ };
2594
+ };
2595
+ mt: (value: string | number | {
2596
+ readonly [$$ScaleValue]: "space";
2597
+ }) => {
2598
+ marginTop: string | number | {
2599
+ readonly [$$ScaleValue]: "space";
2600
+ };
2601
+ };
2602
+ mr: (value: string | number | {
2603
+ readonly [$$ScaleValue]: "space";
2604
+ }) => {
2605
+ marginRight: string | number | {
2606
+ readonly [$$ScaleValue]: "space";
2607
+ };
2608
+ };
2609
+ mb: (value: string | number | {
2610
+ readonly [$$ScaleValue]: "space";
2611
+ }) => {
2612
+ marginBottom: string | number | {
2613
+ readonly [$$ScaleValue]: "space";
2614
+ };
2615
+ };
2616
+ ml: (value: string | number | {
2617
+ readonly [$$ScaleValue]: "space";
2618
+ }) => {
2619
+ marginLeft: string | number | {
2620
+ readonly [$$ScaleValue]: "space";
2621
+ };
2622
+ };
2623
+ mx: (value: string | number | {
2624
+ readonly [$$ScaleValue]: "space";
2625
+ }) => {
2626
+ marginLeft: string | number | {
2627
+ readonly [$$ScaleValue]: "space";
2628
+ };
2629
+ marginRight: string | number | {
2630
+ readonly [$$ScaleValue]: "space";
2631
+ };
2632
+ };
2633
+ my: (value: string | number | {
2634
+ readonly [$$ScaleValue]: "space";
2635
+ }) => {
2636
+ marginTop: string | number | {
2637
+ readonly [$$ScaleValue]: "space";
2638
+ };
2639
+ marginBottom: string | number | {
2640
+ readonly [$$ScaleValue]: "space";
2641
+ };
2642
+ };
2643
+ }>>, {}, {
2202
2644
  allowMotion: string;
2203
2645
  sm: string;
2204
2646
  md: string;
@@ -3958,9 +4400,9 @@ interface VideoTileType {
3958
4400
  Container: typeof Container;
3959
4401
  Overlay: typeof Overlay;
3960
4402
  Info: typeof Info;
3961
- AudioIndicator: typeof AudioIndicator;
3962
4403
  AvatarContainer: typeof AvatarContainer;
3963
4404
  AttributeBox: typeof AttributeBox;
4405
+ AudioIndicator: typeof AudioIndicator;
3964
4406
  FullScreenButton: typeof FullScreenButton;
3965
4407
  }
3966
4408
  export declare const StyledVideoTile: VideoTileType;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ActionTile
3
- } from "./chunk-JSH7SKEH.js";
3
+ } from "./chunk-2H5NIZB7.js";
4
4
  import {
5
5
  IconButton_default,
6
6
  Loading,
7
7
  Tooltip,
8
8
  __async
9
- } from "./chunk-U3G743OY.js";
9
+ } from "./chunk-Z3O2WGWV.js";
10
10
 
11
11
  // src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx
12
12
  import React, { useEffect, useRef, useState } from "react";
@@ -174,4 +174,4 @@ export {
174
174
  VirtualBackground,
175
175
  VirtualBackground_default as default
176
176
  };
177
- //# sourceMappingURL=VirtualBackground-THDRYDRA.js.map
177
+ //# sourceMappingURL=VirtualBackground-GP4ATXD3.js.map
@@ -5,7 +5,7 @@ import {
5
5
  __spreadProps,
6
6
  __spreadValues,
7
7
  styled
8
- } from "./chunk-U3G743OY.js";
8
+ } from "./chunk-Z3O2WGWV.js";
9
9
 
10
10
  // src/Prebuilt/components/MoreSettings/ActionTile.jsx
11
11
  import React from "react";
@@ -67,4 +67,4 @@ var ActionTile = {
67
67
  export {
68
68
  ActionTile
69
69
  };
70
- //# sourceMappingURL=chunk-JSH7SKEH.js.map
70
+ //# sourceMappingURL=chunk-2H5NIZB7.js.map