@dxos/react-ui 0.1.37-next.a4acfcd → 0.1.37-next.f87f7ef
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 +12 -5
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/types/src/panels/JoinPanel/view-states/IdentityInput.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/panels/JoinPanel/view-states/IdentityInput.tsx +3 -1
|
@@ -892,7 +892,7 @@ var IdentityPanel = ({ identity, onClickManageProfile }) => {
|
|
|
892
892
|
|
|
893
893
|
// packages/apps/patterns/react-ui/src/panels/JoinPanel/JoinPanel.tsx
|
|
894
894
|
import React29, { useEffect as useEffect2 } from "react";
|
|
895
|
-
import { log as
|
|
895
|
+
import { log as log3 } from "@dxos/log";
|
|
896
896
|
import { useClient as useClient5, useIdentity as useIdentity2 } from "@dxos/react-client";
|
|
897
897
|
import { DensityProvider as DensityProvider4, useId as useId4, useThemeContext as useThemeContext2 } from "@dxos/react-components";
|
|
898
898
|
|
|
@@ -1606,6 +1606,7 @@ var IdentityAdded = ({ mode, addedIdentity, onDone, doneActionParent, ...viewSta
|
|
|
1606
1606
|
// packages/apps/patterns/react-ui/src/panels/JoinPanel/view-states/IdentityInput.tsx
|
|
1607
1607
|
import { CaretLeft as CaretLeft2, CaretRight as CaretRight3 } from "@phosphor-icons/react";
|
|
1608
1608
|
import React24, { useState as useState3 } from "react";
|
|
1609
|
+
import { log as log2 } from "@dxos/log";
|
|
1609
1610
|
import { useClient as useClient4 } from "@dxos/react-client";
|
|
1610
1611
|
import { Button as Button7, getSize as getSize10, Input, mx as mx17, useTranslation as useTranslation12 } from "@dxos/react-components";
|
|
1611
1612
|
function _extends18() {
|
|
@@ -1638,7 +1639,13 @@ var IdentityInput = ({ method, ...viewStateProps }) => {
|
|
|
1638
1639
|
type: "selectIdentity",
|
|
1639
1640
|
identity
|
|
1640
1641
|
});
|
|
1641
|
-
}, (
|
|
1642
|
+
}, (error) => {
|
|
1643
|
+
log2.catch(error, {}, {
|
|
1644
|
+
file: "IdentityInput.tsx",
|
|
1645
|
+
line: 32,
|
|
1646
|
+
scope: void 0,
|
|
1647
|
+
callSite: (f, a) => f(...a)
|
|
1648
|
+
});
|
|
1642
1649
|
setValidationMessage(t(isRecover ? "failed to recover identity message" : "failed to create identity message"));
|
|
1643
1650
|
});
|
|
1644
1651
|
};
|
|
@@ -2120,7 +2127,7 @@ var JoinPanel = ({ mode = "default", initialInvitationCode, exitActionParent, on
|
|
|
2120
2127
|
});
|
|
2121
2128
|
useEffect2(() => {
|
|
2122
2129
|
const subscription = joinService.subscribe((state) => {
|
|
2123
|
-
|
|
2130
|
+
log3("[state]", state, {
|
|
2124
2131
|
file: "JoinPanel.tsx",
|
|
2125
2132
|
line: 49,
|
|
2126
2133
|
scope: void 0,
|
|
@@ -2499,7 +2506,7 @@ var JoinDialog = ({ slots, ...joinPanelProps }) => {
|
|
|
2499
2506
|
|
|
2500
2507
|
// packages/apps/patterns/react-ui/src/composites/Shell/Shell.tsx
|
|
2501
2508
|
import React35, { useEffect as useEffect3, useState as useState6 } from "react";
|
|
2502
|
-
import { log as
|
|
2509
|
+
import { log as log4 } from "@dxos/log";
|
|
2503
2510
|
import { ShellDisplay, ShellLayout } from "@dxos/protocols/proto/dxos/iframe";
|
|
2504
2511
|
import { useClient as useClient6, useSpace as useSpace3, useSpaces } from "@dxos/react-client";
|
|
2505
2512
|
|
|
@@ -2614,7 +2621,7 @@ var Shell = ({ runtime, origin }) => {
|
|
|
2614
2621
|
]);
|
|
2615
2622
|
useEffect3(() => {
|
|
2616
2623
|
if (layout === ShellLayout.SPACE_INVITATIONS && !space) {
|
|
2617
|
-
|
|
2624
|
+
log4.warn("No space found for shell space invitations.", {}, {
|
|
2618
2625
|
file: "Shell.tsx",
|
|
2619
2626
|
line: 33,
|
|
2620
2627
|
scope: void 0,
|