@backmatter/studio 0.0.6 → 0.0.7

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 (42) hide show
  1. package/dist/chunks/{EmbedPublishPage-DazYJLaD.js → EmbedPublishPage-88VsmOhi.js} +1 -1
  2. package/dist/chunks/{UiKitPage-DyVyBp0I.js → UiKitPage-X4hkFL2d.js} +3 -3
  3. package/dist/chunks/{WorkspaceRoutes-CPvkgvxe.js → WorkspaceRoutes-DXzdWqN3.js} +20287 -18407
  4. package/dist/chunks/{dashboard-6aSS8oyj.js → dashboard-DCHRI0WD.js} +465 -443
  5. package/dist/chunks/{index-DgTNL4t3.js → index-BS0-Bvbk.js} +2 -2
  6. package/dist/chunks/{status-bar-action-RNBujSgk.js → status-bar-action-wj1KZ51m.js} +5512 -5382
  7. package/dist/dashboard.js +2 -2
  8. package/dist/index.js +4 -4
  9. package/dist/site-widget.js +2 -2
  10. package/dist/studio.css +450 -62
  11. package/package.json +3 -2
  12. package/src/App.tsx +2 -0
  13. package/src/WorkspaceRoutes.tsx +2 -0
  14. package/src/api.ts +80 -0
  15. package/src/chat/ChatMessage.tsx +10 -3
  16. package/src/chat/Composer.tsx +18 -18
  17. package/src/chat/chat-helpers.ts +58 -1
  18. package/src/chrome/AppSidebar.tsx +31 -156
  19. package/src/chrome/CommandPalette.tsx +211 -74
  20. package/src/chrome/ContentExplorerSidebar.tsx +1174 -0
  21. package/src/chrome/UserMenu.tsx +18 -3
  22. package/src/chrome/WorkspaceNavContext.tsx +1 -0
  23. package/src/chrome/command-palette-icons.tsx +152 -0
  24. package/src/chrome/content-path-tree.ts +95 -0
  25. package/src/chrome/content-repo-path.ts +52 -0
  26. package/src/chrome/explorer-icons.tsx +89 -0
  27. package/src/chrome/folder-create-context.ts +147 -0
  28. package/src/pages/BlockSettingsDialog.tsx +4 -0
  29. package/src/pages/CliAuthorizePage.tsx +43 -0
  30. package/src/pages/DocEditorPage.tsx +33 -4
  31. package/src/pages/MediaFieldInput.tsx +139 -0
  32. package/src/pages/MediaGalleryPage.tsx +752 -0
  33. package/src/pages/MediaLightbox.tsx +460 -0
  34. package/src/pages/SettingsUsagePage.tsx +19 -0
  35. package/src/pages/TypeDocsPage.tsx +2 -210
  36. package/src/pages/WorkspaceLayout.tsx +6 -1
  37. package/src/pages/media-grid.ts +190 -0
  38. package/src/pages/preview-url.ts +13 -2
  39. package/src/replica/useReplica.ts +9 -0
  40. package/src/ui/ConfirmDialog.tsx +1 -1
  41. package/src/workspace/permissions.ts +9 -0
  42. package/src/workspace-path.ts +13 -0
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, jsx as i } from "react/jsx-runtime";
2
2
  import { useEffect as k, useState as u, useRef as H, useMemo as O } from "react";
3
- import { i as P, f as U, c as K, d as F, p as g, a as b, b as q, r as V, n as J, s as Q, e as X, g as Y, h as Z } from "./status-bar-action-RNBujSgk.js";
3
+ import { i as P, f as U, c as K, d as F, p as g, a as b, b as q, r as V, n as J, s as Q, e as X, g as Y, h as Z } from "./status-bar-action-wj1KZ51m.js";
4
4
  const I = 8e3;
5
5
  function T() {
6
6
  if (!document.referrer) return "";
@@ -1,8 +1,8 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as y } from "react";
3
- import { B as c, j as S, p as z } from "./status-bar-action-RNBujSgk.js";
4
- import { u as N, T as l, B as p, S as m, P as o, F as x, I as b, a as w, b as $, c as L, d as g, e as h } from "./WorkspaceRoutes-CPvkgvxe.js";
5
- import { L as j, a as k } from "./dashboard-6aSS8oyj.js";
3
+ import { B as c, j as S, p as z } from "./status-bar-action-wj1KZ51m.js";
4
+ import { u as N, T as l, B as p, S as m, P as o, F as x, I as b, a as w, b as $, c as L, d as g, e as h } from "./WorkspaceRoutes-DXzdWqN3.js";
5
+ import { L as j, a as k } from "./dashboard-DCHRI0WD.js";
6
6
  const q = ["primary", "secondary", "ghost", "danger"];
7
7
  function A() {
8
8
  const {