@dxos/plugin-presenter 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6

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 (150) hide show
  1. package/dist/lib/browser/PresenterSettings-DSPIGNOL.mjs +32 -0
  2. package/dist/lib/browser/PresenterSettings-DSPIGNOL.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  4. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  5. package/dist/lib/browser/index.mjs +528 -34
  6. package/dist/lib/browser/index.mjs.map +4 -4
  7. package/dist/lib/browser/meta.json +1 -1
  8. package/dist/lib/browser/operations/index.mjs +30 -0
  9. package/dist/lib/browser/operations/index.mjs.map +7 -0
  10. package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
  11. package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
  12. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  13. package/dist/types/src/capabilities/index.d.ts +8 -3
  14. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  15. package/dist/types/src/capabilities/react-surface.d.ts +5 -0
  16. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  17. package/dist/types/src/capabilities/settings.d.ts +10 -0
  18. package/dist/types/src/capabilities/settings.d.ts.map +1 -0
  19. package/dist/types/src/components/Markdown/Panel.d.ts +8 -0
  20. package/dist/types/src/components/Markdown/Panel.d.ts.map +1 -0
  21. package/dist/types/src/components/Markdown/{Container.stories.d.ts → Panel.stories.d.ts} +1 -1
  22. package/dist/types/src/components/Markdown/Panel.stories.d.ts.map +1 -0
  23. package/dist/types/src/components/Markdown/index.d.ts +1 -1
  24. package/dist/types/src/components/Markdown/index.d.ts.map +1 -1
  25. package/dist/types/src/components/Presenter/Layout.d.ts +9 -5
  26. package/dist/types/src/components/Presenter/Layout.d.ts.map +1 -1
  27. package/dist/types/src/components/PresenterSettings/PresenterSettings.d.ts +6 -0
  28. package/dist/types/src/components/PresenterSettings/PresenterSettings.d.ts.map +1 -0
  29. package/dist/types/src/components/PresenterSettings/PresenterSettings.stories.d.ts +25 -0
  30. package/dist/types/src/components/PresenterSettings/PresenterSettings.stories.d.ts.map +1 -0
  31. package/dist/types/src/components/PresenterSettings/index.d.ts +3 -0
  32. package/dist/types/src/components/PresenterSettings/index.d.ts.map +1 -0
  33. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts +9 -4
  34. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
  35. package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts +12 -5
  36. package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts.map +1 -1
  37. package/dist/types/src/components/index.d.ts +5 -28
  38. package/dist/types/src/components/index.d.ts.map +1 -1
  39. package/dist/types/src/containers/CollectionPresenterContainer/CollectionPresenterContainer.d.ts +7 -0
  40. package/dist/types/src/containers/CollectionPresenterContainer/CollectionPresenterContainer.d.ts.map +1 -0
  41. package/dist/types/src/containers/CollectionPresenterContainer/index.d.ts +3 -0
  42. package/dist/types/src/containers/CollectionPresenterContainer/index.d.ts.map +1 -0
  43. package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts +6 -0
  44. package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts.map +1 -0
  45. package/dist/types/src/containers/DocumentPresenterContainer/index.d.ts +3 -0
  46. package/dist/types/src/containers/DocumentPresenterContainer/index.d.ts.map +1 -0
  47. package/dist/types/src/containers/MarkdownSlide/MarkdownSlide.d.ts +8 -0
  48. package/dist/types/src/containers/MarkdownSlide/MarkdownSlide.d.ts.map +1 -0
  49. package/dist/types/src/containers/MarkdownSlide/index.d.ts +3 -0
  50. package/dist/types/src/containers/MarkdownSlide/index.d.ts.map +1 -0
  51. package/dist/types/src/containers/index.d.ts +5 -0
  52. package/dist/types/src/containers/index.d.ts.map +1 -0
  53. package/dist/types/src/operations/definitions.d.ts +17 -0
  54. package/dist/types/src/operations/definitions.d.ts.map +1 -0
  55. package/dist/types/src/operations/index.d.ts +2 -0
  56. package/dist/types/src/operations/index.d.ts.map +1 -0
  57. package/dist/types/src/translations.d.ts +6 -5
  58. package/dist/types/src/translations.d.ts.map +1 -1
  59. package/dist/types/src/types/Settings.d.ts +6 -0
  60. package/dist/types/src/types/Settings.d.ts.map +1 -0
  61. package/dist/types/src/types/index.d.ts +18 -0
  62. package/dist/types/src/types/index.d.ts.map +1 -0
  63. package/dist/types/src/useExitPresenter.d.ts +1 -1
  64. package/dist/types/src/useExitPresenter.d.ts.map +1 -1
  65. package/dist/types/tsconfig.tsbuildinfo +1 -1
  66. package/package.json +51 -35
  67. package/src/PresenterPlugin.tsx +9 -7
  68. package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +26 -27
  69. package/src/capabilities/index.ts +5 -3
  70. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +20 -23
  71. package/src/capabilities/{settings/settings.ts → settings.ts} +7 -6
  72. package/src/components/Markdown/{Container.stories.tsx → Panel.stories.tsx} +7 -7
  73. package/src/components/Markdown/{Container.tsx → Panel.tsx} +5 -5
  74. package/src/components/Markdown/Slide.stories.tsx +4 -4
  75. package/src/components/Markdown/index.ts +1 -1
  76. package/src/components/Markdown/theme.ts +6 -6
  77. package/src/components/Presenter/Layout.tsx +24 -23
  78. package/src/components/Presenter/Pager.stories.tsx +2 -2
  79. package/src/components/PresenterSettings/PresenterSettings.stories.tsx +32 -0
  80. package/src/components/PresenterSettings/PresenterSettings.tsx +32 -0
  81. package/src/components/PresenterSettings/index.ts +7 -0
  82. package/src/components/RevealPlayer/RevealPlayer.stories.tsx +3 -3
  83. package/src/components/RevealPlayer/RevealPlayer.tsx +104 -103
  84. package/src/components/index.ts +5 -5
  85. package/src/containers/CollectionPresenterContainer/CollectionPresenterContainer.tsx +43 -0
  86. package/src/containers/CollectionPresenterContainer/index.ts +7 -0
  87. package/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx +23 -0
  88. package/src/containers/DocumentPresenterContainer/index.ts +7 -0
  89. package/src/{components → containers/MarkdownSlide}/MarkdownSlide.tsx +4 -6
  90. package/src/containers/MarkdownSlide/index.ts +7 -0
  91. package/src/containers/index.ts +9 -0
  92. package/src/meta.ts +1 -1
  93. package/src/operations/definitions.ts +23 -0
  94. package/src/operations/index.ts +5 -0
  95. package/src/translations.ts +6 -5
  96. package/src/types/Settings.ts +15 -0
  97. package/src/types/index.ts +30 -0
  98. package/src/useExitPresenter.ts +11 -9
  99. package/dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs +0 -176
  100. package/dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs.map +0 -7
  101. package/dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs +0 -173
  102. package/dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs.map +0 -7
  103. package/dist/lib/browser/MarkdownSlide-GIYJABHE.mjs +0 -200
  104. package/dist/lib/browser/MarkdownSlide-GIYJABHE.mjs.map +0 -7
  105. package/dist/lib/browser/app-graph-builder-2QAQR34J.mjs +0 -112
  106. package/dist/lib/browser/app-graph-builder-2QAQR34J.mjs.map +0 -7
  107. package/dist/lib/browser/chunk-4PZXJXBO.mjs +0 -50
  108. package/dist/lib/browser/chunk-4PZXJXBO.mjs.map +0 -7
  109. package/dist/lib/browser/chunk-5MC4V23G.mjs +0 -38
  110. package/dist/lib/browser/chunk-5MC4V23G.mjs.map +0 -7
  111. package/dist/lib/browser/chunk-GM4KOXJY.mjs +0 -41
  112. package/dist/lib/browser/chunk-GM4KOXJY.mjs.map +0 -7
  113. package/dist/lib/browser/chunk-VQVZVXPJ.mjs +0 -18
  114. package/dist/lib/browser/chunk-VQVZVXPJ.mjs.map +0 -7
  115. package/dist/lib/browser/react-surface-2VP2M4Z7.mjs +0 -63
  116. package/dist/lib/browser/react-surface-2VP2M4Z7.mjs.map +0 -7
  117. package/dist/lib/browser/settings-RDHXCCT4.mjs +0 -31
  118. package/dist/lib/browser/settings-RDHXCCT4.mjs.map +0 -7
  119. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
  120. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  121. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  122. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  123. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  124. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  125. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  126. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  127. package/dist/types/src/capabilities/settings/index.d.ts +0 -7
  128. package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
  129. package/dist/types/src/capabilities/settings/settings.d.ts +0 -9
  130. package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
  131. package/dist/types/src/components/CollectionPresenterContainer.d.ts +0 -7
  132. package/dist/types/src/components/CollectionPresenterContainer.d.ts.map +0 -1
  133. package/dist/types/src/components/DocumentPresenterContainer.d.ts +0 -7
  134. package/dist/types/src/components/DocumentPresenterContainer.d.ts.map +0 -1
  135. package/dist/types/src/components/Markdown/Container.d.ts +0 -8
  136. package/dist/types/src/components/Markdown/Container.d.ts.map +0 -1
  137. package/dist/types/src/components/Markdown/Container.stories.d.ts.map +0 -1
  138. package/dist/types/src/components/MarkdownSlide.d.ts +0 -8
  139. package/dist/types/src/components/MarkdownSlide.d.ts.map +0 -1
  140. package/dist/types/src/components/PresenterSettings.d.ts +0 -8
  141. package/dist/types/src/components/PresenterSettings.d.ts.map +0 -1
  142. package/dist/types/src/types.d.ts +0 -49
  143. package/dist/types/src/types.d.ts.map +0 -1
  144. package/src/capabilities/app-graph-builder/index.ts +0 -7
  145. package/src/capabilities/react-surface/index.ts +0 -7
  146. package/src/capabilities/settings/index.ts +0 -7
  147. package/src/components/CollectionPresenterContainer.tsx +0 -43
  148. package/src/components/DocumentPresenterContainer.tsx +0 -23
  149. package/src/components/PresenterSettings.tsx +0 -35
  150. package/src/types.ts +0 -54
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/PresenterPlugin.tsx", "../../../src/capabilities/app-graph-builder/index.ts", "../../../src/capabilities/react-surface/index.ts", "../../../src/capabilities/settings/index.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Common, Plugin } from '@dxos/app-framework';\n\nimport { AppGraphBuilder, PresenterSettings, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\n// TODO(burdon): Only scale markdown content.\n// TODO(burdon): Map stack content; Slide content type (e.g., markdown, sketch, IPFS image, table, etc.)\n\nexport const PresenterPlugin = Plugin.define(meta).pipe(\n Common.Plugin.addSettingsModule({ activate: PresenterSettings }),\n Common.Plugin.addTranslationsModule({ translations }),\n Common.Plugin.addSurfaceModule({ activate: ReactSurface }),\n Common.Plugin.addAppGraphModule({ activate: AppGraphBuilder }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const PresenterSettings = Capability.lazy('PresenterSettings', () => import('./settings'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Presenter',\n 'settings title': 'Presenter settings',\n 'toggle presentation label': 'Present',\n 'present collections label': 'Present collections (experimental)',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;;;;;;;;;AAIA,SAASA,QAAQC,cAAc;;;ACA/B,SAASC,kBAAkB;AAEpB,IAAMC,kBAAkBC,WAAWC,KAAK,mBAAmB,MAAM,OAAO,kCAAA,CAAA;;;ACF/E,SAASC,cAAAA,mBAAkB;AAEpB,IAAMC,eAAeC,YAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACFzE,SAASC,cAAAA,mBAAkB;AAEpB,IAAMC,qBAAoBC,YAAWC,KAAK,qBAAqB,MAAM,OAAO,yBAAA,CAAA;;;ACE5E,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,6BAA6B;QAC7B,6BAA6B;MAC/B;IACF;EACF;;;;AJLK,IAAMC,kBAAkBC,OAAOC,OAAOC,IAAAA,EAAMC,KACjDC,OAAOJ,OAAOK,kBAAkB;EAAEC,UAAUC;AAAkB,CAAA,GAC9DH,OAAOJ,OAAOQ,sBAAsB;EAAEC;AAAa,CAAA,GACnDL,OAAOJ,OAAOU,iBAAiB;EAAEJ,UAAUK;AAAa,CAAA,GACxDP,OAAOJ,OAAOY,kBAAkB;EAAEN,UAAUO;AAAgB,CAAA,GAC5Db,OAAOc,IAAI;",
6
- "names": ["Common", "Plugin", "Capability", "AppGraphBuilder", "Capability", "lazy", "Capability", "ReactSurface", "Capability", "lazy", "Capability", "PresenterSettings", "Capability", "lazy", "translations", "meta", "id", "PresenterPlugin", "Plugin", "define", "meta", "pipe", "Common", "addSettingsModule", "activate", "PresenterSettings", "addTranslationsModule", "translations", "addSurfaceModule", "ReactSurface", "addAppGraphModule", "AppGraphBuilder", "make"]
3
+ "sources": ["../../../src/components/index.ts", "../../../src/components/Markdown/Panel.tsx", "../../../src/components/Markdown/Slide.tsx", "raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw", "../../../src/components/Markdown/theme.ts", "../../../src/components/Presenter/Layout.tsx", "../../../src/components/Presenter/Pager.tsx", "../../../src/components/RevealPlayer/RevealPlayer.tsx", "../../../src/meta.ts", "../../../src/PresenterPlugin.tsx", "../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type ComponentType, lazy } from 'react';\n\nexport * from './Markdown';\nexport * from './Presenter';\nexport * from './RevealPlayer';\n\nexport const PresenterSettings: ComponentType<any> = lazy(() => import('./PresenterSettings'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type PropsWithChildren, useState } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\n\nimport { type ThemedClassName } from '@dxos/react-ui';\nimport { mx } from '@dxos/ui-theme';\n\nexport type PanelProps = ThemedClassName<PropsWithChildren<{}>>;\n\n/**\n * Scaled markdown panel.\n */\nexport const Panel = ({ children, classNames }: PanelProps) => {\n const [props, setProps] = useState({});\n const {\n ref: containerRef,\n width,\n height,\n } = useResizeDetector({\n refreshMode: 'debounce',\n refreshRate: 200,\n refreshOptions: {\n leading: true,\n },\n onResize: ({ width, height }) => {\n if (width && height) {\n setProps(createLayoutProps({ width, height }));\n }\n },\n });\n\n // TODO(burdon): Reconcile highlight colors with markdown editor.\n // https://www.npmjs.com/package/react-markdown\n return (\n <div ref={containerRef} className={mx('flex grow relative overflow-hidden bg-attention-surface', classNames)}>\n <div className={mx('dx-container absolute')} style={props}>\n {width && height && children}\n </div>\n </div>\n );\n};\n\n/**\n * Compute CSS properties to transform DIV to be full screen.\n *\n * Display resolutions:\n * window.screen.{availWidth, availHeight}\n * 5K Studio 16.2-inch Macbook Pro\n * Max 5120 x 2880 3456 x 2234\n * Default 2560 x 1440 1728 x 1117 (Actual height 1080 - 37 pixel notch)\n * Aspect 1.77 (16/9) 1.54\n */\nconst createLayoutProps = ({ width, height }: { width: number; height: number }) => {\n // Config.\n const aspectRatio = 16 / 9;\n const nominalWidth = 2560;\n const nominalHeight = nominalWidth / aspectRatio;\n\n // NOTE: Hack to detect full height on Macbook Pro due to notch.\n // const macIntelNotch = 1117 - 1080;\n // const fullscreen =\n // height === screen.availHeight ||\n // (window.navigator.platform === 'MacIntel' && height === screen.availHeight - macIntelNotch);\n\n // If not fullscreen then make scale slightly smaller so there's a natural border.\n // const scaleFactor = fullscreen ? 1 : 0.95;\n\n // Compute scaling factor required.\n const scale = Math.min(width / nominalWidth, height / nominalHeight);\n\n return {\n left: (width - nominalWidth) / 2,\n top: (height - nominalHeight) / 2,\n width: nominalWidth,\n height: nominalHeight,\n transform: `scale(${scale})`,\n };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { h } from 'hastscript';\nimport React from 'react';\nimport ReactMarkdown, { type Options as ReactMarkdownOptions } from 'react-markdown';\nimport rehypeAddClasses from 'rehype-add-classes';\nimport rehypeHighlight from 'rehype-highlight';\nimport remarkFrontmatter from 'remark-frontmatter';\nimport remarkParseFrontmatter from 'remark-parse-frontmatter';\n\nimport 'highlight.js/styles/github.css';\n\nimport styles from './styles.css?raw';\nimport { theme } from './theme';\n\nexport type SlideProps = {\n content?: string;\n classes?: Record<string, string>;\n};\n\nexport const Slide = ({ content = '', classes = theme.nodes }: SlideProps) => {\n // TODO(thure): `rehype-highlight` ends up using `github.css` from `highlight.js`, but this does not appear to be\n // configurable. Find a way to remove the literal stylesheet here.\n return (\n <>\n <style>{styles}</style>\n <ReactMarkdown\n components={components}\n // Markdown to HTML.\n remarkPlugins={[[remarkFrontmatter, 'yaml'], remarkParseFrontmatter as any]}\n // HTML processing.\n rehypePlugins={[[rehypeAddClasses, classes], rehypeHighlight as any, slideLayout]}\n >\n {content}\n </ReactMarkdown>\n </>\n );\n};\n\n/**\n * Rehype plugin to format DOM based on frontmatter.\n * https://github.com/unifiedjs/unified#plugin\n * TODO(burdon): See tools/presenter: remarkPluginLayout\n * E.g., layout image from front-matter.\n */\nconst slideLayout =\n (_options = {}) =>\n (tree: any, file: any) => {\n const {\n data: { frontmatter = {} },\n } = file;\n\n let content = tree.children;\n const { layout, image } = frontmatter;\n if (image) {\n const img = h('div', {\n class: 'flex grow shrink-0 bg-cover bg-center bg-no-repeat',\n style: {\n backgroundImage: `url(${image})`,\n },\n });\n\n switch (layout) {\n case 'fullscreen': {\n content = img;\n break;\n }\n\n case 'columns': {\n content = h('div', { class: 'flex grow grid grid-cols-2' }, [\n h('div', { class: theme.padding }, [content]),\n img,\n ]);\n break;\n }\n\n case 'rows': {\n content = h('div', { class: 'flex grow flex-col' }, [\n h('div', { class: theme.padding }, [content]),\n h('div', { class: ['flex grow pt-0', theme.padding] }, [img]),\n ]);\n break;\n }\n }\n } else {\n content = h('div', { class: ['flex grow flex-col', theme.padding] }, [content]);\n }\n\n const root = h('div', { class: ['flex flex-col grow', theme.root] }, [content]);\n tree.children = [root];\n };\n\nconst ImageWrapper = ({ node: _, ...props }: { node: any }) => {\n const { alt = '', src } = props as { alt: string; src: string };\n return <img alt={alt} src={src} />;\n};\n\nconst components: ReactMarkdownOptions['components'] = {\n img: ({ node, ...props }) => <ImageWrapper node={node} {...props} />,\n};\n", "/*!\n Theme: GitHub Dark\n Description: Dark theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n Outdated base version: https://github.com/primer/github-syntax-dark\n Current colors taken from GitHub's CSS\n*/\n/* TODO(burdon): Use tokens. */\n.dark pre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em;\n}\n.dark code.hljs {\n padding: 3px 5px;\n}\n.dark .hljs {\n color: #c9d1d9;\n background: #0d1117;\n}\n.dark .hljs-doctag,\n.dark .hljs-keyword,\n.dark .hljs-meta .hljs-keyword,\n.dark .hljs-template-tag,\n.dark .hljs-template-variable,\n.dark .hljs-type,\n.dark .hljs-variable.language_ {\n color: #ff7b72;\n}\n.dark .hljs-title,\n.dark .hljs-title.class_,\n.dark .hljs-title.class_.inherited__,\n.dark .hljs-title.function_ {\n color: #d2a8ff;\n}\n.dark .hljs-attr,\n.dark .hljs-attribute,\n.dark .hljs-literal,\n.dark .hljs-meta,\n.dark .hljs-number,\n.dark .hljs-operator,\n.dark .hljs-variable,\n.dark .hljs-selector-attr,\n.dark .hljs-selector-class,\n.dark .hljs-selector-id {\n color: #79c0ff;\n}\n.dark .hljs-regexp,\n.dark .hljs-string,\n.dark .hljs-meta .hljs-string {\n color: #a5d6ff;\n}\n.dark .hljs-built_in,\n.dark .hljs-symbol {\n color: #ffa657;\n}\n.dark .hljs-comment,\n.dark .hljs-code,\n.dark .hljs-formula {\n color: #8b949e;\n}\n.dark .hljs-name,\n.dark .hljs-quote,\n.dark .hljs-selector-tag,\n.dark .hljs-selector-pseudo {\n color: #7ee787;\n}\n.dark .hljs-subst {\n color: #c9d1d9;\n}\n.dark .hljs-section {\n color: #1f6feb;\n font-weight: bold;\n}\n.dark .hljs-bullet {\n color: #f2cc60;\n}\n.dark .hljs-emphasis {\n color: #c9d1d9;\n font-style: italic;\n}\n.dark .hljs-strong {\n color: #c9d1d9;\n font-weight: bold;\n}\n.dark .hljs-addition {\n color: #aff5b4;\n background-color: #033a16;\n}\n.dark .hljs-deletion {\n color: #ffdcd7;\n background-color: #67060c;\n}\n.dark .hljs-char.escape_,\n.dark .hljs-link,\n.dark .hljs-params,\n.dark .hljs-property,\n.dark .hljs-punctuation,\n.dark .hljs-tag {\n /* purposely ignored */\n all: unset;\n}\n", "//\n// Copyright 2023 DXOS.org\n//\n\n// TODO(burdon): Create theme type and picker.\n\nexport const theme = {\n root: 'bg-attention-surface leading-relaxed font-mono',\n\n padding: 'px-40 py-16 gap-8',\n\n nodes: {\n h1: 'text-[80px] text-accent-text',\n h2: 'text-[60px] text-accent-text',\n h3: 'text-[48px] text-accent-text',\n\n p: 'text-[48px]',\n\n ul: 'my-[16px] ml-12 leading-relaxed list-disc',\n ol: 'my-[16px] ml-24 leading-relaxed list-decimal',\n li: 'pl-6 text-[48px]',\n\n pre: 'w-full mx-0 my-[32px] p-4 bg-input-surface',\n code: 'p-0 text-[40px]',\n },\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { type PropsWithChildren, type ReactNode } from 'react';\n\nimport { composable, composableProps } from '@dxos/ui-theme';\n\nexport type LayoutProps = PropsWithChildren<{\n topLeft?: ReactNode;\n topRight?: ReactNode;\n bottomLeft?: ReactNode;\n bottomRight?: ReactNode;\n}>;\n\nexport const Layout = composable<HTMLDivElement, LayoutProps>(\n ({ children, topLeft, topRight, bottomLeft, bottomRight, ...props }, forwardedRef) => {\n return (\n <div\n {...composableProps(props, { classNames: 'flex grow relative overflow-hidden bg-attention-surface' })}\n ref={forwardedRef}\n >\n <div className='flex flex-col grow overflow-hidden'>{children}</div>\n\n <div className='z-[200]'>\n <div className='absolute top-4 left-4'>{topLeft}</div>\n <div className='absolute top-4 right-4'>{topRight}</div>\n <div className='absolute bottom-4 left-4'>{bottomLeft}</div>\n <div className='absolute bottom-4 right-4'>{bottomRight}</div>\n </div>\n </div>\n );\n },\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React, { useEffect } from 'react';\n\nimport { IconButton, useControlledState } from '@dxos/react-ui';\n\nexport type PagerProps = {\n index?: number;\n count?: number;\n keys?: boolean; // TODO(burdon): Rename.\n onChange?: (index: number) => void;\n onExit?: () => void;\n};\n\nexport const Pager = ({ index: indexProp = 0, count = 0, keys, onChange, onExit }: PagerProps) => {\n const [index, setIndex] = useControlledState(indexProp);\n useEffect(() => {\n onChange?.(index);\n }, [index]);\n\n const handleChangeIndex = (dir: number) => {\n setIndex((index) => {\n const next = index + dir;\n return next >= 0 && next < count ? next : index;\n });\n };\n\n // TODO(burdon): Standardize via system key binding.\n useEffect(() => {\n if (!keys) {\n return;\n }\n\n const keydownHandler = (event: KeyboardEvent) => {\n switch (event.key) {\n case 'Escape': {\n onExit?.();\n break;\n }\n case 'ArrowLeft': {\n if (event.shiftKey) {\n onChange?.(0);\n } else {\n handleChangeIndex(-1);\n }\n break;\n }\n case 'ArrowRight': {\n if (event.shiftKey) {\n onChange?.(count - 1);\n } else {\n handleChangeIndex(1);\n }\n break;\n }\n case 'ArrowUp': {\n onChange?.(0);\n break;\n }\n case 'ArrowDown': {\n onChange?.(count - 1);\n break;\n }\n }\n };\n\n window.addEventListener('keydown', keydownHandler);\n return () => window.removeEventListener('keydown', keydownHandler);\n }, [keys, count]);\n\n if (index === undefined || !count) {\n return null;\n }\n\n return (\n <div className='flex items-center text-neutral-500'>\n <IconButton\n icon='ph--caret-double-left--regular'\n size={6}\n label='Jump to first'\n iconOnly\n noTooltip\n variant='ghost'\n classNames='p-0'\n onClick={() => onChange?.(0)}\n />\n <IconButton\n icon='ph--caret-left--regular'\n size={6}\n label='Previous'\n iconOnly\n noTooltip\n variant='ghost'\n classNames='p-0'\n onClick={() => handleChangeIndex(-1)}\n />\n <IconButton\n icon='ph--caret-right--regular'\n size={6}\n label='Next'\n iconOnly\n noTooltip\n variant='ghost'\n classNames='p-0'\n onClick={() => handleChangeIndex(1)}\n />\n <IconButton\n icon='ph--caret-double-right--regular'\n size={6}\n label='Jump to last'\n iconOnly\n noTooltip\n variant='ghost'\n classNames='p-0'\n onClick={() => onChange?.(count - 1)}\n />\n </div>\n );\n};\n\nexport type PageNumberProps = {\n index?: number;\n count?: number;\n};\n\nexport const PageNumber = ({ index = 0, count = 1 }: PageNumberProps) => {\n if (index === undefined || !count) {\n return null;\n }\n\n return (\n <div className='flex items-center text-neutral-500 text-2xl'>\n <div>\n {index + 1} / {count}\n </div>\n </div>\n );\n};\n\nexport const StartButton = ({ running, onClick }: { running?: boolean; onClick?: (start: boolean) => void }) => {\n return (\n <IconButton\n icon={running ? 'ph--x--regular' : 'ph--play--regular'}\n size={6}\n label={running ? 'Stop' : 'Play'}\n iconOnly\n noTooltip\n variant='ghost'\n classNames='p-0'\n onClick={() => onClick?.(!running)}\n />\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport 'reveal.js/dist/reveal.css';\n\nimport 'reveal.js/dist/theme/black.css';\n\n// https://github.com/highlightjs/highlight.js/tree/main/src/styles\n// import 'highlight.js/styles/github-dark.css';\nimport 'highlight.js/styles/tokyo-night-dark.css';\n\nimport hljs from 'highlight.js';\nimport typescript from 'highlight.js/lib/languages/typescript';\nimport React, { useRef } from 'react';\nimport Reveal from 'reveal.js';\nimport RevealHighlight from 'reveal.js/plugin/highlight/highlight';\nimport RevealMarkdown from 'reveal.js/plugin/markdown/plugin.js';\n\nimport { useAsyncEffect } from '@dxos/react-ui';\nimport { composable, composableProps } from '@dxos/ui-theme';\n\nconst styles = `\n<style type=\"text/css\">\n .reveal h1 {\n font-weight: 100;\n font-size: 60px;\n opacity: 0.5;\n }\n .reveal h2 {\n font-weight: 100;\n padding-top: 60px;\n padding-left: 40px;\n font-size: 48px;\n opacity: 0.3;\n }\n .reveal h1, h2, p {\n font-family: \"Raleway\", sans-serif;\n text-align: left;\n font-weight: 200;\n }\n .reveal ul {\n font-family: \"Raleway\", sans-serif;\n display: block;\n list-style: \"- \";\n }\n .reveal blockquote p {\n text-align: center;\n font-weight: 100;\n padding: 32px;\n }\n .reveal pre {\n margin-left: 0;\n }\n .reveal code {\n font-size: 20px;\n background: #111111;\n color: #eeeeee;\n max-height: unset !important;\n }\n</style>\n`;\n\nexport type RevealProps = {\n content: string;\n slide?: number;\n fullscreen?: boolean;\n onExit?: () => void;\n};\n\nexport const RevealPlayer = composable<HTMLDivElement, RevealProps>(\n ({ content, slide, fullscreen = true, onExit, children, ...props }, forwardedRef) => {\n const deckDivRef = useRef<HTMLDivElement>(null);\n const deckRef = useRef<Reveal.Api | null>(null);\n\n useAsyncEffect(async () => {\n if (deckRef.current) {\n return;\n }\n\n // Required for syntax highlighting.\n hljs.registerLanguage('typescript', typescript);\n\n // https://revealjs.com/react\n // https://revealjs.com/config\n // https://github.com/hakimel/reveal.js\n // TODO(burdon): Fragments and scroll view steps 2 at a time (safe mode?)\n deckRef.current = new Reveal(deckDivRef.current!, {\n // view: 'scroll',\n progress: false,\n transition: 'none',\n slideNumber: false,\n embedded: true,\n\n // Disable autoplay to prevent errors in headless environments (e.g., CI).\n autoPlayMedia: false,\n\n // TODO(burdon): Speaker view requires server to serve popout window.\n // https://revealjs.com/speaker-view\n showNotes: false,\n\n // width: 1600,\n // height: 900,\n margin: 0.1,\n // center: false,\n // minScale: 0.1,\n // maxScale: 1.4,\n\n // https://revealjs.com/markdown\n // TODO(burdon): Requires server to serve popout window.\n plugins: [RevealMarkdown, RevealHighlight],\n\n // See https://marked.js.org/using_advanced#options\n markdown: {\n gfm: true,\n smartypants: true,\n highlight: (code, language) => {\n if (language) {\n return hljs.highlight(code, { language }).value;\n }\n\n return hljs.highlightAuto(code).value;\n },\n },\n });\n\n await deckRef.current.initialize();\n\n if (slide !== undefined) {\n deckRef.current.slide(slide < 0 ? deckRef.current?.getTotalSlides() + slide : slide - 1);\n }\n\n deckRef.current.addKeyBinding({ keyCode: 27, key: 'Escape', description: 'Exit full screen' }, () => {\n onExit?.();\n });\n\n return () => {\n try {\n if (deckRef.current) {\n deckRef.current.destroy();\n deckRef.current = null;\n }\n } catch {\n // Ignore.\n }\n };\n });\n\n // TOOD(burdon): Trap cursor keys (otherwise tabster grabs focus.)\n return (\n <div\n {...composableProps(props, {\n classNames: ['dx-container grid place-items-center bg-black', fullscreen && 'absolute inset-0'],\n })}\n ref={forwardedRef}\n >\n <div role='none' className='relative aspect-video h-full w-full h-auto max-h-full overflow-hidden'>\n <div ref={deckDivRef} className='absolute inset-0 reveal'>\n {/* NOTE: Must be in head. */}\n <style>\n <link rel='preconnect' href='https://fonts.googleapis.com' />\n <link rel='preconnect' href='https://fonts.gstatic.com' {...{ crossOrigin: '' }} />\n <link\n rel='stylesheet'\n href='https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap'\n />\n </style>\n <div className='slides'>\n <div className='text-center!' />\n <section {...{ 'data-markdown': [] }}>\n <textarea {...{ 'data-template': true }} defaultValue={[styles, content].join('\\n')}></textarea>\n </section>\n </div>\n </div>\n </div>\n </div>\n );\n },\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.presenter',\n name: 'Presenter',\n description: trim`\n Transform markdown documents into interactive presentation slideshows.\n Navigate between slides with keyboard controls and present content in full-screen mode.\n `,\n icon: 'ph--presentation--regular',\n iconHue: 'indigo',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-presenter',\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\n\nimport { meta } from '#meta';\nimport { translations } from './translations';\n\nimport { AppGraphBuilder, PresenterSettings, ReactSurface } from '#capabilities';\n\n// TODO(burdon): Only scale markdown content.\n// TODO(burdon): Map stack content; Slide content type (e.g., markdown, sketch, IPFS image, table, etc.)\n\nexport const PresenterPlugin = Plugin.define(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addSettingsModule({ activate: PresenterSettings }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.make,\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Presenter',\n 'settings.title': 'Presenter settings',\n 'toggle-presentation.label': 'Present',\n 'present-collections.label': 'Present collections (experimental)',\n 'present-collections.description': 'Enable presenting collections of documents as a slideshow.',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;AAIA,SAA6BA,YAAY;;;ACAzC,OAAOC,SAAiCC,gBAAgB;AACxD,SAASC,yBAAyB;AAGlC,SAASC,UAAU;AAOZ,IAAMC,QAAQ,CAAC,EAAEC,UAAUC,WAAU,M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,EAAMC,KACjDC,UAAUC,kBAAkB;EAAEC,UAAUC;AAAgB,CAAA,GACxDH,UAAUI,kBAAkB;EAAEF,UAAUG;AAAkB,CAAA,GAC1DL,UAAUM,iBAAiB;EAAEJ,UAAUK;AAAa,CAAA,GACpDP,UAAUQ,sBAAsB;EAAEC;AAAa,CAAA,GAC/Cb,OAAOc,IAAI;",
6
+ "names": ["lazy", "React", "useState", "useResizeDetector", "mx", "Panel", "children", "classNames", "props", "setProps", "useState", "ref", "containerRef", "width", "height", "useResizeDetector", "refreshMode", "refreshRate", "refreshOptions", "leading", "onResize", "createLayoutProps", "div", "className", "mx", "style", "aspectRatio", "nominalWidth", "nominalHeight", "scale", "Math", "min", "left", "top", "transform", "h", "React", "ReactMarkdown", "rehypeAddClasses", "rehypeHighlight", "remarkFrontmatter", "remarkParseFrontmatter", "theme", "root", "padding", "nodes", "h1", "h2", "h3", "p", "ul", "ol", "li", "pre", "code", "Slide", "content", "classes", "theme", "nodes", "React", "style", "styles", "ReactMarkdown", "components", "remarkPlugins", "remarkFrontmatter", "remarkParseFrontmatter", "rehypePlugins", "rehypeAddClasses", "rehypeHighlight", "slideLayout", "_options", "tree", "file", "data", "frontmatter", "children", "layout", "image", "img", "h", "class", "backgroundImage", "padding", "root", "ImageWrapper", "node", "_", "props", "alt", "src", "React", "composable", "composableProps", "Layout", "composable", "children", "topLeft", "topRight", "bottomLeft", "bottomRight", "props", "forwardedRef", "React", "div", "composableProps", "classNames", "ref", "className", "React", "useEffect", "IconButton", "useControlledState", "Pager", "index", "indexProp", "count", "keys", "onChange", "onExit", "setIndex", "useControlledState", "useEffect", "handleChangeIndex", "dir", "next", "keydownHandler", "event", "key", "shiftKey", "window", "addEventListener", "removeEventListener", "undefined", "React", "div", "className", "IconButton", "icon", "size", "label", "iconOnly", "noTooltip", "variant", "classNames", "onClick", "PageNumber", "StartButton", "running", "hljs", "typescript", "React", "useRef", "Reveal", "RevealHighlight", "RevealMarkdown", "useAsyncEffect", "composable", "composableProps", "styles", "RevealPlayer", "composable", "content", "slide", "fullscreen", "onExit", "children", "props", "forwardedRef", "deckDivRef", "useRef", "deckRef", "useAsyncEffect", "current", "hljs", "registerLanguage", "typescript", "Reveal", "progress", "transition", "slideNumber", "embedded", "autoPlayMedia", "showNotes", "margin", "plugins", "RevealMarkdown", "RevealHighlight", "markdown", "gfm", "smartypants", "highlight", "code", "language", "value", "highlightAuto", "initialize", "undefined", "getTotalSlides", "addKeyBinding", "keyCode", "key", "description", "destroy", "React", "div", "composableProps", "classNames", "ref", "role", "className", "style", "link", "rel", "href", "crossOrigin", "section", "textarea", "defaultValue", "join", "PresenterSettings", "lazy", "trim", "meta", "id", "name", "description", "trim", "icon", "iconHue", "source", "Plugin", "AppPlugin", "meta", "meta", "translations", "meta", "id", "AppGraphBuilder", "PresenterSettings", "ReactSurface", "PresenterPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addAppGraphModule", "activate", "AppGraphBuilder", "addSettingsModule", "PresenterSettings", "addSurfaceModule", "ReactSurface", "addTranslationsModule", "translations", "make"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":1831,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/PresenterSettings.tsx":{"bytes":3930,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/Markdown/Container.tsx":{"bytes":8045,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytes":1972,"imports":[]},"src/components/Markdown/theme.ts":{"bytes":2167,"imports":[],"format":"esm"},"src/components/Markdown/Slide.tsx":{"bytes":11710,"imports":[{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw","kind":"import-statement","original":"./styles.css?raw"},{"path":"src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"src/components/Markdown/index.ts":{"bytes":566,"imports":[{"path":"src/components/Markdown/Container.tsx","kind":"import-statement","original":"./Container"},{"path":"src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"src/components/MarkdownSlide.tsx":{"bytes":1883,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"}],"format":"esm"},"src/useExitPresenter.ts":{"bytes":4860,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16018,"imports":[{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/index.ts":{"bytes":496,"imports":[{"path":"src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"src/components/DocumentPresenterContainer.tsx":{"bytes":2466,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"},{"path":"src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"src/types.ts":{"bytes":5522,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/components/Presenter/Layout.tsx":{"bytes":3378,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/Pager.tsx":{"bytes":12421,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/index.ts":{"bytes":560,"imports":[{"path":"src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"src/components/CollectionPresenterContainer.tsx":{"bytes":5009,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/types.ts","kind":"import-statement","original":"../types"},{"path":"src/useExitPresenter.ts","kind":"import-statement","original":"../useExitPresenter"},{"path":"src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"}],"format":"esm"},"src/components/index.ts":{"bytes":1532,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"},{"path":"src/components/MarkdownSlide.tsx","kind":"dynamic-import","original":"./MarkdownSlide"},{"path":"src/components/DocumentPresenterContainer.tsx","kind":"dynamic-import","original":"./DocumentPresenterContainer"},{"path":"src/components/CollectionPresenterContainer.tsx","kind":"dynamic-import","original":"./CollectionPresenterContainer"}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":15659,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/app-graph-builder/index.ts":{"bytes":947,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":9764,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":913,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/settings/settings.ts":{"bytes":3143,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/settings/index.ts":{"bytes":929,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/settings/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":687,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"},{"path":"src/capabilities/settings/index.ts","kind":"import-statement","original":"./settings"}],"format":"esm"},"src/translations.ts":{"bytes":1609,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/PresenterPlugin.tsx":{"bytes":2960,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":653,"imports":[{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3237},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5MC4V23G.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-2QAQR34J.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-2VP2M4Z7.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/settings-RDHXCCT4.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterPlugin","PresenterSettings","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/PresenterPlugin.tsx":{"bytesInOutput":369},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/capabilities/settings/index.ts":{"bytesInOutput":170},"src/translations.ts":{"bytesInOutput":286}},"bytes":1717},"dist/lib/browser/MarkdownSlide-GIYJABHE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13289},"dist/lib/browser/MarkdownSlide-GIYJABHE.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/MarkdownSlide.tsx","inputs":{"src/components/MarkdownSlide.tsx":{"bytesInOutput":333},"src/components/Markdown/Container.tsx":{"bytesInOutput":1347},"src/components/Markdown/index.ts":{"bytesInOutput":0},"src/components/Markdown/Slide.tsx":{"bytesInOutput":2652},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytesInOutput":2101},"src/components/Markdown/theme.ts":{"bytesInOutput":519}},"bytes":7382},"dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8867},"dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GM4KOXJY.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/DocumentPresenterContainer.tsx","inputs":{"src/components/DocumentPresenterContainer.tsx":{"bytesInOutput":479},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4446},"src/components/RevealPlayer/index.ts":{"bytesInOutput":0}},"bytes":5258},"dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10370},"dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GM4KOXJY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-4PZXJXBO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/CollectionPresenterContainer.tsx","inputs":{"src/components/CollectionPresenterContainer.tsx":{"bytesInOutput":1084},"src/components/Presenter/Layout.tsx":{"bytesInOutput":902},"src/components/Presenter/index.ts":{"bytesInOutput":0},"src/components/Presenter/Pager.tsx":{"bytesInOutput":2908}},"bytes":5355},"dist/lib/browser/chunk-GM4KOXJY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2571},"dist/lib/browser/chunk-GM4KOXJY.mjs":{"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true}],"exports":["useExitPresenter"],"inputs":{"src/useExitPresenter.ts":{"bytesInOutput":1109}},"bytes":1212},"dist/lib/browser/app-graph-builder-2QAQR34J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7689},"dist/lib/browser/app-graph-builder-2QAQR34J.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4PZXJXBO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":3966}},"bytes":4266},"dist/lib/browser/react-surface-2VP2M4Z7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4921},"dist/lib/browser/react-surface-2VP2M4Z7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5MC4V23G.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":2127}},"bytes":2465},"dist/lib/browser/chunk-5MC4V23G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2829},"dist/lib/browser/chunk-5MC4V23G.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/MarkdownSlide-GIYJABHE.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DocumentPresenterContainer-74M6XAAI.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/CollectionPresenterContainer-IHDZWP3U.mjs","kind":"dynamic-import"}],"exports":["CollectionPresenterContainer","DocumentPresenterContainer","MarkdownSlide","PresenterSettings"],"inputs":{"src/components/PresenterSettings.tsx":{"bytesInOutput":849},"src/components/index.ts":{"bytesInOutput":302}},"bytes":1423},"dist/lib/browser/settings-RDHXCCT4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1569},"dist/lib/browser/settings-RDHXCCT4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-4PZXJXBO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings/settings.ts","inputs":{"src/capabilities/settings/settings.ts":{"bytesInOutput":593}},"bytes":862},"dist/lib/browser/chunk-4PZXJXBO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2936},"dist/lib/browser/chunk-4PZXJXBO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VQVZVXPJ.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PresenterCapabilities","PresenterContext","PresenterOperation","PresenterSettingsSchema"],"inputs":{"src/types.ts":{"bytesInOutput":1246}},"bytes":1460},"dist/lib/browser/chunk-VQVZVXPJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":877},"dist/lib/browser/chunk-VQVZVXPJ.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":443}},"bytes":522}}}
1
+ {"inputs":{"src/components/Markdown/Panel.tsx":{"bytes":7961,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytes":1972,"imports":[]},"src/components/Markdown/theme.ts":{"bytes":2088,"imports":[],"format":"esm"},"src/components/Markdown/Slide.tsx":{"bytes":11710,"imports":[{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw","kind":"import-statement","original":"./styles.css?raw"},{"path":"src/components/Markdown/theme.ts","kind":"import-statement","original":"./theme"}],"format":"esm"},"src/components/Markdown/index.ts":{"bytes":554,"imports":[{"path":"src/components/Markdown/Panel.tsx","kind":"import-statement","original":"./Panel"},{"path":"src/components/Markdown/Slide.tsx","kind":"import-statement","original":"./Slide"}],"format":"esm"},"src/components/Presenter/Layout.tsx":{"bytes":3698,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/Pager.tsx":{"bytes":12421,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Presenter/index.ts":{"bytes":560,"imports":[{"path":"src/components/Presenter/Layout.tsx","kind":"import-statement","original":"./Layout"},{"path":"src/components/Presenter/Pager.tsx","kind":"import-statement","original":"./Pager"}],"format":"esm"},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytes":16735,"imports":[{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/RevealPlayer/index.ts":{"bytes":496,"imports":[{"path":"src/components/RevealPlayer/RevealPlayer.tsx","kind":"import-statement","original":"./RevealPlayer"}],"format":"esm"},"src/components/PresenterSettings/PresenterSettings.tsx":{"bytes":3979,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/components/PresenterSettings/index.ts":{"bytes":712,"imports":[{"path":"src/components/PresenterSettings/PresenterSettings.tsx","kind":"import-statement","original":"./PresenterSettings"}],"format":"esm"},"src/components/index.ts":{"bytes":1112,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Markdown/index.ts","kind":"import-statement","original":"./Markdown"},{"path":"src/components/Presenter/index.ts","kind":"import-statement","original":"./Presenter"},{"path":"src/components/RevealPlayer/index.ts","kind":"import-statement","original":"./RevealPlayer"},{"path":"src/components/PresenterSettings/index.ts","kind":"dynamic-import","original":"./PresenterSettings"}],"format":"esm"},"src/meta.ts":{"bytes":1831,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/translations.ts":{"bytes":1881,"imports":[{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/PresenterPlugin.tsx":{"bytes":2985,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"#capabilities","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":653,"imports":[{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/PresenterPlugin.tsx","kind":"import-statement","original":"./PresenterPlugin"}],"format":"esm"},"src/operations/definitions.ts":{"bytes":2841,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/operations/index.ts":{"bytes":584,"imports":[{"path":"src/operations/definitions.ts","kind":"import-statement","original":"./definitions"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":32148},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"hastscript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-markdown","kind":"import-statement","external":true},{"path":"rehype-add-classes","kind":"import-statement","external":true},{"path":"rehype-highlight","kind":"import-statement","external":true},{"path":"remark-frontmatter","kind":"import-statement","external":true},{"path":"remark-parse-frontmatter","kind":"import-statement","external":true},{"path":"highlight.js/styles/github.css","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"reveal.js/dist/reveal.css","kind":"import-statement","external":true},{"path":"reveal.js/dist/theme/black.css","kind":"import-statement","external":true},{"path":"highlight.js/styles/tokyo-night-dark.css","kind":"import-statement","external":true},{"path":"highlight.js","kind":"import-statement","external":true},{"path":"highlight.js/lib/languages/typescript","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"reveal.js","kind":"import-statement","external":true},{"path":"reveal.js/plugin/highlight/highlight","kind":"import-statement","external":true},{"path":"reveal.js/plugin/markdown/plugin.js","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/PresenterSettings-DSPIGNOL.mjs","kind":"dynamic-import"},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true}],"exports":["Layout","PageNumber","Pager","Panel","PresenterPlugin","PresenterSettings","RevealPlayer","Slide","StartButton","meta"],"entryPoint":"src/index.ts","inputs":{"src/components/index.ts":{"bytesInOutput":110},"src/components/Markdown/Panel.tsx":{"bytesInOutput":1327},"src/components/Markdown/index.ts":{"bytesInOutput":0},"src/components/Markdown/Slide.tsx":{"bytesInOutput":2652},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-presenter/src/components/Markdown/styles.css?raw":{"bytesInOutput":2101},"src/components/Markdown/theme.ts":{"bytesInOutput":484},"src/components/Presenter/Layout.tsx":{"bytesInOutput":1012},"src/components/Presenter/index.ts":{"bytesInOutput":0},"src/components/Presenter/Pager.tsx":{"bytesInOutput":3259},"src/components/RevealPlayer/RevealPlayer.tsx":{"bytesInOutput":4624},"src/components/RevealPlayer/index.ts":{"bytesInOutput":0},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":443},"src/PresenterPlugin.tsx":{"bytesInOutput":536},"src/translations.ts":{"bytesInOutput":431}},"bytes":17720},"dist/lib/browser/operations/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1445},"dist/lib/browser/operations/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["PresenterOperation"],"entryPoint":"src/operations/index.ts","inputs":{"src/operations/definitions.ts":{"bytesInOutput":688},"src/operations/index.ts":{"bytesInOutput":0}},"bytes":865},"dist/lib/browser/PresenterSettings-DSPIGNOL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2385},"dist/lib/browser/PresenterSettings-DSPIGNOL.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/PresenterSettings/index.ts","inputs":{"src/components/PresenterSettings/PresenterSettings.tsx":{"bytesInOutput":894},"src/components/PresenterSettings/index.ts":{"bytesInOutput":51}},"bytes":1188},"dist/lib/browser/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
@@ -0,0 +1,30 @@
1
+ import {
2
+ __export
3
+ } from "../chunk-J5LGTIGS.mjs";
4
+
5
+ // src/operations/definitions.ts
6
+ var definitions_exports = {};
7
+ __export(definitions_exports, {
8
+ TogglePresentation: () => TogglePresentation
9
+ });
10
+ import * as Schema from "effect/Schema";
11
+ import { Collection } from "@dxos/echo";
12
+ import { Operation } from "@dxos/operation";
13
+ import { Markdown } from "@dxos/plugin-markdown/types";
14
+ import { meta } from "#meta";
15
+ var PRESENTER_OPERATION = `${meta.id}.operation`;
16
+ var TogglePresentation = Operation.make({
17
+ meta: {
18
+ key: `${PRESENTER_OPERATION}.toggle-presentation`,
19
+ name: "Toggle Presentation"
20
+ },
21
+ input: Schema.Struct({
22
+ object: Schema.Union(Markdown.Document, Collection.Collection),
23
+ state: Schema.optional(Schema.Boolean)
24
+ }),
25
+ output: Schema.Void
26
+ });
27
+ export {
28
+ definitions_exports as PresenterOperation
29
+ };
30
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/operations/definitions.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Collection } from '@dxos/echo';\nimport { Operation } from '@dxos/operation';\nimport { Markdown } from '@dxos/plugin-markdown/types';\n\nimport { meta } from '#meta';\n\nconst PRESENTER_OPERATION = `${meta.id}.operation`;\n\n// TODO(wittjosiah): This appears to be unused.\nexport const TogglePresentation = Operation.make({\n meta: { key: `${PRESENTER_OPERATION}.toggle-presentation`, name: 'Toggle Presentation' },\n input: Schema.Struct({\n object: Schema.Union(Markdown.Document, Collection.Collection),\n state: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Void,\n});\n"],
5
+ "mappings": ";;;;;AAAA;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,gBAAgB;AAEzB,SAASC,YAAY;AAErB,IAAMC,sBAAsB,GAAGC,KAAKC,EAAE;AAG/B,IAAMC,qBAAqBC,UAAUC,KAAK;EAC/CJ,MAAM;IAAEK,KAAK,GAAGN,mBAAAA;IAA2CO,MAAM;EAAsB;EACvFC,OAAcC,cAAO;IACnBC,QAAeC,aAAMC,SAASC,UAAUC,WAAWA,UAAU;IAC7DC,OAAcC,gBAAgBC,cAAO;EACvC,CAAA;EACAC,QAAeC;AACjB,CAAA;",
6
+ "names": ["Schema", "Collection", "Operation", "Markdown", "meta", "PRESENTER_OPERATION", "meta", "id", "TogglePresentation", "Operation", "make", "key", "name", "input", "Struct", "object", "Union", "Markdown", "Document", "Collection", "state", "optional", "Boolean", "output", "Void"]
7
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"PresenterPlugin.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAU,MAAM,EAAE,MAAM,qBAAqB,CAAC;AASrD,eAAO,MAAM,eAAe,4BAM3B,CAAC"}
1
+ {"version":3,"file":"PresenterPlugin.d.ts","sourceRoot":"","sources":["../../../src/PresenterPlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW7C,eAAO,MAAM,eAAe,4BAM3B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { GraphBuilder } from '@dxos/plugin-graph';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, Capability.Service>;
5
+ export default _default;
6
+ //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAQ/D,OAAO,EAAE,YAAY,EAA0B,MAAM,oBAAoB,CAAC;;AAa1E,wBA2EE"}
@@ -1,4 +1,9 @@
1
- export * from './app-graph-builder';
2
- export * from './react-surface';
3
- export * from './settings';
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
3
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
4
+ export declare const PresenterSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
5
+ presentCollections?: boolean | undefined;
6
+ }, {
7
+ presentCollections?: boolean | undefined;
8
+ }>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
4
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,iBAAiB;;;;mHAAmE,CAAC"}
@@ -0,0 +1,5 @@
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>;
4
+ export default _default;
5
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +1 @@
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;;AAY/D,wBA+CE"}
@@ -0,0 +1,10 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { AppCapabilities } from '@dxos/app-toolkit';
4
+ declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
5
+ presentCollections?: boolean | undefined;
6
+ }, {
7
+ presentCollections?: boolean | undefined;
8
+ }>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
9
+ export default _default;
10
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;;;;;AAMpD,wBAiBE"}
@@ -0,0 +1,8 @@
1
+ import React, { type PropsWithChildren } from 'react';
2
+ import { type ThemedClassName } from '@dxos/react-ui';
3
+ export type PanelProps = ThemedClassName<PropsWithChildren<{}>>;
4
+ /**
5
+ * Scaled markdown panel.
6
+ */
7
+ export declare const Panel: ({ children, classNames }: PanelProps) => React.JSX.Element;
8
+ //# sourceMappingURL=Panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAY,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,UAAU,GAAG,eAAe,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,0BAA0B,UAAU,sBA4BzD,CAAC"}
@@ -15,4 +15,4 @@ export declare const Default: Story;
15
15
  export declare const Code: Story;
16
16
  export declare const List: Story;
17
17
  export declare const Ordered: Story;
18
- //# sourceMappingURL=Container.stories.d.ts.map
18
+ //# sourceMappingURL=Panel.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/Panel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAUjD,QAAA,MAAM,IAAI;;0BAR8B,UAAU;;;;;CAeb,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './Container';
1
+ export * from './Panel';
2
2
  export * from './Slide';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Markdown/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import React, { type PropsWithChildren, type ReactNode } from 'react';
2
- import { type ThemedClassName } from '@dxos/react-ui';
3
- export type LayoutProps = ThemedClassName<PropsWithChildren<{
4
- className?: string;
2
+ export type LayoutProps = PropsWithChildren<{
5
3
  topLeft?: ReactNode;
6
4
  topRight?: ReactNode;
7
5
  bottomLeft?: ReactNode;
8
6
  bottomRight?: ReactNode;
9
- }>>;
10
- export declare const Layout: ({ children, classNames, topLeft, topRight, bottomLeft, bottomRight }: LayoutProps) => React.JSX.Element;
7
+ }>;
8
+ export declare const Layout: React.ForwardRefExoticComponent<Omit<LayoutProps, "className"> & {
9
+ classNames?: import("@dxos/ui-types").ClassNameValue;
10
+ } & {
11
+ className?: string;
12
+ children?: ReactNode;
13
+ role?: string;
14
+ } & React.RefAttributes<HTMLDivElement>>;
11
15
  //# sourceMappingURL=Layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,MAAM,MAAM,WAAW,GAAG,eAAe,CACvC,iBAAiB,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CACH,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,sEAAsE,WAAW,sBAavG,CAAC"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;wCAkBlB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type SettingsSurfaceProps } from '@dxos/app-toolkit/ui';
3
+ import { type Settings } from '#types';
4
+ export type PresenterSettingsProps = SettingsSurfaceProps<Settings.Settings>;
5
+ export declare const PresenterSettings: ({ settings, onSettingsChange }: PresenterSettingsProps) => React.JSX.Element;
6
+ //# sourceMappingURL=PresenterSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresenterSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/PresenterSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAKjE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAE7E,eAAO,MAAM,iBAAiB,GAAI,gCAAgC,sBAAsB,sBAgBvF,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ settings, onSettingsChange }: import("./PresenterSettings").PresenterSettingsProps) => import("react").JSX.Element;
5
+ decorators: import("@storybook/react").Decorator[];
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ translations: [{
10
+ readonly 'en-US': {
11
+ readonly [meta.id]: {
12
+ readonly 'plugin.name': "Presenter";
13
+ readonly 'settings.title': "Presenter settings";
14
+ readonly 'toggle-presentation.label': "Present";
15
+ readonly 'present-collections.label': "Present collections (experimental)";
16
+ readonly 'present-collections.description': "Enable presenting collections of documents as a slideshow.";
17
+ };
18
+ };
19
+ }];
20
+ };
21
+ };
22
+ export default meta;
23
+ type Story = StoryObj<typeof meta>;
24
+ export declare const Default: Story;
25
+ //# sourceMappingURL=PresenterSettings.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PresenterSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/PresenterSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjE,QAAA,MAAM,IAAI;;;;;;;;;yBANmD,CAEzD,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;CAa8B,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PresenterSettings } from './PresenterSettings';
2
+ export default PresenterSettings;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PresenterSettings/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,eAAe,iBAAiB,CAAC"}
@@ -2,12 +2,17 @@ import 'reveal.js/dist/reveal.css';
2
2
  import 'reveal.js/dist/theme/black.css';
3
3
  import 'highlight.js/styles/tokyo-night-dark.css';
4
4
  import React from 'react';
5
- import { type ThemedClassName } from '@dxos/react-ui';
6
- export type RevealProps = ThemedClassName<{
5
+ export type RevealProps = {
7
6
  content: string;
8
7
  slide?: number;
9
8
  fullscreen?: boolean;
10
9
  onExit?: () => void;
11
- }>;
12
- export declare const RevealPlayer: ({ classNames, content, slide, fullscreen, onExit }: RevealProps) => React.JSX.Element;
10
+ };
11
+ export declare const RevealPlayer: React.ForwardRefExoticComponent<Omit<RevealProps, "className"> & {
12
+ classNames?: import("@dxos/ui-types").ClassNameValue;
13
+ } & {
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ role?: string;
17
+ } & React.RefAttributes<HTMLDivElement>>;
13
18
  //# sourceMappingURL=RevealPlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,gCAAgC,CAAC;AAIxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAKtC,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AA4CtE,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,oDAA2D,WAAW,sBA2GlG,CAAC"}
1
+ {"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AAEnC,OAAO,gCAAgC,CAAC;AAIxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAiDtC,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;wCA4GxB,CAAC"}
@@ -2,17 +2,24 @@ import { type Meta } from '@storybook/react-vite';
2
2
  import { RevealPlayer } from './RevealPlayer';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: ({ classNames, content, slide, fullscreen, onExit }: import("./RevealPlayer").RevealProps) => import("react").JSX.Element;
5
+ component: import("react").ForwardRefExoticComponent<Omit<import("./RevealPlayer").RevealProps, "className"> & {
6
+ classNames?: import("@dxos/ui-types").ClassNameValue;
7
+ } & {
8
+ className?: string;
9
+ children?: import("react").ReactNode;
10
+ role?: string;
11
+ } & import("react").RefAttributes<HTMLDivElement>>;
6
12
  decorators: import("@storybook/react").Decorator[];
7
13
  parameters: {
8
14
  layout: string;
9
15
  translations: [{
10
16
  readonly 'en-US': {
11
17
  readonly [meta.id]: {
12
- readonly 'plugin name': "Presenter";
13
- readonly 'settings title': "Presenter settings";
14
- readonly 'toggle presentation label': "Present";
15
- readonly 'present collections label': "Present collections (experimental)";
18
+ readonly 'plugin.name': "Presenter";
19
+ readonly 'settings.title': "Presenter settings";
20
+ readonly 'toggle-presentation.label': "Present";
21
+ readonly 'present-collections.label': "Present collections (experimental)";
22
+ readonly 'present-collections.description': "Enable presenting collections of documents as a slideshow.";
16
23
  };
17
24
  };
18
25
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAOlD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,QAAA,MAAM,IAAI;;;;;;;;yBAbc,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;CAqBH,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
1
+ {"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAOlD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;yBAbC,CAAS,IAAG,CAAC,EAAE,CAAC;;;;;;;;;;CAqBU,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
@@ -1,29 +1,6 @@
1
- export * from './PresenterSettings';
2
- export declare const MarkdownSlide: import("react").LazyExoticComponent<({ document }: {
3
- document: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
4
- readonly name?: string | undefined;
5
- readonly description?: string | undefined;
6
- readonly fallbackName?: string | undefined;
7
- readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
8
- readonly content: string;
9
- }>;
10
- };
11
- }) => import("react").JSX.Element | null>;
12
- export declare const DocumentPresenterContainer: import("react").LazyExoticComponent<import("react").FC<{
13
- document: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
14
- readonly name?: string | undefined;
15
- readonly description?: string | undefined;
16
- readonly fallbackName?: string | undefined;
17
- readonly content: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
18
- readonly content: string;
19
- }>;
20
- };
21
- }>>;
22
- export declare const CollectionPresenterContainer: import("react").LazyExoticComponent<({ role, subject: collection }: {
23
- role?: string;
24
- subject: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
25
- readonly name?: string | undefined;
26
- readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
27
- };
28
- }) => import("react").JSX.Element>;
1
+ import { type ComponentType } from 'react';
2
+ export * from './Markdown';
3
+ export * from './Presenter';
4
+ export * from './RevealPlayer';
5
+ export declare const PresenterSettings: ComponentType<any>;
29
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,cAAc,qBAAqB,CAAC;AAEpC,eAAO,MAAM,aAAa;;;;;;;;;yCAAwC,CAAC;AACnE,eAAO,MAAM,0BAA0B;;;;;;;;;GAAqD,CAAC;AAC7F,eAAO,MAAM,4BAA4B;;;;;;kCAAuD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAE/B,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,GAAG,CAA6C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type ObjectSurfaceProps } from '@dxos/app-toolkit/ui';
3
+ import { type Collection } from '@dxos/echo';
4
+ type CollectionPresenterContainerProps = ObjectSurfaceProps<Collection.Collection>;
5
+ export declare const CollectionPresenterContainer: ({ role, subject: collection }: CollectionPresenterContainerProps) => React.JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=CollectionPresenterContainer.d.ts.map