@dxos/react-ui 0.1.25 → 0.1.27-next.a0dff21

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 (142) hide show
  1. package/dist/lib/browser/index.mjs +1021 -472
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/types/src/components/IdentityList/DeviceList.d.ts +7 -0
  5. package/dist/types/src/components/IdentityList/DeviceList.d.ts.map +1 -0
  6. package/dist/types/src/components/IdentityList/IdentityListItem.d.ts +4 -3
  7. package/dist/types/src/components/IdentityList/IdentityListItem.d.ts.map +1 -1
  8. package/dist/types/src/components/IdentityList/IdentityListItem.stories.d.ts +3 -2
  9. package/dist/types/src/components/IdentityList/IdentityListItem.stories.d.ts.map +1 -1
  10. package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts +3 -2
  11. package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts.map +1 -1
  12. package/dist/types/src/components/IdentityList/SpaceMemberListContainer.d.ts +3 -1
  13. package/dist/types/src/components/IdentityList/SpaceMemberListContainer.d.ts.map +1 -1
  14. package/dist/types/src/components/IdentityList/index.d.ts +1 -0
  15. package/dist/types/src/components/IdentityList/index.d.ts.map +1 -1
  16. package/dist/types/src/components/InvitationList/InvitationList.d.ts.map +1 -1
  17. package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +1 -1
  18. package/dist/types/src/components/InvitationList/InvitationStatusAvatar.d.ts +6 -1
  19. package/dist/types/src/components/InvitationList/InvitationStatusAvatar.d.ts.map +1 -1
  20. package/dist/types/src/components/InvitationList/InvitationStatusAvatar.stories.d.ts +1 -1
  21. package/dist/types/src/components/SpaceList/SpaceListItem.d.ts +7 -0
  22. package/dist/types/src/components/SpaceList/SpaceListItem.d.ts.map +1 -0
  23. package/dist/types/src/components/SpaceList/index.d.ts +2 -0
  24. package/dist/types/src/components/SpaceList/index.d.ts.map +1 -0
  25. package/dist/types/src/components/index.d.ts +1 -0
  26. package/dist/types/src/components/index.d.ts.map +1 -1
  27. package/dist/types/src/composites/DevicesDialog/DevicesDialog.d.ts +6 -0
  28. package/dist/types/src/composites/DevicesDialog/DevicesDialog.d.ts.map +1 -0
  29. package/dist/types/src/composites/DevicesDialog/index.d.ts +2 -0
  30. package/dist/types/src/composites/DevicesDialog/index.d.ts.map +1 -0
  31. package/dist/types/src/composites/IdentityPopover/IdentityPopover.d.ts +2 -2
  32. package/dist/types/src/composites/IdentityPopover/IdentityPopover.d.ts.map +1 -1
  33. package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts +1 -1
  34. package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts.map +1 -1
  35. package/dist/types/src/composites/JoinDialog/JoinDialog.stories.d.ts +2 -2
  36. package/dist/types/src/composites/JoinDialog/JoinDialog.stories.d.ts.map +1 -1
  37. package/dist/types/src/composites/Shell/Shell.d.ts +6 -0
  38. package/dist/types/src/composites/Shell/Shell.d.ts.map +1 -0
  39. package/dist/types/src/composites/Shell/index.d.ts +2 -0
  40. package/dist/types/src/composites/Shell/index.d.ts.map +1 -0
  41. package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts +6 -0
  42. package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts.map +1 -0
  43. package/dist/types/src/composites/SpaceDialog/index.d.ts +2 -0
  44. package/dist/types/src/composites/SpaceDialog/index.d.ts.map +1 -0
  45. package/dist/types/src/composites/index.d.ts +2 -0
  46. package/dist/types/src/composites/index.d.ts.map +1 -1
  47. package/dist/types/src/layouts/PanelAlertDialog/PanelAlertDialog.d.ts.map +1 -1
  48. package/dist/types/src/layouts/PanelDialog/PanelDialog.d.ts +14 -0
  49. package/dist/types/src/layouts/PanelDialog/PanelDialog.d.ts.map +1 -0
  50. package/dist/types/src/layouts/PanelDialog/index.d.ts +2 -0
  51. package/dist/types/src/layouts/PanelDialog/index.d.ts.map +1 -0
  52. package/dist/types/src/layouts/index.d.ts +1 -0
  53. package/dist/types/src/layouts/index.d.ts.map +1 -1
  54. package/dist/types/src/panels/DevicesPanel/DevicesPanel.d.ts +10 -0
  55. package/dist/types/src/panels/DevicesPanel/DevicesPanel.d.ts.map +1 -0
  56. package/dist/types/src/panels/DevicesPanel/index.d.ts +2 -0
  57. package/dist/types/src/panels/DevicesPanel/index.d.ts.map +1 -0
  58. package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts +2 -2
  59. package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts.map +1 -1
  60. package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts +3 -0
  61. package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts.map +1 -1
  62. package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts +1 -1
  63. package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts.map +1 -1
  64. package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts +6 -5
  65. package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts.map +1 -1
  66. package/dist/types/src/panels/JoinPanel/view-states/AdditionMethodSelector.d.ts +2 -2
  67. package/dist/types/src/panels/JoinPanel/view-states/AdditionMethodSelector.d.ts.map +1 -1
  68. package/dist/types/src/panels/JoinPanel/view-states/IdentityAdded.d.ts +12 -4
  69. package/dist/types/src/panels/JoinPanel/view-states/IdentityAdded.d.ts.map +1 -1
  70. package/dist/types/src/panels/JoinPanel/view-states/IdentityInput.d.ts.map +1 -1
  71. package/dist/types/src/panels/JoinPanel/view-states/IdentitySelector.d.ts +2 -2
  72. package/dist/types/src/panels/JoinPanel/view-states/IdentitySelector.d.ts.map +1 -1
  73. package/dist/types/src/panels/JoinPanel/view-states/InvitationAccepted.d.ts.map +1 -1
  74. package/dist/types/src/panels/JoinPanel/view-states/InvitationAuthenticator.d.ts.map +1 -1
  75. package/dist/types/src/panels/JoinPanel/view-states/InvitationInput.d.ts.map +1 -1
  76. package/dist/types/src/panels/JoinPanel/view-states/InvitationRescuer.d.ts.map +1 -1
  77. package/dist/types/src/panels/JoinPanel/view-states/ViewState.d.ts +2 -2
  78. package/dist/types/src/panels/JoinPanel/view-states/ViewState.d.ts.map +1 -1
  79. package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts +12 -0
  80. package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts.map +1 -0
  81. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts +9 -0
  82. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts.map +1 -0
  83. package/dist/types/src/panels/SpacePanel/index.d.ts +2 -0
  84. package/dist/types/src/panels/SpacePanel/index.d.ts.map +1 -0
  85. package/dist/types/src/panels/index.d.ts +2 -0
  86. package/dist/types/src/panels/index.d.ts.map +1 -1
  87. package/dist/types/src/styles/dialogStyles.d.ts +3 -0
  88. package/dist/types/src/styles/dialogStyles.d.ts.map +1 -0
  89. package/dist/types/src/styles/index.d.ts +1 -0
  90. package/dist/types/src/styles/index.d.ts.map +1 -1
  91. package/dist/types/src/translations/locales/en-US.d.ts +12 -1
  92. package/dist/types/src/translations/locales/en-US.d.ts.map +1 -1
  93. package/package.json +12 -11
  94. package/src/components/IdentityList/DeviceList.tsx +31 -0
  95. package/src/components/IdentityList/IdentityListItem.tsx +17 -5
  96. package/src/components/IdentityList/SpaceMemberList.tsx +10 -8
  97. package/src/components/IdentityList/SpaceMemberListContainer.tsx +7 -6
  98. package/src/components/IdentityList/index.ts +1 -0
  99. package/src/components/InvitationList/InvitationList.stories.tsx +1 -1
  100. package/src/components/InvitationList/InvitationList.tsx +12 -6
  101. package/src/components/InvitationList/InvitationListItem.tsx +30 -25
  102. package/src/components/InvitationList/InvitationStatusAvatar.tsx +10 -5
  103. package/src/components/SpaceList/SpaceListItem.tsx +32 -0
  104. package/src/components/SpaceList/index.ts +5 -0
  105. package/src/components/index.ts +1 -0
  106. package/src/composites/DevicesDialog/DevicesDialog.tsx +38 -0
  107. package/src/composites/DevicesDialog/index.ts +5 -0
  108. package/src/composites/IdentityPopover/IdentityPopover.tsx +3 -3
  109. package/src/composites/JoinDialog/JoinDialog.stories.tsx +59 -58
  110. package/src/composites/JoinDialog/JoinDialog.tsx +3 -1
  111. package/src/composites/Shell/Shell.tsx +86 -0
  112. package/src/composites/Shell/index.ts +5 -0
  113. package/src/composites/SpaceDialog/SpaceDialog.tsx +38 -0
  114. package/src/composites/SpaceDialog/index.ts +5 -0
  115. package/src/composites/index.ts +3 -0
  116. package/src/layouts/PanelAlertDialog/PanelAlertDialog.tsx +4 -8
  117. package/src/layouts/PanelDialog/PanelDialog.tsx +39 -0
  118. package/src/layouts/PanelDialog/index.ts +5 -0
  119. package/src/layouts/PanelSidebar/PanelSidebar.tsx +1 -1
  120. package/src/layouts/index.ts +1 -0
  121. package/src/panels/DevicesPanel/DevicesPanel.tsx +101 -0
  122. package/src/panels/DevicesPanel/index.ts +5 -0
  123. package/src/panels/IdentityPanel/IdentityPanel.tsx +5 -5
  124. package/src/panels/JoinPanel/JoinHeading.tsx +38 -16
  125. package/src/panels/JoinPanel/JoinPanel.tsx +35 -14
  126. package/src/panels/JoinPanel/JoinPanelProps.ts +6 -10
  127. package/src/panels/JoinPanel/view-states/AdditionMethodSelector.tsx +8 -2
  128. package/src/panels/JoinPanel/view-states/IdentityAdded.tsx +67 -28
  129. package/src/panels/JoinPanel/view-states/IdentityInput.tsx +9 -2
  130. package/src/panels/JoinPanel/view-states/IdentitySelector.tsx +8 -6
  131. package/src/panels/JoinPanel/view-states/InvitationAccepted.tsx +1 -0
  132. package/src/panels/JoinPanel/view-states/InvitationAuthenticator.tsx +4 -1
  133. package/src/panels/JoinPanel/view-states/InvitationInput.tsx +8 -1
  134. package/src/panels/JoinPanel/view-states/InvitationRescuer.tsx +4 -1
  135. package/src/panels/JoinPanel/view-states/ViewState.tsx +3 -3
  136. package/src/panels/SpacePanel/SpacePanel.stories.tsx +53 -0
  137. package/src/panels/SpacePanel/SpacePanel.tsx +90 -0
  138. package/src/panels/SpacePanel/index.ts +5 -0
  139. package/src/panels/index.ts +2 -0
  140. package/src/styles/dialogStyles.ts +8 -0
  141. package/src/styles/index.ts +1 -0
  142. package/src/translations/locales/en-US.ts +14 -3
@@ -1,3 +1,5 @@
1
1
  export * from './IdentityPopover';
2
2
  export * from './JoinDialog';
3
+ export * from './Shell';
4
+ export * from './SpaceDialog';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/index.ts"],"names":[],"mappings":"AAGA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PanelAlertDialog.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelAlertDialog/PanelAlertDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI3E,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC;IACxD,OAAO,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9D,OAAO,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9D,OAAO,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;CAC/D;AAED,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB,iCAAuC,qBAAqB,gBAsBxF,CAAC"}
1
+ {"version":3,"file":"PanelAlertDialog.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelAlertDialog/PanelAlertDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAC5D,OAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM3E,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC;IACxD,OAAO,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9D,OAAO,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9D,OAAO,EAAE,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;CAC/D;AAED,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACxC,CAAC,CAAC;AAEH,eAAO,MAAM,gBAAgB,iCAAuC,qBAAqB,gBAgBxF,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as Dialog from '@radix-ui/react-dialog';
2
+ import { ComponentPropsWithoutRef, PropsWithChildren } from 'react';
3
+ export interface PanelDialogSlots {
4
+ root: ComponentPropsWithoutRef<typeof Dialog.Root>;
5
+ overlay: ComponentPropsWithoutRef<typeof Dialog.Overlay>;
6
+ content: ComponentPropsWithoutRef<typeof Dialog.Content>;
7
+ trigger: ComponentPropsWithoutRef<typeof Dialog.Trigger>;
8
+ }
9
+ export declare type PanelDialogProps = PropsWithChildren<{
10
+ titleId: string;
11
+ slots?: Partial<PanelDialogSlots>;
12
+ }>;
13
+ export declare const PanelDialog: ({ titleId, slots, children }: PanelDialogProps) => JSX.Element;
14
+ //# sourceMappingURL=PanelDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanelDialog.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelDialog/PanelDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAc,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM3E,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,wBAAwB,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;IACnD,OAAO,EAAE,wBAAwB,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;IACzD,OAAO,EAAE,wBAAwB,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;IACzD,OAAO,EAAE,wBAAwB,CAAC,OAAO,MAAM,CAAC,OAAO,CAAC,CAAC;CAC1D;AAED,oBAAY,gBAAgB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;CACnC,CAAC,CAAC;AAEH,eAAO,MAAM,WAAW,iCAAuC,gBAAgB,gBAe9E,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './PanelDialog';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './PanelPopover';
2
2
  export * from './PanelSidebar';
3
3
  export * from './PanelAlertDialog';
4
+ export * from './PanelDialog';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { cloneElement } from 'react';
2
+ export declare type DevicesPanelProps = {
3
+ titleId?: string;
4
+ createInvitationUrl: (invitationCode: string) => string;
5
+ doneActionParent?: Parameters<typeof cloneElement>[0];
6
+ onDone?: () => void;
7
+ };
8
+ export declare type DevicesView = 'device list';
9
+ export declare const DevicesPanel: (props: DevicesPanelProps) => JSX.Element;
10
+ //# sourceMappingURL=DevicesPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DevicesPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/DevicesPanel/DevicesPanel.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,YAAY,EAAc,MAAM,OAAO,CAAC;AAQxD,oBAAY,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;IACxD,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,WAAW,GAAG,aAAa,CAAC;AA6DxC,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAmBpD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './DevicesPanel';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/panels/DevicesPanel/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { Profile } from '@dxos/client';
1
+ import type { Identity } from '@dxos/client';
2
2
  export declare const IdentityPanel: ({ identity, onClickManageProfile }: {
3
- identity: Profile;
3
+ identity: Identity;
4
4
  onClickManageProfile?: (() => void) | undefined;
5
5
  }) => JSX.Element;
6
6
  //# 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,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAI5C,eAAO,MAAM,aAAa;cAId,OAAO;kCACY,IAAI;iBAwBlC,CAAC"}
1
+ {"version":3,"file":"IdentityPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/IdentityPanel/IdentityPanel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI7C,eAAO,MAAM,aAAa;cAId,QAAQ;kCACW,IAAI;iBAwBlC,CAAC"}
@@ -1,10 +1,13 @@
1
1
  import React, { cloneElement } from 'react';
2
2
  import { AuthenticatingInvitationObservable } from '@dxos/client';
3
+ import { JoinPanelMode } from './JoinPanelProps';
3
4
  export interface JoinSpaceHeadingProps {
5
+ mode?: JoinPanelMode;
4
6
  titleId: string;
5
7
  invitation?: AuthenticatingInvitationObservable;
6
8
  onExit?: () => void;
7
9
  exitActionParent?: Parameters<typeof cloneElement>[0];
10
+ preventExit?: boolean;
8
11
  }
9
12
  export declare const JoinHeading: React.ForwardRefExoticComponent<JoinSpaceHeadingProps & React.RefAttributes<HTMLDivElement>>;
10
13
  //# sourceMappingURL=JoinHeading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JoinHeading.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/JoinHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,YAAY,EAA4B,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,kCAAkC,EAAE,MAAM,cAAc,CAAC;AAMlE,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,kCAAkC,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;CACvD;AAED,eAAO,MAAM,WAAW,8FAqCvB,CAAC"}
1
+ {"version":3,"file":"JoinHeading.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/JoinHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,YAAY,EAA4B,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,kCAAkC,EAAE,MAAM,cAAc,CAAC;AAKlE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,kCAAkC,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,WAAW,8FAwDvB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { JoinPanelProps } from './JoinPanelProps';
2
- export declare const JoinPanel: ({ initialInvitationCode, titleId: propsTitleId, exitActionParent, onExit, doneActionParent, onDone }: JoinPanelProps) => JSX.Element;
2
+ export declare const JoinPanel: ({ mode, initialInvitationCode, titleId: propsTitleId, exitActionParent, onExit, doneActionParent, onDone, preventExit }: JoinPanelProps) => JSX.Element;
3
3
  //# sourceMappingURL=JoinPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JoinPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/JoinPanel.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAc,cAAc,EAAa,MAAM,kBAAkB,CAAC;AAYzE,eAAO,MAAM,SAAS,yGAOnB,cAAc,gBAgRhB,CAAC"}
1
+ {"version":3,"file":"JoinPanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/JoinPanel.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAc,cAAc,EAAa,MAAM,kBAAkB,CAAC;AAYzE,eAAO,MAAM,SAAS,4HASnB,cAAc,gBAmShB,CAAC"}
@@ -1,20 +1,21 @@
1
1
  import { cloneElement, Dispatch } from 'react';
2
- import type { AuthenticatingInvitationObservable, Profile as NaturalProfile, Space as NaturalSpace } from '@dxos/client';
2
+ import type { AuthenticatingInvitationObservable, Identity } from '@dxos/client';
3
3
  import { InvitationResult } from '@dxos/react-client';
4
- export declare type Space = Pick<NaturalSpace, 'properties'>;
5
- export declare type Profile = Pick<NaturalProfile, 'displayName' | 'identityKey'>;
4
+ export declare type JoinPanelMode = 'default' | 'halo-only';
6
5
  export interface JoinPanelProps {
6
+ mode?: JoinPanelMode;
7
7
  initialInvitationCode?: string;
8
8
  titleId?: string;
9
9
  exitActionParent?: Parameters<typeof cloneElement>[0];
10
10
  onExit?: () => void;
11
+ preventExit?: boolean;
11
12
  doneActionParent?: Parameters<typeof cloneElement>[0];
12
13
  onDone?: (result: InvitationResult | null) => void;
13
14
  parseInvitationCodeInput?: (invitationCodeInput: string) => string;
14
15
  }
15
16
  export interface IdentityAction {
16
17
  type: 'select identity' | 'added identity';
17
- identity: Profile;
18
+ identity: Identity;
18
19
  }
19
20
  export interface EmptyJoinAction {
20
21
  type: 'deselect identity' | 'cancel addition' | 'add identity';
@@ -47,7 +48,7 @@ export interface JoinState {
47
48
  haloInvitation?: AuthenticatingInvitationObservable;
48
49
  haloViewState: InvitationView;
49
50
  haloInvitationAnnotation?: 'authenticating' | 'authentication failed';
50
- selectedIdentity?: Profile;
51
+ selectedIdentity?: Identity;
51
52
  additionMethod?: AdditionMethodAction['method'];
52
53
  }
53
54
  //# sourceMappingURL=JoinPanelProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"JoinPanelProps.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/JoinPanelProps.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"JoinPanelProps.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/JoinPanelProps.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,kCAAkC,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,oBAAY,aAAa,GAAG,SAAS,GAAG,WAAW,CAAC;AAEpD,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,wBAAwB,CAAC,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,MAAM,CAAC;CACpE;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;IAC3C,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,mBAAmB,GAAG,iBAAiB,GAAG,cAAc,CAAC;CAChE;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EACA,2BAA2B,GAC3B,yBAAyB,GACzB,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,iBAAiB,GACjB,qBAAqB,GACrB,oBAAoB,GACpB,kBAAkB,CAAC;IACvB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,uBAAuB,CAAC;IAC9B,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,UAAU,EAAE,kCAAkC,CAAC;CAChD;AAED,oBAAY,gBAAgB,GAAG,qBAAqB,GAAG,oBAAoB,CAAC;AAE5E,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,MAAM,EAAE,kBAAkB,GAAG,0BAA0B,GAAG,iBAAiB,CAAC;CAC7E;AAED,oBAAY,UAAU,GAAG,cAAc,GAAG,eAAe,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;AAEpG,oBAAY,YAAY,GAAG,QAAQ,CAAC,UAAU,CAAC,CAAC;AAEhD,oBAAY,cAAc,GACtB,kBAAkB,GAClB,oBAAoB,GACpB,0BAA0B,GAC1B,qBAAqB,CAAC;AAE1B,oBAAY,QAAQ,GAChB,mBAAmB,GACnB,0BAA0B,GAC1B,gBAAgB,GAChB,gBAAgB,GAChB,2BAA2B,GAC3B,0BAA0B,CAAC;AAE/B,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,QAAQ,CAAC;IACrB,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,eAAe,CAAC,EAAE,kCAAkC,CAAC;IACrD,cAAc,EAAE,cAAc,CAAC;IAC/B,yBAAyB,CAAC,EAAE,gBAAgB,GAAG,uBAAuB,CAAC;IACvE,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,cAAc,CAAC,EAAE,kCAAkC,CAAC;IACpD,aAAa,EAAE,cAAc,CAAC;IAC9B,wBAAwB,CAAC,EAAE,gBAAgB,GAAG,uBAAuB,CAAC;IACtE,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,cAAc,CAAC,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD"}
@@ -1,7 +1,7 @@
1
- import { Profile } from '../JoinPanelProps';
1
+ import type { Identity } from '@dxos/client';
2
2
  import { ViewStateProps } from './ViewState';
3
3
  export interface AdditionMethodSelectorProps extends ViewStateProps {
4
- availableIdentities: Profile[];
4
+ availableIdentities: Identity[];
5
5
  }
6
6
  export declare const AdditionMethodSelector: ({ availableIdentities, ...viewStateProps }: AdditionMethodSelectorProps) => JSX.Element;
7
7
  //# sourceMappingURL=AdditionMethodSelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AdditionMethodSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/AdditionMethodSelector.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,2BAA4B,SAAQ,cAAc;IACjE,mBAAmB,EAAE,OAAO,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,sBAAsB,+CAAgD,2BAA2B,gBAoD7G,CAAC"}
1
+ {"version":3,"file":"AdditionMethodSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/AdditionMethodSelector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,2BAA4B,SAAQ,cAAc;IACjE,mBAAmB,EAAE,QAAQ,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,sBAAsB,+CAAgD,2BAA2B,gBA0D7G,CAAC"}
@@ -1,7 +1,15 @@
1
- import type { Profile } from '@dxos/client';
1
+ import { cloneElement } from 'react';
2
+ import type { Identity } from '@dxos/client';
3
+ import { InvitationResult } from '@dxos/react-client';
4
+ import { JoinPanelMode } from '../JoinPanelProps';
2
5
  import { ViewStateProps } from './ViewState';
3
- export interface IdentityAddedProps extends ViewStateProps {
4
- addedIdentity?: Profile;
6
+ export interface IdentityAddedProps extends ViewStateProps, DoneProps {
7
+ mode?: JoinPanelMode;
8
+ addedIdentity?: Identity;
5
9
  }
6
- export declare const IdentityAdded: ({ addedIdentity, ...viewStateProps }: IdentityAddedProps) => JSX.Element;
10
+ export interface DoneProps extends ViewStateProps {
11
+ doneActionParent?: Parameters<typeof cloneElement>[0];
12
+ onDone?: (result: InvitationResult | null) => void;
13
+ }
14
+ export declare const IdentityAdded: ({ mode, addedIdentity, onDone, doneActionParent, ...viewStateProps }: IdentityAddedProps) => JSX.Element;
7
15
  //# sourceMappingURL=IdentityAdded.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityAdded.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentityAdded.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAG5C,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,kBAAmB,SAAQ,cAAc;IACxD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,aAAa,yCAA0C,kBAAkB,gBA2CrF,CAAC"}
1
+ {"version":3,"file":"IdentityAdded.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentityAdded.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,kBAAmB,SAAQ,cAAc,EAAE,SAAS;IACnE,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,aAAa,CAAC,EAAE,QAAQ,CAAC;CAC1B;AAED,MAAM,WAAW,SAAU,SAAQ,cAAc;IAC/C,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;CACpD;AAuBD,eAAO,MAAM,aAAa,yEAMvB,kBAAkB,gBA+CpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityInput.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentityInput.tsx"],"names":[],"mappings":"AAUA,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,MAAM,EAAE,kBAAkB,GAAG,iBAAiB,CAAC;CAChD;AAED,eAAO,MAAM,aAAa,kCAAmC,oBAAoB,gBAuDhF,CAAC"}
1
+ {"version":3,"file":"IdentityInput.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentityInput.tsx"],"names":[],"mappings":"AAUA,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,MAAM,EAAE,kBAAkB,GAAG,iBAAiB,CAAC;CAChD;AAED,eAAO,MAAM,aAAa,kCAAmC,oBAAoB,gBA8DhF,CAAC"}
@@ -1,7 +1,7 @@
1
- import { Profile } from '../JoinPanelProps';
1
+ import type { Identity } from '@dxos/client';
2
2
  import { ViewStateProps } from './ViewState';
3
3
  export interface IdentitySelectorProps extends ViewStateProps {
4
- availableIdentities: Profile[];
4
+ availableIdentities: Identity[];
5
5
  }
6
6
  export declare const IdentitySelector: ({ availableIdentities, ...viewStateProps }: IdentitySelectorProps) => JSX.Element;
7
7
  //# sourceMappingURL=IdentitySelector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IdentitySelector.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentitySelector.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,mBAAmB,EAAE,OAAO,EAAE,CAAC;CAChC;AAED,eAAO,MAAM,gBAAgB,+CAAgD,qBAAqB,gBAgFjG,CAAC"}
1
+ {"version":3,"file":"IdentitySelector.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentitySelector.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7C,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,mBAAmB,EAAE,QAAQ,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,gBAAgB,+CAAgD,qBAAqB,gBAkFjG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationAccepted.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationAccepted.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,gBAAgB,EAAuB,MAAM,oBAAoB,CAAC;AAG3E,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;CACpD;AAiCD,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,gBAkBhE,CAAC"}
1
+ {"version":3,"file":"InvitationAccepted.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationAccepted.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,gBAAgB,EAAuB,MAAM,oBAAoB,CAAC;AAG3E,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,uBAAwB,SAAQ,cAAc;IAC7D,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;CACpD;AAkCD,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,gBAkBhE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationAuthenticator.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationAuthenticator.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAIxD,MAAM,WAAW,4BAA6B,SAAQ,cAAc;IAClE,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAoGD,eAAO,MAAM,uBAAuB,kDAIjC,4BAA4B,gBAgB9B,CAAC"}
1
+ {"version":3,"file":"InvitationAuthenticator.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationAuthenticator.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAIxD,MAAM,WAAW,4BAA6B,SAAQ,cAAc;IAClE,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAuGD,eAAO,MAAM,uBAAuB,kDAIjC,4BAA4B,gBAgB9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationInput.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationInput.tsx"],"names":[],"mappings":"AAWA,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,eAAe,0CAA2C,oBAAoB,gBAkD1F,CAAC"}
1
+ {"version":3,"file":"InvitationInput.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationInput.tsx"],"names":[],"mappings":"AAWA,OAAO,EAA+B,cAAc,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,WAAW,oBAAqB,SAAQ,cAAc;IAC1D,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;CAClC;AAED,eAAO,MAAM,eAAe,0CAA2C,oBAAoB,gBAyD1F,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InvitationRescuer.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationRescuer.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;CAClC;AA0DD,eAAO,MAAM,iBAAiB,0CAA2C,wBAAwB,gBAqBhG,CAAC"}
1
+ {"version":3,"file":"InvitationRescuer.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/InvitationRescuer.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAa,cAAc,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,wBAAyB,SAAQ,cAAc;IAC9D,cAAc,EAAE,OAAO,GAAG,MAAM,CAAC;CAClC;AA4DD,eAAO,MAAM,iBAAiB,0CAA2C,wBAAwB,gBAsBhG,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { ComponentProps, ComponentPropsWithoutRef } from 'react';
2
- import type { AuthenticatingInvitationObservable, Profile } from '@dxos/client';
2
+ import type { AuthenticatingInvitationObservable, Identity } from '@dxos/client';
3
3
  import { JoinDispatch } from '../JoinPanelProps';
4
4
  export interface ViewStateProps extends ComponentProps<'div'> {
5
5
  active: boolean;
6
6
  dispatch: JoinDispatch;
7
- selectedIdentity?: true | Profile;
7
+ selectedIdentity?: true | Identity;
8
8
  activeInvitation?: true | AuthenticatingInvitationObservable;
9
9
  }
10
10
  export declare const ViewStateHeading: ({ children, className, ...props }: ComponentPropsWithoutRef<'h2'>) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ViewState.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/ViewState.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,wBAAwB,EAAsB,MAAM,OAAO,CAAC;AAE5F,OAAO,KAAK,EAAE,kCAAkC,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAOhF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC;IAClC,gBAAgB,CAAC,EAAE,IAAI,GAAG,kCAAkC,CAAC;CAC9D;AAID,eAAO,MAAM,gBAAgB,sCAAuC,yBAAyB,IAAI,CAAC,gBAMjG,CAAC;AA2GF,eAAO,MAAM,SAAS,4FAQnB,cAAc,gBAyDhB,CAAC"}
1
+ {"version":3,"file":"ViewState.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/ViewState.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,cAAc,EAAE,wBAAwB,EAAsB,MAAM,OAAO,CAAC;AAE5F,OAAO,KAAK,EAAE,kCAAkC,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAOjF,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC3D,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,YAAY,CAAC;IACvB,gBAAgB,CAAC,EAAE,IAAI,GAAG,QAAQ,CAAC;IACnC,gBAAgB,CAAC,EAAE,IAAI,GAAG,kCAAkC,CAAC;CAC9D;AAID,eAAO,MAAM,gBAAgB,sCAAuC,yBAAyB,IAAI,CAAC,gBAMjG,CAAC;AA2GF,eAAO,MAAM,SAAS,4FAQnB,cAAc,gBAyDhB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { cloneElement } from 'react';
2
+ import { Space } from '@dxos/client';
3
+ export declare type SpacePanelProps = {
4
+ titleId?: string;
5
+ space?: Space;
6
+ createInvitationUrl: (invitationCode: string) => string;
7
+ doneActionParent?: Parameters<typeof cloneElement>[0];
8
+ onDone?: () => void;
9
+ };
10
+ export declare type SpaceView = 'current space';
11
+ export declare const SpacePanel: (props: SpacePanelProps) => JSX.Element;
12
+ //# sourceMappingURL=SpacePanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacePanel.d.ts","sourceRoot":"","sources":["../../../../../src/panels/SpacePanel/SpacePanel.tsx"],"names":[],"mappings":"AAKA,OAAc,EAAE,YAAY,EAAc,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAOrC,oBAAY,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;IACxD,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,CAAC;AAgDxC,eAAO,MAAM,UAAU,UAAW,eAAe,gBAmBhD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { StoryContext, StoryFn } from '@storybook/react';
2
+ declare const _default: {
3
+ component: (props: import("./SpacePanel").SpacePanelProps) => JSX.Element;
4
+ };
5
+ export default _default;
6
+ export declare const Default: {
7
+ decorators: ((Story: StoryFn, { args }: StoryContext) => JSX.Element)[];
8
+ };
9
+ //# sourceMappingURL=SpacePanel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacePanel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/panels/SpacePanel/SpacePanel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;AAUzD,wBAEE;AAkCF,eAAO,MAAM,OAAO;yBAhCW,OAAO,YAAY,YAAY;CAkC7D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './SpacePanel';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/panels/SpacePanel/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
@@ -1,3 +1,5 @@
1
+ export * from './DevicesPanel';
1
2
  export * from './IdentityPanel';
2
3
  export * from './JoinPanel';
4
+ export * from './SpacePanel';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/panels/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/panels/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const defaultOverlay = "fixed inset-0 backdrop-blur z-50 overflow-auto grid place-items-center p-2 md:p-4 lg:p-8";
2
+ export declare const defaultDialogContent = "is-full min-is-[260px] max-is-[320px] rounded-md shadow-md backdrop-blur-md";
3
+ //# sourceMappingURL=dialogStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialogStyles.d.ts","sourceRoot":"","sources":["../../../../src/styles/dialogStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,6FACiE,CAAC;AAE7F,eAAO,MAAM,oBAAoB,gFAAgF,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from './dialogStyles';
1
2
  export * from './panelStyles';
2
3
  export * from './invitationStatusStyles';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/styles/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/styles/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC"}
@@ -4,7 +4,9 @@ export declare const os: {
4
4
  'sidebar label': string;
5
5
  'copy invitation code label': string;
6
6
  'open share panel label': string;
7
+ 'joining heading': string;
7
8
  'join space heading': string;
9
+ 'halo heading': string;
8
10
  'exit label': string;
9
11
  'identity selector title': string;
10
12
  'identity radio group title': string;
@@ -12,6 +14,7 @@ export declare const os: {
12
14
  'continue label': string;
13
15
  'back label': string;
14
16
  'next label': string;
17
+ 'close label': string;
15
18
  'auth choices label': string;
16
19
  'create identity label': string;
17
20
  'create identity description': string;
@@ -41,7 +44,15 @@ export declare const os: {
41
44
  'cancel label': string;
42
45
  'done label': string;
43
46
  'reset label': string;
44
- 'pin input label': string;
47
+ 'auth code input label': string;
45
48
  'invitation input label': string;
49
+ 'create space invitation label': string;
50
+ 'qr label': string;
51
+ 'empty invitations message': string;
52
+ 'show all spaces label': string;
53
+ 'all spaces label': string;
54
+ 'create space label': string;
55
+ 'join space label': string;
56
+ 'show current space label': string;
46
57
  };
47
58
  //# sourceMappingURL=en-US.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../../../src/translations/locales/en-US.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Cd,CAAC"}
1
+ {"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../../../src/translations/locales/en-US.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-ui",
3
- "version": "0.1.25",
3
+ "version": "0.1.27-next.a0dff21",
4
4
  "description": "A React component library for DXOS’s OS experiences",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -22,13 +22,14 @@
22
22
  "debug": "^4.3.3",
23
23
  "qrcode.react": "^3.1.0",
24
24
  "url-join": "^5.0.0",
25
- "@dxos/client": "0.1.25",
26
- "@dxos/config": "0.1.25",
27
- "@dxos/debug": "0.1.25",
28
- "@dxos/keys": "0.1.25",
29
- "@dxos/react-client": "0.1.25",
30
- "@dxos/react-components": "0.1.25",
31
- "@dxos/util": "0.1.25"
25
+ "@dxos/client": "0.1.27-next.a0dff21",
26
+ "@dxos/config": "0.1.27-next.a0dff21",
27
+ "@dxos/debug": "0.1.27-next.a0dff21",
28
+ "@dxos/keys": "0.1.27-next.a0dff21",
29
+ "@dxos/protocols": "0.1.27-next.a0dff21",
30
+ "@dxos/react-client": "0.1.27-next.a0dff21",
31
+ "@dxos/react-components": "0.1.27-next.a0dff21",
32
+ "@dxos/util": "0.1.27-next.a0dff21"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@types/debug": "^4.1.7",
@@ -39,9 +40,9 @@
39
40
  "react": "^18.2.0",
40
41
  "react-dom": "^18.2.0",
41
42
  "vite": "4.0.4",
42
- "@dxos/async": "0.1.25",
43
- "@dxos/log": "0.1.25",
44
- "@dxos/react-async": "0.1.25"
43
+ "@dxos/async": "0.1.27-next.a0dff21",
44
+ "@dxos/log": "0.1.27-next.a0dff21",
45
+ "@dxos/react-async": "0.1.27-next.a0dff21"
45
46
  },
46
47
  "peerDependencies": {
47
48
  "phosphor-react": "^1.4.1",
@@ -0,0 +1,31 @@
1
+ //
2
+ // Copyright 2023 DXOS.org
3
+ //
4
+
5
+ import React from 'react';
6
+
7
+ import { Device } from '@dxos/protocols/proto/dxos/client/services';
8
+
9
+ import { IdentityListItem } from './IdentityListItem';
10
+
11
+ export interface DeviceListProps {
12
+ devices: Device[];
13
+ onSelect?: (device: Device) => void;
14
+ }
15
+
16
+ export const DeviceList = ({ devices, onSelect }: DeviceListProps) => {
17
+ return (
18
+ <ul className='flex flex-col gap-2'>
19
+ {devices.map((device) => {
20
+ const identity = { identityKey: device.deviceKey, profile: { displayName: device.profile?.displayName } };
21
+ return (
22
+ <IdentityListItem
23
+ key={device.deviceKey.toHex()}
24
+ identity={identity}
25
+ onClick={onSelect && (() => onSelect(device))}
26
+ />
27
+ );
28
+ })}
29
+ </ul>
30
+ );
31
+ };
@@ -3,19 +3,31 @@
3
3
  //
4
4
  import React from 'react';
5
5
 
6
- import { Profile, SpaceMember } from '@dxos/client';
7
- import { Avatar, useTranslation } from '@dxos/react-components';
6
+ import { Identity, SpaceMember } from '@dxos/client';
7
+ import { Avatar, mx, useTranslation } from '@dxos/react-components';
8
8
 
9
- export const IdentityListItem = ({ identity, presence }: { identity: Profile; presence?: SpaceMember['presence'] }) => {
9
+ export const IdentityListItem = ({
10
+ identity,
11
+ presence,
12
+ onClick
13
+ }: {
14
+ identity: Identity;
15
+ presence?: SpaceMember['presence'];
16
+ onClick?: () => void;
17
+ }) => {
10
18
  const { t } = useTranslation('os');
11
19
  return (
12
- <li className='flex gap-2 items-center'>
20
+ <li
21
+ className={mx('flex gap-2 items-center', onClick && 'cursor-pointer')}
22
+ onClick={() => onClick?.()}
23
+ data-testid='identity-list-item'
24
+ >
13
25
  <Avatar
14
26
  {...{
15
27
  variant: 'circle',
16
28
  size: 9,
17
29
  fallbackValue: identity.identityKey.toHex(),
18
- label: <p className='text-sm truncate'>{identity.displayName ?? identity.identityKey.truncate()}</p>,
30
+ label: <p className='text-sm truncate'>{identity.profile?.displayName ?? identity.identityKey.truncate()}</p>,
19
31
  ...(presence === SpaceMember.PresenceState.OFFLINE && {
20
32
  status: 'inactive',
21
33
  description: (
@@ -9,20 +9,22 @@ import type { SpaceMember } from '@dxos/client';
9
9
  import { IdentityListItem } from './IdentityListItem';
10
10
 
11
11
  export interface SpaceMemberListProps {
12
- spaceMembers: SpaceMember[];
12
+ members: SpaceMember[];
13
+ onSelect?: (member: SpaceMember) => void;
13
14
  }
14
15
 
15
- export const SpaceMemberList = ({ spaceMembers }: SpaceMemberListProps) => {
16
+ export const SpaceMemberList = ({ members, onSelect }: SpaceMemberListProps) => {
16
17
  return (
17
18
  <ul className='flex flex-col gap-2'>
18
- {spaceMembers
19
- .filter((spaceMember) => spaceMember.profile)
20
- .map((spaceMember) => {
19
+ {members
20
+ .filter((member) => member.identity)
21
+ .map((member) => {
21
22
  return (
22
23
  <IdentityListItem
23
- key={spaceMember.identityKey.toHex()}
24
- identity={spaceMember.profile!}
25
- presence={spaceMember.presence}
24
+ key={member.identity.identityKey.toHex()}
25
+ identity={member.identity}
26
+ presence={member.presence}
27
+ onClick={onSelect && (() => onSelect(member))}
26
28
  />
27
29
  );
28
30
  })}
@@ -4,24 +4,25 @@
4
4
  import React, { useMemo } from 'react';
5
5
 
6
6
  import { PublicKey } from '@dxos/keys';
7
- import { useClient, useMembers } from '@dxos/react-client';
7
+ import { SpaceMember, useClient, useMembers } from '@dxos/react-client';
8
8
 
9
9
  import { SpaceMemberList } from './SpaceMemberList';
10
10
 
11
11
  export interface SpaceMemberListContainerProps {
12
12
  spaceKey: PublicKey;
13
13
  includeSelf?: boolean;
14
+ onSelect?: (member: SpaceMember) => void;
14
15
  }
15
16
 
16
- export const SpaceMemberListContainer = ({ spaceKey, includeSelf }: SpaceMemberListContainerProps) => {
17
+ export const SpaceMemberListContainer = ({ spaceKey, includeSelf, onSelect }: SpaceMemberListContainerProps) => {
17
18
  const client = useClient();
18
19
  const allUnsortedMembers = useMembers(spaceKey);
19
- const spaceMembers = useMemo(
20
+ const members = useMemo(
20
21
  () =>
21
22
  includeSelf
22
- ? allUnsortedMembers.sort((a) => (a.identityKey.equals(client.halo.profile!.identityKey) ? -1 : 1))
23
- : allUnsortedMembers.filter((member) => !member.identityKey.equals(client.halo.profile!.identityKey)),
23
+ ? allUnsortedMembers.sort((a) => (a.identity.identityKey.equals(client.halo.identity!.identityKey) ? -1 : 1))
24
+ : allUnsortedMembers.filter((member) => !member.identity.identityKey.equals(client.halo.identity!.identityKey)),
24
25
  [allUnsortedMembers]
25
26
  );
26
- return <SpaceMemberList spaceMembers={spaceMembers} />;
27
+ return <SpaceMemberList members={members} onSelect={onSelect} />;
27
28
  };
@@ -2,6 +2,7 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
+ export * from './DeviceList';
5
6
  export * from './IdentityListItem';
6
7
  export * from './SpaceMemberList';
7
8
  export * from './SpaceMemberListContainer';