@dxos/react-ui 0.1.22 → 0.1.24-next.6b1f434
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.
- package/dist/lib/browser/index.mjs +2434 -77
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/components/IdentityList/DeviceList.d.ts +7 -0
- package/dist/types/src/components/IdentityList/DeviceList.d.ts.map +1 -0
- package/dist/types/src/components/IdentityList/IdentityListItem.d.ts +7 -0
- package/dist/types/src/components/IdentityList/IdentityListItem.d.ts.map +1 -0
- package/dist/types/src/components/{IdentityListItem → IdentityList}/IdentityListItem.stories.d.ts +2 -1
- package/dist/types/src/components/IdentityList/IdentityListItem.stories.d.ts.map +1 -0
- package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts +7 -0
- package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts.map +1 -0
- package/dist/types/src/components/IdentityList/SpaceMemberListContainer.d.ts +9 -0
- package/dist/types/src/components/IdentityList/SpaceMemberListContainer.d.ts.map +1 -0
- package/dist/types/src/components/IdentityList/index.d.ts +5 -0
- package/dist/types/src/components/IdentityList/index.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationList.d.ts +7 -0
- package/dist/types/src/components/InvitationList/InvitationList.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts +10 -0
- package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts +7 -0
- package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts +9 -0
- package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationListProps.d.ts +4 -0
- package/dist/types/src/components/InvitationList/InvitationListProps.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.d.ts +14 -0
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.stories.d.ts +9 -0
- package/dist/types/src/components/InvitationList/InvitationStatusAvatar.stories.d.ts.map +1 -0
- package/dist/types/src/components/InvitationList/index.d.ts +5 -0
- package/dist/types/src/components/InvitationList/index.d.ts.map +1 -0
- package/dist/types/src/components/PanelSeparator/PanelSeparator.d.ts +3 -0
- package/dist/types/src/components/PanelSeparator/PanelSeparator.d.ts.map +1 -0
- package/dist/types/src/components/PanelSeparator/index.d.ts +2 -0
- package/dist/types/src/components/PanelSeparator/index.d.ts.map +1 -0
- package/dist/types/src/components/SpaceList/SpaceListItem.d.ts +7 -0
- package/dist/types/src/components/SpaceList/SpaceListItem.d.ts.map +1 -0
- package/dist/types/src/components/SpaceList/index.d.ts +2 -0
- package/dist/types/src/components/SpaceList/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +5 -0
- package/dist/types/src/components/index.d.ts.map +1 -0
- package/dist/types/src/composites/DevicesDialog/DevicesDialog.d.ts +6 -0
- package/dist/types/src/composites/DevicesDialog/DevicesDialog.d.ts.map +1 -0
- package/dist/types/src/composites/DevicesDialog/index.d.ts +2 -0
- package/dist/types/src/composites/DevicesDialog/index.d.ts.map +1 -0
- package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts +6 -0
- package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts.map +1 -0
- package/dist/types/src/composites/JoinDialog/JoinDialog.stories.d.ts +10 -0
- package/dist/types/src/composites/JoinDialog/JoinDialog.stories.d.ts.map +1 -0
- package/dist/types/src/composites/JoinDialog/index.d.ts +2 -0
- package/dist/types/src/composites/JoinDialog/index.d.ts.map +1 -0
- package/dist/types/src/composites/Shell/Shell.d.ts +6 -0
- package/dist/types/src/composites/Shell/Shell.d.ts.map +1 -0
- package/dist/types/src/composites/Shell/index.d.ts +2 -0
- package/dist/types/src/composites/Shell/index.d.ts.map +1 -0
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts +6 -0
- package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts.map +1 -0
- package/dist/types/src/composites/SpaceDialog/index.d.ts +2 -0
- package/dist/types/src/composites/SpaceDialog/index.d.ts.map +1 -0
- package/dist/types/src/composites/index.d.ts +3 -0
- package/dist/types/src/composites/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/layouts/PanelAlertDialog/PanelAlertDialog.d.ts +14 -0
- package/dist/types/src/layouts/PanelAlertDialog/PanelAlertDialog.d.ts.map +1 -0
- package/dist/types/src/layouts/PanelAlertDialog/index.d.ts +2 -0
- package/dist/types/src/layouts/PanelAlertDialog/index.d.ts.map +1 -0
- package/dist/types/src/layouts/PanelDialog/PanelDialog.d.ts +14 -0
- package/dist/types/src/layouts/PanelDialog/PanelDialog.d.ts.map +1 -0
- package/dist/types/src/layouts/PanelDialog/index.d.ts +2 -0
- package/dist/types/src/layouts/PanelDialog/index.d.ts.map +1 -0
- package/dist/types/src/layouts/PanelSidebar/PanelSidebar.d.ts +4 -5
- package/dist/types/src/layouts/PanelSidebar/PanelSidebar.d.ts.map +1 -1
- package/dist/types/src/layouts/index.d.ts +2 -0
- package/dist/types/src/layouts/index.d.ts.map +1 -1
- package/dist/types/src/panels/DevicesPanel/DevicesPanel.d.ts +10 -0
- package/dist/types/src/panels/DevicesPanel/DevicesPanel.d.ts.map +1 -0
- package/dist/types/src/panels/DevicesPanel/index.d.ts +2 -0
- package/dist/types/src/panels/DevicesPanel/index.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts +13 -0
- package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts +3 -0
- package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts +54 -0
- package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/index.d.ts +3 -0
- package/dist/types/src/panels/JoinPanel/index.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/AdditionMethodSelector.d.ts +7 -0
- package/dist/types/src/panels/JoinPanel/view-states/AdditionMethodSelector.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/IdentityAdded.d.ts +15 -0
- package/dist/types/src/panels/JoinPanel/view-states/IdentityAdded.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/IdentityInput.d.ts +6 -0
- package/dist/types/src/panels/JoinPanel/view-states/IdentityInput.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/IdentitySelector.d.ts +7 -0
- package/dist/types/src/panels/JoinPanel/view-states/IdentitySelector.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAccepted.d.ts +10 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAccepted.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAuthenticator.d.ts +7 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationAuthenticator.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationInput.d.ts +6 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationInput.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationRescuer.d.ts +6 -0
- package/dist/types/src/panels/JoinPanel/view-states/InvitationRescuer.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/ViewState.d.ts +12 -0
- package/dist/types/src/panels/JoinPanel/view-states/ViewState.d.ts.map +1 -0
- package/dist/types/src/panels/JoinPanel/view-states/index.d.ts +9 -0
- package/dist/types/src/panels/JoinPanel/view-states/index.d.ts.map +1 -0
- package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts +18 -0
- package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts.map +1 -0
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts +9 -0
- package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts.map +1 -0
- package/dist/types/src/panels/SpacePanel/index.d.ts +2 -0
- package/dist/types/src/panels/SpacePanel/index.d.ts.map +1 -0
- package/dist/types/src/panels/index.d.ts +3 -0
- package/dist/types/src/panels/index.d.ts.map +1 -1
- package/dist/types/src/styles/dialogStyles.d.ts +3 -0
- package/dist/types/src/styles/dialogStyles.d.ts.map +1 -0
- package/dist/types/src/styles/index.d.ts +2 -0
- package/dist/types/src/styles/index.d.ts.map +1 -1
- package/dist/types/src/styles/invitationStatusStyles.d.ts +20 -0
- package/dist/types/src/styles/invitationStatusStyles.d.ts.map +1 -0
- package/dist/types/src/styles/panelStyles.d.ts +2 -1
- package/dist/types/src/styles/panelStyles.d.ts.map +1 -1
- package/dist/types/src/translations/locales/en-US.d.ts +52 -0
- package/dist/types/src/translations/locales/en-US.d.ts.map +1 -1
- package/dist/types/src/util/index.d.ts +2 -0
- package/dist/types/src/util/index.d.ts.map +1 -0
- package/dist/types/src/util/invitationStatusValue.d.ts +8 -0
- package/dist/types/src/util/invitationStatusValue.d.ts.map +1 -0
- package/package.json +19 -11
- package/src/components/IdentityList/DeviceList.tsx +31 -0
- package/src/components/{IdentityListItem → IdentityList}/IdentityListItem.stories.tsx +0 -0
- package/src/components/{IdentityListItem → IdentityList}/IdentityListItem.tsx +18 -5
- package/src/components/IdentityList/SpaceMemberList.tsx +33 -0
- package/src/components/IdentityList/SpaceMemberListContainer.tsx +28 -0
- package/src/components/IdentityList/index.ts +8 -0
- package/src/components/InvitationList/InvitationList.stories.tsx +65 -0
- package/src/components/InvitationList/InvitationList.tsx +28 -0
- package/src/components/InvitationList/InvitationListContainer.tsx +27 -0
- package/src/components/InvitationList/InvitationListItem.tsx +106 -0
- package/src/components/InvitationList/InvitationListProps.ts +7 -0
- package/src/components/InvitationList/InvitationStatusAvatar.stories.tsx +52 -0
- package/src/components/InvitationList/InvitationStatusAvatar.tsx +80 -0
- package/src/components/InvitationList/index.ts +8 -0
- package/src/components/PanelSeparator/PanelSeparator.tsx +17 -0
- package/src/components/PanelSeparator/index.ts +5 -0
- package/src/components/SpaceList/SpaceListItem.tsx +32 -0
- package/src/components/SpaceList/index.ts +5 -0
- package/src/components/index.ts +8 -0
- package/src/composites/DevicesDialog/DevicesDialog.tsx +38 -0
- package/src/composites/DevicesDialog/index.ts +5 -0
- package/src/composites/JoinDialog/JoinDialog.stories.tsx +81 -0
- package/src/composites/JoinDialog/JoinDialog.tsx +33 -0
- package/src/composites/JoinDialog/index.ts +5 -0
- package/src/composites/Shell/Shell.tsx +92 -0
- package/src/composites/Shell/index.ts +5 -0
- package/src/composites/SpaceDialog/SpaceDialog.tsx +38 -0
- package/src/composites/SpaceDialog/index.ts +5 -0
- package/src/composites/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/layouts/PanelAlertDialog/PanelAlertDialog.tsx +40 -0
- package/src/layouts/PanelAlertDialog/index.ts +5 -0
- package/src/layouts/PanelDialog/PanelDialog.tsx +39 -0
- package/src/layouts/PanelDialog/index.ts +5 -0
- package/src/layouts/PanelPopover/PanelPopover.tsx +2 -2
- package/src/layouts/PanelSidebar/PanelSidebar.tsx +27 -31
- package/src/layouts/index.ts +2 -0
- package/src/panels/DevicesPanel/DevicesPanel.tsx +98 -0
- package/src/panels/DevicesPanel/index.ts +5 -0
- package/src/panels/JoinPanel/JoinHeading.tsx +85 -0
- package/src/panels/JoinPanel/JoinPanel.tsx +319 -0
- package/src/panels/JoinPanel/JoinPanelProps.ts +90 -0
- package/src/panels/JoinPanel/index.ts +6 -0
- package/src/panels/JoinPanel/view-states/AdditionMethodSelector.tsx +73 -0
- package/src/panels/JoinPanel/view-states/IdentityAdded.tsx +99 -0
- package/src/panels/JoinPanel/view-states/IdentityInput.tsx +79 -0
- package/src/panels/JoinPanel/view-states/IdentitySelector.tsx +101 -0
- package/src/panels/JoinPanel/view-states/InvitationAccepted.tsx +70 -0
- package/src/panels/JoinPanel/view-states/InvitationAuthenticator.tsx +142 -0
- package/src/panels/JoinPanel/view-states/InvitationInput.tsx +75 -0
- package/src/panels/JoinPanel/view-states/InvitationRescuer.tsx +98 -0
- package/src/panels/JoinPanel/view-states/ViewState.tsx +204 -0
- package/src/panels/JoinPanel/view-states/index.ts +12 -0
- package/src/panels/SpacePanel/SpacePanel.stories.tsx +53 -0
- package/src/panels/SpacePanel/SpacePanel.tsx +174 -0
- package/src/panels/SpacePanel/index.ts +5 -0
- package/src/panels/index.ts +3 -0
- package/src/styles/dialogStyles.ts +8 -0
- package/src/styles/index.ts +2 -0
- package/src/styles/invitationStatusStyles.ts +42 -0
- package/src/styles/panelStyles.ts +2 -1
- package/src/testing/ClientProvider.tsx +1 -1
- package/src/translations/locales/en-US.ts +53 -1
- package/src/util/index.ts +5 -0
- package/src/util/invitationStatusValue.ts +21 -0
- package/theme-extensions.js +11 -0
- package/dist/types/src/components/IdentityListItem/IdentityListItem.d.ts +0 -6
- package/dist/types/src/components/IdentityListItem/IdentityListItem.d.ts.map +0 -1
- package/dist/types/src/components/IdentityListItem/IdentityListItem.stories.d.ts.map +0 -1
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import React, { ComponentProps, Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
2
3
|
export declare type PanelSidebarState = 'show' | 'hide';
|
|
3
|
-
export declare const sidebarWidth = 272;
|
|
4
4
|
export interface PanelSidebarContextValue {
|
|
5
5
|
setDisplayState: Dispatch<SetStateAction<PanelSidebarState>>;
|
|
6
6
|
displayState: PanelSidebarState;
|
|
@@ -8,9 +8,8 @@ export interface PanelSidebarContextValue {
|
|
|
8
8
|
export declare const PanelSidebarContext: React.Context<PanelSidebarContextValue>;
|
|
9
9
|
export declare const useTogglePanelSidebar: () => () => void;
|
|
10
10
|
export interface PanelSidebarProviderSlots {
|
|
11
|
-
content?: ComponentProps<typeof
|
|
12
|
-
|
|
13
|
-
fixedBlockEnd?: ComponentProps<'div'>;
|
|
11
|
+
content?: ComponentProps<typeof DialogPrimitive.Content>;
|
|
12
|
+
main?: ComponentProps<'div'>;
|
|
14
13
|
}
|
|
15
14
|
export interface PanelSidebarProviderProps {
|
|
16
15
|
inlineStart?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PanelSidebar.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelSidebar/PanelSidebar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PanelSidebar.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/PanelSidebar/PanelSidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,EACZ,cAAc,EAEd,QAAQ,EACR,iBAAiB,EACjB,cAAc,EAIf,MAAM,OAAO,CAAC;AAIf,oBAAY,iBAAiB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhD,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,QAAQ,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAC7D,YAAY,EAAE,iBAAiB,CAAC;CACjC;AAED,eAAO,MAAM,mBAAmB,yCAG9B,CAAC;AAEH,eAAO,MAAM,qBAAqB,kBAKjC,CAAC;AAEF,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,yBAAyB,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,wBAAyB,kBAAkB,yBAAyB,CAAC,gBA0ErG,CAAC"}
|
|
@@ -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"}
|
|
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;AA8DxC,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAepD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/panels/DevicesPanel/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { cloneElement } from 'react';
|
|
2
|
+
import { AuthenticatingInvitationObservable } from '@dxos/client';
|
|
3
|
+
import { JoinPanelMode } from './JoinPanelProps';
|
|
4
|
+
export interface JoinSpaceHeadingProps {
|
|
5
|
+
mode?: JoinPanelMode;
|
|
6
|
+
titleId: string;
|
|
7
|
+
invitation?: AuthenticatingInvitationObservable;
|
|
8
|
+
onExit?: () => void;
|
|
9
|
+
exitActionParent?: Parameters<typeof cloneElement>[0];
|
|
10
|
+
preventExit?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const JoinHeading: React.ForwardRefExoticComponent<JoinSpaceHeadingProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
//# sourceMappingURL=JoinHeading.d.ts.map
|
|
@@ -0,0 +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;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,8FA8DvB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { JoinPanelProps } from './JoinPanelProps';
|
|
2
|
+
export declare const JoinPanel: ({ mode, initialInvitationCode, titleId: propsTitleId, exitActionParent, onExit, doneActionParent, onDone, preventExit }: JoinPanelProps) => JSX.Element;
|
|
3
|
+
//# sourceMappingURL=JoinPanel.d.ts.map
|
|
@@ -0,0 +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,4HASnB,cAAc,gBA8RhB,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { cloneElement, Dispatch } from 'react';
|
|
2
|
+
import type { AuthenticatingInvitationObservable, Profile } from '@dxos/client';
|
|
3
|
+
import { InvitationResult } from '@dxos/react-client';
|
|
4
|
+
export declare type JoinPanelMode = 'default' | 'halo-only';
|
|
5
|
+
export interface JoinPanelProps {
|
|
6
|
+
mode?: JoinPanelMode;
|
|
7
|
+
initialInvitationCode?: string;
|
|
8
|
+
titleId?: string;
|
|
9
|
+
exitActionParent?: Parameters<typeof cloneElement>[0];
|
|
10
|
+
onExit?: () => void;
|
|
11
|
+
preventExit?: boolean;
|
|
12
|
+
doneActionParent?: Parameters<typeof cloneElement>[0];
|
|
13
|
+
onDone?: (result: InvitationResult | null) => void;
|
|
14
|
+
parseInvitationCodeInput?: (invitationCodeInput: string) => string;
|
|
15
|
+
}
|
|
16
|
+
export interface IdentityAction {
|
|
17
|
+
type: 'select identity' | 'added identity';
|
|
18
|
+
identity: Profile;
|
|
19
|
+
}
|
|
20
|
+
export interface EmptyJoinAction {
|
|
21
|
+
type: 'deselect identity' | 'cancel addition' | 'add identity';
|
|
22
|
+
}
|
|
23
|
+
export interface EmptyInvitationAction {
|
|
24
|
+
type: 'authenticating invitation' | 'authenticate invitation' | 'cancel invitation' | 'cancelled invitation' | 'connect invitation' | 'fail invitation' | 'accepted invitation' | 'timeout invitation' | 'reset invitation';
|
|
25
|
+
from: 'space' | 'halo';
|
|
26
|
+
}
|
|
27
|
+
export interface InvitationCodeAction {
|
|
28
|
+
type: 'connecting invitation';
|
|
29
|
+
from: 'space' | 'halo';
|
|
30
|
+
invitation: AuthenticatingInvitationObservable;
|
|
31
|
+
}
|
|
32
|
+
export declare type InvitationAction = EmptyInvitationAction | InvitationCodeAction;
|
|
33
|
+
export interface AdditionMethodAction {
|
|
34
|
+
type: 'select addition method';
|
|
35
|
+
method: 'recover identity' | 'accept device invitation' | 'create identity';
|
|
36
|
+
}
|
|
37
|
+
export declare type JoinAction = IdentityAction | EmptyJoinAction | AdditionMethodAction | InvitationAction;
|
|
38
|
+
export declare type JoinDispatch = Dispatch<JoinAction>;
|
|
39
|
+
export declare type InvitationView = 'invitation input' | 'invitation rescuer' | 'invitation authenticator' | 'invitation accepted';
|
|
40
|
+
export declare type JoinView = 'identity selector' | 'addition method selector' | 'identity input' | 'identity added' | 'space invitation acceptor' | 'halo invitation acceptor';
|
|
41
|
+
export interface JoinState {
|
|
42
|
+
activeView: JoinView;
|
|
43
|
+
unredeemedSpaceInvitationCode?: string;
|
|
44
|
+
spaceInvitation?: AuthenticatingInvitationObservable;
|
|
45
|
+
spaceViewState: InvitationView;
|
|
46
|
+
spaceInvitationAnnotation?: 'authenticating' | 'authentication failed';
|
|
47
|
+
unredeemedHaloInvitationCode?: string;
|
|
48
|
+
haloInvitation?: AuthenticatingInvitationObservable;
|
|
49
|
+
haloViewState: InvitationView;
|
|
50
|
+
haloInvitationAnnotation?: 'authenticating' | 'authentication failed';
|
|
51
|
+
selectedIdentity?: Profile;
|
|
52
|
+
additionMethod?: AdditionMethodAction['method'];
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=JoinPanelProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,OAAO,EAAE,MAAM,cAAc,CAAC;AAChF,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,OAAO,CAAC;CACnB;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,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/panels/JoinPanel/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Profile } from '@dxos/client';
|
|
2
|
+
import { ViewStateProps } from './ViewState';
|
|
3
|
+
export interface AdditionMethodSelectorProps extends ViewStateProps {
|
|
4
|
+
availableIdentities: Profile[];
|
|
5
|
+
}
|
|
6
|
+
export declare const AdditionMethodSelector: ({ availableIdentities, ...viewStateProps }: AdditionMethodSelectorProps) => JSX.Element;
|
|
7
|
+
//# sourceMappingURL=AdditionMethodSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdditionMethodSelector.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/AdditionMethodSelector.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAG5C,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,gBAwD7G,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { cloneElement } from 'react';
|
|
2
|
+
import type { Profile } from '@dxos/client';
|
|
3
|
+
import { InvitationResult } from '@dxos/react-client';
|
|
4
|
+
import { JoinPanelMode } from '../JoinPanelProps';
|
|
5
|
+
import { ViewStateProps } from './ViewState';
|
|
6
|
+
export interface IdentityAddedProps extends ViewStateProps, DoneProps {
|
|
7
|
+
mode?: JoinPanelMode;
|
|
8
|
+
addedIdentity?: Profile;
|
|
9
|
+
}
|
|
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;
|
|
15
|
+
//# sourceMappingURL=IdentityAdded.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,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,OAAO,CAAC;CACzB;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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewStateProps } from './ViewState';
|
|
2
|
+
export interface IdentityCreatorProps extends ViewStateProps {
|
|
3
|
+
method: 'recover identity' | 'create identity';
|
|
4
|
+
}
|
|
5
|
+
export declare const IdentityInput: ({ method, ...viewStateProps }: IdentityCreatorProps) => JSX.Element;
|
|
6
|
+
//# sourceMappingURL=IdentityInput.d.ts.map
|
|
@@ -0,0 +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,gBA8DhF,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Profile } from '@dxos/client';
|
|
2
|
+
import { ViewStateProps } from './ViewState';
|
|
3
|
+
export interface IdentitySelectorProps extends ViewStateProps {
|
|
4
|
+
availableIdentities: Profile[];
|
|
5
|
+
}
|
|
6
|
+
export declare const IdentitySelector: ({ availableIdentities, ...viewStateProps }: IdentitySelectorProps) => JSX.Element;
|
|
7
|
+
//# sourceMappingURL=IdentitySelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IdentitySelector.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/IdentitySelector.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAG5C,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,gBAmFjG,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { cloneElement } from 'react';
|
|
2
|
+
import { InvitationResult } from '@dxos/react-client';
|
|
3
|
+
import { ViewStateProps } from './ViewState';
|
|
4
|
+
export interface InvitationAcceptedProps extends ViewStateProps {
|
|
5
|
+
invitationType: 'space' | 'halo';
|
|
6
|
+
doneActionParent?: Parameters<typeof cloneElement>[0];
|
|
7
|
+
onDone?: (result: InvitationResult | null) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const InvitationAccepted: (props: InvitationAcceptedProps) => JSX.Element;
|
|
10
|
+
//# sourceMappingURL=InvitationAccepted.d.ts.map
|
|
@@ -0,0 +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;AAkCD,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,gBAkBhE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ViewStateProps } from './ViewState';
|
|
2
|
+
export interface InvitationAuthenticatorProps extends ViewStateProps {
|
|
3
|
+
invitationType: 'space' | 'halo';
|
|
4
|
+
failed?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const InvitationAuthenticator: ({ invitationType, failed, ...viewStateProps }: InvitationAuthenticatorProps) => JSX.Element;
|
|
7
|
+
//# sourceMappingURL=InvitationAuthenticator.d.ts.map
|
|
@@ -0,0 +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;AAuGD,eAAO,MAAM,uBAAuB,kDAIjC,4BAA4B,gBAgB9B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewStateProps } from './ViewState';
|
|
2
|
+
export interface InvitationInputProps extends ViewStateProps {
|
|
3
|
+
invitationType: 'space' | 'halo';
|
|
4
|
+
}
|
|
5
|
+
export declare const InvitationInput: ({ invitationType, ...viewStateProps }: InvitationInputProps) => JSX.Element;
|
|
6
|
+
//# sourceMappingURL=InvitationInput.d.ts.map
|
|
@@ -0,0 +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,gBAyD1F,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewStateProps } from './ViewState';
|
|
2
|
+
export interface InvitationConnectorProps extends ViewStateProps {
|
|
3
|
+
invitationType: 'space' | 'halo';
|
|
4
|
+
}
|
|
5
|
+
export declare const InvitationRescuer: ({ invitationType, ...viewStateProps }: InvitationConnectorProps) => JSX.Element;
|
|
6
|
+
//# sourceMappingURL=InvitationRescuer.d.ts.map
|
|
@@ -0,0 +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;AA4DD,eAAO,MAAM,iBAAiB,0CAA2C,wBAAwB,gBAsBhG,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ComponentProps, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { AuthenticatingInvitationObservable, Profile } from '@dxos/client';
|
|
3
|
+
import { JoinDispatch } from '../JoinPanelProps';
|
|
4
|
+
export interface ViewStateProps extends ComponentProps<'div'> {
|
|
5
|
+
active: boolean;
|
|
6
|
+
dispatch: JoinDispatch;
|
|
7
|
+
selectedIdentity?: true | Profile;
|
|
8
|
+
activeInvitation?: true | AuthenticatingInvitationObservable;
|
|
9
|
+
}
|
|
10
|
+
export declare const ViewStateHeading: ({ children, className, ...props }: ComponentPropsWithoutRef<'h2'>) => JSX.Element;
|
|
11
|
+
export declare const ViewState: ({ active, children, className, dispatch, selectedIdentity, activeInvitation, ...props }: ViewStateProps) => JSX.Element;
|
|
12
|
+
//# sourceMappingURL=ViewState.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './AdditionMethodSelector';
|
|
2
|
+
export * from './IdentityAdded';
|
|
3
|
+
export * from './IdentitySelector';
|
|
4
|
+
export * from './IdentityInput';
|
|
5
|
+
export * from './InvitationAccepted';
|
|
6
|
+
export * from './InvitationInput';
|
|
7
|
+
export * from './InvitationRescuer';
|
|
8
|
+
export * from './InvitationAuthenticator';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/panels/JoinPanel/view-states/index.ts"],"names":[],"mappings":"AAIA,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { cloneElement } from 'react';
|
|
2
|
+
import { Space, SpaceMember } from '@dxos/client';
|
|
3
|
+
export declare type SpacePanelProps = {
|
|
4
|
+
titleId?: string;
|
|
5
|
+
space?: Space;
|
|
6
|
+
initialState?: SpaceView;
|
|
7
|
+
createInvitationUrl: (invitationCode: string) => string;
|
|
8
|
+
onClickJoinSpace?: () => void;
|
|
9
|
+
onClickMember?: (member: SpaceMember) => void;
|
|
10
|
+
doneActionParent?: Parameters<typeof cloneElement>[0];
|
|
11
|
+
onDone?: (result: Space | null) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare type SpaceView = 'current space' | 'space list';
|
|
14
|
+
export declare type SpaceState = {
|
|
15
|
+
activeView: SpaceView;
|
|
16
|
+
};
|
|
17
|
+
export declare const SpacePanel: (props: SpacePanelProps) => JSX.Element;
|
|
18
|
+
//# 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,WAAW,EAAE,MAAM,cAAc,CAAC;AAOlD,oBAAY,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mBAAmB,EAAE,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC;IACxD,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,GAAG,IAAI,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,YAAY,CAAC;AAEvD,oBAAY,UAAU,GAAG;IACvB,UAAU,EAAE,SAAS,CAAC;CACvB,CAAC;AAoHF,eAAO,MAAM,UAAU,UAAW,eAAe,gBA4BhD,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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/panels/SpacePanel/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/panels/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/styles/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Invitation } from '@dxos/client';
|
|
2
|
+
export declare const inactiveBgColor = "bg-neutral-100 dark:bg-neutral-600";
|
|
3
|
+
export declare const activeBgColor = "bg-primary-500 dark:bg-primary-400";
|
|
4
|
+
export declare const successBgColor = "bg-success-500 dark:bg-success-400";
|
|
5
|
+
export declare const errorBgColor = "bg-error-500 dark:bg-error-400";
|
|
6
|
+
export declare const cancelledBgColor = "bg-warning-500 dark:bg-warning-400";
|
|
7
|
+
export declare const inactiveTextColor = "text-neutral-100 dark:text-neutral-600";
|
|
8
|
+
export declare const activeTextColor = "text-primary-400 dark:text-primary-500";
|
|
9
|
+
export declare const successTextColor = "text-success-400 dark:text-success-500";
|
|
10
|
+
export declare const errorTextColor = "text-error-400 dark:text-error-500";
|
|
11
|
+
export declare const cancelledTextColor = "text-warning-400 dark:text-warning-500";
|
|
12
|
+
export declare const inactiveStrokeColor = "stroke-neutral-100 dark:stroke-neutral-700";
|
|
13
|
+
export declare const activeStrokeColor = "stroke-primary-500 dark:stroke-primary-150";
|
|
14
|
+
export declare const successStrokeColor = "stroke-success-400 dark:stroke-primary-400";
|
|
15
|
+
export declare const errorStrokeColor = "stroke-error-400 dark:stroke-error-500";
|
|
16
|
+
export declare const cancelledStrokeColor = "stroke-warning-400 dark:stroke-warning-500";
|
|
17
|
+
export declare const resolvedStrokeColor: (status: Invitation.State) => "stroke-success-400 dark:stroke-primary-400" | "stroke-error-400 dark:stroke-error-500" | "stroke-warning-400 dark:stroke-warning-500";
|
|
18
|
+
export declare const resolvedBgColor: (status: Invitation.State) => "bg-success-500 dark:bg-success-400" | "bg-error-500 dark:bg-error-400" | "bg-warning-500 dark:bg-warning-400";
|
|
19
|
+
export declare const resolvedTextColor: (status: Invitation.State) => "text-success-400 dark:text-success-500" | "text-error-400 dark:text-error-500" | "text-warning-400 dark:text-warning-500";
|
|
20
|
+
//# sourceMappingURL=invitationStatusStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitationStatusStyles.d.ts","sourceRoot":"","sources":["../../../../src/styles/invitationStatusStyles.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,eAAe,uCAAuC,CAAC;AACpE,eAAO,MAAM,aAAa,uCAAuC,CAAC;AAClE,eAAO,MAAM,cAAc,uCAAuC,CAAC;AACnE,eAAO,MAAM,YAAY,mCAAmC,CAAC;AAC7D,eAAO,MAAM,gBAAgB,uCAAuC,CAAC;AAErE,eAAO,MAAM,iBAAiB,2CAA2C,CAAC;AAC1E,eAAO,MAAM,eAAe,2CAA2C,CAAC;AACxE,eAAO,MAAM,gBAAgB,2CAA2C,CAAC;AACzE,eAAO,MAAM,cAAc,uCAAuC,CAAC;AACnE,eAAO,MAAM,kBAAkB,2CAA2C,CAAC;AAE3E,eAAO,MAAM,mBAAmB,+CAA+C,CAAC;AAChF,eAAO,MAAM,iBAAiB,+CAA+C,CAAC;AAC9E,eAAO,MAAM,kBAAkB,+CAA+C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,2CAA2C,CAAC;AACzE,eAAO,MAAM,oBAAoB,+CAA+C,CAAC;AAEjF,eAAO,MAAM,mBAAmB,WAAY,WAAW,KAAK,2IAKpC,CAAC;AACzB,eAAO,MAAM,eAAe,WAAY,WAAW,KAAK,mHAKpC,CAAC;AACrB,eAAO,MAAM,iBAAiB,WAAY,WAAW,KAAK,+HAKpC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const defaultSurface = "bg-neutral-50/[.72] dark:bg-neutral-950/[.72]";
|
|
2
|
+
export declare const subduedSurface = "bg-neutral-100/[.66] dark:bg-neutral-900/[.66]";
|
|
2
3
|
export declare const defaultArrow = "text-neutral-50/[.66] dark:text-neutral-950/[.66]";
|
|
3
4
|
//# sourceMappingURL=panelStyles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panelStyles.d.ts","sourceRoot":"","sources":["../../../../src/styles/panelStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"panelStyles.d.ts","sourceRoot":"","sources":["../../../../src/styles/panelStyles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc,kDAAkD,CAAC;AAC9E,eAAO,MAAM,cAAc,mDAAmD,CAAC;AAC/E,eAAO,MAAM,YAAY,sDAAsD,CAAC"}
|
|
@@ -2,5 +2,57 @@ export declare const os: {
|
|
|
2
2
|
'manage profile label': string;
|
|
3
3
|
'identity offline description': string;
|
|
4
4
|
'sidebar label': string;
|
|
5
|
+
'copy invitation code label': string;
|
|
6
|
+
'open share panel label': string;
|
|
7
|
+
'joining heading': string;
|
|
8
|
+
'join space heading': string;
|
|
9
|
+
'halo heading': string;
|
|
10
|
+
'exit label': string;
|
|
11
|
+
'identity selector title': string;
|
|
12
|
+
'identity radio group title': string;
|
|
13
|
+
'add identity label': string;
|
|
14
|
+
'continue label': string;
|
|
15
|
+
'back label': string;
|
|
16
|
+
'next label': string;
|
|
17
|
+
'close label': string;
|
|
18
|
+
'auth choices label': string;
|
|
19
|
+
'create identity label': string;
|
|
20
|
+
'create identity description': string;
|
|
21
|
+
'recover identity label': string;
|
|
22
|
+
'recover identity description': string;
|
|
23
|
+
'join identity label': string;
|
|
24
|
+
'join identity description': string;
|
|
25
|
+
'deselect identity label': string;
|
|
26
|
+
'addition method selector title': string;
|
|
27
|
+
'new identity input label': string;
|
|
28
|
+
'recover identity input label': string;
|
|
29
|
+
'failed to create identity message': string;
|
|
30
|
+
'failed to recover identity message': string;
|
|
31
|
+
'failed to authenticate message': string;
|
|
32
|
+
'identity added label': string;
|
|
33
|
+
'join space as identity heading': string;
|
|
34
|
+
'error status label': string;
|
|
35
|
+
'timeout status label': string;
|
|
36
|
+
'cancelled status label': string;
|
|
37
|
+
'init status label': string;
|
|
38
|
+
'connecting status label': string;
|
|
39
|
+
'connected status label': string;
|
|
40
|
+
'authenticating status label': string;
|
|
41
|
+
'success status label': string;
|
|
42
|
+
'connect label': string;
|
|
43
|
+
'reconnect label': string;
|
|
44
|
+
'cancel label': string;
|
|
45
|
+
'done label': string;
|
|
46
|
+
'reset label': string;
|
|
47
|
+
'auth code input label': string;
|
|
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;
|
|
5
57
|
};
|
|
6
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
|
|
1
|
+
{"version":3,"file":"en-US.d.ts","sourceRoot":"","sources":["../../../../../src/translations/locales/en-US.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/util/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Invitation } from '@dxos/client';
|
|
2
|
+
/**
|
|
3
|
+
* This map assigns a numeric value to invitation states to facilitate
|
|
4
|
+
* more terse code which uses combinations of `>`, `<`, and `=` instead of
|
|
5
|
+
* longer sequences of `===` and `||` predicates.
|
|
6
|
+
*/
|
|
7
|
+
export declare const invitationStatusValue: Map<Invitation.State, number>;
|
|
8
|
+
//# sourceMappingURL=invitationStatusValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitationStatusValue.d.ts","sourceRoot":"","sources":["../../../../src/util/invitationStatusValue.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,+BAShC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24-next.6b1f434",
|
|
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",
|
|
@@ -10,20 +10,26 @@
|
|
|
10
10
|
"types": "dist/types/src/index.d.ts",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
|
-
"src"
|
|
13
|
+
"src",
|
|
14
|
+
"theme-extensions.js"
|
|
14
15
|
],
|
|
15
16
|
"dependencies": {
|
|
17
|
+
"@radix-ui/react-accordion": "^1.0.1",
|
|
18
|
+
"@radix-ui/react-alert-dialog": "^1.0.2",
|
|
16
19
|
"@radix-ui/react-dialog": "^1.0.0",
|
|
20
|
+
"@radix-ui/react-radio-group": "^1.1.1",
|
|
17
21
|
"@react-hook/async": "^3.1.1",
|
|
18
22
|
"debug": "^4.3.3",
|
|
23
|
+
"qrcode.react": "^3.1.0",
|
|
19
24
|
"url-join": "^5.0.0",
|
|
20
|
-
"@dxos/client": "0.1.
|
|
21
|
-
"@dxos/config": "0.1.
|
|
22
|
-
"@dxos/debug": "0.1.
|
|
23
|
-
"@dxos/keys": "0.1.
|
|
24
|
-
"@dxos/
|
|
25
|
-
"@dxos/react-
|
|
26
|
-
"@dxos/
|
|
25
|
+
"@dxos/client": "0.1.24-next.6b1f434",
|
|
26
|
+
"@dxos/config": "0.1.24-next.6b1f434",
|
|
27
|
+
"@dxos/debug": "0.1.24-next.6b1f434",
|
|
28
|
+
"@dxos/keys": "0.1.24-next.6b1f434",
|
|
29
|
+
"@dxos/protocols": "0.1.24-next.6b1f434",
|
|
30
|
+
"@dxos/react-client": "0.1.24-next.6b1f434",
|
|
31
|
+
"@dxos/react-components": "0.1.24-next.6b1f434",
|
|
32
|
+
"@dxos/util": "0.1.24-next.6b1f434"
|
|
27
33
|
},
|
|
28
34
|
"devDependencies": {
|
|
29
35
|
"@types/debug": "^4.1.7",
|
|
@@ -33,8 +39,10 @@
|
|
|
33
39
|
"phosphor-react": "^1.4.1",
|
|
34
40
|
"react": "^18.2.0",
|
|
35
41
|
"react-dom": "^18.2.0",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
42
|
+
"vite": "4.0.4",
|
|
43
|
+
"@dxos/async": "0.1.24-next.6b1f434",
|
|
44
|
+
"@dxos/log": "0.1.24-next.6b1f434",
|
|
45
|
+
"@dxos/react-async": "0.1.24-next.6b1f434"
|
|
38
46
|
},
|
|
39
47
|
"peerDependencies": {
|
|
40
48
|
"phosphor-react": "^1.4.1",
|