@manifest-editor/manifest-preset 2.2.1-next.0.eefc2e3 → 2.2.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.
Files changed (2) hide show
  1. package/README.md +42 -0
  2. package/package.json +11 -11
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ <p align="center">
2
+ <a href="https://github.com/digirati-co-uk/iiif-manifest-editor"><img src="https://raw.githubusercontent.com/digirati-co-uk/iiif-manifest-editor/main/apps/docs/content/img/logo.svg" width="360" alt="Manifest Editor"></a>
3
+ </p>
4
+ <p align="center">
5
+ <a href="https://www.npmjs.com/package/@manifest-editor/manifest-preset"><img src="https://img.shields.io/npm/v/%40manifest-editor%2Fmanifest-preset" alt="npm version"></a>
6
+ <a href="https://github.com/digirati-co-uk/iiif-manifest-editor/actions/workflows/build-test.yml"><img src="https://img.shields.io/github/actions/workflow/status/digirati-co-uk/iiif-manifest-editor/build-test.yml?branch=main&amp;label=build" alt="Build status"></a>
7
+ <a href="https://manifest-editor-docs.netlify.app/"><img src="https://img.shields.io/badge/docs-Manifest_Editor-blue" alt="Documentation"></a>
8
+ </p>
9
+
10
+ # @manifest-editor/manifest-preset
11
+
12
+ ## Getting started with Manifest Editor
13
+
14
+ For the complete editor, start with [`manifest-editor`](https://www.npmjs.com/package/manifest-editor) and its [installation and integration guide](https://github.com/digirati-co-uk/iiif-manifest-editor/tree/main/packages/manifest-editor#readme). It combines the editor UI, presets, creators, and editing APIs. This package is one part of that workspace.
15
+
16
+ ## About
17
+
18
+ Standard manifest editing: canvases, metadata, media, ranges, annotations, and bulk actions.
19
+
20
+ ## Quick start
21
+
22
+ ```sh
23
+ npm install @manifest-editor/manifest-preset
24
+ ```
25
+
26
+ ```ts
27
+ import * as manifestPreset from "@manifest-editor/manifest-preset";
28
+ import { mapApp } from "@manifest-editor/shell";
29
+
30
+ export const app = mapApp(manifestPreset);
31
+ ```
32
+
33
+ Use `app` as the `definition` of `AppProvider`, with `appId={app.metadata.id}`. See the [shell quick start](https://github.com/digirati-co-uk/iiif-manifest-editor/tree/main/packages/shell#quick-start) for provider nesting, Vault loading, and styles. The combined `ManifestEditor` chooses this preset automatically for Manifest resources.
34
+
35
+ ## API overview
36
+
37
+ - Default app metadata (`id`, `title`, and project type).
38
+ - `centerPanels`, `leftPanels`, `rightPanels`, `modals`, and `background` layout definitions.
39
+ - `editors`, `creators`, `resources`, `backgroundActions`, and `plugins`.
40
+ - Exported annotations, AV ranges, and canvas-label plugin modules.
41
+
42
+ See the [source exports](https://github.com/digirati-co-uk/iiif-manifest-editor/tree/main/presets/manifest-preset/src) for the complete API and TypeScript definitions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manifest-editor/manifest-preset",
3
- "version": "2.2.1-next.0.eefc2e3",
3
+ "version": "2.2.1",
4
4
  "type": "module",
5
5
  "bugs": "https://github.com/digirati-co-uk/iiif-manifest-editor/issues",
6
6
  "repository": {
@@ -48,14 +48,14 @@
48
48
  "@iiif/parser": "4.0.1",
49
49
  "@iiif/presentation-3": "^2.2.3",
50
50
  "@iiif/presentation-3-normalized": "^0.9.7",
51
- "@manifest-editor/annotations": "2.2.1-next.0.eefc2e3",
52
- "@manifest-editor/canvas-label-generator": "2.2.1-next.0.eefc2e3",
53
- "@manifest-editor/components": "2.2.1-next.0.eefc2e3",
54
- "@manifest-editor/creator-api": "2.2.1-next.0.eefc2e3",
55
- "@manifest-editor/creators": "2.2.1-next.0.eefc2e3",
56
- "@manifest-editor/editor-api": "2.2.1-next.0.eefc2e3",
57
- "@manifest-editor/editors": "2.2.1-next.0.eefc2e3",
58
- "@manifest-editor/shell": "2.2.1-next.0.eefc2e3",
51
+ "@manifest-editor/annotations": "2.2.1",
52
+ "@manifest-editor/canvas-label-generator": "2.2.1",
53
+ "@manifest-editor/components": "2.2.1",
54
+ "@manifest-editor/creator-api": "2.2.1",
55
+ "@manifest-editor/creators": "2.2.1",
56
+ "@manifest-editor/editor-api": "2.2.1",
57
+ "@manifest-editor/editors": "2.2.1",
58
+ "@manifest-editor/shell": "2.2.1",
59
59
  "react": "19.2.8",
60
60
  "react-aria": "^3.38.1",
61
61
  "react-aria-components": "^1.12",
@@ -67,7 +67,7 @@
67
67
  "zustand": "4.5.2"
68
68
  },
69
69
  "devDependencies": {
70
- "@manifest-editor/ui": "2.2.0",
70
+ "@manifest-editor/ui": "2.2.1",
71
71
  "@tsdown/css": "0.22.14",
72
72
  "@types/react": "19.2.18",
73
73
  "@types/react-dom": "19.2.4",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "eefc2e321c6da5d194285621f4d26376088f2bb2"
82
+ "gitHead": "903673e7c35feed673fc100cb0efe34733057c91"
83
83
  }