@100mslive/roomkit-react 0.1.1 → 0.1.2-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/README.md +18 -0
  2. package/dist/Accordion/Accordion.d.ts +62 -138
  3. package/dist/Accordion/index.d.ts +62 -138
  4. package/dist/{ActiveSpeakerView-G32BDM5F.js → ActiveSpeakerView-N7C6WL27.js} +6 -6
  5. package/dist/{ActiveSpeakerView-LW4WDBC6.css → ActiveSpeakerView-ZOCC7LQW.css} +2 -2
  6. package/dist/{PinnedTrackView-OAA4HAID.css.map → ActiveSpeakerView-ZOCC7LQW.css.map} +2 -2
  7. package/dist/Avatar/Avatar.d.ts +31 -69
  8. package/dist/Button/Button.d.ts +31 -69
  9. package/dist/Checkbox/Checkbox.d.ts +62 -138
  10. package/dist/Collapsible/Collapsible.d.ts +93 -207
  11. package/dist/Divider/Divider.d.ts +62 -138
  12. package/dist/Dropdown/Dropdown.d.ts +372 -828
  13. package/dist/Fieldset/Fieldset.d.ts +31 -69
  14. package/dist/Footer/Footer.d.ts +248 -552
  15. package/dist/{HLSView-ZYNT3HJD.js → HLSView-3ILTIGBT.js} +16 -16
  16. package/dist/HLSView-3ILTIGBT.js.map +7 -0
  17. package/dist/{HLSView-DIQQF2PP.css → HLSView-OVDMVJX5.css} +2 -2
  18. package/dist/{HLSView-DIQQF2PP.css.map → HLSView-OVDMVJX5.css.map} +2 -2
  19. package/dist/IconButton/IconButton.d.ts +31 -69
  20. package/dist/Input/Input.d.ts +189 -417
  21. package/dist/Label/Label.d.ts +31 -69
  22. package/dist/Layout/Box.d.ts +31 -69
  23. package/dist/Layout/Flex.d.ts +31 -69
  24. package/dist/Link/Link.d.ts +31 -69
  25. package/dist/Modal/Dialog.d.ts +248 -552
  26. package/dist/Modal/DialogContent.d.ts +217 -483
  27. package/dist/Pagination/StyledPagination.d.ts +124 -276
  28. package/dist/{PinnedTrackView-GTXL2UTS.js → PinnedTrackView-6N6N5WOF.js} +6 -6
  29. package/dist/{PinnedTrackView-OAA4HAID.css → PinnedTrackView-RIL5IW5A.css} +2 -2
  30. package/dist/{conference-LE4T3ZNF.css.map → PinnedTrackView-RIL5IW5A.css.map} +2 -2
  31. package/dist/Popover/index.d.ts +93 -207
  32. package/dist/Prebuilt/provider/roomLayoutProvider/constants/index.d.ts +2 -0
  33. package/dist/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.d.ts +9 -0
  34. package/dist/Prebuilt/provider/roomLayoutProvider/index.d.ts +9 -0
  35. package/dist/Progress/index.d.ts +62 -138
  36. package/dist/RadioGroup/RadioGroup.d.ts +93 -207
  37. package/dist/ReactSelect/ReactSelect.d.ts +310 -690
  38. package/dist/Select/Select.d.ts +93 -207
  39. package/dist/Slider/Slider.d.ts +31 -69
  40. package/dist/Stats/StyledStats.d.ts +186 -414
  41. package/dist/Switch/Switch.d.ts +31 -69
  42. package/dist/Tabs/Tabs.d.ts +124 -276
  43. package/dist/Text/Text.d.ts +31 -69
  44. package/dist/Theme/ThemeProvider.d.ts +63 -140
  45. package/dist/Theme/base.config.d.ts +31 -53
  46. package/dist/Theme/index.d.ts +0 -1
  47. package/dist/Theme/stitches.config.d.ts +404 -915
  48. package/dist/TileMenu/StyledMenuTile.d.ts +217 -483
  49. package/dist/Toast/Toast.d.ts +187 -415
  50. package/dist/Video/Video.d.ts +31 -69
  51. package/dist/VideoList/StyledVideoList.d.ts +93 -207
  52. package/dist/VideoTile/StyledVideoTile.d.ts +279 -621
  53. package/dist/{VirtualBackground-HWU22Q6S.js → VirtualBackground-R3JHARN5.js} +4 -3
  54. package/dist/{VirtualBackground-HWU22Q6S.js.map → VirtualBackground-R3JHARN5.js.map} +2 -2
  55. package/dist/chunk-DH3QSV4E.js +58 -0
  56. package/dist/chunk-DH3QSV4E.js.map +7 -0
  57. package/dist/{chunk-4VY5NUK7.js → chunk-DRKV2LAC.js} +49 -146
  58. package/dist/chunk-DRKV2LAC.js.map +7 -0
  59. package/dist/{chunk-TEHZYXCJ.js → chunk-G56Z3JA5.js} +167 -164
  60. package/dist/chunk-G56Z3JA5.js.map +7 -0
  61. package/dist/{chunk-A2PNZIK7.js → chunk-INRXWU7L.js} +4 -4
  62. package/dist/{chunk-A2PNZIK7.js.map → chunk-INRXWU7L.js.map} +1 -1
  63. package/dist/chunk-TZJCHZPD.js +8626 -0
  64. package/dist/chunk-TZJCHZPD.js.map +7 -0
  65. package/dist/{conference-LE4T3ZNF.css → conference-AIOOA5ON.css} +2 -2
  66. package/dist/{ActiveSpeakerView-LW4WDBC6.css.map → conference-AIOOA5ON.css.map} +2 -2
  67. package/dist/{conference-YHO2J3Z6.js → conference-IKSFGLVK.js} +514 -629
  68. package/dist/conference-IKSFGLVK.js.map +7 -0
  69. package/dist/index.cjs.css +1 -1
  70. package/dist/index.cjs.css.map +2 -2
  71. package/dist/index.cjs.js +3022 -2927
  72. package/dist/index.cjs.js.map +4 -4
  73. package/dist/index.css +1 -1
  74. package/dist/index.css.map +2 -2
  75. package/dist/index.js +4 -8
  76. package/dist/meta.cjs.json +736 -588
  77. package/dist/meta.esbuild.json +837 -692
  78. package/dist/{transcription-L6VBK75V.js → transcription-XYVVYRAS.js} +3 -3
  79. package/package.json +13 -9
  80. package/src/Accordion/Accordion.tsx +3 -3
  81. package/src/AudioLevel/AudioLevel.tsx +1 -1
  82. package/src/Avatar/Avatar.tsx +8 -3
  83. package/src/Button/Button.tsx +76 -20
  84. package/src/Checkbox/Checkbox.tsx +4 -4
  85. package/src/Collapsible/Collapsible.tsx +1 -1
  86. package/src/Divider/Divider.tsx +2 -2
  87. package/src/Divider/HorizontalDivider.stories.tsx +2 -2
  88. package/src/Divider/VerticalDivider.stories.tsx +1 -1
  89. package/src/Dropdown/Dropdown.stories.tsx +3 -3
  90. package/src/Dropdown/Dropdown.tsx +16 -14
  91. package/src/IconButton/IconButton.tsx +8 -7
  92. package/src/Input/Input.tsx +9 -8
  93. package/src/Input/PasswordInput.stories.tsx +2 -2
  94. package/src/Label/Label.tsx +1 -1
  95. package/src/Link/Link.tsx +4 -4
  96. package/src/Loading/Loading.tsx +7 -10
  97. package/src/Modal/Dialog.stories.tsx +2 -2
  98. package/src/Modal/DialogContent.tsx +3 -3
  99. package/src/Pagination/StyledPagination.tsx +4 -4
  100. package/src/Popover/Popover.stories.tsx +5 -5
  101. package/src/Popover/index.tsx +1 -1
  102. package/src/Prebuilt/App.jsx +101 -68
  103. package/src/Prebuilt/AppContext.jsx +1 -1
  104. package/src/Prebuilt/IconButton.jsx +2 -2
  105. package/src/Prebuilt/Prebuilt.stories.tsx +8 -2
  106. package/src/Prebuilt/common/constants.js +0 -1
  107. package/src/Prebuilt/common/utils.js +0 -6
  108. package/src/Prebuilt/components/AppData/AppData.jsx +7 -4
  109. package/src/Prebuilt/components/AppData/useUISettings.js +0 -4
  110. package/src/Prebuilt/components/AudioVideoToggle.jsx +73 -20
  111. package/src/Prebuilt/components/BottomActionSheet/BottomActionSheet.jsx +1 -1
  112. package/src/Prebuilt/components/Chat/Chat.jsx +6 -2
  113. package/src/Prebuilt/components/Chat/ChatBody.jsx +13 -11
  114. package/src/Prebuilt/components/Chat/ChatFooter.jsx +2 -2
  115. package/src/Prebuilt/components/Chat/ChatHeader.jsx +3 -3
  116. package/src/Prebuilt/components/Chat/ChatSelector.jsx +2 -2
  117. package/src/Prebuilt/components/Chat/useEmojiPickerStyles.js +6 -6
  118. package/src/Prebuilt/components/Chip.jsx +24 -0
  119. package/src/Prebuilt/components/Connection/ConnectionIndicator.jsx +6 -6
  120. package/src/Prebuilt/components/Connection/TileConnection.jsx +2 -2
  121. package/src/Prebuilt/components/Connection/connectionQualityUtils.js +4 -4
  122. package/src/Prebuilt/components/EmojiReaction.jsx +13 -10
  123. package/src/Prebuilt/components/ErrorBoundary.jsx +2 -2
  124. package/src/Prebuilt/components/Footer/ConferencingFooter.jsx +1 -4
  125. package/src/Prebuilt/components/FullPageProgress.jsx +5 -3
  126. package/src/Prebuilt/components/GoLiveButton.jsx +1 -4
  127. package/src/Prebuilt/components/HMSVideo/HLSQualitySelector.jsx +2 -2
  128. package/src/Prebuilt/components/HMSVideo/PlayButton.jsx +1 -1
  129. package/src/Prebuilt/components/HMSVideo/VideoProgress.jsx +3 -3
  130. package/src/Prebuilt/components/HMSVideo/VideoTime.jsx +3 -1
  131. package/src/Prebuilt/components/HMSVideo/VolumeControl.jsx +1 -1
  132. package/src/Prebuilt/components/Header/AdditionalRoomState.jsx +17 -17
  133. package/src/Prebuilt/components/Header/AmbientMusic.jsx +1 -1
  134. package/src/Prebuilt/components/Header/ConferencingHeader.jsx +4 -6
  135. package/src/Prebuilt/components/Header/HeaderComponents.jsx +10 -5
  136. package/src/Prebuilt/components/Header/ParticipantFilter.jsx +2 -2
  137. package/src/Prebuilt/components/Header/ParticipantList.jsx +2 -2
  138. package/src/Prebuilt/components/Header/StreamActions.jsx +9 -19
  139. package/src/Prebuilt/components/Header/StreamingHeader.jsx +5 -6
  140. package/src/Prebuilt/components/HlsStatsOverlay.jsx +2 -2
  141. package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.jsx +102 -0
  142. package/src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.stories.tsx +40 -0
  143. package/src/Prebuilt/components/LeaveRoom.jsx +11 -11
  144. package/src/Prebuilt/components/MetaActions.jsx +2 -2
  145. package/src/Prebuilt/components/MoreSettings/BulkRoleChangeModal.jsx +2 -2
  146. package/src/Prebuilt/components/MoreSettings/ChangeSelfRole.jsx +1 -1
  147. package/src/Prebuilt/components/MoreSettings/MoreSettings.jsx +1 -0
  148. package/src/Prebuilt/components/Notifications/HLSFailureModal.jsx +69 -0
  149. package/src/Prebuilt/components/Notifications/Notifications.jsx +1 -3
  150. package/src/Prebuilt/components/Notifications/PermissionErrorModal.jsx +108 -26
  151. package/src/Prebuilt/components/Notifications/ReconnectNotifications.jsx +1 -1
  152. package/src/Prebuilt/components/PIP/pipUtils.js +2 -2
  153. package/src/Prebuilt/components/Playlist/Playlist.jsx +4 -4
  154. package/src/Prebuilt/components/Playlist/PlaylistControls.jsx +3 -3
  155. package/src/Prebuilt/components/Playlist/PlaylistItem.jsx +3 -3
  156. package/src/Prebuilt/components/Playlist/VideoPlayer.jsx +4 -4
  157. package/src/Prebuilt/components/PostLeave.jsx +4 -4
  158. package/src/Prebuilt/components/Preview/PreviewContainer.jsx +17 -6
  159. package/src/Prebuilt/components/Preview/PreviewForm.jsx +74 -0
  160. package/src/Prebuilt/components/Preview/PreviewJoin.jsx +102 -39
  161. package/src/Prebuilt/components/RoleChangeModal.jsx +3 -3
  162. package/src/Prebuilt/components/ScreenshareDisplay.jsx +2 -2
  163. package/src/Prebuilt/components/Settings/DeviceSettings.jsx +3 -9
  164. package/src/Prebuilt/components/Settings/SettingsModal.jsx +8 -32
  165. package/src/Prebuilt/components/Settings/StartRecording.jsx +4 -12
  166. package/src/Prebuilt/components/Settings/SwitchWithLabel.jsx +2 -3
  167. package/src/Prebuilt/components/Settings/common.js +26 -0
  168. package/src/Prebuilt/components/StatsForNerds.jsx +5 -5
  169. package/src/Prebuilt/components/Streaming/Common.jsx +11 -11
  170. package/src/Prebuilt/components/Streaming/HLSStreaming.jsx +6 -12
  171. package/src/Prebuilt/components/Streaming/RTMPStreaming.jsx +4 -6
  172. package/src/Prebuilt/components/Streaming/StreamingLanding.jsx +4 -4
  173. package/src/Prebuilt/components/TileMenu.jsx +7 -7
  174. package/src/Prebuilt/components/Toast/ToastConfig.jsx +12 -20
  175. package/src/Prebuilt/components/conference.jsx +9 -2
  176. package/src/Prebuilt/components/hooks/useDropdownSelection.jsx +1 -4
  177. package/src/Prebuilt/components/pdfAnnotator/pdfErrorView.jsx +2 -2
  178. package/src/Prebuilt/components/pdfAnnotator/pdfFileOptions.jsx +1 -1
  179. package/src/Prebuilt/components/pdfAnnotator/pdfHeader.jsx +1 -1
  180. package/src/Prebuilt/components/pdfAnnotator/pdfInfo.jsx +2 -2
  181. package/src/Prebuilt/components/pdfAnnotator/shareScreenOptions.jsx +12 -20
  182. package/src/Prebuilt/components/pdfAnnotator/uploadedFile.jsx +4 -4
  183. package/src/Prebuilt/images/Logo.svg +8 -0
  184. package/src/Prebuilt/images/first_person.png +0 -0
  185. package/src/Prebuilt/images/rtmp.png +0 -0
  186. package/src/Prebuilt/index.d.ts +6 -1
  187. package/src/Prebuilt/layouts/HLSView.jsx +1 -1
  188. package/src/Prebuilt/layouts/InsetView.jsx +0 -3
  189. package/src/Prebuilt/layouts/NonPublisherView.jsx +2 -2
  190. package/src/Prebuilt/layouts/SidePane.jsx +1 -1
  191. package/src/Prebuilt/layouts/WaitingView.jsx +2 -2
  192. package/src/Prebuilt/layouts/mainView.jsx +42 -5
  193. package/src/Prebuilt/plugins/FlyingEmoji.jsx +2 -2
  194. package/src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx +1 -0
  195. package/src/Prebuilt/plugins/whiteboard/ToggleWhiteboard.jsx +1 -3
  196. package/src/Prebuilt/primitives/DialogContent.jsx +4 -4
  197. package/src/Prebuilt/primitives/DropdownTrigger.jsx +3 -3
  198. package/src/Prebuilt/provider/roomLayoutProvider/constants/index.ts +33 -0
  199. package/src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts +57 -0
  200. package/src/Prebuilt/provider/roomLayoutProvider/index.tsx +26 -0
  201. package/src/Progress/index.tsx +2 -2
  202. package/src/RadioGroup/RadioGroup.tsx +3 -3
  203. package/src/ReactSelect/ReactSelect.stories.tsx +7 -7
  204. package/src/ReactSelect/ReactSelect.tsx +8 -8
  205. package/src/Select/Select.tsx +6 -6
  206. package/src/Slider/Slider.tsx +5 -5
  207. package/src/Stats/Stats.tsx +12 -2
  208. package/src/Stats/StyledStats.tsx +3 -3
  209. package/src/Switch/Switch.tsx +5 -5
  210. package/src/Tabs/Tabs.stories.tsx +2 -2
  211. package/src/Tabs/Tabs.tsx +2 -2
  212. package/src/Text/Text.tsx +2 -2
  213. package/src/Theme/ThemeProvider.tsx +4 -7
  214. package/src/Theme/ThemeStory.jsx +17 -19
  215. package/src/Theme/base.config.ts +31 -59
  216. package/src/Theme/index.tsx +0 -1
  217. package/src/Theme/stitches.config.ts +2 -7
  218. package/src/TileMenu/StyledMenuTile.tsx +9 -8
  219. package/src/Toast/Toast.tsx +10 -9
  220. package/src/Tooltip/Tooltip.stories.tsx +1 -1
  221. package/src/Tooltip/Tooltip.tsx +4 -4
  222. package/src/Video/Video.tsx +1 -1
  223. package/src/VideoTile/StyledVideoTile.tsx +12 -12
  224. package/src/assets/android-perm-0.png +0 -0
  225. package/src/assets/android-perm-1.png +0 -0
  226. package/src/assets/ios-perm-0.png +0 -0
  227. package/src/fixtures/chats.ts +1 -1
  228. package/dist/HLSView-ZYNT3HJD.js.map +0 -7
  229. package/dist/Theme/themes.d.ts +0 -64
  230. package/dist/chunk-4VY5NUK7.js.map +0 -7
  231. package/dist/chunk-BSQIN5RC.js +0 -65
  232. package/dist/chunk-BSQIN5RC.js.map +0 -7
  233. package/dist/chunk-TEHZYXCJ.js.map +0 -7
  234. package/dist/chunk-ZET2HMGS.js +0 -8331
  235. package/dist/chunk-ZET2HMGS.js.map +0 -7
  236. package/dist/conference-YHO2J3Z6.js.map +0 -7
  237. package/src/Prebuilt/components/Preview/PreviewName.jsx +0 -37
  238. package/src/Prebuilt/components/Streaming/RTMPIcon.jsx +0 -69
  239. package/src/Prebuilt/hms.js +0 -7
  240. package/src/Prebuilt/plugins/confetti.jsx +0 -60
  241. package/src/Theme/themes.ts +0 -70
  242. /package/dist/{ActiveSpeakerView-G32BDM5F.js.map → ActiveSpeakerView-N7C6WL27.js.map} +0 -0
  243. /package/dist/{PinnedTrackView-GTXL2UTS.js.map → PinnedTrackView-6N6N5WOF.js.map} +0 -0
  244. /package/dist/{transcription-L6VBK75V.js.map → transcription-XYVVYRAS.js.map} +0 -0
@@ -19,75 +19,37 @@ export declare const Popover: {
19
19
  ls: string;
20
20
  }, {
21
21
  colors: {
22
- bgPrimary: string;
23
- bgSecondary: string;
24
- bgTertiary: string;
25
- surfaceLight: string;
26
- surfaceLighter: string;
27
- textPrimary: string;
28
- textSecondary: string;
29
- textDisabled: string;
30
- textInvert: string;
31
- textHighEmp: string;
32
- textMedEmp: string;
33
- iconBtn: string;
34
- iconHoverBg: string;
35
- transparentBg: string;
36
- mainBg: string;
37
- tileBg: string;
38
- secondaryDisabled: string;
39
- previewBg: string;
40
- statsBg: string;
41
- menuBg: string;
42
- inputBg: string;
43
- toastBg: string;
44
- borderDefault: string;
45
- backgroundDefault: string;
46
- borderLighter: string;
47
- white: string;
48
- black: string;
49
- transparent: string;
50
- orange: string;
51
- cyan: string;
52
- tamarind: string;
53
- yellow: string;
54
- twinYellow: string;
55
- green: string;
56
- darkgreen: string;
57
- purple: string;
58
- borderLight: string;
59
- borderAccent: string;
60
- success: string;
61
- error: string;
62
- errorTint: string;
63
- warning: string;
64
- brandLight: string;
65
- brandDefault: string;
66
- brandDark: string;
67
- brandDisabled: string;
68
- grayLight: string;
69
- grayDefault: string;
70
- grayDark: string;
71
- secondaryGray: string;
72
- grayDisabled: string;
73
- textAccentHigh: string;
74
- textAccentMedium: string;
75
- textAccentDisabled: string;
76
- surfaceDefault: string;
77
- surfaceDark: string;
78
- backgroundDark: string;
79
- backgroundDarker: string;
80
- primaryLight: string;
81
- primaryDefault: string;
82
- primaryDark: string;
83
- primaryDisabled: string;
84
- secondaryLight: string;
85
- secondaryDefault: string;
86
- secondaryDark: string;
87
- errorDefault: string;
88
- errorLight: string;
89
- errorDark: string;
90
- errorDisabled: string;
22
+ primary_default: string;
23
+ primary_bright: string;
24
+ primary_dim: string;
25
+ primary_disabled: string;
26
+ on_primary_high: string;
27
+ on_primary_medium: string;
28
+ on_primary_low: string;
29
+ secondary_default: string;
30
+ secondary_bright: string;
31
+ secondary_dim: string;
32
+ secondary_disabled: string;
33
+ on_secondary_high: string;
34
+ on_secondary_medium: string;
35
+ on_secondary_low: string;
36
+ background_default: string;
37
+ background_dim: string;
38
+ surface_default: string;
39
+ surface_bright: string;
40
+ surface_brighter: string;
41
+ surface_dim: string;
42
+ on_surface_high: string;
43
+ on_surface_medium: string;
44
+ on_surface_low: string;
45
+ border_default: string;
46
+ border_bright: string;
47
+ alert_success: string;
48
+ alert_warning: string;
49
+ alert_error_default: string;
50
+ alert_error_bright: string;
51
+ alert_error_brighter: string;
52
+ alert_error_dim: string;
91
53
  };
92
54
  shadows: {
93
55
  sm: string;
@@ -496,75 +458,37 @@ export declare const Popover: {
496
458
  ls: string;
497
459
  }, {
498
460
  colors: {
499
- bgPrimary: string;
500
- bgSecondary: string;
501
- bgTertiary: string;
502
- surfaceLight: string;
503
- surfaceLighter: string;
504
- textPrimary: string;
505
- textSecondary: string;
506
- textDisabled: string;
507
- textInvert: string;
508
- textHighEmp: string;
509
- textMedEmp: string;
510
- iconBtn: string;
511
- iconHoverBg: string;
512
- transparentBg: string;
513
- mainBg: string;
514
- tileBg: string;
515
- secondaryDisabled: string;
516
- previewBg: string;
517
- statsBg: string;
518
- menuBg: string;
519
- inputBg: string;
520
- toastBg: string;
521
- borderDefault: string;
522
- backgroundDefault: string;
523
- borderLighter: string;
524
- white: string;
525
- black: string;
526
- transparent: string;
527
- orange: string;
528
- cyan: string;
529
- tamarind: string;
530
- yellow: string;
531
- twinYellow: string;
532
- green: string;
533
- darkgreen: string;
534
- purple: string;
535
- borderLight: string;
536
- borderAccent: string;
537
- success: string;
538
- error: string;
539
- errorTint: string;
540
- warning: string;
541
- brandLight: string;
542
- brandDefault: string;
543
- brandDark: string;
544
- brandDisabled: string;
545
- grayLight: string;
546
- grayDefault: string;
547
- grayDark: string;
548
- secondaryGray: string;
549
- grayDisabled: string;
550
- textAccentHigh: string;
551
- textAccentMedium: string;
552
- textAccentDisabled: string;
553
- surfaceDefault: string;
554
- surfaceDark: string;
555
- backgroundDark: string;
556
- backgroundDarker: string;
557
- primaryLight: string;
558
- primaryDefault: string;
559
- primaryDark: string;
560
- primaryDisabled: string;
561
- secondaryLight: string;
562
- secondaryDefault: string;
563
- secondaryDark: string;
564
- errorDefault: string;
565
- errorLight: string;
566
- errorDark: string;
567
- errorDisabled: string;
461
+ primary_default: string;
462
+ primary_bright: string;
463
+ primary_dim: string;
464
+ primary_disabled: string;
465
+ on_primary_high: string;
466
+ on_primary_medium: string;
467
+ on_primary_low: string;
468
+ secondary_default: string;
469
+ secondary_bright: string;
470
+ secondary_dim: string;
471
+ secondary_disabled: string;
472
+ on_secondary_high: string;
473
+ on_secondary_medium: string;
474
+ on_secondary_low: string;
475
+ background_default: string;
476
+ background_dim: string;
477
+ surface_default: string;
478
+ surface_bright: string;
479
+ surface_brighter: string;
480
+ surface_dim: string;
481
+ on_surface_high: string;
482
+ on_surface_medium: string;
483
+ on_surface_low: string;
484
+ border_default: string;
485
+ border_bright: string;
486
+ alert_success: string;
487
+ alert_warning: string;
488
+ alert_error_default: string;
489
+ alert_error_bright: string;
490
+ alert_error_brighter: string;
491
+ alert_error_dim: string;
568
492
  };
569
493
  shadows: {
570
494
  sm: string;
@@ -974,75 +898,37 @@ export declare const Popover: {
974
898
  ls: string;
975
899
  }, {
976
900
  colors: {
977
- bgPrimary: string;
978
- bgSecondary: string;
979
- bgTertiary: string;
980
- surfaceLight: string;
981
- surfaceLighter: string;
982
- textPrimary: string;
983
- textSecondary: string;
984
- textDisabled: string;
985
- textInvert: string;
986
- textHighEmp: string;
987
- textMedEmp: string;
988
- iconBtn: string;
989
- iconHoverBg: string;
990
- transparentBg: string;
991
- mainBg: string;
992
- tileBg: string;
993
- secondaryDisabled: string;
994
- previewBg: string;
995
- statsBg: string;
996
- menuBg: string;
997
- inputBg: string;
998
- toastBg: string;
999
- borderDefault: string;
1000
- backgroundDefault: string;
1001
- borderLighter: string;
1002
- white: string;
1003
- black: string;
1004
- transparent: string;
1005
- orange: string;
1006
- cyan: string;
1007
- tamarind: string;
1008
- yellow: string;
1009
- twinYellow: string;
1010
- green: string;
1011
- darkgreen: string;
1012
- purple: string;
1013
- borderLight: string;
1014
- borderAccent: string;
1015
- success: string;
1016
- error: string;
1017
- errorTint: string;
1018
- warning: string;
1019
- brandLight: string;
1020
- brandDefault: string;
1021
- brandDark: string;
1022
- brandDisabled: string;
1023
- grayLight: string;
1024
- grayDefault: string;
1025
- grayDark: string;
1026
- secondaryGray: string;
1027
- grayDisabled: string;
1028
- textAccentHigh: string;
1029
- textAccentMedium: string;
1030
- textAccentDisabled: string;
1031
- surfaceDefault: string;
1032
- surfaceDark: string;
1033
- backgroundDark: string;
1034
- backgroundDarker: string;
1035
- primaryLight: string;
1036
- primaryDefault: string;
1037
- primaryDark: string;
1038
- primaryDisabled: string;
1039
- secondaryLight: string;
1040
- secondaryDefault: string;
1041
- secondaryDark: string;
1042
- errorDefault: string;
1043
- errorLight: string;
1044
- errorDark: string;
1045
- errorDisabled: string;
901
+ primary_default: string;
902
+ primary_bright: string;
903
+ primary_dim: string;
904
+ primary_disabled: string;
905
+ on_primary_high: string;
906
+ on_primary_medium: string;
907
+ on_primary_low: string;
908
+ secondary_default: string;
909
+ secondary_bright: string;
910
+ secondary_dim: string;
911
+ secondary_disabled: string;
912
+ on_secondary_high: string;
913
+ on_secondary_medium: string;
914
+ on_secondary_low: string;
915
+ background_default: string;
916
+ background_dim: string;
917
+ surface_default: string;
918
+ surface_bright: string;
919
+ surface_brighter: string;
920
+ surface_dim: string;
921
+ on_surface_high: string;
922
+ on_surface_medium: string;
923
+ on_surface_low: string;
924
+ border_default: string;
925
+ border_bright: string;
926
+ alert_success: string;
927
+ alert_warning: string;
928
+ alert_error_default: string;
929
+ alert_error_bright: string;
930
+ alert_error_brighter: string;
931
+ alert_error_dim: string;
1046
932
  };
1047
933
  shadows: {
1048
934
  sm: string;
@@ -0,0 +1,2 @@
1
+ import type { Layout } from '@100mslive/types-prebuilt';
2
+ export declare const defaultLayout: Layout;
@@ -0,0 +1,9 @@
1
+ import type { Layout } from '@100mslive/types-prebuilt';
2
+ export declare type useFetchRoomLayoutProps = {
3
+ endpoint?: string;
4
+ authToken: string;
5
+ };
6
+ export declare type useFetchRoomLayoutResponse = {
7
+ layout: Layout | undefined;
8
+ };
9
+ export declare const useFetchRoomLayout: ({ endpoint, authToken, }: useFetchRoomLayoutProps) => useFetchRoomLayoutResponse;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { Layout } from '@100mslive/types-prebuilt';
3
+ export declare type RoomLayoutProviderProps = {
4
+ roomLayoutEndpoint?: string;
5
+ overrideLayout?: Layout;
6
+ };
7
+ export declare const RoomLayoutContext: React.Context<Layout | undefined>;
8
+ export declare const RoomLayoutProvider: React.FC<React.PropsWithChildren<RoomLayoutProviderProps>>;
9
+ export declare const useRoomLayout: () => Layout | undefined;
@@ -18,75 +18,37 @@ export declare const Progress: {
18
18
  ls: string;
19
19
  }, {
20
20
  colors: {
21
- bgPrimary: string;
22
- bgSecondary: string;
23
- bgTertiary: string;
24
- surfaceLight: string;
25
- surfaceLighter: string;
26
- textPrimary: string;
27
- textSecondary: string;
28
- textDisabled: string;
29
- textInvert: string;
30
- textHighEmp: string;
31
- textMedEmp: string;
32
- iconBtn: string;
33
- iconHoverBg: string;
34
- transparentBg: string;
35
- mainBg: string;
36
- tileBg: string;
37
- secondaryDisabled: string;
38
- previewBg: string;
39
- statsBg: string;
40
- menuBg: string;
41
- inputBg: string;
42
- toastBg: string;
43
- borderDefault: string;
44
- backgroundDefault: string;
45
- borderLighter: string;
46
- white: string;
47
- black: string;
48
- transparent: string;
49
- orange: string;
50
- cyan: string;
51
- tamarind: string;
52
- yellow: string;
53
- twinYellow: string;
54
- green: string;
55
- darkgreen: string;
56
- purple: string;
57
- borderLight: string;
58
- borderAccent: string;
59
- success: string;
60
- error: string;
61
- errorTint: string;
62
- warning: string;
63
- brandLight: string;
64
- brandDefault: string;
65
- brandDark: string;
66
- brandDisabled: string;
67
- grayLight: string;
68
- grayDefault: string;
69
- grayDark: string;
70
- secondaryGray: string;
71
- grayDisabled: string;
72
- textAccentHigh: string;
73
- textAccentMedium: string;
74
- textAccentDisabled: string;
75
- surfaceDefault: string;
76
- surfaceDark: string;
77
- backgroundDark: string;
78
- backgroundDarker: string;
79
- primaryLight: string;
80
- primaryDefault: string;
81
- primaryDark: string;
82
- primaryDisabled: string;
83
- secondaryLight: string;
84
- secondaryDefault: string;
85
- secondaryDark: string;
86
- errorDefault: string;
87
- errorLight: string;
88
- errorDark: string;
89
- errorDisabled: string;
21
+ primary_default: string;
22
+ primary_bright: string;
23
+ primary_dim: string;
24
+ primary_disabled: string;
25
+ on_primary_high: string;
26
+ on_primary_medium: string;
27
+ on_primary_low: string;
28
+ secondary_default: string;
29
+ secondary_bright: string;
30
+ secondary_dim: string;
31
+ secondary_disabled: string;
32
+ on_secondary_high: string;
33
+ on_secondary_medium: string;
34
+ on_secondary_low: string;
35
+ background_default: string;
36
+ background_dim: string;
37
+ surface_default: string;
38
+ surface_bright: string;
39
+ surface_brighter: string;
40
+ surface_dim: string;
41
+ on_surface_high: string;
42
+ on_surface_medium: string;
43
+ on_surface_low: string;
44
+ border_default: string;
45
+ border_bright: string;
46
+ alert_success: string;
47
+ alert_warning: string;
48
+ alert_error_default: string;
49
+ alert_error_bright: string;
50
+ alert_error_brighter: string;
51
+ alert_error_dim: string;
90
52
  };
91
53
  shadows: {
92
54
  sm: string;
@@ -495,75 +457,37 @@ export declare const Progress: {
495
457
  ls: string;
496
458
  }, {
497
459
  colors: {
498
- bgPrimary: string;
499
- bgSecondary: string;
500
- bgTertiary: string;
501
- surfaceLight: string;
502
- surfaceLighter: string;
503
- textPrimary: string;
504
- textSecondary: string;
505
- textDisabled: string;
506
- textInvert: string;
507
- textHighEmp: string;
508
- textMedEmp: string;
509
- iconBtn: string;
510
- iconHoverBg: string;
511
- transparentBg: string;
512
- mainBg: string;
513
- tileBg: string;
514
- secondaryDisabled: string;
515
- previewBg: string;
516
- statsBg: string;
517
- menuBg: string;
518
- inputBg: string;
519
- toastBg: string;
520
- borderDefault: string;
521
- backgroundDefault: string;
522
- borderLighter: string;
523
- white: string;
524
- black: string;
525
- transparent: string;
526
- orange: string;
527
- cyan: string;
528
- tamarind: string;
529
- yellow: string;
530
- twinYellow: string;
531
- green: string;
532
- darkgreen: string;
533
- purple: string;
534
- borderLight: string;
535
- borderAccent: string;
536
- success: string;
537
- error: string;
538
- errorTint: string;
539
- warning: string;
540
- brandLight: string;
541
- brandDefault: string;
542
- brandDark: string;
543
- brandDisabled: string;
544
- grayLight: string;
545
- grayDefault: string;
546
- grayDark: string;
547
- secondaryGray: string;
548
- grayDisabled: string;
549
- textAccentHigh: string;
550
- textAccentMedium: string;
551
- textAccentDisabled: string;
552
- surfaceDefault: string;
553
- surfaceDark: string;
554
- backgroundDark: string;
555
- backgroundDarker: string;
556
- primaryLight: string;
557
- primaryDefault: string;
558
- primaryDark: string;
559
- primaryDisabled: string;
560
- secondaryLight: string;
561
- secondaryDefault: string;
562
- secondaryDark: string;
563
- errorDefault: string;
564
- errorLight: string;
565
- errorDark: string;
566
- errorDisabled: string;
460
+ primary_default: string;
461
+ primary_bright: string;
462
+ primary_dim: string;
463
+ primary_disabled: string;
464
+ on_primary_high: string;
465
+ on_primary_medium: string;
466
+ on_primary_low: string;
467
+ secondary_default: string;
468
+ secondary_bright: string;
469
+ secondary_dim: string;
470
+ secondary_disabled: string;
471
+ on_secondary_high: string;
472
+ on_secondary_medium: string;
473
+ on_secondary_low: string;
474
+ background_default: string;
475
+ background_dim: string;
476
+ surface_default: string;
477
+ surface_bright: string;
478
+ surface_brighter: string;
479
+ surface_dim: string;
480
+ on_surface_high: string;
481
+ on_surface_medium: string;
482
+ on_surface_low: string;
483
+ border_default: string;
484
+ border_bright: string;
485
+ alert_success: string;
486
+ alert_warning: string;
487
+ alert_error_default: string;
488
+ alert_error_bright: string;
489
+ alert_error_brighter: string;
490
+ alert_error_dim: string;
567
491
  };
568
492
  shadows: {
569
493
  sm: string;