@triiiceratops/plugin-image-export 1.0.0-rc.4 → 1.0.0

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/dist/plugin.d.ts CHANGED
@@ -8,8 +8,8 @@
8
8
  * cleanup. Styles install through the SDK style service (root-aware), strings
9
9
  * resolve through the per-viewer locale service over this package's catalog, and
10
10
  * the toolbar glyph is a `svgIcon` descriptor. Export reads canvas geometry from
11
- * the raw OSD-backed viewer model, so the plugin declares
12
- * `requiredCapabilities: ['osd@5']`.
11
+ * raw Canvas JSON and core's first-party layout helpers, so the plugin requires
12
+ * no capability.
13
13
  *
14
14
  * This plugin's validation duty (SPEC.md Plugin Migration) is asynchronous
15
15
  * operations and binary output: the panel runs async IIIF fetch/compositing and
@@ -1 +1 @@
1
- export declare function reportImageDownloadError(node: EventTarget, error: unknown, retry: () => void): void;
1
+ export declare const reportImageDownloadError: (node: EventTarget, error: unknown, retry: () => void) => void;
package/dist/styles.d.ts CHANGED
@@ -1,14 +1,6 @@
1
1
  /**
2
- * The plugin's package-owned global CSS + its style-service install id, shaped
3
- * by {@link definePluginStyles} into the `STYLES` / `STYLE_ID` exports the
4
- * activation installs. Class names are namespaced `tri-id-*` since these rules
5
- * are not Svelte-scoped (they are installed globally into the viewer root).
6
- *
7
- * Core-owned-chrome path (ticket 04): core renders the toolbar button and the
8
- * docked panel's header/title and owns open/close + docking, so this stylesheet
9
- * carries NO toggle button and NO `position: absolute` — only the layout of the
10
- * panel *content* (body + footer). The controls themselves are themed by the
11
- * bundled `@triiiceratops/ui` primitives; these rules only lay out the content
12
- * and restore `main`'s Panel look with the current `--tri-` theme tokens.
2
+ * The plugin's package-owned global CSS and its style-service install id. What
3
+ * the rules cover, and where core's ownership of the panel chrome stops, is
4
+ * documented in `panel.css` beside them.
13
5
  */
14
6
  export declare const STYLES: string, STYLE_ID: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triiiceratops/plugin-image-export",
3
- "version": "1.0.0-rc.4",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
5
  "description": "Image download (single/composite/current-view export) plugin for the triiiceratops IIIF viewer, authored on @triiiceratops/plugin-sdk.",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "url": "git+https://github.com/d-flood/triiiceratops.git",
11
11
  "directory": "packages/plugin-image-export"
12
12
  },
13
- "homepage": "https://d-flood.github.io/triiiceratops/",
13
+ "homepage": "https://triiiceratops.org/",
14
14
  "publishConfig": {
15
15
  "access": "public",
16
16
  "provenance": true
@@ -37,7 +37,7 @@
37
37
  "./iife": "./dist/iife.js"
38
38
  },
39
39
  "scripts": {
40
- "build": "pnpm build:esm && pnpm build:iife && pnpm build:types",
40
+ "build": "pnpm clean && pnpm build:esm && pnpm build:iife && pnpm build:types",
41
41
  "build:esm": "BUILD_FORMAT=es vite build",
42
42
  "build:iife": "BUILD_FORMAT=iife vite build",
43
43
  "build:types": "tsc -p tsconfig.build.json",
@@ -49,17 +49,17 @@
49
49
  "lint:fix": "eslint . --fix --max-warnings 0"
50
50
  },
51
51
  "peerDependencies": {
52
- "triiiceratops": "^1.0.0-rc.29",
53
- "@triiiceratops/plugin-sdk": "^1.0.0-rc.5"
52
+ "triiiceratops": "^1.0.0",
53
+ "@triiiceratops/plugin-sdk": "^1.0.0"
54
54
  },
55
55
  "devDependencies": {
56
- "@sveltejs/vite-plugin-svelte": "^6.2.1",
57
- "@triiiceratops/plugin-sdk": "1.0.0-rc.5",
56
+ "@sveltejs/vite-plugin-svelte": "^6.2.4",
57
+ "@triiiceratops/plugin-sdk": "1.0.0",
58
58
  "@triiiceratops/ui": "0.0.0",
59
59
  "@vitest/coverage-v8": "4.0.15",
60
- "svelte": "5.45.5",
60
+ "svelte": "5.56.10",
61
61
  "svelte-check": "^4.3.4",
62
- "triiiceratops": "1.0.0-rc.29",
62
+ "triiiceratops": "1.0.0",
63
63
  "typescript": "~5.9.3",
64
64
  "vite": "^6.0.0",
65
65
  "vitest": "^4.0.15"