@dxos/shell 0.7.5-labs.c0e040f → 0.7.5-labs.d199c0f

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 (341) hide show
  1. package/dist/bundle/{shell.mjs → shell.js} +2800 -2577
  2. package/dist/bundle/shell.js.map +1 -0
  3. package/dist/bundle/{shell.umd.js → shell.umd.cjs} +58 -58
  4. package/dist/bundle/shell.umd.cjs.map +1 -0
  5. package/dist/bundle/style.css +1 -1
  6. package/dist/lib/browser/meta.json +1 -1
  7. package/dist/lib/browser/react.mjs +30 -18
  8. package/dist/lib/browser/react.mjs.map +3 -3
  9. package/dist/lib/node/meta.json +1 -1
  10. package/dist/lib/node/react.cjs +34 -22
  11. package/dist/lib/node/react.cjs.map +3 -3
  12. package/dist/lib/node-esm/meta.json +1 -1
  13. package/dist/lib/node-esm/react.mjs +30 -18
  14. package/dist/lib/node-esm/react.mjs.map +3 -3
  15. package/dist/types/src/components/AgentConfig.d.ts +1 -2
  16. package/dist/types/src/components/AgentConfig.d.ts.map +1 -1
  17. package/dist/types/src/components/AgentConfig.js +20 -50
  18. package/dist/types/src/components/AgentConfig.js.map +1 -1
  19. package/dist/types/src/components/AuthCode.d.ts +2 -2
  20. package/dist/types/src/components/AuthCode.d.ts.map +1 -1
  21. package/dist/types/src/components/AuthCode.js +6 -44
  22. package/dist/types/src/components/AuthCode.js.map +1 -1
  23. package/dist/types/src/components/CompoundButton/CompoundButton.d.ts +2 -2
  24. package/dist/types/src/components/CompoundButton/CompoundButton.d.ts.map +1 -1
  25. package/dist/types/src/components/CompoundButton/CompoundButton.js +9 -24
  26. package/dist/types/src/components/CompoundButton/CompoundButton.js.map +1 -1
  27. package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts +8 -9
  28. package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts.map +1 -1
  29. package/dist/types/src/components/CompoundButton/CompoundButton.stories.js +17 -25
  30. package/dist/types/src/components/CompoundButton/CompoundButton.stories.js.map +1 -1
  31. package/dist/types/src/components/CompoundButton/index.js +1 -17
  32. package/dist/types/src/components/CompoundButton/index.js.map +1 -1
  33. package/dist/types/src/components/DeviceList/DeviceList.d.ts +1 -2
  34. package/dist/types/src/components/DeviceList/DeviceList.d.ts.map +1 -1
  35. package/dist/types/src/components/DeviceList/DeviceList.js +10 -24
  36. package/dist/types/src/components/DeviceList/DeviceList.js.map +1 -1
  37. package/dist/types/src/components/DeviceList/DeviceListItem.d.ts +1 -1
  38. package/dist/types/src/components/DeviceList/DeviceListItem.js +18 -73
  39. package/dist/types/src/components/DeviceList/DeviceListItem.js.map +1 -1
  40. package/dist/types/src/components/DeviceList/DeviceListProps.js +0 -2
  41. package/dist/types/src/components/DeviceList/DeviceListProps.js.map +1 -1
  42. package/dist/types/src/components/DeviceList/index.js +2 -18
  43. package/dist/types/src/components/DeviceList/index.js.map +1 -1
  44. package/dist/types/src/components/IdentityList/IdentityListItem.d.ts +1 -1
  45. package/dist/types/src/components/IdentityList/IdentityListItem.js +12 -51
  46. package/dist/types/src/components/IdentityList/IdentityListItem.js.map +1 -1
  47. package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts +2 -3
  48. package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts.map +1 -1
  49. package/dist/types/src/components/IdentityList/SpaceMemberList.js +17 -55
  50. package/dist/types/src/components/IdentityList/SpaceMemberList.js.map +1 -1
  51. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.d.ts +3 -4
  52. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.d.ts.map +1 -1
  53. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.js +10 -17
  54. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.js.map +1 -1
  55. package/dist/types/src/components/IdentityList/index.js +2 -18
  56. package/dist/types/src/components/IdentityList/index.js.map +1 -1
  57. package/dist/types/src/components/InvitationList/InvitationList.d.ts +2 -2
  58. package/dist/types/src/components/InvitationList/InvitationList.d.ts.map +1 -1
  59. package/dist/types/src/components/InvitationList/InvitationList.js +10 -20
  60. package/dist/types/src/components/InvitationList/InvitationList.js.map +1 -1
  61. package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts +3 -4
  62. package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts.map +1 -1
  63. package/dist/types/src/components/InvitationList/InvitationList.stories.js +20 -27
  64. package/dist/types/src/components/InvitationList/InvitationList.stories.js.map +1 -1
  65. package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts +1 -2
  66. package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts.map +1 -1
  67. package/dist/types/src/components/InvitationList/InvitationListContainer.js +9 -45
  68. package/dist/types/src/components/InvitationList/InvitationListContainer.js.map +1 -1
  69. package/dist/types/src/components/InvitationList/InvitationListItem.d.ts +3 -3
  70. package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +1 -1
  71. package/dist/types/src/components/InvitationList/InvitationListItem.js +32 -99
  72. package/dist/types/src/components/InvitationList/InvitationListItem.js.map +1 -1
  73. package/dist/types/src/components/InvitationList/InvitationListProps.js +0 -2
  74. package/dist/types/src/components/InvitationList/index.js +3 -19
  75. package/dist/types/src/components/InvitationList/index.js.map +1 -1
  76. package/dist/types/src/components/Panel/Action.js +15 -68
  77. package/dist/types/src/components/Panel/Action.js.map +1 -1
  78. package/dist/types/src/components/Panel/Actions.js +6 -41
  79. package/dist/types/src/components/Panel/Actions.js.map +1 -1
  80. package/dist/types/src/components/Panel/CloseButton.d.ts +1 -2
  81. package/dist/types/src/components/Panel/CloseButton.d.ts.map +1 -1
  82. package/dist/types/src/components/Panel/CloseButton.js +7 -16
  83. package/dist/types/src/components/Panel/CloseButton.js.map +1 -1
  84. package/dist/types/src/components/Panel/Emoji.d.ts +3 -3
  85. package/dist/types/src/components/Panel/Emoji.d.ts.map +1 -1
  86. package/dist/types/src/components/Panel/Emoji.js +6 -19
  87. package/dist/types/src/components/Panel/Emoji.js.map +1 -1
  88. package/dist/types/src/components/Panel/Heading.js +5 -44
  89. package/dist/types/src/components/Panel/Heading.js.map +1 -1
  90. package/dist/types/src/components/Panel/Input.d.ts +2 -2
  91. package/dist/types/src/components/Panel/Input.d.ts.map +1 -1
  92. package/dist/types/src/components/Panel/Input.js +4 -17
  93. package/dist/types/src/components/Panel/Input.js.map +1 -1
  94. package/dist/types/src/components/Panel/Label.d.ts +2 -2
  95. package/dist/types/src/components/Panel/Label.d.ts.map +1 -1
  96. package/dist/types/src/components/Panel/Label.js +4 -14
  97. package/dist/types/src/components/Panel/Label.js.map +1 -1
  98. package/dist/types/src/components/Panel/Panel.stories.d.ts +4 -5
  99. package/dist/types/src/components/Panel/Panel.stories.d.ts.map +1 -1
  100. package/dist/types/src/components/Panel/Panel.stories.js +15 -35
  101. package/dist/types/src/components/Panel/Panel.stories.js.map +1 -1
  102. package/dist/types/src/components/Panel/StepHeading.js +5 -40
  103. package/dist/types/src/components/Panel/StepHeading.js.map +1 -1
  104. package/dist/types/src/components/Panel/index.js +8 -24
  105. package/dist/types/src/components/Panel/index.js.map +1 -1
  106. package/dist/types/src/components/SpaceListItem.js +10 -49
  107. package/dist/types/src/components/SpaceListItem.js.map +1 -1
  108. package/dist/types/src/components/StorybookDialog.d.ts +2 -2
  109. package/dist/types/src/components/StorybookDialog.d.ts.map +1 -1
  110. package/dist/types/src/components/StorybookDialog.js +5 -18
  111. package/dist/types/src/components/StorybookDialog.js.map +1 -1
  112. package/dist/types/src/components/Viewport/Viewport.d.ts +2 -2
  113. package/dist/types/src/components/Viewport/Viewport.js +18 -55
  114. package/dist/types/src/components/Viewport/Viewport.js.map +1 -1
  115. package/dist/types/src/components/Viewport/Viewport.stories.d.ts +2 -3
  116. package/dist/types/src/components/Viewport/Viewport.stories.d.ts.map +1 -1
  117. package/dist/types/src/components/Viewport/Viewport.stories.js +12 -37
  118. package/dist/types/src/components/Viewport/Viewport.stories.js.map +1 -1
  119. package/dist/types/src/components/Viewport/index.js +1 -17
  120. package/dist/types/src/components/Viewport/index.js.map +1 -1
  121. package/dist/types/src/components/index.js +9 -25
  122. package/dist/types/src/components/index.js.map +1 -1
  123. package/dist/types/src/composites/IdentityDialog/IdentityDialog.d.ts +1 -2
  124. package/dist/types/src/composites/IdentityDialog/IdentityDialog.d.ts.map +1 -1
  125. package/dist/types/src/composites/IdentityDialog/IdentityDialog.js +7 -22
  126. package/dist/types/src/composites/IdentityDialog/IdentityDialog.js.map +1 -1
  127. package/dist/types/src/composites/IdentityDialog/index.js +1 -17
  128. package/dist/types/src/composites/IdentityDialog/index.js.map +1 -1
  129. package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts +1 -2
  130. package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts.map +1 -1
  131. package/dist/types/src/composites/JoinDialog/JoinDialog.js +9 -23
  132. package/dist/types/src/composites/JoinDialog/JoinDialog.js.map +1 -1
  133. package/dist/types/src/composites/JoinDialog/index.js +1 -17
  134. package/dist/types/src/composites/JoinDialog/index.js.map +1 -1
  135. package/dist/types/src/composites/Shell/Shell.d.ts +1 -2
  136. package/dist/types/src/composites/Shell/Shell.d.ts.map +1 -1
  137. package/dist/types/src/composites/Shell/Shell.js +54 -90
  138. package/dist/types/src/composites/Shell/Shell.js.map +1 -1
  139. package/dist/types/src/composites/Shell/ShellContext.d.ts +2 -2
  140. package/dist/types/src/composites/Shell/ShellContext.d.ts.map +1 -1
  141. package/dist/types/src/composites/Shell/ShellContext.js +32 -72
  142. package/dist/types/src/composites/Shell/ShellContext.js.map +1 -1
  143. package/dist/types/src/composites/Shell/index.js +3 -19
  144. package/dist/types/src/composites/Shell/index.js.map +1 -1
  145. package/dist/types/src/composites/Shell/memory-shell-runtime.js +7 -11
  146. package/dist/types/src/composites/Shell/memory-shell-runtime.js.map +1 -1
  147. package/dist/types/src/composites/Shell/run-shell.js +18 -67
  148. package/dist/types/src/composites/Shell/run-shell.js.map +1 -1
  149. package/dist/types/src/composites/Shell/shell-runtime.js +13 -17
  150. package/dist/types/src/composites/Shell/shell-runtime.js.map +1 -1
  151. package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts +1 -2
  152. package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts.map +1 -1
  153. package/dist/types/src/composites/SpaceDialog/SpaceDialog.js +7 -22
  154. package/dist/types/src/composites/SpaceDialog/SpaceDialog.js.map +1 -1
  155. package/dist/types/src/composites/SpaceDialog/index.js +1 -17
  156. package/dist/types/src/composites/SpaceDialog/index.js.map +1 -1
  157. package/dist/types/src/composites/StatusDialog/StatusDialog.d.ts +1 -2
  158. package/dist/types/src/composites/StatusDialog/StatusDialog.d.ts.map +1 -1
  159. package/dist/types/src/composites/StatusDialog/StatusDialog.js +6 -20
  160. package/dist/types/src/composites/StatusDialog/StatusDialog.js.map +1 -1
  161. package/dist/types/src/composites/StatusDialog/index.js +1 -17
  162. package/dist/types/src/composites/StatusDialog/index.js.map +1 -1
  163. package/dist/types/src/composites/index.js +4 -20
  164. package/dist/types/src/composites/index.js.map +1 -1
  165. package/dist/types/src/index.js +2 -6
  166. package/dist/types/src/index.js.map +1 -1
  167. package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts +2 -3
  168. package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts.map +1 -1
  169. package/dist/types/src/panels/IdentityPanel/IdentityPanel.js +62 -136
  170. package/dist/types/src/panels/IdentityPanel/IdentityPanel.js.map +1 -1
  171. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.d.ts +11 -12
  172. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.d.ts.map +1 -1
  173. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.js +38 -56
  174. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.js.map +1 -1
  175. package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.js +0 -2
  176. package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.js.map +1 -1
  177. package/dist/types/src/panels/IdentityPanel/identityMachine.js +10 -14
  178. package/dist/types/src/panels/IdentityPanel/identityMachine.js.map +1 -1
  179. package/dist/types/src/panels/IdentityPanel/index.js +2 -18
  180. package/dist/types/src/panels/IdentityPanel/index.js.map +1 -1
  181. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.d.ts +2 -3
  182. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.d.ts.map +1 -1
  183. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.js +16 -29
  184. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.js.map +1 -1
  185. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.d.ts +1 -2
  186. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.d.ts.map +1 -1
  187. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.js +27 -73
  188. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.js.map +1 -1
  189. package/dist/types/src/panels/IdentityPanel/steps/index.js +2 -18
  190. package/dist/types/src/panels/IdentityPanel/steps/index.js.map +1 -1
  191. package/dist/types/src/panels/IdentityPanel/useAgentHandlers.js +7 -11
  192. package/dist/types/src/panels/IdentityPanel/useAgentHandlers.js.map +1 -1
  193. package/dist/types/src/panels/IdentityPanel/useEdgeAgentsHandlers.js +19 -23
  194. package/dist/types/src/panels/IdentityPanel/useEdgeAgentsHandlers.js.map +1 -1
  195. package/dist/types/src/panels/IdentityPanel/useKubeAgentHandlers.js +19 -23
  196. package/dist/types/src/panels/IdentityPanel/useKubeAgentHandlers.js.map +1 -1
  197. package/dist/types/src/panels/JoinPanel/JoinHeading.js +11 -48
  198. package/dist/types/src/panels/JoinPanel/JoinHeading.js.map +1 -1
  199. package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts +2 -3
  200. package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts.map +1 -1
  201. package/dist/types/src/panels/JoinPanel/JoinPanel.js +38 -100
  202. package/dist/types/src/panels/JoinPanel/JoinPanel.js.map +1 -1
  203. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.d.ts +15 -16
  204. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.d.ts.map +1 -1
  205. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.js +25 -45
  206. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.js.map +1 -1
  207. package/dist/types/src/panels/JoinPanel/JoinPanelProps.js +0 -2
  208. package/dist/types/src/panels/JoinPanel/JoinPanelProps.js.map +1 -1
  209. package/dist/types/src/panels/JoinPanel/index.js +2 -18
  210. package/dist/types/src/panels/JoinPanel/index.js.map +1 -1
  211. package/dist/types/src/panels/JoinPanel/joinMachine.js +49 -54
  212. package/dist/types/src/panels/JoinPanel/joinMachine.js.map +1 -1
  213. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.d.ts +1 -2
  214. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.d.ts.map +1 -1
  215. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.js +9 -21
  216. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.js.map +1 -1
  217. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.d.ts +1 -2
  218. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.d.ts.map +1 -1
  219. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.js +14 -58
  220. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.js.map +1 -1
  221. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.d.ts +2 -3
  222. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.d.ts.map +1 -1
  223. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.js +19 -60
  224. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.js.map +1 -1
  225. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.d.ts +2 -2
  226. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.d.ts.map +1 -1
  227. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.js +8 -47
  228. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.js.map +1 -1
  229. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.d.ts +1 -2
  230. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.d.ts.map +1 -1
  231. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.js +22 -73
  232. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.js.map +1 -1
  233. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.d.ts +1 -2
  234. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.d.ts.map +1 -1
  235. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.js +18 -59
  236. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.js.map +1 -1
  237. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.d.ts +1 -2
  238. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.d.ts.map +1 -1
  239. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.js +14 -37
  240. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.js.map +1 -1
  241. package/dist/types/src/panels/JoinPanel/steps/index.js +7 -23
  242. package/dist/types/src/panels/JoinPanel/steps/index.js.map +1 -1
  243. package/dist/types/src/panels/Panels.stories.d.ts +4 -4
  244. package/dist/types/src/panels/Panels.stories.d.ts.map +1 -1
  245. package/dist/types/src/panels/Panels.stories.js +13 -58
  246. package/dist/types/src/panels/Panels.stories.js.map +1 -1
  247. package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts +2 -3
  248. package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts.map +1 -1
  249. package/dist/types/src/panels/SpacePanel/SpacePanel.js +25 -72
  250. package/dist/types/src/panels/SpacePanel/SpacePanel.js.map +1 -1
  251. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts +18 -19
  252. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts.map +1 -1
  253. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.js +96 -126
  254. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.js.map +1 -1
  255. package/dist/types/src/panels/SpacePanel/SpacePanelProps.js +0 -2
  256. package/dist/types/src/panels/SpacePanel/SpacePanelProps.js.map +1 -1
  257. package/dist/types/src/panels/SpacePanel/index.js +2 -18
  258. package/dist/types/src/panels/SpacePanel/index.js.map +1 -1
  259. package/dist/types/src/panels/SpacePanel/spaceMachine.js +9 -13
  260. package/dist/types/src/panels/SpacePanel/spaceMachine.js.map +1 -1
  261. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts +3 -3
  262. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts.map +1 -1
  263. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js +33 -81
  264. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js.map +1 -1
  265. package/dist/types/src/panels/SpacePanel/steps/index.js +1 -17
  266. package/dist/types/src/panels/SpacePanel/steps/index.js.map +1 -1
  267. package/dist/types/src/panels/StatusPanel/StatusPanel.d.ts +1 -2
  268. package/dist/types/src/panels/StatusPanel/StatusPanel.d.ts.map +1 -1
  269. package/dist/types/src/panels/StatusPanel/StatusPanel.js +5 -17
  270. package/dist/types/src/panels/StatusPanel/StatusPanel.js.map +1 -1
  271. package/dist/types/src/panels/StatusPanel/index.js +1 -17
  272. package/dist/types/src/panels/StatusPanel/index.js.map +1 -1
  273. package/dist/types/src/panels/index.js +4 -20
  274. package/dist/types/src/panels/index.js.map +1 -1
  275. package/dist/types/src/playwright/invitations-manager.js +11 -15
  276. package/dist/types/src/playwright/invitations-manager.js.map +1 -1
  277. package/dist/types/src/playwright/invitations.spec.js +64 -66
  278. package/dist/types/src/playwright/invitations.spec.js.map +1 -1
  279. package/dist/types/src/react.js +6 -22
  280. package/dist/types/src/react.js.map +1 -1
  281. package/dist/types/src/steps/ConfirmReset.d.ts +2 -3
  282. package/dist/types/src/steps/ConfirmReset.d.ts.map +1 -1
  283. package/dist/types/src/steps/ConfirmReset.js +23 -70
  284. package/dist/types/src/steps/ConfirmReset.js.map +1 -1
  285. package/dist/types/src/steps/InvitationManager.d.ts +1 -2
  286. package/dist/types/src/steps/InvitationManager.d.ts.map +1 -1
  287. package/dist/types/src/steps/InvitationManager.js +17 -71
  288. package/dist/types/src/steps/InvitationManager.js.map +1 -1
  289. package/dist/types/src/steps/StepProps.js +0 -2
  290. package/dist/types/src/steps/StepProps.js.map +1 -1
  291. package/dist/types/src/steps/index.js +3 -19
  292. package/dist/types/src/steps/index.js.map +1 -1
  293. package/dist/types/src/stories/Invitations.e2e-stories.d.ts +2 -3
  294. package/dist/types/src/stories/Invitations.e2e-stories.d.ts.map +1 -1
  295. package/dist/types/src/stories/Invitations.e2e-stories.js +50 -113
  296. package/dist/types/src/stories/Invitations.e2e-stories.js.map +1 -1
  297. package/dist/types/src/styles/index.js +2 -18
  298. package/dist/types/src/styles/index.js.map +1 -1
  299. package/dist/types/src/styles/invitationStatusStyles.js +31 -37
  300. package/dist/types/src/styles/invitationStatusStyles.js.map +1 -1
  301. package/dist/types/src/styles/panelStyles.js +1 -4
  302. package/dist/types/src/styles/panelStyles.js.map +1 -1
  303. package/dist/types/src/testing/fixtures/identities.js +8 -11
  304. package/dist/types/src/testing/fixtures/identities.js.map +1 -1
  305. package/dist/types/src/testing/fixtures/index.js +2 -18
  306. package/dist/types/src/testing/fixtures/index.js.map +1 -1
  307. package/dist/types/src/testing/fixtures/invitations.js +8 -12
  308. package/dist/types/src/testing/fixtures/invitations.js.map +1 -1
  309. package/dist/types/src/testing/index.js +2 -18
  310. package/dist/types/src/testing/index.js.map +1 -1
  311. package/dist/types/src/testing/scoped-shell-manager.js +1 -5
  312. package/dist/types/src/testing/scoped-shell-manager.js.map +1 -1
  313. package/dist/types/src/testing/shell-manager.js +11 -15
  314. package/dist/types/src/testing/shell-manager.js.map +1 -1
  315. package/dist/types/src/translations/index.js +2 -38
  316. package/dist/types/src/translations/index.js.map +1 -1
  317. package/dist/types/src/translations/locales/en-US.d.ts +2 -0
  318. package/dist/types/src/translations/locales/en-US.d.ts.map +1 -1
  319. package/dist/types/src/translations/locales/en-US.js +7 -7
  320. package/dist/types/src/translations/locales/en-US.js.map +1 -1
  321. package/dist/types/src/types/FailReason.js +0 -2
  322. package/dist/types/src/types/FailReason.js.map +1 -1
  323. package/dist/types/src/types/IInvitation.js +0 -2
  324. package/dist/types/src/types/IInvitation.js.map +1 -1
  325. package/dist/types/src/types/index.js +2 -18
  326. package/dist/types/src/types/index.js.map +1 -1
  327. package/dist/types/src/util/index.js +1 -17
  328. package/dist/types/src/util/index.js.map +1 -1
  329. package/dist/types/src/util/invitationStatusValue.js +11 -14
  330. package/dist/types/src/util/invitationStatusValue.js.map +1 -1
  331. package/package.json +31 -27
  332. package/src/panels/IdentityPanel/IdentityPanel.tsx +22 -8
  333. package/src/panels/IdentityPanel/steps/ProfileForm.tsx +2 -7
  334. package/src/translations/locales/en-US.ts +8 -3
  335. package/dist/bundle/shell.mjs.map +0 -1
  336. package/dist/bundle/shell.umd.js.map +0 -1
  337. package/dist/types/src/playwright/playwright.config.d.ts +0 -3
  338. package/dist/types/src/playwright/playwright.config.d.ts.map +0 -1
  339. package/dist/types/src/playwright/playwright.config.js +0 -18
  340. package/dist/types/src/playwright/playwright.config.js.map +0 -1
  341. /package/src/playwright/{playwright.config.ts → playwright.config.cts} +0 -0
@@ -1,81 +1,32 @@
1
- "use strict";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  //
3
3
  // Copyright 2023 DXOS.org
4
4
  //
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.runShell = void 0;
40
- const react_1 = __importStar(require("react"));
41
- const client_1 = require("react-dom/client");
42
- const client_protocol_1 = require("@dxos/client-protocol");
43
- const react_client_1 = require("@dxos/react-client");
44
- const react_ui_1 = require("@dxos/react-ui");
45
- const react_ui_theme_1 = require("@dxos/react-ui-theme");
46
- const rpc_tunnel_1 = require("@dxos/rpc-tunnel");
47
- const Shell_1 = require("./Shell");
48
- const shell_runtime_1 = require("./shell-runtime");
49
- const translations_1 = require("../../translations");
50
- const runShell = async (config = new react_client_1.Config()) => {
5
+ import { StrictMode } from 'react';
6
+ import { createRoot } from 'react-dom/client';
7
+ import { DEFAULT_CLIENT_CHANNEL, DEFAULT_SHELL_CHANNEL } from '@dxos/client-protocol';
8
+ import { AgentHostingProvider, ClientProvider, ClientServicesProxy, Config, ShellDisplay } from '@dxos/react-client';
9
+ import { Button, Clipboard, Dialog, ThemeProvider, Tooltip, useTranslation } from '@dxos/react-ui';
10
+ import { defaultTx } from '@dxos/react-ui-theme';
11
+ import { createIFramePort } from '@dxos/rpc-tunnel';
12
+ import { Shell } from './Shell';
13
+ import { ShellRuntimeImpl } from './shell-runtime';
14
+ import { osTranslations } from '../../translations';
15
+ export const runShell = async (config = new Config()) => {
51
16
  // If runtime fails to open then the shell will not be openable.
52
- const runtime = new shell_runtime_1.ShellRuntimeImpl((0, rpc_tunnel_1.createIFramePort)({ channel: client_protocol_1.DEFAULT_SHELL_CHANNEL }));
17
+ const runtime = new ShellRuntimeImpl(createIFramePort({ channel: DEFAULT_SHELL_CHANNEL }));
53
18
  await runtime.open();
54
19
  try {
55
- const services = new react_client_1.ClientServicesProxy((0, rpc_tunnel_1.createIFramePort)({ channel: client_protocol_1.DEFAULT_CLIENT_CHANNEL }));
56
- (0, client_1.createRoot)(document.getElementById('root')).render(react_1.default.createElement(react_1.StrictMode, null,
57
- react_1.default.createElement(react_ui_1.ThemeProvider, { tx: react_ui_theme_1.defaultTx, resourceExtensions: [translations_1.osTranslations] },
58
- react_1.default.createElement(react_client_1.ClientProvider, { config: config, services: services, noBanner: true },
59
- react_1.default.createElement(react_ui_1.Clipboard.Provider, null,
60
- react_1.default.createElement(react_ui_1.Tooltip.Provider, null,
61
- react_1.default.createElement(react_client_1.AgentHostingProvider, null,
62
- react_1.default.createElement(Shell_1.Shell, { runtime: runtime }))))))));
20
+ const services = new ClientServicesProxy(createIFramePort({ channel: DEFAULT_CLIENT_CHANNEL }));
21
+ createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx(ThemeProvider, { tx: defaultTx, resourceExtensions: [osTranslations], children: _jsx(ClientProvider, { config: config, services: services, noBanner: true, children: _jsx(Clipboard.Provider, { children: _jsx(Tooltip.Provider, { children: _jsx(AgentHostingProvider, { children: _jsx(Shell, { runtime: runtime }) }) }) }) }) }) }));
63
22
  }
64
23
  catch (_a) {
65
24
  // If shell's client fails to initialize, ensure that the shell is still closeable.
66
- (0, client_1.createRoot)(document.getElementById('root')).render(react_1.default.createElement(react_1.StrictMode, null,
67
- react_1.default.createElement(react_ui_1.ThemeProvider, { tx: react_ui_theme_1.defaultTx, resourceExtensions: [translations_1.osTranslations] },
68
- react_1.default.createElement(Fallback, { onClose: () => runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE }) }))));
25
+ createRoot(document.getElementById('root')).render(_jsx(StrictMode, { children: _jsx(ThemeProvider, { tx: defaultTx, resourceExtensions: [osTranslations], children: _jsx(Fallback, { onClose: () => runtime.setAppContext({ display: ShellDisplay.NONE }) }) }) }));
69
26
  }
70
27
  };
71
- exports.runShell = runShell;
72
28
  const Fallback = ({ onClose }) => {
73
- const { t } = (0, react_ui_1.useTranslation)('os');
74
- return (react_1.default.createElement(react_ui_1.Dialog.Root, { modal: true, open: true, onOpenChange: () => onClose === null || onClose === void 0 ? void 0 : onClose() },
75
- react_1.default.createElement(react_ui_1.Dialog.Overlay, null,
76
- react_1.default.createElement(react_ui_1.Dialog.Content, null,
77
- react_1.default.createElement(react_ui_1.Dialog.Title, null, t('shell fallback title')),
78
- react_1.default.createElement(react_ui_1.Dialog.Close, { asChild: true, onClick: () => onClose === null || onClose === void 0 ? void 0 : onClose() },
79
- react_1.default.createElement(react_ui_1.Button, { variant: 'primary' }, t('close label')))))));
29
+ const { t } = useTranslation('os');
30
+ return (_jsx(Dialog.Root, { modal: true, open: true, onOpenChange: () => onClose === null || onClose === void 0 ? void 0 : onClose(), children: _jsx(Dialog.Overlay, { children: _jsxs(Dialog.Content, { children: [_jsx(Dialog.Title, { children: t('shell fallback title') }), _jsx(Dialog.Close, { asChild: true, onClick: () => onClose === null || onClose === void 0 ? void 0 : onClose(), children: _jsx(Button, { variant: 'primary', children: t('close label') }) })] }) }) }));
80
31
  };
81
32
  //# sourceMappingURL=run-shell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-shell.js","sourceRoot":"","sources":["../../../../../src/composites/Shell/run-shell.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,+CAA0C;AAC1C,6CAA8C;AAE9C,2DAAsF;AACtF,qDA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CAAC,MAAM,CAAE,CAAC,CAAC,MAAM,CACjD,KAAC,UAAU,cACT,KAAC,aAAa,IAAC,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,cAAc,CAAC,YAChE,KAAC,QAAQ,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC,GAAI,GACpE,GACL,CACd,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,EAAE,OAAO,EAA4B,EAAE,EAAE;IACzD,MAAM,EAAE,CAAC,EAAE,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAEnC,OAAO,CACL,KAAC,MAAM,CAAC,IAAI,IAAC,KAAK,QAAC,IAAI,QAAC,YAAY,EAAE,GAAG,EAAE,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,EAAI,YACrD,KAAC,MAAM,CAAC,OAAO,cACb,MAAC,MAAM,CAAC,OAAO,eACb,KAAC,MAAM,CAAC,KAAK,cAAE,CAAC,CAAC,sBAAsB,CAAC,GAAgB,EACxD,KAAC,MAAM,CAAC,KAAK,IAAC,OAAO,QAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,EAAI,YAC9C,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,YAAE,CAAC,CAAC,aAAa,CAAC,GAAU,GACxC,IACA,GACF,GACL,CACf,CAAC;AACJ,CAAC,CAAC"}
@@ -1,23 +1,20 @@
1
- "use strict";
2
1
  //
3
2
  // Copyright 2023 DXOS.org
4
3
  //
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ShellRuntimeImpl = void 0;
7
- const async_1 = require("@dxos/async");
8
- const client_protocol_1 = require("@dxos/client-protocol");
9
- const invariant_1 = require("@dxos/invariant");
10
- const iframe_1 = require("@dxos/protocols/proto/dxos/iframe");
11
- const rpc_1 = require("@dxos/rpc");
4
+ import { Event } from '@dxos/async';
5
+ import { appServiceBundle, shellServiceBundle } from '@dxos/client-protocol';
6
+ import { invariant } from '@dxos/invariant';
7
+ import { ShellLayout, } from '@dxos/protocols/proto/dxos/iframe';
8
+ import { createProtoRpcPeer } from '@dxos/rpc';
12
9
  /**
13
10
  * Endpoint that handles shell services.
14
11
  */
15
- class ShellRuntimeImpl {
12
+ export class ShellRuntimeImpl {
16
13
  constructor(_port) {
17
14
  this._port = _port;
18
- this.layoutUpdate = new async_1.Event();
19
- this.invitationUrlUpdate = new async_1.Event();
20
- this._layout = iframe_1.ShellLayout.DEFAULT;
15
+ this.layoutUpdate = new Event();
16
+ this.invitationUrlUpdate = new Event();
17
+ this._layout = ShellLayout.DEFAULT;
21
18
  this._invitationUrl = typeof window !== 'undefined' ? window.location.origin : undefined;
22
19
  // TODO(burdon): Change to using underscores (coordinate with @dxos/web-auth).
23
20
  this._deviceInvitationParam = 'deviceInvitationCode'; // TODO(burdon): device_invitation_code
@@ -59,13 +56,13 @@ class ShellRuntimeImpl {
59
56
  this.invitationUrlUpdate.emit({ invitationUrl, deviceInvitationParam, spaceInvitationParam });
60
57
  }
61
58
  async setAppContext(context) {
62
- (0, invariant_1.invariant)(this._appRpc, 'runtime not open');
59
+ invariant(this._appRpc, 'runtime not open');
63
60
  await this._appRpc.rpc.AppService.setContext(context);
64
61
  }
65
62
  async open() {
66
- this._appRpc = (0, rpc_1.createProtoRpcPeer)({
67
- requested: client_protocol_1.appServiceBundle,
68
- exposed: client_protocol_1.shellServiceBundle,
63
+ this._appRpc = createProtoRpcPeer({
64
+ requested: appServiceBundle,
65
+ exposed: shellServiceBundle,
69
66
  handlers: {
70
67
  ShellService: {
71
68
  setLayout: async (request) => {
@@ -93,5 +90,4 @@ class ShellRuntimeImpl {
93
90
  this._appRpc = undefined;
94
91
  }
95
92
  }
96
- exports.ShellRuntimeImpl = ShellRuntimeImpl;
97
93
  //# sourceMappingURL=shell-runtime.js.map
@@ -1 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,oBAAoB,CAAC;wBAC1D,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;oBACzC,CAAC;iBACF;aACF;YACD,IAAI,EAAE,IAAI,CAAC,KAAK;SACjB,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,KAAK;;QACT,MAAM,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAA,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;IAC3B,CAAC;CACF"}
@@ -1,7 +1,6 @@
1
- import React from 'react';
2
1
  import { type DialogContentProps } from '@dxos/react-ui';
3
2
  import { type SpacePanelProps } from '../../panels';
4
3
  export interface SpaceDialogProps extends Omit<DialogContentProps, 'children'>, Omit<SpacePanelProps, 'doneActionParent'> {
5
4
  }
6
- export declare const SpaceDialog: (spacePanelProps: SpaceDialogProps) => React.JSX.Element;
5
+ export declare const SpaceDialog: (spacePanelProps: SpaceDialogProps) => import("react/jsx-runtime").JSX.Element;
7
6
  //# sourceMappingURL=SpaceDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/SpaceDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,KAAK,kBAAkB,EAAS,MAAM,gBAAgB,CAAC;AAEnF,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAC1C,IAAI,CAAC,eAAe,EAAE,kBAAkB,CAAC;CAAG;AAEhD,eAAO,MAAM,WAAW,oBAAqB,gBAAgB,sBAqB5D,CAAC"}
1
+ {"version":3,"file":"SpaceDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/SpaceDialog.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAqB,KAAK,kBAAkB,EAAS,MAAM,gBAAgB,CAAC;AAEnF,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAC1C,IAAI,CAAC,eAAe,EAAE,kBAAkB,CAAC;CAAG;AAEhD,eAAO,MAAM,WAAW,oBAAqB,gBAAgB,4CAqB5D,CAAC"}
@@ -1,25 +1,10 @@
1
- "use strict";
2
- //
3
- // Copyright 2023 DXOS.org
4
- //
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.SpaceDialog = void 0;
10
- const react_1 = __importDefault(require("react"));
11
- const react_ui_1 = require("@dxos/react-ui");
12
- const panels_1 = require("../../panels");
13
- const SpaceDialog = (spacePanelProps) => {
14
- const titleId = (0, react_ui_1.useId)('spaceDialog__title');
15
- return (react_1.default.createElement(react_ui_1.Dialog.Root, { defaultOpen: true, onOpenChange: (open) => { var _a; return open || ((_a = spacePanelProps.onDone) === null || _a === void 0 ? void 0 : _a.call(spacePanelProps)); } },
16
- react_1.default.createElement(react_ui_1.Dialog.Portal, null,
17
- react_1.default.createElement(react_ui_1.Dialog.Overlay, null,
18
- react_1.default.createElement(react_ui_1.Dialog.Content, { "aria-labelledby": titleId },
19
- react_1.default.createElement(react_ui_1.Clipboard.Provider, null,
20
- react_1.default.createElement(panels_1.SpacePanel, { ...spacePanelProps,
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Clipboard, Dialog, useId } from '@dxos/react-ui';
3
+ import { SpacePanel } from '../../panels';
4
+ export const SpaceDialog = (spacePanelProps) => {
5
+ const titleId = useId('spaceDialog__title');
6
+ return (_jsx(Dialog.Root, { defaultOpen: true, onOpenChange: (open) => { var _a; return open || ((_a = spacePanelProps.onDone) === null || _a === void 0 ? void 0 : _a.call(spacePanelProps)); }, children: _jsx(Dialog.Portal, { children: _jsx(Dialog.Overlay, { children: _jsx(Dialog.Content, { "aria-labelledby": titleId, children: _jsx(Clipboard.Provider, { children: _jsx(SpacePanel, { ...spacePanelProps,
21
7
  titleId,
22
- doneActionParent: react_1.default.createElement(react_ui_1.Dialog.Close, { asChild: true }) })))))));
8
+ doneActionParent: _jsx(Dialog.Close, { asChild: true }) }) }) }) }) }) }));
23
9
  };
24
- exports.SpaceDialog = SpaceDialog;
25
10
  //# sourceMappingURL=SpaceDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceDialog.js","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/SpaceDialog.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,kDAA0B;AAE1B,6CAAmF;AAEnF,yCAAgE;AAMzD,MAAM,WAAW,GAAG,CAAC,eAAiC,EAAE,EAAE;IAC/D,MAAM,OAAO,GAAG,IAAA,gBAAK,EAAC,oBAAoB,CAAC,CAAC;IAC5C,OAAO,CACL,8BAAC,iBAAM,CAAC,IAAI,IAAC,WAAW,QAAC,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,IAAI,KAAI,MAAA,eAAe,CAAC,MAAM,+DAAI,CAAA,CAAA,EAAA;QACjF,8BAAC,iBAAM,CAAC,MAAM;YACZ,8BAAC,iBAAM,CAAC,OAAO;gBACb,8BAAC,iBAAM,CAAC,OAAO,uBAAkB,OAAO;oBACtC,8BAAC,oBAAS,CAAC,QAAQ;wBACjB,8BAAC,mBAAU,IAEP,GAAG,eAAe;4BAClB,OAAO;4BACP,gBAAgB,EAAE,8BAAC,iBAAM,CAAC,KAAK,IAAC,OAAO,SAAG,GAE5C,CACiB,CACN,CACF,CACH,CACJ,CACf,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,WAAW,eAqBtB"}
1
+ {"version":3,"file":"SpaceDialog.js","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/SpaceDialog.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,EAA2B,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAwB,MAAM,cAAc,CAAC;AAMhE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,eAAiC,EAAE,EAAE;IAC/D,MAAM,OAAO,GAAG,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAC5C,OAAO,CACL,KAAC,MAAM,CAAC,IAAI,IAAC,WAAW,QAAC,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,IAAI,KAAI,MAAA,eAAe,CAAC,MAAM,+DAAI,CAAA,CAAA,EAAA,YACjF,KAAC,MAAM,CAAC,MAAM,cACZ,KAAC,MAAM,CAAC,OAAO,cACb,KAAC,MAAM,CAAC,OAAO,uBAAkB,OAAO,YACtC,KAAC,SAAS,CAAC,QAAQ,cACjB,KAAC,UAAU,IAEP,GAAG,eAAe;4BAClB,OAAO;4BACP,gBAAgB,EAAE,KAAC,MAAM,CAAC,KAAK,IAAC,OAAO,SAAG,GAE5C,GACiB,GACN,GACF,GACH,GACJ,CACf,CAAC;AACJ,CAAC,CAAC"}
@@ -1,21 +1,5 @@
1
- "use strict";
2
1
  //
3
2
  // Copyright 2023 DXOS.org
4
3
  //
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- __exportStar(require("./SpaceDialog"), exports);
4
+ export * from './SpaceDialog';
21
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,cAAc,eAAe,CAAC"}
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- export declare const StatusDialog: () => React.JSX.Element;
1
+ export declare const StatusDialog: () => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=StatusDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/StatusDialog/StatusDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,YAAY,yBAaxB,CAAC"}
1
+ {"version":3,"file":"StatusDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/StatusDialog/StatusDialog.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY,+CAaxB,CAAC"}
@@ -1,22 +1,8 @@
1
- "use strict";
2
- //
3
- // Copyright 2023 DXOS.org
4
- //
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { AlertDialog, useId } from '@dxos/react-ui';
3
+ import { StatusPanel } from '../../panels';
4
+ export const StatusDialog = () => {
5
+ const titleId = useId('statusDialog__title');
6
+ return (_jsx(AlertDialog.Root, { open: true, children: _jsx(AlertDialog.Portal, { children: _jsx(AlertDialog.Overlay, { children: _jsx(AlertDialog.Content, { "aria-labelledby": titleId, children: _jsx(StatusPanel, { titleId: titleId }) }) }) }) }));
7
7
  };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.StatusDialog = void 0;
10
- const react_1 = __importDefault(require("react"));
11
- const react_ui_1 = require("@dxos/react-ui");
12
- const panels_1 = require("../../panels");
13
- const StatusDialog = () => {
14
- const titleId = (0, react_ui_1.useId)('statusDialog__title');
15
- return (react_1.default.createElement(react_ui_1.AlertDialog.Root, { open: true },
16
- react_1.default.createElement(react_ui_1.AlertDialog.Portal, null,
17
- react_1.default.createElement(react_ui_1.AlertDialog.Overlay, null,
18
- react_1.default.createElement(react_ui_1.AlertDialog.Content, { "aria-labelledby": titleId },
19
- react_1.default.createElement(panels_1.StatusPanel, { titleId: titleId }))))));
20
- };
21
- exports.StatusDialog = StatusDialog;
22
8
  //# sourceMappingURL=StatusDialog.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusDialog.js","sourceRoot":"","sources":["../../../../../src/composites/StatusDialog/StatusDialog.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,kDAA0B;AAE1B,6CAAoD;AAEpD,yCAA2C;AAEpC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC/B,MAAM,OAAO,GAAG,IAAA,gBAAK,EAAC,qBAAqB,CAAC,CAAC;IAC7C,OAAO,CACL,8BAAC,sBAAW,CAAC,IAAI,IAAC,IAAI;QACpB,8BAAC,sBAAW,CAAC,MAAM;YACjB,8BAAC,sBAAW,CAAC,OAAO;gBAClB,8BAAC,sBAAW,CAAC,OAAO,uBAAkB,OAAO;oBAC3C,8BAAC,oBAAW,IAAC,OAAO,EAAE,OAAO,GAAI,CACb,CACF,CACH,CACJ,CACpB,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,YAAY,gBAavB"}
1
+ {"version":3,"file":"StatusDialog.js","sourceRoot":"","sources":["../../../../../src/composites/StatusDialog/StatusDialog.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC/B,MAAM,OAAO,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC7C,OAAO,CACL,KAAC,WAAW,CAAC,IAAI,IAAC,IAAI,kBACpB,KAAC,WAAW,CAAC,MAAM,cACjB,KAAC,WAAW,CAAC,OAAO,cAClB,KAAC,WAAW,CAAC,OAAO,uBAAkB,OAAO,YAC3C,KAAC,WAAW,IAAC,OAAO,EAAE,OAAO,GAAI,GACb,GACF,GACH,GACJ,CACpB,CAAC;AACJ,CAAC,CAAC"}
@@ -1,21 +1,5 @@
1
- "use strict";
2
1
  //
3
2
  // Copyright 2024 DXOS.org
4
3
  //
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- __exportStar(require("./StatusDialog"), exports);
4
+ export * from './StatusDialog';
21
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/StatusDialog/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/StatusDialog/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,cAAc,gBAAgB,CAAC"}
@@ -1,24 +1,8 @@
1
- "use strict";
2
1
  //
3
2
  // Copyright 2022 DXOS.org
4
3
  //
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
- };
19
- Object.defineProperty(exports, "__esModule", { value: true });
20
- __exportStar(require("./IdentityDialog"), exports);
21
- __exportStar(require("./JoinDialog"), exports);
22
- __exportStar(require("./Shell"), exports);
23
- __exportStar(require("./SpaceDialog"), exports);
4
+ export * from './IdentityDialog';
5
+ export * from './JoinDialog';
6
+ export * from './Shell';
7
+ export * from './SpaceDialog';
24
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/composites/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,mDAAiC;AACjC,+CAA6B;AAC7B,0CAAwB;AACxB,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/composites/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
@@ -1,10 +1,6 @@
1
- "use strict";
2
1
  //
3
2
  // Copyright 2023 DXOS.org
4
3
  //
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.runShell = void 0;
7
- require("@dxos-theme");
8
- var composites_1 = require("./composites");
9
- Object.defineProperty(exports, "runShell", { enumerable: true, get: function () { return composites_1.runShell; } });
4
+ import '@dxos-theme';
5
+ export { runShell } from './composites';
10
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uBAAqB;AAErB,2CAAwC;AAA/B,sGAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  import { type IdentityPanelImplProps, type IdentityPanelProps } from './IdentityPanelProps';
3
- export declare const IdentityPanelImpl: (props: IdentityPanelImplProps) => React.JSX.Element;
4
- export declare const IdentityPanel: ({ titleId: propsTitleId, createInvitationUrl, initialDisposition, ...props }: IdentityPanelProps) => React.JSX.Element | null;
2
+ export declare const IdentityPanelImpl: (props: IdentityPanelImplProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const IdentityPanel: ({ titleId: propsTitleId, createInvitationUrl, initialDisposition, ...props }: IdentityPanelProps) => import("react/jsx-runtime").JSX.Element | null;
5
4
  //# sourceMappingURL=IdentityPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/IdentityPanel/IdentityPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAc5D,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACxB,MAAM,sBAAsB,CAAC;AAuH9B,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,sBA4F9D,CAAC;AAUF,eAAO,MAAM,aAAa,iFAKvB,kBAAkB,6BAoEpB,CAAC"}
1
+ {"version":3,"file":"IdentityPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/IdentityPanel/IdentityPanel.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACxB,MAAM,sBAAsB,CAAC;AAoI9B,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,4CA4F9D,CAAC;AAUF,eAAO,MAAM,aAAa,iFAKvB,kBAAkB,mDAoEpB,CAAC"}