@dxos/plugin-help 0.8.2-main.f11618f → 0.8.2-main.fbd8ed0

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 (35) hide show
  1. package/dist/lib/browser/{app-graph-builder-6B6AJRCG.mjs → app-graph-builder-TURPF3QA.mjs} +11 -10
  2. package/dist/lib/browser/app-graph-builder-TURPF3QA.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-AIK64B2S.mjs → chunk-7WCNIZD2.mjs} +5 -5
  4. package/dist/lib/browser/chunk-7WCNIZD2.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-XC36YAWT.mjs → chunk-MCBBUJMA.mjs} +5 -5
  6. package/dist/lib/browser/chunk-MCBBUJMA.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +6 -6
  8. package/dist/lib/browser/index.mjs.map +3 -3
  9. package/dist/lib/browser/meta.json +1 -1
  10. package/dist/lib/browser/{react-root-SYJQMP2R.mjs → react-root-6CGWH4PA.mjs} +3 -3
  11. package/dist/lib/browser/{react-surface-BZ7D7FFN.mjs → react-surface-67ZRIGQ2.mjs} +3 -3
  12. package/dist/lib/browser/types.mjs +1 -1
  13. package/dist/types/src/HelpPlugin.d.ts.map +1 -1
  14. package/dist/types/src/capabilities/app-graph-builder.d.ts +2 -179
  15. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  16. package/dist/types/src/capabilities/index.d.ts +1 -177
  17. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  18. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  19. package/dist/types/src/components/Shortcuts/Key.d.ts.map +1 -1
  20. package/dist/types/src/components/Shortcuts/ShortcutsHints.d.ts.map +1 -1
  21. package/dist/types/src/components/WelcomeTour/WelcomeTour.d.ts.map +1 -1
  22. package/dist/types/src/types.d.ts +7 -7
  23. package/dist/types/src/types.d.ts.map +1 -1
  24. package/dist/types/tsconfig.tsbuildinfo +1 -1
  25. package/package.json +25 -18
  26. package/src/HelpPlugin.tsx +1 -1
  27. package/src/capabilities/app-graph-builder.ts +59 -49
  28. package/src/components/Shortcuts/ShortcutsList.tsx +1 -1
  29. package/src/components/Tooltip/Tooltip.tsx +2 -2
  30. package/src/types.ts +6 -6
  31. package/dist/lib/browser/app-graph-builder-6B6AJRCG.mjs.map +0 -7
  32. package/dist/lib/browser/chunk-AIK64B2S.mjs.map +0 -7
  33. package/dist/lib/browser/chunk-XC36YAWT.mjs.map +0 -7
  34. /package/dist/lib/browser/{react-root-SYJQMP2R.mjs.map → react-root-6CGWH4PA.mjs.map} +0 -0
  35. /package/dist/lib/browser/{react-surface-BZ7D7FFN.mjs.map → react-surface-67ZRIGQ2.mjs.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SHORTCUTS_DIALOG
3
- } from "./chunk-XC36YAWT.mjs";
3
+ } from "./chunk-MCBBUJMA.mjs";
4
4
  import {
5
5
  HelpAction
6
- } from "./chunk-AIK64B2S.mjs";
6
+ } from "./chunk-7WCNIZD2.mjs";
7
7
  import {
8
8
  HelpCapabilities
9
9
  } from "./chunk-EMRPD2QX.mjs";
@@ -12,17 +12,18 @@ import {
12
12
  } from "./chunk-4KTRSNO5.mjs";
13
13
 
14
14
  // packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts
15
+ import { Rx } from "@effect-rx/rx-react";
16
+ import { Option, pipe } from "effect";
15
17
  import { Capabilities, contributes, createIntent, LayoutAction } from "@dxos/app-framework";
16
18
  import { createExtension } from "@dxos/app-graph";
17
19
  var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, createExtension({
18
20
  id: HELP_PLUGIN,
19
- filter: (node) => node.id === "root",
20
- actions: () => [
21
+ actions: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => node2.id === "root" ? Option.some(node2) : Option.none()), Option.map(() => [
21
22
  {
22
23
  id: HelpAction.Start._tag,
23
24
  data: async () => {
24
- const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher);
25
- const state = context.requestCapability(HelpCapabilities.MutableState);
25
+ const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);
26
+ const state = context.getCapability(HelpCapabilities.MutableState);
26
27
  state.showHints = true;
27
28
  await dispatch(createIntent(HelpAction.Start));
28
29
  },
@@ -46,8 +47,8 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
46
47
  {
47
48
  id: "dxos.org/plugin/help/open-shortcuts",
48
49
  data: async () => {
49
- const { dispatchPromise: dispatch } = context.requestCapability(Capabilities.IntentDispatcher);
50
- const state = context.requestCapability(HelpCapabilities.MutableState);
50
+ const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);
51
+ const state = context.getCapability(HelpCapabilities.MutableState);
51
52
  state.showHints = true;
52
53
  await dispatch(createIntent(LayoutAction.UpdateDialog, {
53
54
  part: "dialog",
@@ -70,9 +71,9 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
70
71
  }
71
72
  }
72
73
  }
73
- ]
74
+ ]), Option.getOrElse(() => [])))
74
75
  }));
75
76
  export {
76
77
  app_graph_builder_default as default
77
78
  };
78
- //# sourceMappingURL=app-graph-builder-6B6AJRCG.mjs.map
79
+ //# sourceMappingURL=app-graph-builder-TURPF3QA.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/app-graph-builder.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Rx } from '@effect-rx/rx-react';\nimport { Option, pipe } from 'effect';\n\nimport { Capabilities, contributes, createIntent, LayoutAction, type PluginContext } from '@dxos/app-framework';\nimport { createExtension } from '@dxos/app-graph';\n\nimport { HelpCapabilities } from './capabilities';\nimport { SHORTCUTS_DIALOG } from '../components';\nimport { HELP_PLUGIN } from '../meta';\nimport { HelpAction } from '../types';\n\nexport default (context: PluginContext) =>\n contributes(\n Capabilities.AppGraphBuilder,\n createExtension({\n id: HELP_PLUGIN,\n actions: (node) =>\n Rx.make((get) =>\n pipe(\n get(node),\n Option.flatMap((node) => (node.id === 'root' ? Option.some(node) : Option.none())),\n Option.map(() => [\n {\n id: HelpAction.Start._tag,\n data: async () => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n const state = context.getCapability(HelpCapabilities.MutableState);\n state.showHints = true;\n await dispatch(createIntent(HelpAction.Start));\n },\n properties: {\n label: ['open help tour', { ns: HELP_PLUGIN }],\n icon: 'ph--info--regular',\n keyBinding: {\n macos: 'shift+meta+/',\n // TODO(wittjosiah): Test on windows to see if it behaves the same as linux.\n windows: 'shift+ctrl+/',\n linux: 'shift+ctrl+?',\n },\n testId: 'helpPlugin.openHelp',\n },\n },\n {\n id: 'dxos.org/plugin/help/open-shortcuts',\n data: async () => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n const state = context.getCapability(HelpCapabilities.MutableState);\n state.showHints = true;\n await dispatch(\n createIntent(LayoutAction.UpdateDialog, {\n part: 'dialog',\n subject: SHORTCUTS_DIALOG,\n options: {\n blockAlign: 'center',\n },\n }),\n );\n },\n properties: {\n label: ['open shortcuts label', { ns: HELP_PLUGIN }],\n icon: 'ph--keyboard--regular',\n keyBinding: {\n macos: 'meta+ctrl+/',\n },\n },\n },\n ]),\n Option.getOrElse(() => []),\n ),\n ),\n }),\n );\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAIA,SAASA,UAAU;AACnB,SAASC,QAAQC,YAAY;AAE7B,SAASC,cAAcC,aAAaC,cAAcC,oBAAwC;AAC1F,SAASC,uBAAuB;AAOhC,IAAA,4BAAe,CAACC,YACdC,YACEC,aAAaC,iBACbC,gBAAgB;EACdC,IAAIC;EACJC,SAAS,CAACC,SACRC,GAAGC,KAAK,CAACC,QACPC,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UAAUA,MAAKH,OAAO,SAASQ,OAAOE,KAAKP,KAAAA,IAAQK,OAAOG,KAAI,CAAA,GAC9EH,OAAOI,IAAI,MAAM;IACf;MACEZ,IAAIa,WAAWC,MAAMC;MACrBC,MAAM,YAAA;AACJ,cAAM,EAAEC,iBAAiBC,SAAQ,IAAKvB,QAAQwB,cAActB,aAAauB,gBAAgB;AACzF,cAAMC,QAAQ1B,QAAQwB,cAAcG,iBAAiBC,YAAY;AACjEF,cAAMG,YAAY;AAClB,cAAMN,SAASO,aAAaZ,WAAWC,KAAK,CAAA;MAC9C;MACAY,YAAY;QACVC,OAAO;UAAC;UAAkB;YAAEC,IAAI3B;UAAY;;QAC5C4B,MAAM;QACNC,YAAY;UACVC,OAAO;;UAEPC,SAAS;UACTC,OAAO;QACT;QACAC,QAAQ;MACV;IACF;IACA;MACElC,IAAI;MACJgB,MAAM,YAAA;AACJ,cAAM,EAAEC,iBAAiBC,SAAQ,IAAKvB,QAAQwB,cAActB,aAAauB,gBAAgB;AACzF,cAAMC,QAAQ1B,QAAQwB,cAAcG,iBAAiBC,YAAY;AACjEF,cAAMG,YAAY;AAClB,cAAMN,SACJO,aAAaU,aAAaC,cAAc;UACtCC,MAAM;UACNC,SAASC;UACTC,SAAS;YACPC,YAAY;UACd;QACF,CAAA,CAAA;MAEJ;MACAf,YAAY;QACVC,OAAO;UAAC;UAAwB;YAAEC,IAAI3B;UAAY;;QAClD4B,MAAM;QACNC,YAAY;UACVC,OAAO;QACT;MACF;IACF;GACD,GACDvB,OAAOkC,UAAU,MAAM,CAAA,CAAE,CAAA,CAAA;AAGjC,CAAA,CAAA;",
6
+ "names": ["Rx", "Option", "pipe", "Capabilities", "contributes", "createIntent", "LayoutAction", "createExtension", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "HELP_PLUGIN", "actions", "node", "Rx", "make", "get", "pipe", "Option", "flatMap", "some", "none", "map", "HelpAction", "Start", "_tag", "data", "dispatchPromise", "dispatch", "getCapability", "IntentDispatcher", "state", "HelpCapabilities", "MutableState", "showHints", "createIntent", "properties", "label", "ns", "icon", "keyBinding", "macos", "windows", "linux", "testId", "LayoutAction", "UpdateDialog", "part", "subject", "SHORTCUTS_DIALOG", "options", "blockAlign", "getOrElse"]
7
+ }
@@ -3,8 +3,8 @@ import {
3
3
  } from "./chunk-4KTRSNO5.mjs";
4
4
 
5
5
  // packages/plugins/plugin-help/src/types.ts
6
+ import { Schema } from "effect";
6
7
  import { createContext } from "react";
7
- import { S } from "@dxos/echo-schema";
8
8
  var HelpContext = createContext({
9
9
  running: false,
10
10
  steps: [],
@@ -20,9 +20,9 @@ var HelpContext = createContext({
20
20
  var HELP_ACTION = `${HELP_PLUGIN}/action`;
21
21
  var HelpAction;
22
22
  (function(HelpAction2) {
23
- class Start extends S.TaggedClass()(`${HELP_ACTION}/start`, {
24
- input: S.Void,
25
- output: S.Void
23
+ class Start extends Schema.TaggedClass()(`${HELP_ACTION}/start`, {
24
+ input: Schema.Void,
25
+ output: Schema.Void
26
26
  }) {
27
27
  }
28
28
  HelpAction2.Start = Start;
@@ -33,4 +33,4 @@ export {
33
33
  HELP_ACTION,
34
34
  HelpAction
35
35
  };
36
- //# sourceMappingURL=chunk-AIK64B2S.mjs.map
36
+ //# sourceMappingURL=chunk-7WCNIZD2.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/types.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\nimport { type Context, createContext } from 'react';\nimport { type Step as BaseStep } from 'react-joyride';\n\nimport { type PluginContext } from '@dxos/app-framework';\n\nimport { HELP_PLUGIN } from './meta';\n\nexport type Step = BaseStep & {\n before?: (context: PluginContext) => void;\n};\n\nexport type HelpContextType = {\n running: boolean;\n steps: Step[];\n setSteps: (steps: Step[]) => void;\n setIndex: (index: number) => void;\n start: () => void;\n stop: () => void;\n};\n\nexport const HelpContext: Context<HelpContextType> = createContext<HelpContextType>({\n running: false,\n steps: [],\n setSteps: () => {},\n setIndex: () => {},\n start: () => {},\n stop: () => {},\n});\n\nexport const HELP_ACTION = `${HELP_PLUGIN}/action`;\nexport namespace HelpAction {\n export class Start extends Schema.TaggedClass<Start>()(`${HELP_ACTION}/start`, {\n input: Schema.Void,\n output: Schema.Void,\n }) {}\n}\n"],
5
+ "mappings": ";;;;;AAIA,SAASA,cAAc;AACvB,SAAuBC,qBAAqB;AAoBrC,IAAMC,cAAwCC,cAA+B;EAClFC,SAAS;EACTC,OAAO,CAAA;EACPC,UAAU,MAAA;EAAO;EACjBC,UAAU,MAAA;EAAO;EACjBC,OAAO,MAAA;EAAO;EACdC,MAAM,MAAA;EAAO;AACf,CAAA;AAEO,IAAMC,cAAc,GAAGC,WAAAA;;UACbC,aAAAA;EACR,MAAMC,cAAcC,OAAOC,YAAW,EAAU,GAAGL,WAAAA,UAAqB;IAC7EM,OAAOF,OAAOG;IACdC,QAAQJ,OAAOG;EACjB,CAAA,EAAA;EAAI;cAHSJ,QAAAA;AAIf,GALiBD,eAAAA,aAAAA,CAAAA,EAAAA;",
6
+ "names": ["Schema", "createContext", "HelpContext", "createContext", "running", "steps", "setSteps", "setIndex", "start", "stop", "HELP_ACTION", "HELP_PLUGIN", "HelpAction", "Start", "Schema", "TaggedClass", "input", "Void", "output"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HelpContext
3
- } from "./chunk-AIK64B2S.mjs";
3
+ } from "./chunk-7WCNIZD2.mjs";
4
4
  import {
5
5
  HELP_PLUGIN
6
6
  } from "./chunk-4KTRSNO5.mjs";
@@ -38,7 +38,7 @@ var ShortcutsList = () => {
38
38
  return toLocalizedString(a.data, t)?.toLowerCase().localeCompare(toLocalizedString(b.data, t)?.toLowerCase());
39
39
  });
40
40
  return /* @__PURE__ */ React2.createElement("dl", {
41
- className: mx2("is-fit grid grid-cols-[min-content_minmax(12rem,1fr)] gap-2 mlb-4 text-subdued")
41
+ className: mx2("is-fit grid grid-cols-[min-content_minmax(12rem,1fr)] gap-2 mlb-4 text-subdued select-none")
42
42
  }, bindings.map((binding, i) => /* @__PURE__ */ React2.createElement(Fragment, {
43
43
  key: i
44
44
  }, /* @__PURE__ */ React2.createElement(Key, {
@@ -150,7 +150,7 @@ var Tooltip = /* @__PURE__ */ forwardRef(({ step: { title, content }, index, siz
150
150
  tabBehavior: "limited-trap-focus"
151
151
  });
152
152
  return /* @__PURE__ */ React6.createElement("div", {
153
- className: "flex flex-col is-[15rem] min-bs-[10rem] overflow-hidden rounded-md shadow-xl bg-accentSurface text-inverse",
153
+ className: "flex flex-col is-[15rem] min-bs-[10rem] overflow-hidden rounded-md shadow-xl bg-accentSurface text-accentSurfaceText",
154
154
  role: "tooltip",
155
155
  "data-testid": "helpPlugin.tooltip",
156
156
  "data-step": index + 1,
@@ -159,7 +159,7 @@ var Tooltip = /* @__PURE__ */ forwardRef(({ step: { title, content }, index, siz
159
159
  }, /* @__PURE__ */ React6.createElement("div", {
160
160
  className: "flex p-2"
161
161
  }, /* @__PURE__ */ React6.createElement("h2", {
162
- className: "grow pli-2 plb-1 text-lg font-medium text-inverse"
162
+ className: "grow pli-2 plb-1 text-lg font-medium text-accentSurfaceText"
163
163
  }, title), /* @__PURE__ */ React6.createElement(Button3, {
164
164
  density: "fine",
165
165
  variant: "primary",
@@ -358,4 +358,4 @@ export {
358
358
  Tooltip,
359
359
  WelcomeTour
360
360
  };
361
- //# sourceMappingURL=chunk-XC36YAWT.mjs.map
361
+ //# sourceMappingURL=chunk-MCBBUJMA.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/Shortcuts/Key.tsx", "../../../src/components/Shortcuts/styles.ts", "../../../src/components/Shortcuts/ShortcutsList.tsx", "../../../src/components/Shortcuts/ShortcutsDialog.tsx", "../../../src/components/Shortcuts/ShortcutsHints.tsx", "../../../src/components/Shortcuts/ShortcutsSection.tsx", "../../../src/components/Tooltip/Tooltip.tsx", "../../../src/components/WelcomeTour/WelcomeTour.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { keySymbols } from '@dxos/keyboard';\n\nimport { shortcutKey } from './styles';\n\nexport const Key = ({ binding }: { binding: string }) => {\n return (\n <span role='term' className='inline-flex gap-1' aria-label={binding} id={binding}>\n {keySymbols(binding).map((c, i) => (\n <span key={i} className={shortcutKey}>\n {c}\n </span>\n ))}\n </span>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { mx } from '@dxos/react-ui-theme';\n\nexport const shortcutKey = mx(\n 'inline-flex min-is-[24px] bs-[24px] pli-0.5 justify-center items-center text-xs',\n 'rounded bg-neutral-100 dark:bg-neutral-900',\n);\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React, { Fragment } from 'react';\n\nimport { Keyboard } from '@dxos/keyboard';\nimport { toLocalizedString, useTranslation } from '@dxos/react-ui';\nimport { mx } from '@dxos/react-ui-theme';\n\nimport { Key } from './Key';\nimport { HELP_PLUGIN } from '../../meta';\n\nexport const ShortcutsList = () => {\n const { t } = useTranslation(HELP_PLUGIN);\n const bindings = Keyboard.singleton.getBindings();\n\n // TODO(burdon): Get shortcuts from TextEditor.\n bindings.sort((a, b) => {\n return toLocalizedString(a.data, t)?.toLowerCase().localeCompare(toLocalizedString(b.data, t)?.toLowerCase());\n });\n\n return (\n <dl className={mx('is-fit grid grid-cols-[min-content_minmax(12rem,1fr)] gap-2 mlb-4 text-subdued select-none')}>\n {bindings.map((binding, i) => (\n <Fragment key={i}>\n <Key binding={binding.shortcut} />\n <span role='definition' className='mis-4' aria-labelledby={binding.shortcut}>\n {toLocalizedString(binding.data, t)}\n </span>\n </Fragment>\n ))}\n </dl>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Button, Dialog, Icon, useTranslation } from '@dxos/react-ui';\n\nimport { ShortcutsList } from './ShortcutsList';\nimport { HELP_PLUGIN } from '../../meta';\n\nexport const SHORTCUTS_DIALOG = `${HELP_PLUGIN}/ShortcutsDialog`;\n\nexport const ShortcutsDialogContent = () => {\n const { t } = useTranslation(HELP_PLUGIN);\n\n return (\n <Dialog.Content classNames='p-0 bs-content max-bs-full md:max-is-[25rem] overflow-hidden'>\n <div role='none' className='flex justify-between mbe-1 pbs-3 pis-2 pie-3 @md:pbs-4 @md:pis-4 @md:pie-5'>\n <Dialog.Title>{t('shortcuts dialog title')}</Dialog.Title>\n\n <Dialog.Close asChild>\n <Button density='fine' variant='ghost' autoFocus>\n <Icon icon='ph--x--bold' size={3} />\n </Button>\n </Dialog.Close>\n </div>\n\n <div className='flex items-center justify-center'>\n <ShortcutsList />\n </div>\n </Dialog.Content>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type KeyBinding, Keyboard } from '@dxos/keyboard';\nimport { Button, Icon, toLocalizedString, useTranslation } from '@dxos/react-ui';\n\nimport { Key } from './Key';\n\nconst Shortcut = ({ binding }: { binding: KeyBinding }) => {\n const { t } = useTranslation('os');\n return (\n <div role='none' className='flex items-center gap-2 whitespace-nowrap'>\n <Key binding={binding.shortcut} />\n <span className='text-sm'>{toLocalizedString(binding.data, t)}</span>\n </div>\n );\n};\n\nexport const ShortcutsHints = ({ onClose }: { onClose?: () => void }) => {\n // TODO(burdon): Display by context/weight/cycle.\n const defaults = ['meta+k', 'meta+/', 'meta+,'];\n const bindings = Keyboard.singleton.getBindings();\n const hints = bindings.filter((binding) => defaults.includes(binding.shortcut));\n\n return (\n <div role='none' className='flex overflow-hidden px-2 gap-4'>\n {hints.map((binding) => (\n <Shortcut key={binding.shortcut} binding={binding} />\n ))}\n {onClose && (\n <Button variant='ghost' classNames='p-0 cursor-pointer' onClick={onClose}>\n <Icon icon='ph--x--regular' size={4} />\n </Button>\n )}\n </div>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { descriptionText } from '@dxos/react-ui-theme';\n\nimport { ShortcutsList } from './ShortcutsList';\n\nexport const ShortcutsSection = () => {\n return (\n <section className={descriptionText}>\n <ShortcutsList />\n </section>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useArrowNavigationGroup, useFocusableGroup } from '@fluentui/react-tabster';\nimport { CaretLeft, CaretRight, Circle, X } from '@phosphor-icons/react';\nimport React, { forwardRef } from 'react';\n// TODO(thure): This needed to be imported in the package.json specifically to pacify TS2742. See if this is resolved with typescript@5.5.x.\n// eslint-disable-next-line unused-imports/no-unused-imports\nimport _floater from 'react-floater';\nimport { type TooltipRenderProps, type Props } from 'react-joyride';\n// TODO(thure): This needed to be imported in the package.json specifically to pacify TS2742. See if this is resolved with typescript@5.5.x.\n// eslint-disable-next-line unused-imports/no-unused-imports\nimport _typefest from 'type-fest';\n\nimport { Button } from '@dxos/react-ui';\nimport { getSize, mx } from '@dxos/react-ui-theme';\n\n// https://docs.react-joyride.com/styling\n// https://github.com/gilbarbara/react-floater\nexport const floaterProps: Props['floaterProps'] = {\n styles: {\n // Arrow color is set by joyride.\n arrow: {\n length: 8,\n spread: 16,\n },\n floater: {\n // TODO(burdon): Get tokens from theme.\n filter: 'drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.2))',\n },\n },\n};\n\n// TODO(burdon): Add info link to docs.\nexport const Tooltip = forwardRef<HTMLDivElement, TooltipRenderProps>(\n ({ step: { title, content }, index, size, isLastStep, backProps, closeProps, primaryProps }, forwardedRef) => {\n const arrowNavigationAttrs = useArrowNavigationGroup({ axis: 'horizontal' });\n const focusableGroupAttrs = useFocusableGroup({ tabBehavior: 'limited-trap-focus' });\n\n return (\n <div\n className='flex flex-col is-[15rem] min-bs-[10rem] overflow-hidden rounded-md shadow-xl bg-accentSurface text-accentSurfaceText'\n role='tooltip'\n data-testid='helpPlugin.tooltip'\n data-step={index + 1}\n {...focusableGroupAttrs}\n ref={forwardedRef}\n >\n <div className='flex p-2'>\n <h2 className='grow pli-2 plb-1 text-lg font-medium text-accentSurfaceText'>{title}</h2>\n <Button\n density='fine'\n variant='primary'\n onClick={closeProps.onClick}\n title={closeProps['aria-label']}\n data-testid='helpPlugin.tooltip.close'\n >\n <X weight='bold' className={getSize(4)} />\n </Button>\n </div>\n <div className='flex grow pli-4 mlb-2'>{content}</div>\n <div className='flex p-2 items-center justify-between' {...arrowNavigationAttrs}>\n {\n <Button\n variant='primary'\n onClick={backProps.onClick}\n title={backProps['aria-label']}\n classNames={[!(index > 0 && backProps) && 'invisible']}\n data-testid='helpPlugin.tooltip.back'\n >\n <CaretLeft className={getSize(5)} />\n </Button>\n }\n <div className='flex grow gap-2 justify-center'>\n <div className='flex'>\n {Array.from({ length: size }).map((_, i) => (\n <Circle\n key={i}\n weight={index === i ? 'fill' : 'regular'}\n className={mx(getSize(2), 'mli-1 cursor-pointer')}\n />\n ))}\n </div>\n </div>\n {isLastStep ? (\n <Button\n variant='primary'\n onClick={closeProps.onClick}\n title={closeProps['aria-label']}\n autoFocus\n data-testid='helpPlugin.tooltip.finish'\n >\n Done\n </Button>\n ) : (\n <Button\n variant='primary'\n onClick={primaryProps.onClick}\n title={primaryProps['aria-label']}\n autoFocus\n data-testid='helpPlugin.tooltip.next'\n >\n <CaretRight className={getSize(6)} />\n </Button>\n )}\n </div>\n </div>\n );\n },\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { useState, useEffect } from 'react';\nimport Joyride, { ACTIONS, EVENTS } from 'react-joyride';\n\nimport { usePluginManager, useLayout } from '@dxos/app-framework';\n\nimport { type Step, HelpContext } from '../../types';\nimport { floaterProps, Tooltip } from '../Tooltip';\n\nconst addStepClass = (target: string | HTMLElement) => {\n const element = typeof target === 'string' ? document.querySelector(target) : target;\n if (element) {\n element.classList.add('joyride-target');\n }\n};\n\nconst removeTargetClass = (target: string | HTMLElement) => {\n const element = typeof target === 'string' ? document.querySelector(target) : target;\n if (element) {\n element.classList.remove('joyride-target');\n }\n};\n\nconst getTarget = (step: Step) => {\n return typeof step.target === 'string' ? document.querySelector(step.target) : step.target;\n};\n\n/**\n * Wait for the target element to be in the document.\n */\nconst waitForTarget = async (step: Step) => {\n if (typeof step.target === 'string') {\n const target = step.target;\n const element = document.querySelector(target);\n if (element) {\n return;\n }\n\n await new Promise<void>((resolve) => {\n const observer = new MutationObserver((mutations) => {\n mutations.forEach((mutation) => {\n if (mutation.addedNodes.length > 0) {\n const element = document.querySelector(target);\n if (element) {\n observer.disconnect();\n resolve();\n }\n }\n });\n });\n\n observer.observe(document.body, { childList: true, subtree: true });\n });\n }\n};\n\nexport type WelcomeTourProps = {\n steps: Step[];\n running?: boolean;\n onRunningChanged?: (state: boolean) => any;\n};\n\nexport const WelcomeTour = ({ steps: initialSteps, running: runningProp, onRunningChanged }: WelcomeTourProps) => {\n const manager = usePluginManager();\n const layout = useLayout();\n const [running, setRunning] = useState(!!runningProp && !!getTarget(initialSteps[0]));\n const [stepIndex, _setStepIndex] = useState(0);\n const [steps, setSteps] = useState(initialSteps);\n\n const paused = layout.dialogOpen;\n\n const setStepIndex = (index: number) => {\n if (runningProp) {\n const step = steps[index];\n step?.before?.(manager.context);\n }\n _setStepIndex(index);\n };\n\n const setRunningChanged = (state: boolean) => {\n if (typeof runningProp !== 'undefined') {\n onRunningChanged?.(state);\n } else {\n if (state) {\n setStepIndex(0);\n setRunning(true);\n } else {\n setRunning(false);\n }\n }\n };\n\n useEffect(() => {\n const timeout = setTimeout(async () => {\n if (runningProp) {\n // This handles the case when the target is not yet in the document.\n // If the target is not in the document, when the joyride is turned on, it will not show the tooltip.\n await waitForTarget(steps[stepIndex]);\n setStepIndex(0);\n setRunning(true);\n } else if (typeof runningProp !== 'undefined') {\n setRunning(false);\n }\n });\n\n return () => clearTimeout(timeout);\n }, [runningProp]);\n\n // https://docs.react-joyride.com/callback\n const callback: Joyride['callback'] = async (options) => {\n const { type, action, index, size } = options;\n switch (type) {\n case EVENTS.STEP_BEFORE:\n addStepClass(options.step.target);\n break;\n case EVENTS.TOUR_END:\n break;\n case EVENTS.STEP_AFTER:\n removeTargetClass(options.step.target);\n switch (action) {\n case ACTIONS.NEXT:\n if (index < size - 1) {\n setStepIndex(index + 1);\n }\n break;\n case ACTIONS.PREV:\n if (index > 0) {\n setStepIndex(index - 1);\n }\n break;\n case ACTIONS.CLOSE:\n setRunningChanged(false);\n setStepIndex(0);\n break;\n }\n break;\n }\n };\n\n return (\n <HelpContext.Provider\n value={{\n running: running && !paused,\n steps,\n setSteps,\n setIndex: setStepIndex,\n start: () => setRunningChanged(true),\n stop: () => setRunningChanged(false),\n }}\n >\n <style>\n {`.joyride-target {\n --controls-opacity: 1;\n }`}\n </style>\n <Joyride\n continuous={true}\n steps={steps}\n stepIndex={stepIndex}\n run={running && !paused}\n callback={callback}\n floaterProps={floaterProps}\n tooltipComponent={Tooltip}\n />\n </HelpContext.Provider>\n );\n};\n"],
5
+ "mappings": ";;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,kBAAkB;;;ACF3B,SAASC,UAAU;AAEZ,IAAMC,cAAcC,GACzB,mFACA,4CAAA;;;ADEK,IAAMC,MAAM,CAAC,EAAEC,QAAO,MAAuB;AAClD,SACE,sBAAA,cAACC,QAAAA;IAAKC,MAAK;IAAOC,WAAU;IAAoBC,cAAYJ;IAASK,IAAIL;KACtEM,WAAWN,OAAAA,EAASO,IAAI,CAACC,GAAGC,MAC3B,sBAAA,cAACR,QAAAA;IAAKS,KAAKD;IAAGN,WAAWQ;KACtBH,CAAAA,CAAAA,CAAAA;AAKX;;;AEhBA,OAAOI,UAASC,gBAAgB;AAEhC,SAASC,gBAAgB;AACzB,SAASC,mBAAmBC,sBAAsB;AAClD,SAASC,MAAAA,WAAU;AAKZ,IAAMC,gBAAgB,MAAA;AAC3B,QAAM,EAAEC,EAAC,IAAKC,eAAeC,WAAAA;AAC7B,QAAMC,WAAWC,SAASC,UAAUC,YAAW;AAG/CH,WAASI,KAAK,CAACC,GAAGC,MAAAA;AAChB,WAAOC,kBAAkBF,EAAEG,MAAMX,CAAAA,GAAIY,YAAAA,EAAcC,cAAcH,k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AMnB,cAAcgB,MAAMW,SAAAA,CAAU;AACpCK,qBAAa,CAAA;AACbP,mBAAW,IAAA;MACb,WAAW,OAAON,gBAAgB,aAAa;AAC7CM,mBAAW,KAAA;MACb;IACF,CAAA;AAEA,WAAO,MAAMgB,aAAaF,OAAAA;EAC5B,GAAG;IAACpB;GAAY;AAGhB,QAAMuB,WAAgC,OAAOC,YAAAA;AAC3C,UAAM,EAAEC,MAAMC,QAAQZ,OAAOa,KAAI,IAAKH;AACtC,YAAQC,MAAAA;MACN,KAAKG,OAAOC;AACV3D,qBAAasD,QAAQ5C,KAAKT,MAAM;AAChC;MACF,KAAKyD,OAAOE;AACV;MACF,KAAKF,OAAOG;AACVtD,0BAAkB+C,QAAQ5C,KAAKT,MAAM;AACrC,gBAAQuD,QAAAA;UACN,KAAKM,QAAQC;AACX,gBAAInB,QAAQa,OAAO,GAAG;AACpBd,2BAAaC,QAAQ,CAAA;YACvB;AACA;UACF,KAAKkB,QAAQE;AACX,gBAAIpB,QAAQ,GAAG;AACbD,2BAAaC,QAAQ,CAAA;YACvB;AACA;UACF,KAAKkB,QAAQG;AACXlB,8BAAkB,KAAA;AAClBJ,yBAAa,CAAA;AACb;QACJ;AACA;IACJ;EACF;AAEA,SACE,gBAAAuB,OAAA,cAACC,YAAYC,UAAQ;IACnBC,OAAO;MACLxC,SAASA,WAAW,CAACY;MACrBd;MACAa;MACA8B,UAAU3B;MACV4B,OAAO,MAAMxB,kBAAkB,IAAA;MAC/ByB,MAAM,MAAMzB,kBAAkB,KAAA;IAChC;KAEA,gBAAAmB,OAAA,cAACO,SAAAA,MACE;;UAEC,GAEJ,gBAAAP,OAAA,cAACQ,SAAAA;IACCC,YAAY;IACZhD;IACAW;IACAsC,KAAK/C,WAAW,CAACY;IACjBY;IACAwB;IACAC,kBAAkBC;;AAI1B;",
6
+ "names": ["React", "keySymbols", "mx", "shortcutKey", "mx", "Key", "binding", "span", "role", "className", "aria-label", "id", "keySymbols", "map", "c", "i", "key", "shortcutKey", "React", "Fragment", "Keyboard", "toLocalizedString", "useTranslation", "mx", "ShortcutsList", "t", "useTranslation", "HELP_PLUGIN", "bindings", "Keyboard", "singleton", "getBindings", "sort", "a", "b", "toLocalizedString", "data", "toLowerCase", "localeCompare", "React", "dl", "className", "mx", "map", "binding", "i", "Fragment", "key", "Key", "shortcut", "span", "role", "aria-labelledby", "React", "Button", "Dialog", "Icon", "useTranslation", "SHORTCUTS_DIALOG", "HELP_PLUGIN", "ShortcutsDialogContent", "t", "useTranslation", "React", "Dialog", "Content", "classNames", "div", "role", "className", "Title", "Close", "asChild", "Button", "density", "variant", "autoFocus", "Icon", "icon", "size", "ShortcutsList", "React", "Keyboard", "Button", "Icon", "toLocalizedString", "useTranslation", "Shortcut", "binding", "t", "useTranslation", "React", "div", "role", "className", "Key", "shortcut", "span", "toLocalizedString", "data", "ShortcutsHints", "onClose", "defaults", "bindings", "Keyboard", "singleton", "getBindings", "hints", "filter", "includes", "map", "key", "Button", "variant", "classNames", "onClick", "Icon", "icon", "size", "React", "descriptionText", "ShortcutsSection", "React", "section", "className", "descriptionText", "ShortcutsList", "useArrowNavigationGroup", "useFocusableGroup", "CaretLeft", "CaretRight", "Circle", "X", "React", "forwardRef", "Button", "getSize", "mx", "floaterProps", "styles", "arrow", "length", "spread", "floater", "filter", "Tooltip", "forwardRef", "step", "title", "content", "index", "size", "isLastStep", "backProps", "closeProps", "primaryProps", "forwardedRef", "arrowNavigationAttrs", "useArrowNavigationGroup", "axis", "focusableGroupAttrs", "useFocusableGroup", "tabBehavior", "React", "div", "className", "role", "data-testid", "data-step", "ref", "h2", "Button", "density", "variant", "onClick", "X", "weight", "getSize", "classNames", "CaretLeft", "Array", "from", "map", "_", "i", "Circle", "key", "mx", "autoFocus", "CaretRight", "React", "useState", "useEffect", "Joyride", "ACTIONS", "EVENTS", "usePluginManager", "useLayout", "addStepClass", "target", "element", "document", "querySelector", "classList", "add", "removeTargetClass", "remove", "getTarget", "step", "waitForTarget", "Promise", "resolve", "observer", "MutationObserver", "mutations", "forEach", "mutation", "addedNodes", "length", "disconnect", "observe", "body", "childList", "subtree", "WelcomeTour", "steps", "initialSteps", "running", "runningProp", "onRunningChanged", "manager", "usePluginManager", "layout", "useLayout", "setRunning", "useState", "stepIndex", "_setStepIndex", "setSteps", "paused", "dialogOpen", "setStepIndex", "index", "before", "context", "setRunningChanged", "state", "useEffect", "timeout", "setTimeout", "clearTimeout", "callback", "options", "type", "action", "size", "EVENTS", "STEP_BEFORE", "TOUR_END", "STEP_AFTER", "ACTIONS", "NEXT", "PREV", "CLOSE", "React", "HelpContext", "Provider", "value", "setIndex", "start", "stop", "style", "Joyride", "continuous", "run", "floaterProps", "tooltipComponent", "Tooltip"]
7
+ }
@@ -8,12 +8,12 @@ import {
8
8
  Tooltip,
9
9
  WelcomeTour,
10
10
  floaterProps
11
- } from "./chunk-XC36YAWT.mjs";
11
+ } from "./chunk-MCBBUJMA.mjs";
12
12
  import {
13
13
  HELP_ACTION,
14
14
  HelpAction,
15
15
  HelpContext
16
- } from "./chunk-AIK64B2S.mjs";
16
+ } from "./chunk-7WCNIZD2.mjs";
17
17
  import {
18
18
  HelpCapabilities
19
19
  } from "./chunk-EMRPD2QX.mjs";
@@ -24,9 +24,9 @@ import {
24
24
 
25
25
  // packages/plugins/plugin-help/src/capabilities/index.ts
26
26
  import { lazy } from "@dxos/app-framework";
27
- var AppGraphBuilder = lazy(() => import("./app-graph-builder-6B6AJRCG.mjs"));
28
- var ReactRoot = lazy(() => import("./react-root-SYJQMP2R.mjs"));
29
- var ReactSurface = lazy(() => import("./react-surface-BZ7D7FFN.mjs"));
27
+ var AppGraphBuilder = lazy(() => import("./app-graph-builder-TURPF3QA.mjs"));
28
+ var ReactRoot = lazy(() => import("./react-root-6CGWH4PA.mjs"));
29
+ var ReactSurface = lazy(() => import("./react-surface-67ZRIGQ2.mjs"));
30
30
  var HelpState = lazy(() => import("./state-K6TSL77G.mjs"));
31
31
 
32
32
  // packages/plugins/plugin-help/src/HelpPlugin.tsx
@@ -74,7 +74,7 @@ var HelpPlugin = ({ steps = [] }) => definePlugin(meta, [
74
74
  activate: (context) => contributes(Capabilities.IntentResolver, createResolver({
75
75
  intent: HelpAction.Start,
76
76
  resolve: () => {
77
- const state = context.requestCapability(HelpCapabilities.MutableState);
77
+ const state = context.getCapability(HelpCapabilities.MutableState);
78
78
  state.running = true;
79
79
  }
80
80
  }))
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/capabilities/index.ts", "../../../src/HelpPlugin.tsx", "../../../src/translations.ts", "../../../src/hooks/useHelp.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactRoot = lazy(() => import('./react-root'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\nexport const HelpState = lazy(() => import('./state'));\n\nexport * from './capabilities';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { createResolver, defineModule, definePlugin, Events, contributes, Capabilities } from '@dxos/app-framework';\n\nimport { AppGraphBuilder, HelpState, ReactRoot, ReactSurface } from './capabilities';\nimport { HelpCapabilities } from './capabilities/capabilities';\nimport { meta } from './meta';\nimport translations from './translations';\nimport { type Step, HelpAction } from './types';\n\nexport type HelpPluginOptions = { steps?: Step[] };\n\nexport const HelpPlugin = ({ steps = [] }: HelpPluginOptions) =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/state`,\n activatesOn: Events.Startup,\n activate: HelpState,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/react-root`,\n activatesOn: Events.Startup,\n activate: () => ReactRoot(steps),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: (context) =>\n contributes(\n Capabilities.IntentResolver,\n createResolver({\n intent: HelpAction.Start,\n resolve: () => {\n const state = context.requestCapability(HelpCapabilities.MutableState);\n state.running = true;\n },\n }),\n ),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n ]);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { HELP_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [HELP_PLUGIN]: {\n 'plugin name': 'Help',\n 'open help tour': 'Show welcome tour',\n 'open shortcuts label': 'Show shortcuts',\n 'shortcuts dialog title': 'Shortcuts',\n },\n },\n },\n];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useContext } from 'react';\n\nimport { raise } from '@dxos/debug';\n\nimport { HelpContext } from '../types';\n\nexport const useHelp = () => {\n return useContext(HelpContext) ?? raise(new Error('Missing HelpContext'));\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,YAAYD,KAAK,MAAM,OAAO,2BAAA,CAAA;AACpC,IAAME,eAAeF,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAMG,YAAYH,KAAK,MAAM,OAAO,sBAAA,CAAA;;;ACL3C,SAASI,gBAAgBC,cAAcC,cAAcC,QAAQC,aAAaC,oBAAoB;;;ACE9F,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACC,WAAAA,GAAc;QACb,eAAe;QACf,kBAAkB;QAClB,wBAAwB;QACxB,0BAA0B;MAC5B;IACF;EACF;;;;ADFK,IAAMC,aAAa,CAAC,EAAEC,QAAQ,CAAA,EAAE,MACrCC,aAAaC,MAAM;EACjBC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAUC;EACZ,CAAA;EACAN,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOI;IACpBF,UAAU,MAAMG,YAAYC,aAAaC,cAAcC,oBAAAA;EACzD,CAAA;EACAX,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAU,MAAMO,UAAUf,KAAAA;EAC5B,CAAA;EACAG,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOU;IACpBR,UAAUS;EACZ,CAAA;EACAd,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOY;IACpBV,UAAU,CAACW,YACTR,YACEC,aAAaQ,gBACbC,eAAe;MACbC,QAAQC,WAAWC;MACnBC,SAAS,MAAA;AACP,cAAMC,QAAQP,QAAQQ,kBAAkBC,iBAAiBC,YAAY;AACrEH,cAAMI,UAAU;MAClB;IACF,CAAA,CAAA;EAEN,CAAA;EACA3B,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOyB;IACpBvB,UAAUwB;EACZ,CAAA;CACD;;;AEpDH,SAASC,kBAAkB;AAE3B,SAASC,aAAa;AAIf,IAAMC,UAAU,MAAA;AACrB,SAAOC,WAAWC,WAAAA,KAAgBC,MAAM,IAAIC,MAAM,qBAAA,CAAA;AACpD;",
6
- "names": ["lazy", "AppGraphBuilder", "lazy", "ReactRoot", "ReactSurface", "HelpState", "createResolver", "defineModule", "definePlugin", "Events", "contributes", "Capabilities", "HELP_PLUGIN", "HelpPlugin", "steps", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "Startup", "activate", "HelpState", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "ReactRoot", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "context", "IntentResolver", "createResolver", "intent", "HelpAction", "Start", "resolve", "state", "requestCapability", "HelpCapabilities", "MutableState", "running", "SetupAppGraph", "AppGraphBuilder", "useContext", "raise", "useHelp", "useContext", "HelpContext", "raise", "Error"]
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactRoot = lazy(() => import('./react-root'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\nexport const HelpState = lazy(() => import('./state'));\n\nexport * from './capabilities';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { createResolver, defineModule, definePlugin, Events, contributes, Capabilities } from '@dxos/app-framework';\n\nimport { AppGraphBuilder, HelpState, ReactRoot, ReactSurface } from './capabilities';\nimport { HelpCapabilities } from './capabilities/capabilities';\nimport { meta } from './meta';\nimport translations from './translations';\nimport { type Step, HelpAction } from './types';\n\nexport type HelpPluginOptions = { steps?: Step[] };\n\nexport const HelpPlugin = ({ steps = [] }: HelpPluginOptions) =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/state`,\n activatesOn: Events.Startup,\n activate: HelpState,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/react-root`,\n activatesOn: Events.Startup,\n activate: () => ReactRoot(steps),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: (context) =>\n contributes(\n Capabilities.IntentResolver,\n createResolver({\n intent: HelpAction.Start,\n resolve: () => {\n const state = context.getCapability(HelpCapabilities.MutableState);\n state.running = true;\n },\n }),\n ),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n ]);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { HELP_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [HELP_PLUGIN]: {\n 'plugin name': 'Help',\n 'open help tour': 'Show welcome tour',\n 'open shortcuts label': 'Show shortcuts',\n 'shortcuts dialog title': 'Shortcuts',\n },\n },\n },\n];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useContext } from 'react';\n\nimport { raise } from '@dxos/debug';\n\nimport { HelpContext } from '../types';\n\nexport const useHelp = () => {\n return useContext(HelpContext) ?? raise(new Error('Missing HelpContext'));\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,YAAYD,KAAK,MAAM,OAAO,2BAAA,CAAA;AACpC,IAAME,eAAeF,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAMG,YAAYH,KAAK,MAAM,OAAO,sBAAA,CAAA;;;ACL3C,SAASI,gBAAgBC,cAAcC,cAAcC,QAAQC,aAAaC,oBAAoB;;;ACE9F,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACC,WAAAA,GAAc;QACb,eAAe;QACf,kBAAkB;QAClB,wBAAwB;QACxB,0BAA0B;MAC5B;IACF;EACF;;;;ADFK,IAAMC,aAAa,CAAC,EAAEC,QAAQ,CAAA,EAAE,MACrCC,aAAaC,MAAM;EACjBC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAUC;EACZ,CAAA;EACAN,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOI;IACpBF,UAAU,MAAMG,YAAYC,aAAaC,cAAcC,oBAAAA;EACzD,CAAA;EACAX,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOC;IACpBC,UAAU,MAAMO,UAAUf,KAAAA;EAC5B,CAAA;EACAG,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOU;IACpBR,UAAUS;EACZ,CAAA;EACAd,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOY;IACpBV,UAAU,CAACW,YACTR,YACEC,aAAaQ,gBACbC,eAAe;MACbC,QAAQC,WAAWC;MACnBC,SAAS,MAAA;AACP,cAAMC,QAAQP,QAAQQ,cAAcC,iBAAiBC,YAAY;AACjEH,cAAMI,UAAU;MAClB;IACF,CAAA,CAAA;EAEN,CAAA;EACA3B,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,OAAOyB;IACpBvB,UAAUwB;EACZ,CAAA;CACD;;;AEpDH,SAASC,kBAAkB;AAE3B,SAASC,aAAa;AAIf,IAAMC,UAAU,MAAA;AACrB,SAAOC,WAAWC,WAAAA,KAAgBC,MAAM,IAAIC,MAAM,qBAAA,CAAA;AACpD;",
6
+ "names": ["lazy", "AppGraphBuilder", "lazy", "ReactRoot", "ReactSurface", "HelpState", "createResolver", "defineModule", "definePlugin", "Events", "contributes", "Capabilities", "HELP_PLUGIN", "HelpPlugin", "steps", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "Startup", "activate", "HelpState", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "ReactRoot", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "context", "IntentResolver", "createResolver", "intent", "HelpAction", "Start", "resolve", "state", "getCapability", "HelpCapabilities", "MutableState", "running", "SetupAppGraph", "AppGraphBuilder", "useContext", "raise", "useHelp", "useContext", "HelpContext", "raise", "Error"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-help/src/meta.ts":{"bytes":1141,"imports":[],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/capabilities.ts":{"bytes":1718,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/styles.ts":{"bytes":1045,"imports":[{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx":{"bytes":2038,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/styles.ts","kind":"import-statement","original":"./styles"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx":{"bytes":4360,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx","kind":"import-statement","original":"./Key"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsDialog.tsx":{"bytes":4087,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx","kind":"import-statement","original":"./ShortcutsList"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsHints.tsx":{"bytes":5128,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx","kind":"import-statement","original":"./Key"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsSection.tsx":{"bytes":1507,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx","kind":"import-statement","original":"./ShortcutsList"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/index.ts":{"bytes":938,"imports":[{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsDialog.tsx","kind":"import-statement","original":"./ShortcutsDialog"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsHints.tsx","kind":"import-statement","original":"./ShortcutsHints"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx","kind":"import-statement","original":"./ShortcutsList"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsSection.tsx","kind":"import-statement","original":"./ShortcutsSection"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx","kind":"import-statement","original":"./Key"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Tooltip/Tooltip.tsx":{"bytes":12581,"imports":[{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-help/src/components/Tooltip/index.ts":{"bytes":518,"imports":[{"path":"packages/plugins/plugin-help/src/components/Tooltip/Tooltip.tsx","kind":"import-statement","original":"./Tooltip"}],"format":"esm"},"packages/plugins/plugin-help/src/types.ts":{"bytes":3103,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/WelcomeTour/WelcomeTour.tsx":{"bytes":16968,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-joyride","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-help/src/components/Tooltip/index.ts","kind":"import-statement","original":"../Tooltip"}],"format":"esm"},"packages/plugins/plugin-help/src/components/WelcomeTour/index.ts":{"bytes":534,"imports":[{"path":"packages/plugins/plugin-help/src/components/WelcomeTour/WelcomeTour.tsx","kind":"import-statement","original":"./WelcomeTour"}],"format":"esm"},"packages/plugins/plugin-help/src/components/index.ts":{"bytes":698,"imports":[{"path":"packages/plugins/plugin-help/src/components/Shortcuts/index.ts","kind":"import-statement","original":"./Shortcuts"},{"path":"packages/plugins/plugin-help/src/components/Tooltip/index.ts","kind":"import-statement","original":"./Tooltip"},{"path":"packages/plugins/plugin-help/src/components/WelcomeTour/index.ts","kind":"import-statement","original":"./WelcomeTour"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts":{"bytes":8742,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/react-root.tsx":{"bytes":3218,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/react-surface.tsx":{"bytes":3469,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/state.ts":{"bytes":2564,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/index.ts":{"bytes":1631,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-help/src/capabilities/react-root.tsx","kind":"dynamic-import","original":"./react-root"},{"path":"packages/plugins/plugin-help/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-help/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-help/src/translations.ts":{"bytes":1427,"imports":[{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-help/src/HelpPlugin.tsx":{"bytes":6910,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities/capabilities"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-help/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-help/src/hooks/useHelp.tsx":{"bytes":1249,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-help/src/hooks/index.ts":{"bytes":505,"imports":[{"path":"packages/plugins/plugin-help/src/hooks/useHelp.tsx","kind":"import-statement","original":"./useHelp"}],"format":"esm"},"packages/plugins/plugin-help/src/index.ts":{"bytes":1029,"imports":[{"path":"packages/plugins/plugin-help/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-help/src/HelpPlugin.tsx","kind":"import-statement","original":"./HelpPlugin"},{"path":"packages/plugins/plugin-help/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-help/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5122},"packages/plugins/plugin-help/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-XC36YAWT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/dist/lib/browser/app-graph-builder-6B6AJRCG.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-help/dist/lib/browser/react-root-SYJQMP2R.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-help/dist/lib/browser/react-surface-BZ7D7FFN.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-help/dist/lib/browser/state-K6TSL77G.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["HELP_ACTION","HELP_PLUGIN","HelpAction","HelpCapabilities","HelpContext","HelpPlugin","Key","SHORTCUTS_DIALOG","ShortcutsDialogContent","ShortcutsHints","ShortcutsList","ShortcutsSection","Tooltip","WelcomeTour","floaterProps","meta","useHelp"],"entryPoint":"packages/plugins/plugin-help/src/index.ts","inputs":{"packages/plugins/plugin-help/src/capabilities/index.ts":{"bytesInOutput":318},"packages/plugins/plugin-help/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/HelpPlugin.tsx":{"bytesInOutput":1269},"packages/plugins/plugin-help/src/translations.ts":{"bytesInOutput":266},"packages/plugins/plugin-help/src/hooks/useHelp.tsx":{"bytesInOutput":175},"packages/plugins/plugin-help/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":3000},"packages/plugins/plugin-help/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-help/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"}],"exports":["HELP_PLUGIN","meta"],"entryPoint":"packages/plugins/plugin-help/src/meta.ts","inputs":{},"bytes":130},"packages/plugins/plugin-help/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-help/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"}],"exports":["HELP_ACTION","HelpAction","HelpContext"],"entryPoint":"packages/plugins/plugin-help/src/types.ts","inputs":{},"bytes":204},"packages/plugins/plugin-help/dist/lib/browser/app-graph-builder-6B6AJRCG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4016},"packages/plugins/plugin-help/dist/lib/browser/app-graph-builder-6B6AJRCG.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-XC36YAWT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1881}},"bytes":2284},"packages/plugins/plugin-help/dist/lib/browser/react-root-SYJQMP2R.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1573},"packages/plugins/plugin-help/dist/lib/browser/react-root-SYJQMP2R.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-XC36YAWT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/react-root.tsx","inputs":{"packages/plugins/plugin-help/src/capabilities/react-root.tsx":{"bytesInOutput":553}},"bytes":909},"packages/plugins/plugin-help/dist/lib/browser/react-surface-BZ7D7FFN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1677},"packages/plugins/plugin-help/dist/lib/browser/react-surface-BZ7D7FFN.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-XC36YAWT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-help/src/capabilities/react-surface.tsx":{"bytesInOutput":722}},"bytes":1094},"packages/plugins/plugin-help/dist/lib/browser/chunk-XC36YAWT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":24140},"packages/plugins/plugin-help/dist/lib/browser/chunk-XC36YAWT.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-joyride","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["Key","SHORTCUTS_DIALOG","ShortcutsDialogContent","ShortcutsHints","ShortcutsList","ShortcutsSection","Tooltip","WelcomeTour","floaterProps"],"inputs":{"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx":{"bytesInOutput":391},"packages/plugins/plugin-help/src/components/Shortcuts/styles.ts":{"bytesInOutput":194},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx":{"bytesInOutput":995},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsDialog.tsx":{"bytesInOutput":1101},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsHints.tsx":{"bytesInOutput":1367},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsSection.tsx":{"bytesInOutput":273},"packages/plugins/plugin-help/src/components/Tooltip/Tooltip.tsx":{"bytesInOutput":3259},"packages/plugins/plugin-help/src/components/WelcomeTour/WelcomeTour.tsx":{"bytesInOutput":3918},"packages/plugins/plugin-help/src/components/Tooltip/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/components/Shortcuts/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/components/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/components/WelcomeTour/index.ts":{"bytesInOutput":0}},"bytes":12466},"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1722},"packages/plugins/plugin-help/dist/lib/browser/chunk-AIK64B2S.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["HELP_ACTION","HelpAction","HelpContext"],"inputs":{"packages/plugins/plugin-help/src/types.ts":{"bytesInOutput":502}},"bytes":702},"packages/plugins/plugin-help/dist/lib/browser/state-K6TSL77G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1281},"packages/plugins/plugin-help/dist/lib/browser/state-K6TSL77G.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-help/src/capabilities/state.ts":{"bytesInOutput":470}},"bytes":725},"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":843},"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["HelpCapabilities"],"inputs":{"packages/plugins/plugin-help/src/capabilities/capabilities.ts":{"bytesInOutput":327}},"bytes":523},"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":529},"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs":{"imports":[],"exports":["HELP_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-help/src/meta.ts":{"bytesInOutput":121}},"bytes":244}}}
1
+ {"inputs":{"packages/plugins/plugin-help/src/meta.ts":{"bytes":1141,"imports":[],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/capabilities.ts":{"bytes":1718,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/styles.ts":{"bytes":1045,"imports":[{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx":{"bytes":2038,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/styles.ts","kind":"import-statement","original":"./styles"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx":{"bytes":4388,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx","kind":"import-statement","original":"./Key"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsDialog.tsx":{"bytes":4087,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx","kind":"import-statement","original":"./ShortcutsList"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsHints.tsx":{"bytes":5128,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx","kind":"import-statement","original":"./Key"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsSection.tsx":{"bytes":1507,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx","kind":"import-statement","original":"./ShortcutsList"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Shortcuts/index.ts":{"bytes":938,"imports":[{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsDialog.tsx","kind":"import-statement","original":"./ShortcutsDialog"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsHints.tsx","kind":"import-statement","original":"./ShortcutsHints"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx","kind":"import-statement","original":"./ShortcutsList"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsSection.tsx","kind":"import-statement","original":"./ShortcutsSection"},{"path":"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx","kind":"import-statement","original":"./Key"}],"format":"esm"},"packages/plugins/plugin-help/src/components/Tooltip/Tooltip.tsx":{"bytes":12629,"imports":[{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-help/src/components/Tooltip/index.ts":{"bytes":518,"imports":[{"path":"packages/plugins/plugin-help/src/components/Tooltip/Tooltip.tsx","kind":"import-statement","original":"./Tooltip"}],"format":"esm"},"packages/plugins/plugin-help/src/types.ts":{"bytes":3128,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-help/src/components/WelcomeTour/WelcomeTour.tsx":{"bytes":16968,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-joyride","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-help/src/components/Tooltip/index.ts","kind":"import-statement","original":"../Tooltip"}],"format":"esm"},"packages/plugins/plugin-help/src/components/WelcomeTour/index.ts":{"bytes":534,"imports":[{"path":"packages/plugins/plugin-help/src/components/WelcomeTour/WelcomeTour.tsx","kind":"import-statement","original":"./WelcomeTour"}],"format":"esm"},"packages/plugins/plugin-help/src/components/index.ts":{"bytes":698,"imports":[{"path":"packages/plugins/plugin-help/src/components/Shortcuts/index.ts","kind":"import-statement","original":"./Shortcuts"},{"path":"packages/plugins/plugin-help/src/components/Tooltip/index.ts","kind":"import-statement","original":"./Tooltip"},{"path":"packages/plugins/plugin-help/src/components/WelcomeTour/index.ts","kind":"import-statement","original":"./WelcomeTour"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts":{"bytes":10446,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/react-root.tsx":{"bytes":3218,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/react-surface.tsx":{"bytes":3469,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/state.ts":{"bytes":2564,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-help/src/capabilities/index.ts":{"bytes":1631,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-help/src/capabilities/react-root.tsx","kind":"dynamic-import","original":"./react-root"},{"path":"packages/plugins/plugin-help/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-help/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-help/src/translations.ts":{"bytes":1427,"imports":[{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-help/src/HelpPlugin.tsx":{"bytes":6890,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities/capabilities"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-help/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-help/src/hooks/useHelp.tsx":{"bytes":1249,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-help/src/hooks/index.ts":{"bytes":505,"imports":[{"path":"packages/plugins/plugin-help/src/hooks/useHelp.tsx","kind":"import-statement","original":"./useHelp"}],"format":"esm"},"packages/plugins/plugin-help/src/index.ts":{"bytes":1029,"imports":[{"path":"packages/plugins/plugin-help/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-help/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-help/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-help/src/HelpPlugin.tsx","kind":"import-statement","original":"./HelpPlugin"},{"path":"packages/plugins/plugin-help/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-help/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-help/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5112},"packages/plugins/plugin-help/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-MCBBUJMA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-help/dist/lib/browser/app-graph-builder-TURPF3QA.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-help/dist/lib/browser/react-root-6CGWH4PA.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-help/dist/lib/browser/react-surface-67ZRIGQ2.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-help/dist/lib/browser/state-K6TSL77G.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["HELP_ACTION","HELP_PLUGIN","HelpAction","HelpCapabilities","HelpContext","HelpPlugin","Key","SHORTCUTS_DIALOG","ShortcutsDialogContent","ShortcutsHints","ShortcutsList","ShortcutsSection","Tooltip","WelcomeTour","floaterProps","meta","useHelp"],"entryPoint":"packages/plugins/plugin-help/src/index.ts","inputs":{"packages/plugins/plugin-help/src/capabilities/index.ts":{"bytesInOutput":318},"packages/plugins/plugin-help/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/HelpPlugin.tsx":{"bytesInOutput":1265},"packages/plugins/plugin-help/src/translations.ts":{"bytesInOutput":266},"packages/plugins/plugin-help/src/hooks/useHelp.tsx":{"bytesInOutput":175},"packages/plugins/plugin-help/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":2996},"packages/plugins/plugin-help/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-help/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"}],"exports":["HELP_PLUGIN","meta"],"entryPoint":"packages/plugins/plugin-help/src/meta.ts","inputs":{},"bytes":130},"packages/plugins/plugin-help/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-help/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"}],"exports":["HELP_ACTION","HelpAction","HelpContext"],"entryPoint":"packages/plugins/plugin-help/src/types.ts","inputs":{},"bytes":204},"packages/plugins/plugin-help/dist/lib/browser/app-graph-builder-TURPF3QA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4848},"packages/plugins/plugin-help/dist/lib/browser/app-graph-builder-TURPF3QA.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-MCBBUJMA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-help/src/capabilities/app-graph-builder.ts":{"bytesInOutput":2076}},"bytes":2479},"packages/plugins/plugin-help/dist/lib/browser/react-root-6CGWH4PA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1573},"packages/plugins/plugin-help/dist/lib/browser/react-root-6CGWH4PA.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-MCBBUJMA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/react-root.tsx","inputs":{"packages/plugins/plugin-help/src/capabilities/react-root.tsx":{"bytesInOutput":553}},"bytes":909},"packages/plugins/plugin-help/dist/lib/browser/react-surface-67ZRIGQ2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1677},"packages/plugins/plugin-help/dist/lib/browser/react-surface-67ZRIGQ2.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-MCBBUJMA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-help/src/capabilities/react-surface.tsx":{"bytesInOutput":722}},"bytes":1094},"packages/plugins/plugin-help/dist/lib/browser/chunk-MCBBUJMA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":24172},"packages/plugins/plugin-help/dist/lib/browser/chunk-MCBBUJMA.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-joyride","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["Key","SHORTCUTS_DIALOG","ShortcutsDialogContent","ShortcutsHints","ShortcutsList","ShortcutsSection","Tooltip","WelcomeTour","floaterProps"],"inputs":{"packages/plugins/plugin-help/src/components/Shortcuts/Key.tsx":{"bytesInOutput":391},"packages/plugins/plugin-help/src/components/Shortcuts/styles.ts":{"bytesInOutput":194},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsList.tsx":{"bytesInOutput":1007},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsDialog.tsx":{"bytesInOutput":1101},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsHints.tsx":{"bytesInOutput":1367},"packages/plugins/plugin-help/src/components/Shortcuts/ShortcutsSection.tsx":{"bytesInOutput":273},"packages/plugins/plugin-help/src/components/Tooltip/Tooltip.tsx":{"bytesInOutput":3279},"packages/plugins/plugin-help/src/components/WelcomeTour/WelcomeTour.tsx":{"bytesInOutput":3918},"packages/plugins/plugin-help/src/components/Tooltip/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/components/Shortcuts/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/components/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-help/src/components/WelcomeTour/index.ts":{"bytesInOutput":0}},"bytes":12498},"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1741},"packages/plugins/plugin-help/dist/lib/browser/chunk-7WCNIZD2.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["HELP_ACTION","HelpAction","HelpContext"],"inputs":{"packages/plugins/plugin-help/src/types.ts":{"bytesInOutput":511}},"bytes":711},"packages/plugins/plugin-help/dist/lib/browser/state-K6TSL77G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1281},"packages/plugins/plugin-help/dist/lib/browser/state-K6TSL77G.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-help/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-help/src/capabilities/state.ts":{"bytesInOutput":470}},"bytes":725},"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":843},"packages/plugins/plugin-help/dist/lib/browser/chunk-EMRPD2QX.mjs":{"imports":[{"path":"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["HelpCapabilities"],"inputs":{"packages/plugins/plugin-help/src/capabilities/capabilities.ts":{"bytesInOutput":327}},"bytes":523},"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":529},"packages/plugins/plugin-help/dist/lib/browser/chunk-4KTRSNO5.mjs":{"imports":[],"exports":["HELP_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-help/src/meta.ts":{"bytesInOutput":121}},"bytes":244}}}
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  WelcomeTour
3
- } from "./chunk-XC36YAWT.mjs";
4
- import "./chunk-AIK64B2S.mjs";
3
+ } from "./chunk-MCBBUJMA.mjs";
4
+ import "./chunk-7WCNIZD2.mjs";
5
5
  import {
6
6
  HelpCapabilities
7
7
  } from "./chunk-EMRPD2QX.mjs";
@@ -31,4 +31,4 @@ var react_root_default = (steps) => contributes(Capabilities.ReactRoot, {
31
31
  export {
32
32
  react_root_default as default
33
33
  };
34
- //# sourceMappingURL=react-root-SYJQMP2R.mjs.map
34
+ //# sourceMappingURL=react-root-6CGWH4PA.mjs.map
@@ -3,8 +3,8 @@ import {
3
3
  ShortcutsDialogContent,
4
4
  ShortcutsHints,
5
5
  ShortcutsList
6
- } from "./chunk-XC36YAWT.mjs";
7
- import "./chunk-AIK64B2S.mjs";
6
+ } from "./chunk-MCBBUJMA.mjs";
7
+ import "./chunk-7WCNIZD2.mjs";
8
8
  import {
9
9
  HELP_PLUGIN
10
10
  } from "./chunk-4KTRSNO5.mjs";
@@ -33,4 +33,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
33
33
  export {
34
34
  react_surface_default as default
35
35
  };
36
- //# sourceMappingURL=react-surface-BZ7D7FFN.mjs.map
36
+ //# sourceMappingURL=react-surface-67ZRIGQ2.mjs.map
@@ -2,7 +2,7 @@ import {
2
2
  HELP_ACTION,
3
3
  HelpAction,
4
4
  HelpContext
5
- } from "./chunk-AIK64B2S.mjs";
5
+ } from "./chunk-7WCNIZD2.mjs";
6
6
  import "./chunk-4KTRSNO5.mjs";
7
7
  export {
8
8
  HELP_ACTION,
@@ -1 +1 @@
1
- {"version":3,"file":"HelpPlugin.d.ts","sourceRoot":"","sources":["../../../src/HelpPlugin.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,SAAS,CAAC;AAEhD,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,UAAU,cAAoB,iBAAiB,yCA0CxD,CAAC"}
1
+ {"version":3,"file":"HelpPlugin.d.ts","sourceRoot":"","sources":["../../../src/HelpPlugin.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,SAAS,CAAC;AAEhD,MAAM,MAAM,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;CAAE,CAAC;AAEnD,eAAO,MAAM,UAAU,GAAI,WAAgB,iBAAiB,yCA0CxD,CAAC"}