@q9labsai/chalk-react-native 5.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/android/build.gradle +4 -1
  3. package/dist/android/call-service.d.ts +0 -1
  4. package/dist/android/connection-service.d.ts +0 -1
  5. package/dist/avatar/FaceAvatar.d.ts +0 -1
  6. package/dist/avatar/tile-avatar-size.d.ts +0 -1
  7. package/dist/callkit/callkit.d.ts +0 -1
  8. package/dist/callkit/resolve-space-callkit-options.d.ts +0 -1
  9. package/dist/{chunk-OIBT2FNM.js → chunk-MBZRE4US.js} +2 -3
  10. package/dist/client.d.ts +0 -1
  11. package/dist/client.js +8 -5
  12. package/dist/clipboard-store.d.ts +0 -1
  13. package/dist/clipboard.d.ts +0 -1
  14. package/dist/components/EmbeddedWhiteboard.d.ts +0 -1
  15. package/dist/components/RtcVideoView.d.ts +0 -1
  16. package/dist/components/android-connection-service-controller.d.ts +0 -1
  17. package/dist/components/native-media-visibility.d.ts +0 -1
  18. package/dist/components/native-space-callkit-controller.d.ts +0 -1
  19. package/dist/components/native-space-view/screen-share-availability.d.ts +0 -1
  20. package/dist/components/rtc-video-view-availability.d.ts +0 -1
  21. package/dist/components/space-lifecycle.d.ts +0 -1
  22. package/dist/components/useAndroidCallService.d.ts +0 -1
  23. package/dist/components/useAndroidConnectionService.d.ts +0 -1
  24. package/dist/context/space-client-context.d.ts +0 -1
  25. package/dist/dev.d.ts +0 -1
  26. package/dist/diagnostics.d.ts +0 -1
  27. package/dist/dock/Dock.d.ts +0 -1
  28. package/dist/dock/LeaveMenu.d.ts +0 -1
  29. package/dist/dock/MoreSheet.d.ts +0 -1
  30. package/dist/dock/ReactionBurst.d.ts +0 -1
  31. package/dist/dock/RoutePicker.d.ts +0 -1
  32. package/dist/dock/audio-route.d.ts +0 -1
  33. package/dist/frame/CallFrame.d.ts +0 -1
  34. package/dist/frame/Chalk.d.ts +0 -1
  35. package/dist/frame/back-handler.d.ts +0 -1
  36. package/dist/frame/dev-scenario.d.ts +0 -1
  37. package/dist/frame/device-layout.d.ts +0 -1
  38. package/dist/frame/measurement.d.ts +0 -1
  39. package/dist/frame/portal.d.ts +0 -1
  40. package/dist/frame/preferences.d.ts +0 -1
  41. package/dist/frame/regions.d.ts +0 -1
  42. package/dist/haptics/haptics.d.ts +0 -1
  43. package/dist/header/CallDetailsSheet.d.ts +0 -1
  44. package/dist/header/Header.d.ts +0 -1
  45. package/dist/header/QrCode.d.ts +0 -1
  46. package/dist/hooks/external-store.d.ts +0 -1
  47. package/dist/hooks/space-hooks.d.ts +0 -1
  48. package/dist/icons/Icon.d.ts +0 -1
  49. package/dist/icons/icon-element.d.ts +0 -1
  50. package/dist/icons/icon-paths.d.ts +0 -1
  51. package/dist/index.d.ts +0 -1
  52. package/dist/index.js +45 -17
  53. package/dist/invites.d.ts +0 -1
  54. package/dist/limbo/Limbo.d.ts +0 -1
  55. package/dist/limbo/Veil.d.ts +0 -1
  56. package/dist/media/native-capture-error.d.ts +0 -1
  57. package/dist/media/native-webrtc.d.ts +0 -1
  58. package/dist/motion/MovingFrame.d.ts +0 -1
  59. package/dist/motion/motion.d.ts +0 -1
  60. package/dist/motion/presence.d.ts +0 -1
  61. package/dist/motion/press.d.ts +0 -1
  62. package/dist/platform/platform.d.ts +0 -1
  63. package/dist/primitives/BottomSheet.d.ts +0 -1
  64. package/dist/primitives/ChalkText.d.ts +0 -1
  65. package/dist/primitives/CopyButton.d.ts +0 -1
  66. package/dist/primitives/IconButton.d.ts +0 -1
  67. package/dist/primitives/Menu.d.ts +0 -1
  68. package/dist/primitives/NameTag.d.ts +0 -1
  69. package/dist/primitives/PillButton.d.ts +0 -1
  70. package/dist/primitives/SegmentedControl.d.ts +0 -1
  71. package/dist/primitives/SheetGroup.d.ts +0 -1
  72. package/dist/primitives/Switch.d.ts +0 -1
  73. package/dist/primitives/TileShell.d.ts +0 -1
  74. package/dist/primitives/announce.d.ts +0 -1
  75. package/dist/primitives/menu-placement.d.ts +0 -1
  76. package/dist/primitives/toast/Toast.d.ts +0 -1
  77. package/dist/primitives/toast/ToastStack.d.ts +0 -1
  78. package/dist/primitives/toast/toast-store.d.ts +0 -1
  79. package/dist/runtime.d.ts +0 -1
  80. package/dist/sheets/people-chat/ChatNotices.d.ts +0 -1
  81. package/dist/sheets/people-chat/ChatTab.d.ts +0 -1
  82. package/dist/sheets/people-chat/Composer.d.ts +0 -1
  83. package/dist/sheets/people-chat/PeopleChatSheet.d.ts +0 -1
  84. package/dist/sheets/people-chat/PeopleTab.d.ts +0 -1
  85. package/dist/sheets/people-chat/PhotoViewer.d.ts +0 -1
  86. package/dist/sheets/people-chat/TextField.d.ts +0 -1
  87. package/dist/sheets/people-chat/attachments.d.ts +0 -1
  88. package/dist/sheets/people-chat/chat-model.d.ts +0 -1
  89. package/dist/sheets/people-chat/people-model.d.ts +0 -1
  90. package/dist/sounds/sounds.d.ts +0 -1
  91. package/dist/space-client/create-native-space-client.d.ts +0 -1
  92. package/dist/space-client/random-uuid.d.ts +0 -1
  93. package/dist/stage/ContentTile.d.ts +0 -1
  94. package/dist/stage/ParticipantTile.d.ts +0 -1
  95. package/dist/stage/Stage.d.ts +0 -1
  96. package/dist/stage/TileSheet.d.ts +0 -1
  97. package/dist/stage/camera.d.ts +0 -1
  98. package/dist/stage/layout.d.ts +0 -1
  99. package/dist/stage/space-selector.d.ts +0 -1
  100. package/dist/stage/stage-view.d.ts +0 -1
  101. package/dist/status/CallOverlays.d.ts +1 -2
  102. package/dist/status/ChalkArrival.d.ts +0 -1
  103. package/dist/status/StatusPage.d.ts +0 -1
  104. package/dist/status/call-screen.d.ts +0 -1
  105. package/dist/theme/theme.d.ts +0 -1
  106. package/dist/theme/tokens.d.ts +0 -1
  107. package/dist/toasts/CallEventToasts.d.ts +1 -2
  108. package/dist/toasts/media-failure-copy.d.ts +2 -0
  109. package/dist/toasts/notices.d.ts +0 -1
  110. package/dist/ui/ChalkUI.d.ts +0 -1
  111. package/dist/ui.d.ts +0 -1
  112. package/dist/ui.js +1 -1
  113. package/dist/utils/build-chalk-invite-link.d.ts +0 -1
  114. package/dist/utils/ios-simulator.d.ts +0 -1
  115. package/dist/whiteboard/embedded-whiteboard-assets.d.ts +0 -1
  116. package/dist/whiteboard/embedded-whiteboard-viewport.d.ts +0 -1
  117. package/embedded/chalk-whiteboard/asset-manifest.json +2 -2
  118. package/embedded/chalk-whiteboard/renderer.js +579 -579
  119. package/package.json +8 -4
  120. package/src/components/rtc-video-view-availability.ts +1 -1
  121. package/src/dock/Dock.tsx +4 -2
  122. package/src/dock/MoreSheet.tsx +3 -2
  123. package/src/frame/CallFrame.tsx +4 -4
  124. package/src/frame/device-layout.tsx +2 -3
  125. package/src/space-client/create-native-space-client.ts +8 -5
  126. package/src/stage/TileSheet.tsx +5 -1
  127. package/src/status/CallOverlays.tsx +18 -3
  128. package/src/toasts/CallEventToasts.tsx +16 -7
  129. package/src/toasts/media-failure-copy.ts +10 -0
  130. package/android/src/test/kotlin/ai/q9labs/chalk/compatibility/UnsafeSignatures.kt +0 -29
  131. package/dist/android/call-service.d.ts.map +0 -1
  132. package/dist/android/connection-service.d.ts.map +0 -1
  133. package/dist/avatar/FaceAvatar.d.ts.map +0 -1
  134. package/dist/avatar/tile-avatar-size.d.ts.map +0 -1
  135. package/dist/callkit/callkit.d.ts.map +0 -1
  136. package/dist/callkit/resolve-space-callkit-options.d.ts.map +0 -1
  137. package/dist/client.d.ts.map +0 -1
  138. package/dist/clipboard-store.d.ts.map +0 -1
  139. package/dist/clipboard.d.ts.map +0 -1
  140. package/dist/components/EmbeddedWhiteboard.d.ts.map +0 -1
  141. package/dist/components/RtcVideoView.d.ts.map +0 -1
  142. package/dist/components/android-connection-service-controller.d.ts.map +0 -1
  143. package/dist/components/native-media-visibility.d.ts.map +0 -1
  144. package/dist/components/native-space-callkit-controller.d.ts.map +0 -1
  145. package/dist/components/native-space-view/screen-share-availability.d.ts.map +0 -1
  146. package/dist/components/rtc-video-view-availability.d.ts.map +0 -1
  147. package/dist/components/space-lifecycle.d.ts.map +0 -1
  148. package/dist/components/useAndroidCallService.d.ts.map +0 -1
  149. package/dist/components/useAndroidConnectionService.d.ts.map +0 -1
  150. package/dist/context/space-client-context.d.ts.map +0 -1
  151. package/dist/dev.d.ts.map +0 -1
  152. package/dist/diagnostics.d.ts.map +0 -1
  153. package/dist/dock/Dock.d.ts.map +0 -1
  154. package/dist/dock/LeaveMenu.d.ts.map +0 -1
  155. package/dist/dock/MoreSheet.d.ts.map +0 -1
  156. package/dist/dock/ReactionBurst.d.ts.map +0 -1
  157. package/dist/dock/RoutePicker.d.ts.map +0 -1
  158. package/dist/dock/audio-route.d.ts.map +0 -1
  159. package/dist/frame/CallFrame.d.ts.map +0 -1
  160. package/dist/frame/Chalk.d.ts.map +0 -1
  161. package/dist/frame/back-handler.d.ts.map +0 -1
  162. package/dist/frame/dev-scenario.d.ts.map +0 -1
  163. package/dist/frame/device-layout.d.ts.map +0 -1
  164. package/dist/frame/measurement.d.ts.map +0 -1
  165. package/dist/frame/portal.d.ts.map +0 -1
  166. package/dist/frame/preferences.d.ts.map +0 -1
  167. package/dist/frame/regions.d.ts.map +0 -1
  168. package/dist/haptics/haptics.d.ts.map +0 -1
  169. package/dist/header/CallDetailsSheet.d.ts.map +0 -1
  170. package/dist/header/Header.d.ts.map +0 -1
  171. package/dist/header/QrCode.d.ts.map +0 -1
  172. package/dist/hooks/external-store.d.ts.map +0 -1
  173. package/dist/hooks/space-hooks.d.ts.map +0 -1
  174. package/dist/icons/Icon.d.ts.map +0 -1
  175. package/dist/icons/icon-element.d.ts.map +0 -1
  176. package/dist/icons/icon-paths.d.ts.map +0 -1
  177. package/dist/index.d.ts.map +0 -1
  178. package/dist/invites.d.ts.map +0 -1
  179. package/dist/limbo/Limbo.d.ts.map +0 -1
  180. package/dist/limbo/Veil.d.ts.map +0 -1
  181. package/dist/media/native-capture-error.d.ts.map +0 -1
  182. package/dist/media/native-webrtc.d.ts.map +0 -1
  183. package/dist/motion/MovingFrame.d.ts.map +0 -1
  184. package/dist/motion/motion.d.ts.map +0 -1
  185. package/dist/motion/presence.d.ts.map +0 -1
  186. package/dist/motion/press.d.ts.map +0 -1
  187. package/dist/platform/platform.d.ts.map +0 -1
  188. package/dist/primitives/BottomSheet.d.ts.map +0 -1
  189. package/dist/primitives/ChalkText.d.ts.map +0 -1
  190. package/dist/primitives/CopyButton.d.ts.map +0 -1
  191. package/dist/primitives/IconButton.d.ts.map +0 -1
  192. package/dist/primitives/Menu.d.ts.map +0 -1
  193. package/dist/primitives/NameTag.d.ts.map +0 -1
  194. package/dist/primitives/PillButton.d.ts.map +0 -1
  195. package/dist/primitives/SegmentedControl.d.ts.map +0 -1
  196. package/dist/primitives/SheetGroup.d.ts.map +0 -1
  197. package/dist/primitives/Switch.d.ts.map +0 -1
  198. package/dist/primitives/TileShell.d.ts.map +0 -1
  199. package/dist/primitives/announce.d.ts.map +0 -1
  200. package/dist/primitives/menu-placement.d.ts.map +0 -1
  201. package/dist/primitives/toast/Toast.d.ts.map +0 -1
  202. package/dist/primitives/toast/ToastStack.d.ts.map +0 -1
  203. package/dist/primitives/toast/toast-store.d.ts.map +0 -1
  204. package/dist/runtime.d.ts.map +0 -1
  205. package/dist/sheets/people-chat/ChatNotices.d.ts.map +0 -1
  206. package/dist/sheets/people-chat/ChatTab.d.ts.map +0 -1
  207. package/dist/sheets/people-chat/Composer.d.ts.map +0 -1
  208. package/dist/sheets/people-chat/PeopleChatSheet.d.ts.map +0 -1
  209. package/dist/sheets/people-chat/PeopleTab.d.ts.map +0 -1
  210. package/dist/sheets/people-chat/PhotoViewer.d.ts.map +0 -1
  211. package/dist/sheets/people-chat/TextField.d.ts.map +0 -1
  212. package/dist/sheets/people-chat/attachments.d.ts.map +0 -1
  213. package/dist/sheets/people-chat/chat-model.d.ts.map +0 -1
  214. package/dist/sheets/people-chat/people-model.d.ts.map +0 -1
  215. package/dist/sounds/sounds.d.ts.map +0 -1
  216. package/dist/space-client/create-native-space-client.d.ts.map +0 -1
  217. package/dist/space-client/random-uuid.d.ts.map +0 -1
  218. package/dist/stage/ContentTile.d.ts.map +0 -1
  219. package/dist/stage/ParticipantTile.d.ts.map +0 -1
  220. package/dist/stage/Stage.d.ts.map +0 -1
  221. package/dist/stage/TileSheet.d.ts.map +0 -1
  222. package/dist/stage/camera.d.ts.map +0 -1
  223. package/dist/stage/layout.d.ts.map +0 -1
  224. package/dist/stage/space-selector.d.ts.map +0 -1
  225. package/dist/stage/stage-view.d.ts.map +0 -1
  226. package/dist/status/CallOverlays.d.ts.map +0 -1
  227. package/dist/status/ChalkArrival.d.ts.map +0 -1
  228. package/dist/status/StatusPage.d.ts.map +0 -1
  229. package/dist/status/call-screen.d.ts.map +0 -1
  230. package/dist/theme/theme.d.ts.map +0 -1
  231. package/dist/theme/tokens.d.ts.map +0 -1
  232. package/dist/toasts/CallEventToasts.d.ts.map +0 -1
  233. package/dist/toasts/notices.d.ts.map +0 -1
  234. package/dist/ui/ChalkUI.d.ts.map +0 -1
  235. package/dist/ui.d.ts.map +0 -1
  236. package/dist/utils/build-chalk-invite-link.d.ts.map +0 -1
  237. package/dist/utils/ios-simulator.d.ts.map +0 -1
  238. package/dist/whiteboard/embedded-whiteboard-assets.d.ts.map +0 -1
  239. package/dist/whiteboard/embedded-whiteboard-viewport.d.ts.map +0 -1
  240. package/src/callkit/callkit.test.ts +0 -97
  241. package/src/components/native-space-view/screen-share-availability.test.ts +0 -16
  242. package/src/frame/regions.test.ts +0 -38
  243. package/src/media/native-capture-error.test.ts +0 -19
  244. package/src/primitives/menu-placement.test.ts +0 -50
  245. package/src/sheets/people-chat/people-chat-model.test.ts +0 -98
  246. package/src/space-client/whiteboard-watchdog.test.ts +0 -23
  247. package/src/stage/layout.test.ts +0 -77
  248. package/src/status/call-screen.test.ts +0 -42
  249. package/src/toasts/notices.test.ts +0 -92
  250. package/src/whiteboard/embedded-whiteboard-viewport.test.ts +0 -13
@@ -33,4 +33,3 @@ export type MovingFrameProps = {
33
33
  * ```
34
34
  */
35
35
  export declare function MovingFrame({ frame, children, style, testID }: MovingFrameProps): React.JSX.Element;
36
- //# sourceMappingURL=MovingFrame.d.ts.map
@@ -79,4 +79,3 @@ export declare const timings: {
79
79
  export type TimingName = keyof typeof timings;
80
80
  /** `withTiming` with one of the named timings. Call it from a worklet or from JS. */
81
81
  export declare function animateTo(value: number, timing: TimingName): number;
82
- //# sourceMappingURL=motion.d.ts.map
@@ -3,4 +3,3 @@ import { type EntryExitAnimationFunction } from "react-native-reanimated";
3
3
  export declare const tileEntering: EntryExitAnimationFunction;
4
4
  /** A leaving tile fades out over 160 ms. Pass as `exiting` on an Animated.View. */
5
5
  export declare const tileLeaving: EntryExitAnimationFunction;
6
- //# sourceMappingURL=presence.d.ts.map
@@ -12,4 +12,3 @@ export type PressAnimation = {
12
12
  * background switches at once. Runs on the UI thread; reduced motion keeps the scale at 1.
13
13
  */
14
14
  export declare function usePressAnimation(family: keyof typeof pressScale): PressAnimation;
15
- //# sourceMappingURL=press.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export type PlatformVariant = "android" | "ios-phone" | "ios-pad" | "macos" | "tvos";
2
2
  export declare function resolvePlatformVariant(): PlatformVariant;
3
- //# sourceMappingURL=platform.d.ts.map
@@ -33,4 +33,3 @@ export declare function BottomSheet({ open, onClose, accessibilityLabel, childre
33
33
  export declare function SheetDragRegion({ children }: {
34
34
  readonly children: ReactNode;
35
35
  }): React.JSX.Element;
36
- //# sourceMappingURL=BottomSheet.d.ts.map
@@ -10,4 +10,3 @@ export type ChalkTextProps = TextProps & {
10
10
  };
11
11
  /** Figtree text in one of the call's type styles. */
12
12
  export declare function ChalkText({ variant, tone, color, tabular, style, ...rest }: ChalkTextProps): React.JSX.Element;
13
- //# sourceMappingURL=ChalkText.d.ts.map
@@ -8,4 +8,3 @@ export type CopyButtonProps = {
8
8
  };
9
9
  /** The mockup's copy button (`.cp`): the copy icon turns into a green check for two seconds. */
10
10
  export declare const CopyButton: import("react").MemoExoticComponent<({ onCopy, accessibilityLabel, announcement, testID }: CopyButtonProps) => React.JSX.Element>;
11
- //# sourceMappingURL=CopyButton.d.ts.map
@@ -23,4 +23,3 @@ export type IconButtonProps = {
23
23
  };
24
24
  /** The mockup's round button (`.rb`): press scale 0.94 over 150 ms, background switches at once. */
25
25
  export declare const IconButton: import("react").NamedExoticComponent<IconButtonProps & import("react").RefAttributes<View>>;
26
- //# sourceMappingURL=IconButton.d.ts.map
@@ -36,4 +36,3 @@ export declare function MenuSection({ label }: {
36
36
  readonly label: string;
37
37
  }): React.JSX.Element;
38
38
  export declare function MenuSeparator(): React.JSX.Element;
39
- //# sourceMappingURL=Menu.d.ts.map
@@ -16,4 +16,3 @@ export type NameTagProps = {
16
16
  export declare const NameTag: import("react").MemoExoticComponent<({ name, muted, pinned, icon, you, handRaised, handOrder, testID }: NameTagProps) => React.JSX.Element>;
17
17
  /** The strip at the bottom of a tile that the name tag can cover, so tile content can keep clear of it. */
18
18
  export declare const nameTagZone: number;
19
- //# sourceMappingURL=NameTag.d.ts.map
@@ -16,4 +16,3 @@ export type PillButtonProps = {
16
16
  };
17
17
  /** The mockup's pill button (`.pb`, `.big`): primary inverts, secondary is raised, danger is red. */
18
18
  export declare const PillButton: import("react").NamedExoticComponent<PillButtonProps & import("react").RefAttributes<ViewType>>;
19
- //# sourceMappingURL=PillButton.d.ts.map
@@ -14,4 +14,3 @@ export type SegmentedControlProps<TValue extends string> = {
14
14
  };
15
15
  /** The mockup's segmented control (`.seg2`). The selected segment lifts onto a brighter surface. */
16
16
  export declare function SegmentedControl<TValue extends string>({ options, value, onChange, accessibilityLabel, size, testID }: SegmentedControlProps<TValue>): React.JSX.Element;
17
- //# sourceMappingURL=SegmentedControl.d.ts.map
@@ -21,4 +21,3 @@ export type SheetRowProps = {
21
21
  };
22
22
  /** A phone sheet row (`.srow`): 52 pt high, 16 pt text, an optional icon in front and a control at the end. */
23
23
  export declare function SheetRow({ label, icon, end, badge, accessibilityLabel, onPress, danger, testID }: SheetRowProps): React.JSX.Element;
24
- //# sourceMappingURL=SheetGroup.d.ts.map
@@ -6,4 +6,3 @@ export type SwitchProps = {
6
6
  };
7
7
  /** The mockup's switch (`.sw`): a 36 by 22 track, green when on, with a knob that slides 14 pt in 150 ms. */
8
8
  export declare const Switch: import("react").MemoExoticComponent<({ value, onValueChange, accessibilityLabel, testID }: SwitchProps) => React.JSX.Element>;
9
- //# sourceMappingURL=Switch.d.ts.map
@@ -15,4 +15,3 @@ export type TileShellProps = {
15
15
  * avatar and a `NameTag`.
16
16
  */
17
17
  export declare const TileShell: import("react").MemoExoticComponent<({ children, speaking, cameraOn, level, testID }: TileShellProps) => React.JSX.Element>;
18
- //# sourceMappingURL=TileShell.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** Speaks a message through VoiceOver or TalkBack, like the mockup's polite live region. Queued on iOS so it doesn't cut off the current utterance. */
2
2
  export declare function announce(message: string): void;
3
- //# sourceMappingURL=announce.d.ts.map
@@ -29,4 +29,3 @@ export declare function placeMenu(trigger: Rect, menu: {
29
29
  readonly width: number;
30
30
  readonly height: number;
31
31
  }, insets: Insets, keyboardHeight?: number): MenuPlacement;
32
- //# sourceMappingURL=menu-placement.d.ts.map
@@ -5,4 +5,3 @@ export type ToastProps = {
5
5
  };
6
6
  /** One event notice (`.toast`). Every notice in the call uses this look. */
7
7
  export declare const Toast: import("react").MemoExoticComponent<({ toast, onDismiss }: ToastProps) => React.JSX.Element>;
8
- //# sourceMappingURL=Toast.d.ts.map
@@ -15,4 +15,3 @@ export declare function useToastClearance(): (bottom: number | null) => void;
15
15
  * the top of the screen with the newest notice nearest the top edge, as in the mockup.
16
16
  */
17
17
  export declare function ToastStack(): React.JSX.Element;
18
- //# sourceMappingURL=ToastStack.d.ts.map
@@ -36,4 +36,3 @@ export type ToastStore = {
36
36
  };
37
37
  export declare function messageText(message: ToastInput["message"]): string;
38
38
  export declare function createToastStore(): ToastStore;
39
- //# sourceMappingURL=toast-store.d.ts.map
package/dist/runtime.d.ts CHANGED
@@ -35,4 +35,3 @@ export declare function getDeviceInfo({ appVersion, scriptUrl }?: {
35
35
  appVersion?: string | null;
36
36
  scriptUrl?: string | null;
37
37
  }): DeviceInfo;
38
- //# sourceMappingURL=runtime.d.ts.map
@@ -11,4 +11,3 @@ export type ChatNoticesProps = {
11
11
  * history when the call opens stay quiet.
12
12
  */
13
13
  export declare function ChatNotices({ chatVisible, sheetOpen, onOpenChat }: ChatNoticesProps): null;
14
- //# sourceMappingURL=ChatNotices.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * is inverted, so it opens at the newest message and stays there as new ones arrive.
4
4
  */
5
5
  export declare function ChatTab(): React.JSX.Element;
6
- //# sourceMappingURL=ChatTab.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * rides on the keyboard.
5
5
  */
6
6
  export declare function Composer(): React.JSX.Element;
7
- //# sourceMappingURL=Composer.d.ts.map
@@ -14,4 +14,3 @@ export type PeopleChatSheetProps = {
14
14
  * the call and the call's chat. The tab row drags the sheet like the grabber does.
15
15
  */
16
16
  export declare function PeopleChatSheet({ open, tab, onTabChange, onClose, returnFocusRef }: PeopleChatSheetProps): React.JSX.Element;
17
- //# sourceMappingURL=PeopleChatSheet.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** The People tab: who is waiting, raised hands, and everyone in the call, with the host's actions. */
2
2
  export declare function PeopleTab(): React.JSX.Element;
3
- //# sourceMappingURL=PeopleTab.d.ts.map
@@ -16,4 +16,3 @@ type PhotoViewerProps = {
16
16
  */
17
17
  export declare function PhotoViewer({ viewing, onChange, onClose }: PhotoViewerProps): React.JSX.Element | null;
18
18
  export {};
19
- //# sourceMappingURL=PhotoViewer.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { TextInput, type TextInputProps } from "react-native";
2
2
  /** The text input inside a field (`input` in the mockup): the body type, no chrome of its own. */
3
3
  export declare const TextField: import("react").ForwardRefExoticComponent<TextInputProps & import("react").RefAttributes<TextInput>>;
4
- //# sourceMappingURL=TextField.d.ts.map
@@ -30,4 +30,3 @@ export declare const FileCard: import("react").MemoExoticComponent<({ attachment
30
30
  readonly sent: boolean;
31
31
  }) => React.JSX.Element>;
32
32
  export {};
33
- //# sourceMappingURL=attachments.d.ts.map
@@ -61,4 +61,3 @@ export declare function thumbnailLayout(count: number): {
61
61
  readonly shown: number;
62
62
  readonly more: number;
63
63
  };
64
- //# sourceMappingURL=chat-model.d.ts.map
@@ -40,4 +40,3 @@ export declare function peopleRows({ roster, waiting, handOrder, query }: People
40
40
  * the lists saw hands go up in; people who join with a hand already raised count from when they appear.
41
41
  */
42
42
  export declare function nextHandOrder(previous: readonly string[], roster: readonly Participant[]): readonly string[];
43
- //# sourceMappingURL=people-model.d.ts.map
@@ -30,4 +30,3 @@ export declare function playSound(name: SoundName, enabled: boolean): void;
30
30
  /** Frees the players when the call view goes away. */
31
31
  export declare function releaseSounds(): void;
32
32
  export {};
33
- //# sourceMappingURL=sounds.d.ts.map
@@ -12,4 +12,3 @@ export type NativeSpaceClientOptions = {
12
12
  readonly storage?: ReactNativeAsyncStorage;
13
13
  };
14
14
  export declare function createNativeSpaceClient(options: NativeSpaceClientOptions): SpaceClient;
15
- //# sourceMappingURL=create-native-space-client.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * what is missing with Expo's native secure generator, so runtimes with Web Crypto keep theirs.
5
5
  */
6
6
  export declare function ensureRandomUUID(): void;
7
- //# sourceMappingURL=random-uuid.d.ts.map
@@ -15,4 +15,3 @@ export type ContentTileProps = {
15
15
  };
16
16
  /** The shared screen or board as one stage tile (`.tile.content`), kept mounted while it moves. */
17
17
  export declare const ContentTile: import("react").MemoExoticComponent<({ content, inner, mini, onShowInSpotlight }: ContentTileProps) => React.JSX.Element>;
18
- //# sourceMappingURL=ContentTile.d.ts.map
@@ -15,4 +15,3 @@ export type ParticipantTileProps = {
15
15
  * it, and the stage keeps it mounted across every move so the video view keeps its surface.
16
16
  */
17
17
  export declare const ParticipantTile: import("react").MemoExoticComponent<({ id, width, height, float, pinned, mirror, onOpen }: ParticipantTileProps) => React.JSX.Element>;
18
- //# sourceMappingURL=ParticipantTile.d.ts.map
@@ -11,4 +11,3 @@ export type StageProps = {
11
11
  * remounted by a move, a layout switch or a sheet; only tiles on the stage subscribe to video.
12
12
  */
13
13
  export declare const Stage: import("react").MemoExoticComponent<({ frame, onOpenPeople }: StageProps) => React.JSX.Element>;
14
- //# sourceMappingURL=Stage.d.ts.map
@@ -9,4 +9,3 @@ export type TileSheetProps = {
9
9
  * host's mute and remove for someone else. Board following waits for board editing.
10
10
  */
11
11
  export declare function TileSheet({ participantId, open, onClose }: TileSheetProps): React.JSX.Element;
12
- //# sourceMappingURL=TileSheet.d.ts.map
@@ -4,4 +4,3 @@ export type CameraFacing = "front" | "back";
4
4
  export declare function cameraFacing(media: MediaSlice): CameraFacing;
5
5
  /** The camera facing the other way, or null when the phone has only one. */
6
6
  export declare function otherCamera(media: MediaSlice): MediaDevice | null;
7
- //# sourceMappingURL=camera.d.ts.map
@@ -54,4 +54,3 @@ export type StageOrder = {
54
54
  * speaking they swap places with the person in the spotlight, so only those two tiles move.
55
55
  */
56
56
  export declare function nextStageOrder(previous: StageOrder, present: readonly string[], selfId: string | null, speaker: string | null): StageOrder;
57
- //# sourceMappingURL=layout.d.ts.map
@@ -7,4 +7,3 @@ import type { SpaceSnapshot } from "@q9labsai/chalk-client";
7
7
  export declare function useSpaceSelector<T>(select: (snapshot: SpaceSnapshot) => T, isEqual?: (a: T, b: T) => boolean): T;
8
8
  /** Equal when both objects hold the same values under the same keys, compared with `Object.is`. */
9
9
  export declare function shallowEqual<T extends object>(a: T, b: T): boolean;
10
- //# sourceMappingURL=space-selector.d.ts.map
@@ -20,4 +20,3 @@ export declare function StageViewProvider({ children }: {
20
20
  readonly children: ReactNode;
21
21
  }): React.JSX.Element;
22
22
  export declare function useStageView(): StageView;
23
- //# sourceMappingURL=stage-view.d.ts.map
@@ -10,8 +10,7 @@ export type CallOverlaysProps = {
10
10
  readonly onHome: () => void;
11
11
  };
12
12
  /**
13
- * The overlays layer: the veil and limbo card while the call joins, reconnects or waits on a phone
13
+ * The overlays layer: a non-blocking connection notice, or a veil while the call joins or waits on a phone
14
14
  * call, and the status page once it's over. Android back on a status page goes Home.
15
15
  */
16
16
  export declare function CallOverlays({ screen, callName, rejoining, onHold, onRejoin, onHome }: CallOverlaysProps): React.JSX.Element;
17
- //# sourceMappingURL=CallOverlays.d.ts.map
@@ -21,4 +21,3 @@ export type ChalkArrivalProps = {
21
21
  */
22
22
  export declare function ChalkArrival({ colorScheme, ...props }: ChalkArrivalProps): React.JSX.Element;
23
23
  export declare function ArrivalScreen({ state, callName, onCancel, onRetry, recording }: Omit<ChalkArrivalProps, "colorScheme">): React.JSX.Element;
24
- //# sourceMappingURL=ChalkArrival.d.ts.map
@@ -11,4 +11,3 @@ export type StatusPageProps = {
11
11
  * and the ways forward as round actions with their names under them.
12
12
  */
13
13
  export declare function StatusPage({ outcome, callName, onRejoin, onHome }: StatusPageProps): React.JSX.Element;
14
- //# sourceMappingURL=StatusPage.d.ts.map
@@ -17,4 +17,3 @@ export type CallScreen = {
17
17
  * Only the server's own removal signal shows "removed"; any other exit nobody chose is `exited`.
18
18
  */
19
19
  export declare function callScreen(connection: ConnectionSlice, leftByChoice: boolean): CallScreen;
20
- //# sourceMappingURL=call-screen.d.ts.map
@@ -12,4 +12,3 @@ export declare function ThemeProvider({ colorScheme, children }: {
12
12
  }): React.JSX.Element;
13
13
  export declare function useTheme(): Theme;
14
14
  export declare function themeFor(colorScheme: ColorScheme): Theme;
15
- //# sourceMappingURL=theme.d.ts.map
@@ -245,4 +245,3 @@ export declare const pressScale: {
245
245
  readonly small: 0.92;
246
246
  readonly big: 0.98;
247
247
  };
248
- //# sourceMappingURL=tokens.d.ts.map
@@ -4,7 +4,7 @@ export type CallEventToasts = {
4
4
  /** Call before the person turns their own microphone off, so it isn't reported as a host mute. */
5
5
  readonly noteOwnMicrophoneChange: () => void;
6
6
  /** Says why turning on the microphone or camera failed, with the way forward (F1, K1, K2). */
7
- readonly reportMediaFailure: (permission: Permission, cause: unknown, retry: () => void) => void;
7
+ readonly reportMediaFailure: (permission: Permission, cause: unknown, retry: () => Promise<void>) => void;
8
8
  };
9
9
  export type CallEventToastsOptions = {
10
10
  /** Called just before Open Settings leaves the app, so the app can rejoin after iOS restarts it. */
@@ -18,4 +18,3 @@ export type CallEventToastsOptions = {
18
18
  * ending (F11), recording starting and stopping, and failed microphone or camera changes.
19
19
  */
20
20
  export declare function useCallEventToasts({ onOpenSettings, resumedAfterSettings }: CallEventToastsOptions): CallEventToasts;
21
- //# sourceMappingURL=CallEventToasts.d.ts.map
@@ -0,0 +1,2 @@
1
+ import type { ErrorCode } from "@q9labsai/chalk-client";
2
+ export declare function mediaFailureMessage(permission: "microphone" | "camera", code: ErrorCode | null): string;
@@ -31,4 +31,3 @@ export type Notice = {
31
31
  export declare function callNotices(previous: SpaceSnapshot, next: SpaceSnapshot, ownMicrophoneChange: boolean): readonly Notice[];
32
32
  /** The mockup names people by their first name in notices that ask something of you. */
33
33
  export declare function firstName(name: string): string;
34
- //# sourceMappingURL=notices.d.ts.map
@@ -9,4 +9,3 @@ export type ChalkUIProps = {
9
9
  * example): theme, safe areas, sheets, menus and toasts. Sheets and menus open above `children`.
10
10
  */
11
11
  export declare function ChalkUI({ colorScheme, children }: ChalkUIProps): React.JSX.Element;
12
- //# sourceMappingURL=ChalkUI.d.ts.map
package/dist/ui.d.ts CHANGED
@@ -22,4 +22,3 @@ export { useToastClearance, useToasts } from "./primitives/toast/ToastStack";
22
22
  export { announce } from "./primitives/announce";
23
23
  export { usePressAnimation } from "./motion/press";
24
24
  export { Limbo } from "./limbo/Limbo";
25
- //# sourceMappingURL=ui.d.ts.map
package/dist/ui.js CHANGED
@@ -29,7 +29,7 @@ import {
29
29
  useTheme,
30
30
  useToastClearance,
31
31
  useToasts
32
- } from "./chunk-OIBT2FNM.js";
32
+ } from "./chunk-MBZRE4US.js";
33
33
  import "./chunk-GYVZSOGQ.js";
34
34
 
35
35
  // src/ui/ChalkUI.tsx
@@ -1,2 +1 @@
1
1
  export declare function buildChalkInviteLink(spaceSlug: string, spaceInviteToken: string, origin?: string): string;
2
- //# sourceMappingURL=build-chalk-invite-link.d.ts.map
@@ -2,4 +2,3 @@ export declare function isIosSimulator(): boolean;
2
2
  export declare function getIosSimulatorVideoMessage(): string;
3
3
  export declare function getIosSimulatorMediaMessage(): string;
4
4
  export declare function ensureIosSimulatorWebRtcSafety(webRtcModule?: any): void;
5
- //# sourceMappingURL=ios-simulator.d.ts.map
@@ -4,4 +4,3 @@ export declare function rendererURLWithContext(rendererURL: string, context: {
4
4
  readonly rendererGeneration: string;
5
5
  }): string;
6
6
  export declare function isEmbeddedWhiteboardNavigationAllowed(requestURL: string, rendererURL: string): boolean;
7
- //# sourceMappingURL=embedded-whiteboard-assets.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { ChalkEmbeddedWhiteboardViewport } from "@q9labsai/chalk-whiteboard/embedded";
2
2
  export declare function createEmbeddedWhiteboardViewport(width: number, height: number, scale: number): ChalkEmbeddedWhiteboardViewport | null;
3
- //# sourceMappingURL=embedded-whiteboard-viewport.d.ts.map
@@ -1216,8 +1216,8 @@
1216
1216
  },
1217
1217
  {
1218
1218
  "path": "renderer.js",
1219
- "bytes": 8497928,
1220
- "sha256": "7f754073f20cee4b3adceb40731faf75d94849f6ce01a0b2e30fdad10867a5d9"
1219
+ "bytes": 8502340,
1220
+ "sha256": "82afcc03b426364bcf0e83064452972ec6fc5b74f766fd024948ae866893ba68"
1221
1221
  },
1222
1222
  {
1223
1223
  "path": "THIRD_PARTY_NOTICES.json",