visio-solid-viewer 0.6.2 → 0.7.1

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.
package/README.md CHANGED
@@ -57,7 +57,8 @@ export function Diagram() {
57
57
  ## API
58
58
 
59
59
  The shared properties are `document` (a parsed `VisioDocument`, or `null` to clear),
60
- `pageIndex` (zero-based), `zoom` (`1` means 100%), `showToolbar` and `events`.
60
+ `pageIndex` (zero-based), `zoom` (`1` means 100%), `showToolbar`, `ribbonAddIns` (tabs the host adds
61
+ after Help) and `events`.
61
62
  The callback map uses `document-load`, `document-change`, `document-error`,
62
63
  `page-change`, `zoom-change` and `shape-select`. File loading uses the imperative
63
64
  `load(File | Blob | Uint8Array | ArrayBuffer)` handle; `document` is not a file URL.
@@ -38,4 +38,5 @@ export { ViewerController, type ViewerState } from 'ooxml-ui/visio';
38
38
  export type { SvgExportOptions, SvgExportResult } from 'ooxml-ui/visio';
39
39
  export type { CurrentPagePrintSnapshotOptions, PrintSnapshot, PrintSnapshotPage, PrintSnapshotOptions, PrintSnapshotLimits, PrintSnapshotUsage, } from 'ooxml-ui/visio';
40
40
  export type { ViewerEditState, VsdxExportResult } from 'ooxml-ui/visio';
41
+ export type { OfficeRibbonAddInEvent, RibbonAddInCommand, RibbonAddInGroup, RibbonAddInTab, } from 'ooxml-ui/visio';
41
42
  export type { VisioEdit, VisioGeometryEdit, CreateVsdxOptions } from 'ooxml-core/visio';
@@ -13,4 +13,4 @@ export declare function VisioViewer(props: VisioViewerProps): JSX.Element;
13
13
  * `viewerRef`). Follows handle changes and cleans up with the owning scope.
14
14
  */
15
15
  export declare function createVisioViewerState(handle: Accessor<ViewerHandle | undefined>): Accessor<ViewerState | null>;
16
- export type { ViewerState, ViewerHandle, ViewerCallbacks, ViewerOptions, ViewerEvents, VisioShapeSelection, ViewerEditState, VsdxExportResult, } from './common.js';
16
+ export type { ViewerState, ViewerHandle, ViewerCallbacks, ViewerOptions, ViewerEvents, VisioShapeSelection, ViewerEditState, VsdxExportResult, RibbonAddInCommand, RibbonAddInGroup, RibbonAddInTab, } from './common.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visio-solid-viewer",
3
- "version": "0.6.2",
3
+ "version": "0.7.1",
4
4
  "description": "Local-first Visio viewer for solid",
5
5
  "homepage": "https://christophervr.github.io/ooxml/visio/",
6
6
  "bugs": {
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "emf-converter": "4.11.2",
35
- "ooxml-core": "^1.6.2",
36
- "ooxml-ui": "^1.6.2",
35
+ "ooxml-core": "^1.8.2",
36
+ "ooxml-ui": "^1.8.3",
37
37
  "visio-core": "^0.4.1"
38
38
  },
39
39
  "peerDependencies": {