triiiceratops 0.9.11 → 0.9.13
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/chunks/{TriiiceratopsViewer-D0uSIuXv.js → TriiiceratopsViewer-EViTQO_n.js} +2350 -2344
- package/dist/chunks/{openseadragon-Bv-h4t_t.js → openseadragon-CHvATAD9.js} +1 -1
- package/dist/components/DemoHeader.svelte +37 -0
- package/dist/components/OSDViewer.svelte +4 -1
- package/dist/components/SearchPanel.svelte +6 -1
- package/dist/components/TriiiceratopsViewer.svelte +18 -4
- package/dist/paraglide/messages/_index.d.ts +2 -0
- package/dist/paraglide/messages/_index.js +3 -1
- package/dist/paraglide/messages/settings_panel_width.d.ts +4 -0
- package/dist/paraglide/messages/settings_panel_width.js +34 -0
- package/dist/paraglide/messages/settings_transparent_background.d.ts +4 -0
- package/dist/paraglide/messages/settings_transparent_background.js +34 -0
- package/dist/triiiceratops-bundle.js +1546 -1540
- package/dist/triiiceratops-element-image.js +1 -1
- package/dist/triiiceratops-element.js +1 -1
- package/dist/triiiceratops.css +1 -1
- package/dist/types/config.d.ts +10 -0
- package/package.json +1 -1
package/dist/types/config.d.ts
CHANGED
|
@@ -50,6 +50,11 @@ export interface SearchConfig {
|
|
|
50
50
|
* Initial search query to execute.
|
|
51
51
|
*/
|
|
52
52
|
query?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Width of the search panel.
|
|
55
|
+
* @default '320px'
|
|
56
|
+
*/
|
|
57
|
+
width?: string;
|
|
53
58
|
}
|
|
54
59
|
export interface AnnotationsConfig {
|
|
55
60
|
/**
|
|
@@ -130,4 +135,9 @@ export interface ViewerConfig {
|
|
|
130
135
|
* Configuration for network requests (manifests, etc)
|
|
131
136
|
*/
|
|
132
137
|
requests?: RequestConfig;
|
|
138
|
+
/**
|
|
139
|
+
* Whether the viewer background should be transparent.
|
|
140
|
+
* @default false
|
|
141
|
+
*/
|
|
142
|
+
transparentBackground?: boolean;
|
|
133
143
|
}
|