@hexclave/react 1.0.65 → 1.0.67

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 (88) hide show
  1. package/dist/{admin-app-impl-__tinVgJ.d.ts → admin-app-impl-DERe455D.d.ts} +7 -7
  2. package/dist/{admin-app-impl-__tinVgJ.d.ts.map → admin-app-impl-DERe455D.d.ts.map} +1 -1
  3. package/dist/clickmap/clickmap-core.js +2 -2
  4. package/dist/clickmap/index.js +2 -2
  5. package/dist/components/api-key-dialogs.d.ts +1 -1
  6. package/dist/components/api-key-dialogs.js +2 -2
  7. package/dist/components/credential-sign-in.js +1 -1
  8. package/dist/components/credential-sign-up.js +1 -1
  9. package/dist/components/magic-link-sign-in.js +1 -1
  10. package/dist/components/team-switcher.js +1 -1
  11. package/dist/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  12. package/dist/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  13. package/dist/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  14. package/dist/components-page/account-settings/email-and-auth/password-section.js +1 -1
  15. package/dist/components-page/account-settings/teams/team-creation-page.js +1 -1
  16. package/dist/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  17. package/dist/components-page/auth-page.js +1 -1
  18. package/dist/components-page/cli-auth-confirm.js +1 -1
  19. package/dist/components-page/cli-auth-confirm.test.js +1 -1
  20. package/dist/components-page/forgot-password.js +1 -1
  21. package/dist/components-page/oauth-callback.js +2 -2
  22. package/dist/components-page/oauth-callback.test.js +1 -1
  23. package/dist/components-page/onboarding.js +1 -1
  24. package/dist/components-page/password-reset.js +1 -1
  25. package/dist/components-page/sign-out.test.js +1 -1
  26. package/dist/components-page/team-creation.js +1 -1
  27. package/dist/dev-tool/dev-tool-core.js +2 -2
  28. package/dist/dev-tool/index.js +2 -2
  29. package/dist/esm/clickmap/clickmap-core.js +2 -2
  30. package/dist/esm/clickmap/index.js +2 -2
  31. package/dist/esm/components/api-key-dialogs.d.ts +1 -1
  32. package/dist/esm/components/api-key-dialogs.js +2 -2
  33. package/dist/esm/components/credential-sign-in.js +1 -1
  34. package/dist/esm/components/credential-sign-up.js +1 -1
  35. package/dist/esm/components/magic-link-sign-in.js +1 -1
  36. package/dist/esm/components/team-switcher.js +1 -1
  37. package/dist/esm/components-page/account-settings/active-sessions/active-sessions-page.js +1 -1
  38. package/dist/esm/components-page/account-settings/email-and-auth/emails-section.js +1 -1
  39. package/dist/esm/components-page/account-settings/email-and-auth/mfa-section.js +1 -1
  40. package/dist/esm/components-page/account-settings/email-and-auth/password-section.js +1 -1
  41. package/dist/esm/components-page/account-settings/teams/team-creation-page.js +1 -1
  42. package/dist/esm/components-page/account-settings/teams/team-member-invitation-section.js +1 -1
  43. package/dist/esm/components-page/auth-page.js +1 -1
  44. package/dist/esm/components-page/cli-auth-confirm.js +1 -1
  45. package/dist/esm/components-page/cli-auth-confirm.test.js +1 -1
  46. package/dist/esm/components-page/forgot-password.js +1 -1
  47. package/dist/esm/components-page/oauth-callback.js +2 -2
  48. package/dist/esm/components-page/oauth-callback.test.js +1 -1
  49. package/dist/esm/components-page/onboarding.js +1 -1
  50. package/dist/esm/components-page/password-reset.js +1 -1
  51. package/dist/esm/components-page/sign-out.test.js +1 -1
  52. package/dist/esm/components-page/team-creation.js +1 -1
  53. package/dist/esm/dev-tool/dev-tool-core.js +2 -2
  54. package/dist/esm/dev-tool/index.js +2 -2
  55. package/dist/esm/generated/quetzal-translations.d.ts +2 -2
  56. package/dist/esm/lib/auth.js +1 -1
  57. package/dist/esm/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +5 -5
  58. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +2 -2
  59. package/dist/esm/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  60. package/dist/esm/lib/hexclave-app/apps/implementations/common.js +4 -4
  61. package/dist/esm/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  62. package/dist/esm/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  63. package/dist/esm/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  64. package/dist/esm/providers/theme-provider.js +1 -1
  65. package/dist/esm/pushed-config-error-overlay/index.js +2 -2
  66. package/dist/generated/quetzal-translations.d.ts +1 -1
  67. package/dist/{hexclave-provider-CzT3bPnn.d.ts → hexclave-provider-DL3ostRK.d.ts} +2 -2
  68. package/dist/{hexclave-provider-CzT3bPnn.d.ts.map → hexclave-provider-DL3ostRK.d.ts.map} +1 -1
  69. package/dist/index.d.ts +1 -1
  70. package/dist/lib/auth.js +1 -1
  71. package/dist/lib/hexclave-app/apps/implementations/admin-app-impl.d.ts +1 -1
  72. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.d.ts +1 -1
  73. package/dist/lib/hexclave-app/apps/implementations/client-app-impl.js +2 -2
  74. package/dist/lib/hexclave-app/apps/implementations/common.js +4 -4
  75. package/dist/lib/hexclave-app/apps/implementations/event-tracker.js +1 -1
  76. package/dist/lib/hexclave-app/apps/implementations/index.d.ts +1 -1
  77. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.d.ts +1 -1
  78. package/dist/lib/hexclave-app/apps/implementations/server-app-impl.js +1 -1
  79. package/dist/lib/hexclave-app/apps/implementations/session-replay.js +1 -1
  80. package/dist/providers/hexclave-provider.d.ts +1 -1
  81. package/dist/providers/theme-provider.js +1 -1
  82. package/dist/providers/translation-provider.d.ts +1 -1
  83. package/dist/pushed-config-error-overlay/index.js +2 -2
  84. package/dist/{quetzal-translations-CK45_4Dm.d.ts → quetzal-translations-DVNj-zsr.d.ts} +3 -3
  85. package/dist/{quetzal-translations-CK45_4Dm.d.ts.map → quetzal-translations-DVNj-zsr.d.ts.map} +1 -1
  86. package/dist/{translation-provider-DQ3BJepJ.d.ts → translation-provider-DPFkLbrw.d.ts} +2 -2
  87. package/dist/{translation-provider-DQ3BJepJ.d.ts.map → translation-provider-DPFkLbrw.d.ts.map} +1 -1
  88. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Label, PasswordInput, Typography } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input } from "@hexclave/ui";
5
5
  import { useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
1
2
  import { yupResolver } from "@hookform/resolvers/yup";
2
3
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
3
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
4
4
  import { Button, Input, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Typography } from "@hexclave/ui";
5
5
  import { useEffect, useState } from "react";
6
6
  import { useForm } from "react-hook-form";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { captureError } from "@hexclave/shared/dist/utils/errors";
3
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
4
  import { Skeleton, Tabs, TabsContent, TabsList, TabsTrigger, Typography, cn } from "@hexclave/ui";
5
5
  import { Suspense, useMemo } from "react";
6
6
  import { useStackApp, useUser } from "../index.js";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
3
4
  import { Typography } from "@hexclave/ui";
4
5
  import { useCallback, useEffect, useRef, useState } from "react";
5
6
  import { useTranslation } from "../lib/translations.js";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  import { useStackApp } from "../lib/hooks.js";
8
9
  import { MessageCard } from "../components/message-cards/message-card.js";
9
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
10
10
  //#region src/components-page/cli-auth-confirm.tsx
11
11
  async function postCliAuthComplete(app, body) {
12
12
  return await app[hexclaveAppInternalsSymbol].sendRequest("/auth/cli/complete", {
@@ -1,9 +1,9 @@
1
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
2
3
  import { act } from "react";
3
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
5
  import { createRoot } from "react-dom/client";
5
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
6
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
7
7
  import { HexclaveContext } from "../providers/hexclave-context.js";
8
8
  import { useCliAuthConfirmation } from "./cli-auth-confirm.js";
9
9
  //#region src/components-page/cli-auth-confirm.test.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Input, Label, Typography, cn } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,6 +1,7 @@
1
1
  "use client";
2
- import { captureError } from "@hexclave/shared/dist/utils/errors";
3
2
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
4
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
5
  import { Spinner, cn } from "@hexclave/ui";
5
6
  import { useEffect, useRef, useState } from "react";
6
7
  import { useStackApp } from "../index.js";
@@ -9,7 +10,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
9
10
  import { KnownError } from "@hexclave/shared";
10
11
  import { MaybeFullPage } from "../components/elements/maybe-full-page.js";
11
12
  import { StyledLink } from "../components/link.js";
12
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
13
13
  import { ErrorPage } from "./error-page.js";
14
14
  //#region src/components-page/oauth-callback.tsx
15
15
  function OAuthCallback({ fullPage }) {
@@ -1,9 +1,9 @@
1
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
1
2
  import { act } from "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
4
  import { KnownErrors } from "@hexclave/shared";
4
5
  import { createRoot } from "react-dom/client";
5
6
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
6
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
7
7
  import { OAuthCallback } from "./oauth-callback.js";
8
8
  import { TranslationProviderClient } from "../providers/translation-provider-client.js";
9
9
  //#region src/components-page/oauth-callback.test.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { strictEmailSchema, yupObject } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Input, Typography } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { passwordSchema, yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Label, PasswordInput, Typography, cn } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,8 +1,8 @@
1
+ import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
1
2
  import React, { act } from "react";
2
3
  import { jsx } from "react/jsx-runtime";
3
4
  import { createRoot } from "react-dom/client";
4
5
  import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
5
- import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
6
6
  import { SignOut } from "./sign-out.js";
7
7
  import { TranslationProviderClient } from "../providers/translation-provider-client.js";
8
8
  //#region src/components-page/sign-out.test.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
+ import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
2
3
  import { yupResolver } from "@hookform/resolvers/yup";
3
4
  import { yupObject, yupString } from "@hexclave/shared/dist/schema-fields";
4
- import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
5
5
  import { Button, Input, Label, Typography } from "@hexclave/ui";
6
6
  import { useState } from "react";
7
7
  import { useForm } from "react-hook-form";
@@ -1,9 +1,9 @@
1
+ import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
1
2
  import { runAsynchronously, runAsynchronouslyWithAlert } from "@hexclave/shared/dist/utils/promises";
3
+ import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
2
4
  import { hexclaveAppInternalsSymbol } from "../lib/hexclave-app/common.js";
3
5
  import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
4
6
  import { getPagePrompt } from "../lib/hexclave-app/url-targets.js";
5
- import { DEV_TOOL_ROOT_ID } from "@hexclave/shared/dist/utils/dev-tool";
6
- import { getGlobalUiInstance, h, hasAppendChild, setGlobalUiInstance, setHtml } from "../in-page-ui/dom.js";
7
7
  import { getBaseUrl } from "../lib/hexclave-app/apps/implementations/common.js";
8
8
  import { devToolCSS } from "./dev-tool-styles.js";
9
9
  import { clampTriggerPosition, getSnappedTriggerPlacement, resolveTriggerPosition } from "./dev-tool-trigger-position.js";
@@ -1,7 +1,7 @@
1
- import { captureError } from "@hexclave/shared/dist/utils/errors";
2
1
  import { runAsynchronously } from "@hexclave/shared/dist/utils/promises";
3
- import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
4
2
  import { canMountIntoDom } from "../in-page-ui/dom.js";
3
+ import { captureError } from "@hexclave/shared/dist/utils/errors";
4
+ import { isLocalhost } from "@hexclave/shared/dist/utils/urls";
5
5
  import { envVars } from "../generated/env.js";
6
6
  //#region src/dev-tool/index.ts
7
7
  const OVERRIDE_KEY = "__hexclave-dev-tool-override";