@dxos/plugin-help 0.8.4-main.a4bbb77 → 0.8.4-main.abd8ff62ef

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 (141) hide show
  1. package/dist/lib/browser/chunk-53QC3FTJ.mjs +34 -0
  2. package/dist/lib/browser/chunk-53QC3FTJ.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-EEXGETLQ.mjs +16 -0
  4. package/dist/lib/browser/chunk-EEXGETLQ.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  6. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-RWK34XL5.mjs +31 -0
  8. package/dist/lib/browser/chunk-RWK34XL5.mjs.map +7 -0
  9. package/dist/lib/browser/index.mjs +13 -97
  10. package/dist/lib/browser/index.mjs.map +4 -4
  11. package/dist/lib/browser/meta.json +1 -1
  12. package/dist/lib/browser/meta.mjs +2 -1
  13. package/dist/lib/browser/operations/index.mjs +13 -0
  14. package/dist/lib/browser/operations/index.mjs.map +7 -0
  15. package/dist/lib/browser/start-JQ2LLVCT.mjs +23 -0
  16. package/dist/lib/browser/start-JQ2LLVCT.mjs.map +7 -0
  17. package/dist/lib/browser/translations.mjs +20 -0
  18. package/dist/lib/browser/translations.mjs.map +7 -0
  19. package/dist/lib/browser/types/index.mjs +4 -4
  20. package/dist/types/src/HelpPlugin.d.ts +4 -2
  21. package/dist/types/src/HelpPlugin.d.ts.map +1 -1
  22. package/dist/types/src/HelpPlugin.test.d.ts +2 -0
  23. package/dist/types/src/HelpPlugin.test.d.ts.map +1 -0
  24. package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
  25. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  26. package/dist/types/src/capabilities/index.d.ts +16 -6
  27. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  28. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  29. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  30. package/dist/types/src/capabilities/react-root.d.ts +5 -3
  31. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  32. package/dist/types/src/capabilities/react-surface.d.ts +3 -2
  33. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  34. package/dist/types/src/capabilities/state.d.ts +11 -2
  35. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  36. package/dist/types/src/components/Shortcuts/Key.d.ts.map +1 -1
  37. package/dist/types/src/components/Shortcuts/ShortcutsHints.d.ts.map +1 -1
  38. package/dist/types/src/components/Shortcuts/ShortcutsSection.d.ts.map +1 -1
  39. package/dist/types/src/components/Shortcuts/index.d.ts +0 -1
  40. package/dist/types/src/components/Shortcuts/index.d.ts.map +1 -1
  41. package/dist/types/src/components/Tooltip/Tooltip.d.ts +9 -9
  42. package/dist/types/src/components/Tooltip/Tooltip.d.ts.map +1 -1
  43. package/dist/types/src/components/WelcomeTour/WelcomeTour.d.ts +1 -1
  44. package/dist/types/src/components/WelcomeTour/WelcomeTour.d.ts.map +1 -1
  45. package/dist/types/src/components/WelcomeTour/WelcomeTour.stories.d.ts.map +1 -1
  46. package/dist/types/src/constants.d.ts +2 -0
  47. package/dist/types/src/constants.d.ts.map +1 -0
  48. package/dist/types/src/{components/Shortcuts/ShortcutsDialog.d.ts → containers/ShortcutsDialogContent/ShortcutsDialogContent.d.ts} +1 -2
  49. package/dist/types/src/containers/ShortcutsDialogContent/ShortcutsDialogContent.d.ts.map +1 -0
  50. package/dist/types/src/containers/ShortcutsDialogContent/ShortcutsDialogContent.stories.d.ts +25 -0
  51. package/dist/types/src/containers/ShortcutsDialogContent/ShortcutsDialogContent.stories.d.ts.map +1 -0
  52. package/dist/types/src/containers/ShortcutsDialogContent/index.d.ts +2 -0
  53. package/dist/types/src/containers/ShortcutsDialogContent/index.d.ts.map +1 -0
  54. package/dist/types/src/containers/ShortcutsHints/ShortcutsHints.d.ts +2 -0
  55. package/dist/types/src/containers/ShortcutsHints/ShortcutsHints.d.ts.map +1 -0
  56. package/dist/types/src/containers/ShortcutsHints/index.d.ts +2 -0
  57. package/dist/types/src/containers/ShortcutsHints/index.d.ts.map +1 -0
  58. package/dist/types/src/containers/ShortcutsList/ShortcutsList.d.ts +2 -0
  59. package/dist/types/src/containers/ShortcutsList/ShortcutsList.d.ts.map +1 -0
  60. package/dist/types/src/containers/ShortcutsList/index.d.ts +2 -0
  61. package/dist/types/src/containers/ShortcutsList/index.d.ts.map +1 -0
  62. package/dist/types/src/containers/index.d.ts +5 -0
  63. package/dist/types/src/containers/index.d.ts.map +1 -0
  64. package/dist/types/src/hooks/useHelp.d.ts +1 -1
  65. package/dist/types/src/hooks/useHelp.d.ts.map +1 -1
  66. package/dist/types/src/index.d.ts +5 -4
  67. package/dist/types/src/index.d.ts.map +1 -1
  68. package/dist/types/src/meta.d.ts +2 -2
  69. package/dist/types/src/meta.d.ts.map +1 -1
  70. package/dist/types/src/operations/definitions.d.ts +4 -0
  71. package/dist/types/src/operations/definitions.d.ts.map +1 -0
  72. package/dist/types/src/operations/index.d.ts +4 -0
  73. package/dist/types/src/operations/index.d.ts.map +1 -0
  74. package/dist/types/src/operations/start.d.ts +5 -0
  75. package/dist/types/src/operations/start.d.ts.map +1 -0
  76. package/dist/types/src/translations.d.ts +5 -6
  77. package/dist/types/src/translations.d.ts.map +1 -1
  78. package/dist/types/src/types/capabilities.d.ts +21 -0
  79. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  80. package/dist/types/src/types/index.d.ts +1 -0
  81. package/dist/types/src/types/index.d.ts.map +1 -1
  82. package/dist/types/src/types/schema.d.ts +2 -14
  83. package/dist/types/src/types/schema.d.ts.map +1 -1
  84. package/dist/types/tsconfig.tsbuildinfo +1 -1
  85. package/package.json +62 -45
  86. package/src/HelpPlugin.test.ts +30 -0
  87. package/src/HelpPlugin.tsx +21 -44
  88. package/src/capabilities/app-graph-builder.ts +53 -67
  89. package/src/capabilities/index.ts +10 -7
  90. package/src/capabilities/operation-handler.ts +16 -0
  91. package/src/capabilities/react-root.tsx +28 -25
  92. package/src/capabilities/react-surface.tsx +28 -22
  93. package/src/capabilities/state.ts +19 -16
  94. package/src/components/Shortcuts/ShortcutsHints.tsx +13 -5
  95. package/src/components/Shortcuts/ShortcutsList.tsx +4 -4
  96. package/src/components/Shortcuts/ShortcutsSection.tsx +1 -3
  97. package/src/components/Shortcuts/index.ts +0 -1
  98. package/src/components/Shortcuts/styles.ts +3 -3
  99. package/src/components/Tooltip/Tooltip.tsx +4 -5
  100. package/src/components/WelcomeTour/WelcomeTour.stories.tsx +17 -13
  101. package/src/components/WelcomeTour/WelcomeTour.tsx +6 -3
  102. package/src/constants.ts +7 -0
  103. package/src/containers/ShortcutsDialogContent/ShortcutsDialogContent.stories.tsx +39 -0
  104. package/src/containers/ShortcutsDialogContent/ShortcutsDialogContent.tsx +28 -0
  105. package/src/containers/ShortcutsDialogContent/index.ts +5 -0
  106. package/src/containers/ShortcutsHints/ShortcutsHints.tsx +5 -0
  107. package/src/containers/ShortcutsHints/index.ts +5 -0
  108. package/src/containers/ShortcutsList/ShortcutsList.tsx +5 -0
  109. package/src/containers/ShortcutsList/index.ts +5 -0
  110. package/src/containers/index.ts +9 -0
  111. package/src/hooks/useHelp.tsx +1 -1
  112. package/src/index.ts +9 -4
  113. package/src/meta.ts +8 -3
  114. package/src/operations/definitions.ts +19 -0
  115. package/src/operations/index.ts +9 -0
  116. package/src/operations/start.ts +21 -0
  117. package/src/translations.ts +5 -5
  118. package/src/types/capabilities.ts +24 -0
  119. package/src/types/index.ts +1 -0
  120. package/src/types/schema.ts +2 -12
  121. package/dist/lib/browser/app-graph-builder-AR2S4WLE.mjs +0 -79
  122. package/dist/lib/browser/app-graph-builder-AR2S4WLE.mjs.map +0 -7
  123. package/dist/lib/browser/chunk-3WYHGOGD.mjs +0 -16
  124. package/dist/lib/browser/chunk-3WYHGOGD.mjs.map +0 -7
  125. package/dist/lib/browser/chunk-4KB36WUN.mjs +0 -34
  126. package/dist/lib/browser/chunk-4KB36WUN.mjs.map +0 -7
  127. package/dist/lib/browser/chunk-HUJHLAHD.mjs +0 -11
  128. package/dist/lib/browser/chunk-HUJHLAHD.mjs.map +0 -7
  129. package/dist/lib/browser/chunk-RZFM47PY.mjs +0 -407
  130. package/dist/lib/browser/chunk-RZFM47PY.mjs.map +0 -7
  131. package/dist/lib/browser/react-root-WTD4XPY6.mjs +0 -34
  132. package/dist/lib/browser/react-root-WTD4XPY6.mjs.map +0 -7
  133. package/dist/lib/browser/react-surface-ZFAK7QKZ.mjs +0 -36
  134. package/dist/lib/browser/react-surface-ZFAK7QKZ.mjs.map +0 -7
  135. package/dist/lib/browser/state-Y7EYMGFM.mjs +0 -29
  136. package/dist/lib/browser/state-Y7EYMGFM.mjs.map +0 -7
  137. package/dist/types/src/capabilities/capabilities.d.ts +0 -10
  138. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  139. package/dist/types/src/components/Shortcuts/ShortcutsDialog.d.ts.map +0 -1
  140. package/src/capabilities/capabilities.ts +0 -13
  141. package/src/components/Shortcuts/ShortcutsDialog.tsx +0 -35
@@ -1 +1 @@
1
- {"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAC;yBAIrB,OAAO,IAAI,EAAE;;;;AAA7B,wBAkBK"}
1
+ {"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAAoB,KAAK,IAAI,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,4 +1,5 @@
1
- import { Capabilities } from '@dxos/app-framework';
2
- declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.ReactSurface>>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
3
4
  export default _default;
4
5
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAK/E,wBAkBK"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,4 +1,13 @@
1
- import { HelpCapabilities } from './capabilities';
2
- declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<HelpCapabilities.State>>>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
4
+ running: boolean;
5
+ showHints: boolean;
6
+ showWelcome: boolean;
7
+ }, {
8
+ running: boolean;
9
+ showHints: boolean;
10
+ showWelcome: boolean;
11
+ }>>>, never, never>;
3
12
  export default _default;
4
13
  //# sourceMappingURL=state.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;;AAElD,wBAYE"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Key.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/Key.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,GAAG,GAAI,aAAa;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,sBAUnD,CAAC"}
1
+ {"version":3,"file":"Key.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/Key.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,GAAG,gBAAiB;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,sBAUnD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShortcutsHints.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/ShortcutsHints.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAiB1B,eAAO,MAAM,cAAc,GAAI,aAAa;IAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,sBAkBnE,CAAC"}
1
+ {"version":3,"file":"ShortcutsHints.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/ShortcutsHints.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,eAAO,MAAM,cAAc,gBAAiB;IAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,sBAyBnE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ShortcutsSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/ShortcutsSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,gBAAgB,yBAM5B,CAAC"}
1
+ {"version":3,"file":"ShortcutsSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/ShortcutsSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,gBAAgB,yBAM5B,CAAC"}
@@ -1,4 +1,3 @@
1
- export * from './ShortcutsDialog';
2
1
  export * from './ShortcutsHints';
3
2
  export * from './ShortcutsList';
4
3
  export * from './ShortcutsSection';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Shortcuts/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,OAAO,CAAC"}
@@ -8,35 +8,35 @@ export declare const Tooltip: React.ForwardRefExoticComponent<{
8
8
  size: number;
9
9
  step: import("react-joyride").StepMerged;
10
10
  backProps: {
11
- "aria-label": string;
12
- "data-action": string;
11
+ 'aria-label': string;
12
+ 'data-action': string;
13
13
  onClick: React.MouseEventHandler<HTMLElement>;
14
14
  role: string;
15
15
  title: string;
16
16
  };
17
17
  closeProps: {
18
- "aria-label": string;
19
- "data-action": string;
18
+ 'aria-label': string;
19
+ 'data-action': string;
20
20
  onClick: React.MouseEventHandler<HTMLElement>;
21
21
  role: string;
22
22
  title: string;
23
23
  };
24
24
  primaryProps: {
25
- "aria-label": string;
26
- "data-action": string;
25
+ 'aria-label': string;
26
+ 'data-action': string;
27
27
  onClick: React.MouseEventHandler<HTMLElement>;
28
28
  role: string;
29
29
  title: string;
30
30
  };
31
31
  skipProps: {
32
- "aria-label": string;
33
- "data-action": string;
32
+ 'aria-label': string;
33
+ 'data-action': string;
34
34
  onClick: React.MouseEventHandler<HTMLElement>;
35
35
  role: string;
36
36
  title: string;
37
37
  };
38
38
  tooltipProps: {
39
- "aria-modal": boolean;
39
+ 'aria-modal': boolean;
40
40
  ref: React.RefCallback<HTMLElement>;
41
41
  role: string;
42
42
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,KAAK,EAA2B,MAAM,eAAe,CAAC;AASpE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,cAAc,CAY9C,CAAC;AAGF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA+EnB,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C,OAAO,EAAE,KAAK,KAAK,EAA2B,MAAM,eAAe,CAAC;AASpE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,cAAc,CAY9C,CAAC;AAGF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA8EnB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type Step } from '../../types';
2
+ import { type Step } from '#types';
3
3
  export type WelcomeTourProps = {
4
4
  steps: Step[];
5
5
  running?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"WelcomeTour.d.ts","sourceRoot":"","sources":["../../../../../src/components/WelcomeTour/WelcomeTour.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAMxC,OAAO,EAAe,KAAK,IAAI,EAAE,MAAM,aAAa,CAAC;AAkDrD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,GAAG,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,iEAAiE,gBAAgB,sBAoG5G,CAAC"}
1
+ {"version":3,"file":"WelcomeTour.d.ts","sourceRoot":"","sources":["../../../../../src/components/WelcomeTour/WelcomeTour.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAOxC,OAAO,EAAe,KAAK,IAAI,EAAE,MAAM,QAAQ,CAAC;AAmDhD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,GAAG,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,oEAAqE,gBAAgB,sBAqG5G,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"WelcomeTour.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/WelcomeTour/WelcomeTour.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAwDnE,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,WAAW,CA8BhD,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,IAAI;;;wBA/C4B,gBAAgB;;CAqDlB,CAAC;AAErC,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"WelcomeTour.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/WelcomeTour/WelcomeTour.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAwDnE,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,WAAW,CA8BhD,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,IAAI;;;wBA/C4B,gBAAgB;;CAyDlB,CAAC;eAEtB,IAAI"}
@@ -0,0 +1,2 @@
1
+ export declare const SHORTCUTS_DIALOG: string;
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/constants.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,QAA+B,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
- export declare const SHORTCUTS_DIALOG: string;
3
2
  export declare const ShortcutsDialogContent: () => React.JSX.Element;
4
- //# sourceMappingURL=ShortcutsDialog.d.ts.map
3
+ //# sourceMappingURL=ShortcutsDialogContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortcutsDialogContent.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsDialogContent/ShortcutsDialogContent.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,sBAAsB,yBAgBlC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: () => React.JSX.Element;
6
+ render: () => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ translations: [{
11
+ readonly 'en-US': {
12
+ readonly [x: string]: {
13
+ readonly 'plugin.name': 'Help';
14
+ readonly 'open-help-tour.message': 'Show welcome tour';
15
+ readonly 'open-shortcuts.label': 'Show shortcuts';
16
+ readonly 'shortcuts-dialog.title': 'Shortcuts';
17
+ };
18
+ };
19
+ }];
20
+ };
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof meta>;
24
+ export declare const Default: Story;
25
+ //# sourceMappingURL=ShortcutsDialogContent.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortcutsDialogContent.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsDialogContent/ShortcutsDialogContent.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;CASqC,CAAC;eAEjC,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ShortcutsDialogContent as default } from './ShortcutsDialogContent';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsDialogContent/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,IAAI,OAAO,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ShortcutsHints } from '../../components';
2
+ //# sourceMappingURL=ShortcutsHints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortcutsHints.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsHints/ShortcutsHints.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ShortcutsHints as default } from './ShortcutsHints';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsHints/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ShortcutsList } from '../../components';
2
+ //# sourceMappingURL=ShortcutsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortcutsList.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsList/ShortcutsList.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ShortcutsList as default } from './ShortcutsList';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ShortcutsList/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const ShortcutsDialogContent: ComponentType<any>;
3
+ export declare const ShortcutsHints: ComponentType<any>;
4
+ export declare const ShortcutsList: ComponentType<any>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,GAAG,CAAkD,CAAC;AACzG,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC;AACzF,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,GAAG,CAAyC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const useHelp: () => import("..").HelpContextType;
1
+ export declare const useHelp: () => import("#types").HelpContextType;
2
2
  //# sourceMappingURL=useHelp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHelp.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useHelp.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,OAAO,oCAEnB,CAAC"}
1
+ {"version":3,"file":"useHelp.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useHelp.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,OAAO,wCAEnB,CAAC"}
@@ -1,7 +1,8 @@
1
- export { HelpCapabilities } from './capabilities';
2
- export * from './components';
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export { HelpCapabilities } from './types';
3
+ export * from './constants';
3
4
  export * from './meta';
4
- export * from './HelpPlugin';
5
- export * from './hooks';
6
5
  export * from './types';
6
+ export declare const HelpPlugin: Plugin.PluginFactory<import("#plugin").HelpPluginOptions>;
7
+ export type { HelpPluginOptions } from '#plugin';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,eAAO,MAAM,UAAU,2DAA6C,CAAC;AACrE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ export declare const meta: Plugin.Meta;
3
3
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,UAIlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAQzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ import { Operation } from '@dxos/compute';
3
+ export declare const Start: Operation.Definition<void, void, Capability.Service>;
4
+ //# sourceMappingURL=definitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../src/operations/definitions.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,eAAO,MAAM,KAAK,sDAKhB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { OperationHandlerSet } from '@dxos/compute';
2
+ export * as HelpOperation from './definitions';
3
+ export declare const HelpOperationHandlerSet: OperationHandlerSet.OperationHandlerSet;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,aAAa,MAAM,eAAe,CAAC;AAE/C,eAAO,MAAM,uBAAuB,yCAAoD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Operation } from '@dxos/compute';
2
+ import { Start } from './definitions';
3
+ declare const handler: Operation.WithHandler<typeof Start>;
4
+ export default handler;
5
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../../src/operations/start.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,KAAK,CAMhD,CAAC;eAEa,OAAO"}
@@ -1,11 +1,10 @@
1
- import { meta } from './meta';
2
1
  export declare const translations: [{
3
2
  readonly 'en-US': {
4
- readonly [meta.id]: {
5
- readonly 'plugin name': "Help";
6
- readonly 'open help tour': "Show welcome tour";
7
- readonly 'open shortcuts label': "Show shortcuts";
8
- readonly 'shortcuts dialog title': "Shortcuts";
3
+ readonly [x: string]: {
4
+ readonly 'plugin.name': 'Help';
5
+ readonly 'open-help-tour.message': 'Show welcome tour';
6
+ readonly 'open-shortcuts.label': 'Show shortcuts';
7
+ readonly 'shortcuts-dialog.title': 'Shortcuts';
9
8
  };
10
9
  };
11
10
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;UAKR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,MAAM;+CACK,mBAAmB;6CACrB,gBAAgB;+CACd,WAAW;;;EAId,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type Atom } from '@effect-atom/atom-react';
2
+ import * as Schema from 'effect/Schema';
3
+ import { Capability } from '@dxos/app-framework';
4
+ export declare namespace HelpCapabilities {
5
+ const StateSchema: Schema.mutable<Schema.Struct<{
6
+ running: typeof Schema.Boolean;
7
+ showHints: typeof Schema.Boolean;
8
+ showWelcome: typeof Schema.Boolean;
9
+ }>>;
10
+ type State = Schema.Schema.Type<typeof StateSchema>;
11
+ const State: Capability.InterfaceDef<Atom.Writable<{
12
+ running: boolean;
13
+ showHints: boolean;
14
+ showWelcome: boolean;
15
+ }, {
16
+ running: boolean;
17
+ showHints: boolean;
18
+ showWelcome: boolean;
19
+ }>>;
20
+ }
21
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,yBAAiB,gBAAgB,CAAC,CAAC;IAC1B,MAAM,WAAW;;;;OAMvB,CAAC;IAEF,KAAY,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;IAEpD,MAAM,KAAK;;;;;;;;OAAuE,CAAC;CAC3F"}
@@ -1,2 +1,3 @@
1
+ export * from './capabilities';
1
2
  export * from './schema';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}
@@ -1,9 +1,8 @@
1
- import { Schema } from 'effect';
2
1
  import { type Context } from 'react';
3
2
  import { type Step as BaseStep } from 'react-joyride';
4
- import { type PluginContext } from '@dxos/app-framework';
3
+ import { type CapabilityManager } from '@dxos/app-framework';
5
4
  export type Step = BaseStep & {
6
- before?: (context: PluginContext) => void;
5
+ before?: (capabilities: CapabilityManager.CapabilityManager) => void;
7
6
  };
8
7
  export type HelpContextType = {
9
8
  running: boolean;
@@ -14,15 +13,4 @@ export type HelpContextType = {
14
13
  stop: () => void;
15
14
  };
16
15
  export declare const HelpContext: Context<HelpContextType>;
17
- export declare namespace HelpAction {
18
- const Start_base: Schema.TaggedClass<Start, `${string}/action/start`, {
19
- readonly _tag: Schema.tag<`${string}/action/start`>;
20
- } & {
21
- input: typeof Schema.Void;
22
- output: typeof Schema.Void;
23
- }>;
24
- export class Start extends Start_base {
25
- }
26
- export {};
27
- }
28
16
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,KAAK,IAAI,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,MAAM,MAAM,IAAI,GAAG,QAAQ,GAAG;IAC5B,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,eAAe,CAO/C,CAAC;AAEH,yBAAiB,UAAU,CAAC;;;;;;;IAC1B,MAAM,OAAO,KAAM,SAAQ,UAGzB;KAAG;;CACN"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,KAAK,IAAI,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,MAAM,MAAM,IAAI,GAAG,QAAQ,GAAG;IAC5B,MAAM,CAAC,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC,iBAAiB,KAAK,IAAI,CAAC;CACtE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,eAAe,CAO/C,CAAC"}