@manifest-editor/components 2.1.0 → 2.2.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/index.cjs +4 -2
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +191 -423
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +186 -423
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/lib.css +7792 -3
- package/package.json +18 -26
- package/dist/index.css +0 -6
- package/dist/index.css.map +0 -1
- package/dist/lib-7rNuVt0m.cjs +0 -1
- package/dist/lib-B2FE6TzQ.js +0 -1
- package/dist/lib-BFjz6fnM.css +0 -298
- package/dist/lib-BFjz6fnM.css.map +0 -1
- package/dist/lib-CPKt6Ufh.css +0 -296
- package/dist/lib.cjs +0 -1
- package/dist/lib.css.map +0 -1
- package/dist/lib.js +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,153 +1,86 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
import { ButtonProps, LabelProps, TabListProps, TabPanelProps, TabProps, TabsProps } from "react-aria-components";
|
|
3
|
-
import * as
|
|
3
|
+
import * as React$2 from "react";
|
|
4
4
|
import React$1, { ButtonHTMLAttributes, DetailedHTMLProps, ForwardedRef, HTMLAttributes, ReactNode, SVGProps } from "react";
|
|
5
|
-
import { InternationalString } from "@iiif/presentation-3";
|
|
6
5
|
import { Placement, UseFloatingReturn } from "@floating-ui/react-dom";
|
|
6
|
+
import "@vidstack/react/player/styles/base.css";
|
|
7
|
+
import "@vidstack/react/player/styles/default/theme.css";
|
|
8
|
+
import "@vidstack/react/player/styles/default/captions.css";
|
|
9
|
+
import "@vidstack/react/player/styles/default/layouts/video.css";
|
|
10
|
+
import "@mdxeditor/editor/style.css";
|
|
11
|
+
import "iiif-browser/mdx-plugins.css";
|
|
7
12
|
import { MDXEditorMethods, MDXEditorProps } from "@mdxeditor/editor";
|
|
13
|
+
import { InternationalString } from "@iiif/presentation-3";
|
|
8
14
|
import { Step } from "react-joyride";
|
|
9
15
|
import { TextualContentStrategy } from "react-iiif-vault";
|
|
10
16
|
import { createHelper } from "polygon-editor";
|
|
11
17
|
import { Placement as Placement$1, UseInteractionsReturn } from "@floating-ui/react";
|
|
12
18
|
import { ToastState } from "@react-stately/toast";
|
|
13
|
-
|
|
14
19
|
//#region src/AccessibilityButton.d.ts
|
|
15
|
-
declare function AccessibilityButton({
|
|
16
|
-
className,
|
|
17
|
-
children,
|
|
18
|
-
...props
|
|
19
|
-
}: ButtonProps & {
|
|
20
|
+
declare function AccessibilityButton({ className, children, ...props }: ButtonProps & {
|
|
20
21
|
className?: string;
|
|
21
|
-
}):
|
|
22
|
+
}): import("react").JSX.Element;
|
|
22
23
|
//#endregion
|
|
23
24
|
//#region src/ActionButton.d.ts
|
|
24
|
-
declare function ActionButton({
|
|
25
|
-
className,
|
|
26
|
-
primary,
|
|
27
|
-
center,
|
|
28
|
-
large,
|
|
29
|
-
onDark,
|
|
30
|
-
children,
|
|
31
|
-
...props
|
|
32
|
-
}: {
|
|
25
|
+
declare function ActionButton({ className, primary, center, large, onDark, children, ...props }: {
|
|
33
26
|
primary?: boolean;
|
|
34
27
|
onDark?: boolean;
|
|
35
28
|
center?: boolean;
|
|
36
29
|
large?: boolean;
|
|
37
|
-
} & ButtonProps):
|
|
30
|
+
} & ButtonProps): import("react").JSX.Element;
|
|
38
31
|
//#endregion
|
|
39
32
|
//#region src/AtlasBanner.d.ts
|
|
40
|
-
declare function AtlasBanner({
|
|
41
|
-
children,
|
|
42
|
-
controlsId
|
|
43
|
-
}: {
|
|
33
|
+
declare function AtlasBanner({ children, controlsId }: {
|
|
44
34
|
controlsId: string;
|
|
45
35
|
children: ReactNode;
|
|
46
|
-
}):
|
|
36
|
+
}): import("react").JSX.Element;
|
|
47
37
|
//#endregion
|
|
48
38
|
//#region src/BackgroundActionsMenu.d.ts
|
|
49
39
|
type BackgroundActionMenuStatus = "idle" | "preparing" | "running" | "complete" | "error" | "cancelled";
|
|
50
|
-
declare function BackgroundActionMenuRoot({
|
|
51
|
-
|
|
52
|
-
...props
|
|
53
|
-
}: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
54
|
-
declare function BackgroundActionMenuButton({
|
|
55
|
-
className,
|
|
56
|
-
active,
|
|
57
|
-
runningCount,
|
|
58
|
-
errorCount,
|
|
59
|
-
children,
|
|
60
|
-
...props
|
|
61
|
-
}: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
40
|
+
declare function BackgroundActionMenuRoot({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
41
|
+
declare function BackgroundActionMenuButton({ className, active, runningCount, errorCount, children, ...props }: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
62
42
|
active?: boolean;
|
|
63
43
|
runningCount?: number;
|
|
64
44
|
errorCount?: number;
|
|
65
|
-
}):
|
|
66
|
-
declare function BackgroundActionMenuPanel({
|
|
67
|
-
className,
|
|
68
|
-
open,
|
|
69
|
-
...props
|
|
70
|
-
}: HTMLAttributes<HTMLDivElement> & {
|
|
45
|
+
}): import("react").JSX.Element;
|
|
46
|
+
declare function BackgroundActionMenuPanel({ className, open, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
71
47
|
open?: boolean;
|
|
72
|
-
}):
|
|
73
|
-
declare function BackgroundActionMenuSection({
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
77
|
-
declare function BackgroundActionMenuDivider({
|
|
78
|
-
className,
|
|
79
|
-
...props
|
|
80
|
-
}: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
81
|
-
declare function BackgroundActionMenuItem({
|
|
82
|
-
className,
|
|
83
|
-
status,
|
|
84
|
-
...props
|
|
85
|
-
}: HTMLAttributes<HTMLDivElement> & {
|
|
48
|
+
}): import("react").JSX.Element;
|
|
49
|
+
declare function BackgroundActionMenuSection({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
50
|
+
declare function BackgroundActionMenuDivider({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
51
|
+
declare function BackgroundActionMenuItem({ className, status, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
86
52
|
status?: BackgroundActionMenuStatus;
|
|
87
|
-
}):
|
|
88
|
-
declare function BackgroundActionMenuTrigger({
|
|
89
|
-
className,
|
|
90
|
-
running,
|
|
91
|
-
...props
|
|
92
|
-
}: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
53
|
+
}): import("react").JSX.Element;
|
|
54
|
+
declare function BackgroundActionMenuTrigger({ className, running, ...props }: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
93
55
|
running?: boolean;
|
|
94
|
-
}):
|
|
95
|
-
declare function BackgroundActionMenuText({
|
|
96
|
-
|
|
97
|
-
...props
|
|
98
|
-
}: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime0.JSX.Element;
|
|
99
|
-
declare function BackgroundActionMenuLabel({
|
|
100
|
-
className,
|
|
101
|
-
running,
|
|
102
|
-
...props
|
|
103
|
-
}: HTMLAttributes<HTMLSpanElement> & {
|
|
56
|
+
}): import("react").JSX.Element;
|
|
57
|
+
declare function BackgroundActionMenuText({ className, ...props }: HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
58
|
+
declare function BackgroundActionMenuLabel({ className, running, ...props }: HTMLAttributes<HTMLSpanElement> & {
|
|
104
59
|
running?: boolean;
|
|
105
|
-
}):
|
|
106
|
-
declare function BackgroundActionMenuMeta({
|
|
107
|
-
className,
|
|
108
|
-
variant,
|
|
109
|
-
...props
|
|
110
|
-
}: HTMLAttributes<HTMLSpanElement> & {
|
|
60
|
+
}): import("react").JSX.Element;
|
|
61
|
+
declare function BackgroundActionMenuMeta({ className, variant, ...props }: HTMLAttributes<HTMLSpanElement> & {
|
|
111
62
|
variant?: "default" | "error";
|
|
112
|
-
}):
|
|
113
|
-
declare function BackgroundActionMenuInlineAction({
|
|
114
|
-
className,
|
|
115
|
-
children,
|
|
116
|
-
...props
|
|
117
|
-
}: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
63
|
+
}): import("react").JSX.Element;
|
|
64
|
+
declare function BackgroundActionMenuInlineAction({ className, children, ...props }: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
118
65
|
children?: ReactNode;
|
|
119
|
-
}):
|
|
120
|
-
declare function BackgroundActionMenuInfoButton({
|
|
121
|
-
|
|
122
|
-
...props
|
|
123
|
-
}: ButtonHTMLAttributes<HTMLButtonElement>): react_jsx_runtime0.JSX.Element;
|
|
124
|
-
declare function BackgroundActionMenuProgressBar({
|
|
125
|
-
className,
|
|
126
|
-
percent,
|
|
127
|
-
label
|
|
128
|
-
}: {
|
|
66
|
+
}): import("react").JSX.Element;
|
|
67
|
+
declare function BackgroundActionMenuInfoButton({ className, ...props }: ButtonHTMLAttributes<HTMLButtonElement>): import("react").JSX.Element;
|
|
68
|
+
declare function BackgroundActionMenuProgressBar({ className, percent, label }: {
|
|
129
69
|
className?: string;
|
|
130
70
|
percent: number;
|
|
131
71
|
label?: string;
|
|
132
|
-
}):
|
|
72
|
+
}): import("react").JSX.Element;
|
|
133
73
|
/** @deprecated — play/stop now lives inside BackgroundActionMenuTrigger */
|
|
134
|
-
declare function BackgroundActionMenuActionButton({
|
|
135
|
-
className,
|
|
136
|
-
running,
|
|
137
|
-
...props
|
|
138
|
-
}: {
|
|
74
|
+
declare function BackgroundActionMenuActionButton({ className, running, ...props }: {
|
|
139
75
|
className?: string;
|
|
140
76
|
running?: boolean;
|
|
141
77
|
} & ButtonHTMLAttributes<HTMLButtonElement>): null;
|
|
142
78
|
/** @deprecated — status is conveyed by row background and meta text */
|
|
143
|
-
declare function BackgroundActionMenuStatusDot({
|
|
144
|
-
className,
|
|
145
|
-
status
|
|
146
|
-
}: {
|
|
79
|
+
declare function BackgroundActionMenuStatusDot({ className, status }: {
|
|
147
80
|
className?: string;
|
|
148
81
|
status?: BackgroundActionMenuStatus;
|
|
149
82
|
}): null;
|
|
150
|
-
declare function BackgroundActionMenuCogIcon(props: SVGProps<SVGSVGElement>):
|
|
83
|
+
declare function BackgroundActionMenuCogIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
151
84
|
//#endregion
|
|
152
85
|
//#region src/CanvasThumbnailGridItem.d.ts
|
|
153
86
|
interface CanvasThumbnailGridItemProps {
|
|
@@ -162,51 +95,36 @@ interface CanvasThumbnailGridItemProps {
|
|
|
162
95
|
dragState?: any;
|
|
163
96
|
customLabel?: (opts: {
|
|
164
97
|
className: string;
|
|
165
|
-
children: InternationalString;
|
|
166
98
|
}) => React.ReactNode;
|
|
167
99
|
}
|
|
168
|
-
declare function CanvasThumbnailGridItem(props: CanvasThumbnailGridItemProps):
|
|
100
|
+
declare function CanvasThumbnailGridItem(props: CanvasThumbnailGridItemProps): import("react").JSX.Element;
|
|
169
101
|
//#endregion
|
|
170
102
|
//#region src/Card3D.d.ts
|
|
171
|
-
declare function Card3D({
|
|
172
|
-
className,
|
|
173
|
-
shouldTranslate,
|
|
174
|
-
children,
|
|
175
|
-
...props
|
|
176
|
-
}: {
|
|
103
|
+
declare function Card3D({ className, shouldTranslate, children, ...props }: {
|
|
177
104
|
shouldTranslate?: boolean;
|
|
178
|
-
} & React.HTMLAttributes<HTMLDivElement>):
|
|
105
|
+
} & React.HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
179
106
|
//#endregion
|
|
180
107
|
//#region src/CollectionListItem.d.ts
|
|
181
|
-
declare function CollectionListItem({
|
|
182
|
-
|
|
183
|
-
onAction
|
|
184
|
-
}: {
|
|
108
|
+
declare function CollectionListItem({ as: Component, isActive, onAction }: {
|
|
109
|
+
as?: "div" | "li";
|
|
185
110
|
isActive: boolean;
|
|
186
111
|
onAction: () => void;
|
|
187
|
-
}):
|
|
112
|
+
}): import("react").JSX.Element;
|
|
188
113
|
//#endregion
|
|
189
114
|
//#region src/ConfirmSelectionButton.d.ts
|
|
190
|
-
declare function ConfirmSelectionButton({
|
|
191
|
-
onPress,
|
|
192
|
-
children
|
|
193
|
-
}: {
|
|
115
|
+
declare function ConfirmSelectionButton({ onPress, children }: {
|
|
194
116
|
onPress: () => void;
|
|
195
117
|
children: ReactNode;
|
|
196
|
-
}):
|
|
118
|
+
}): import("react").JSX.Element;
|
|
197
119
|
//#endregion
|
|
198
120
|
//#region src/ControlButton.d.ts
|
|
199
|
-
declare function ControlButton({
|
|
200
|
-
children,
|
|
201
|
-
className,
|
|
202
|
-
...props
|
|
203
|
-
}: React.PropsWithChildren<React.ButtonHTMLAttributes<HTMLButtonElement>>): react_jsx_runtime0.JSX.Element;
|
|
121
|
+
declare function ControlButton({ children, className, ...props }: React.PropsWithChildren<React.ButtonHTMLAttributes<HTMLButtonElement>>): import("react").JSX.Element;
|
|
204
122
|
//#endregion
|
|
205
123
|
//#region src/CreatorGrid.d.ts
|
|
206
124
|
declare function CreatorGrid(props: {
|
|
207
125
|
label: string;
|
|
208
126
|
items: CreatorGridItemProps[];
|
|
209
|
-
}):
|
|
127
|
+
}): import("react").JSX.Element;
|
|
210
128
|
interface CreatorGridItemProps {
|
|
211
129
|
id: string;
|
|
212
130
|
icon: ReactNode;
|
|
@@ -223,13 +141,7 @@ interface DownloadButtonProps {
|
|
|
223
141
|
fileType?: string;
|
|
224
142
|
label?: string;
|
|
225
143
|
}
|
|
226
|
-
declare function DownloadButton({
|
|
227
|
-
label,
|
|
228
|
-
id: _id,
|
|
229
|
-
getData,
|
|
230
|
-
fileName,
|
|
231
|
-
fileType
|
|
232
|
-
}: DownloadButtonProps): react_jsx_runtime0.JSX.Element;
|
|
144
|
+
declare function DownloadButton({ label, id: _id, getData, fileName, fileType }: DownloadButtonProps): import("react").JSX.Element;
|
|
233
145
|
declare function createDownload(data: any, fileName: string, fileType?: string): void;
|
|
234
146
|
//#endregion
|
|
235
147
|
//#region src/EmptyState.d.ts
|
|
@@ -237,7 +149,7 @@ declare function EmptyState(props: {
|
|
|
237
149
|
children: React.ReactNode;
|
|
238
150
|
$noMargin?: boolean;
|
|
239
151
|
$box?: boolean;
|
|
240
|
-
}):
|
|
152
|
+
}): import("react").JSX.Element;
|
|
241
153
|
//#endregion
|
|
242
154
|
//#region src/ErrorMessage.d.ts
|
|
243
155
|
interface ErrorMessageProps {
|
|
@@ -245,44 +157,18 @@ interface ErrorMessageProps {
|
|
|
245
157
|
small?: boolean;
|
|
246
158
|
className?: string;
|
|
247
159
|
}
|
|
248
|
-
declare function ErrorMessage({
|
|
249
|
-
children,
|
|
250
|
-
small,
|
|
251
|
-
className
|
|
252
|
-
}: ErrorMessageProps): react_jsx_runtime0.JSX.Element;
|
|
160
|
+
declare function ErrorMessage({ children, small, className }: ErrorMessageProps): React$1.JSX.Element;
|
|
253
161
|
//#endregion
|
|
254
162
|
//#region src/Forms.d.ts
|
|
255
|
-
declare function MeLabel({
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}:
|
|
259
|
-
declare function
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}: any): react_jsx_runtime0.JSX.Element;
|
|
263
|
-
declare function MeRadio({
|
|
264
|
-
className,
|
|
265
|
-
...props
|
|
266
|
-
}: any): react_jsx_runtime0.JSX.Element;
|
|
267
|
-
declare function MeForm({
|
|
268
|
-
className,
|
|
269
|
-
...props
|
|
270
|
-
}: any): react_jsx_runtime0.JSX.Element;
|
|
271
|
-
declare function MeInput({
|
|
272
|
-
className,
|
|
273
|
-
...props
|
|
274
|
-
}: any): react_jsx_runtime0.JSX.Element;
|
|
275
|
-
declare function MeTextArea({
|
|
276
|
-
className,
|
|
277
|
-
...props
|
|
278
|
-
}: any): react_jsx_runtime0.JSX.Element;
|
|
279
|
-
declare function MeInputContainer({
|
|
280
|
-
horizontal,
|
|
281
|
-
className,
|
|
282
|
-
...props
|
|
283
|
-
}: React.HTMLProps<HTMLDivElement> & {
|
|
163
|
+
declare function MeLabel({ className, ...props }: LabelProps): import("react").JSX.Element;
|
|
164
|
+
declare function MeRadioGroup({ className, ...props }: any): import("react").JSX.Element;
|
|
165
|
+
declare function MeRadio({ className, ...props }: any): import("react").JSX.Element;
|
|
166
|
+
declare function MeForm({ className, ...props }: any): import("react").JSX.Element;
|
|
167
|
+
declare function MeInput({ className, ...props }: any): import("react").JSX.Element;
|
|
168
|
+
declare function MeTextArea({ className, ...props }: any): import("react").JSX.Element;
|
|
169
|
+
declare function MeInputContainer({ horizontal, className, ...props }: React.HTMLProps<HTMLDivElement> & {
|
|
284
170
|
horizontal?: boolean;
|
|
285
|
-
}):
|
|
171
|
+
}): import("react").JSX.Element;
|
|
286
172
|
declare const Form: {
|
|
287
173
|
Input: typeof MeInput;
|
|
288
174
|
Form: typeof MeForm;
|
|
@@ -294,29 +180,21 @@ declare const Form: {
|
|
|
294
180
|
};
|
|
295
181
|
//#endregion
|
|
296
182
|
//#region src/HandleContainer.d.ts
|
|
297
|
-
declare const HandleContainer:
|
|
183
|
+
declare const HandleContainer: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
298
184
|
//#endregion
|
|
299
185
|
//#region src/HTMLAnnotationBodyRender.d.ts
|
|
300
|
-
declare function HTMLAnnotationBodyRender({
|
|
301
|
-
className,
|
|
302
|
-
locale
|
|
303
|
-
}: {
|
|
186
|
+
declare function HTMLAnnotationBodyRender({ className, locale }: {
|
|
304
187
|
className?: string;
|
|
305
188
|
locale?: string;
|
|
306
|
-
}):
|
|
189
|
+
}): import("react").JSX.Element;
|
|
307
190
|
//#endregion
|
|
308
191
|
//#region src/HTMLEditor.d.ts
|
|
309
|
-
declare function HTMLEditor({
|
|
310
|
-
className,
|
|
311
|
-
value,
|
|
312
|
-
onChange,
|
|
313
|
-
disabled
|
|
314
|
-
}: {
|
|
192
|
+
declare function HTMLEditor({ className, value, onChange, disabled }: {
|
|
315
193
|
className?: string;
|
|
316
194
|
value: string;
|
|
317
195
|
disabled?: boolean;
|
|
318
196
|
onChange: (text: string) => void;
|
|
319
|
-
}):
|
|
197
|
+
}): import("react").JSX.Element;
|
|
320
198
|
//#endregion
|
|
321
199
|
//#region src/hooks/use-fast-list.d.ts
|
|
322
200
|
declare function useFastList<T>(list: undefined | T[], firstRender?: number): T[];
|
|
@@ -326,34 +204,25 @@ declare function useGridOptions(name?: string, options?: {
|
|
|
326
204
|
defaultGridSize?: "grid-sm" | "grid-md" | "grid-lg";
|
|
327
205
|
onDark?: boolean;
|
|
328
206
|
}): readonly [{
|
|
329
|
-
readonly size: "grid-
|
|
330
|
-
},
|
|
207
|
+
readonly size: "grid-lg" | "grid-md" | "grid-sm";
|
|
208
|
+
}, import("react").JSX.Element];
|
|
331
209
|
//#endregion
|
|
332
210
|
//#region src/hooks/use-local-storage.d.ts
|
|
333
|
-
declare function useOptionalLocalStorage<T>(key: string, initialValue?: T, disabled?: boolean): readonly [T
|
|
334
|
-
declare function useLocalStorage<T>(key: string, initialValue?: T): readonly [T, (value: ((prev: T) => T) | T) => void,
|
|
211
|
+
declare function useOptionalLocalStorage<T>(key: string, initialValue?: T, disabled?: boolean): readonly [T, (value: T | ((prev: T) => T)) => void] | readonly [T | undefined, import("react").Dispatch<import("react").SetStateAction<T | undefined>>];
|
|
212
|
+
declare function useLocalStorage<T>(key: string, initialValue?: T): readonly [T, (value: ((prev: T) => T) | T) => void, import("react").RefObject<string | undefined>];
|
|
335
213
|
//#endregion
|
|
336
214
|
//#region src/hooks/use-load-more-items.d.ts
|
|
337
215
|
declare function useLoadMoreItems<T extends object>(items: T[], options: {
|
|
338
216
|
batchSize: number;
|
|
339
217
|
}): readonly [T[], {
|
|
340
|
-
readonly intersector:
|
|
218
|
+
readonly intersector: import("react").JSX.Element | null;
|
|
341
219
|
readonly loadMore: () => void;
|
|
342
220
|
readonly isFullyLoaded: boolean;
|
|
343
221
|
readonly reset: () => void;
|
|
344
222
|
}];
|
|
345
223
|
//#endregion
|
|
346
224
|
//#region src/IconButton.d.ts
|
|
347
|
-
declare function IconButton({
|
|
348
|
-
children,
|
|
349
|
-
active,
|
|
350
|
-
label,
|
|
351
|
-
disabled,
|
|
352
|
-
onPress,
|
|
353
|
-
root,
|
|
354
|
-
className,
|
|
355
|
-
placement
|
|
356
|
-
}: {
|
|
225
|
+
declare function IconButton({ children, active, label, disabled, onPress, root, className, placement }: {
|
|
357
226
|
children: React.ReactNode;
|
|
358
227
|
onPress?: () => void;
|
|
359
228
|
className?: string;
|
|
@@ -362,10 +231,10 @@ declare function IconButton({
|
|
|
362
231
|
label: string;
|
|
363
232
|
placement?: Placement;
|
|
364
233
|
root?: HTMLElement;
|
|
365
|
-
}):
|
|
234
|
+
}): import("react").JSX.Element;
|
|
366
235
|
//#endregion
|
|
367
236
|
//#region src/IconHandle.d.ts
|
|
368
|
-
declare const IconHandle:
|
|
237
|
+
declare const IconHandle: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
369
238
|
//#endregion
|
|
370
239
|
//#region src/IIIFMediaPlayer.d.ts
|
|
371
240
|
interface IIIFMediaPlayerProps {
|
|
@@ -382,7 +251,7 @@ interface IIIFMediaPlayerProps {
|
|
|
382
251
|
startTime?: number;
|
|
383
252
|
language?: string;
|
|
384
253
|
}
|
|
385
|
-
declare function IIIFMediaPlayer(props: IIIFMediaPlayerProps):
|
|
254
|
+
declare function IIIFMediaPlayer(props: IIIFMediaPlayerProps): import("react").JSX.Element;
|
|
386
255
|
//#endregion
|
|
387
256
|
//#region src/InfoMessage.d.ts
|
|
388
257
|
interface InfoMessageProps {
|
|
@@ -390,228 +259,192 @@ interface InfoMessageProps {
|
|
|
390
259
|
small?: boolean;
|
|
391
260
|
className?: string;
|
|
392
261
|
}
|
|
393
|
-
declare function InfoMessage({
|
|
394
|
-
children,
|
|
395
|
-
small,
|
|
396
|
-
className
|
|
397
|
-
}: InfoMessageProps): react_jsx_runtime0.JSX.Element;
|
|
262
|
+
declare function InfoMessage({ children, small, className }: InfoMessageProps): React$1.JSX.Element;
|
|
398
263
|
//#endregion
|
|
399
264
|
//#region src/ItemWithHandle.d.ts
|
|
400
|
-
declare function ItemWithHandle({
|
|
401
|
-
children,
|
|
402
|
-
handle,
|
|
403
|
-
actions,
|
|
404
|
-
grid
|
|
405
|
-
}: {
|
|
265
|
+
declare function ItemWithHandle({ children, handle, actions, grid }: {
|
|
406
266
|
grid?: boolean;
|
|
407
267
|
children: React.ReactNode;
|
|
408
268
|
handle: React.ReactNode;
|
|
409
269
|
actions?: React.ReactNode;
|
|
410
|
-
}):
|
|
270
|
+
}): import("react").JSX.Element;
|
|
411
271
|
//#endregion
|
|
412
272
|
//#region src/icons/AddIcon.d.ts
|
|
413
|
-
declare function AddIcon({
|
|
414
|
-
className,
|
|
415
|
-
inline,
|
|
416
|
-
height,
|
|
417
|
-
color
|
|
418
|
-
}: {
|
|
273
|
+
declare function AddIcon({ className, inline, height, color }: {
|
|
419
274
|
inline?: boolean;
|
|
420
275
|
height?: number;
|
|
421
276
|
className?: string;
|
|
422
277
|
color?: string;
|
|
423
|
-
}):
|
|
278
|
+
}): import("react").JSX.Element;
|
|
424
279
|
//#endregion
|
|
425
280
|
//#region src/icons/AddImageIcon.d.ts
|
|
426
|
-
declare const AddImageIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
281
|
+
declare const AddImageIcon: (props: SVGProps<SVGSVGElement>) => React$2.JSX.Element;
|
|
427
282
|
//#endregion
|
|
428
283
|
//#region src/icons/AnnotationPopInIcon.d.ts
|
|
429
|
-
declare function AnnotationPopInIcon(props: React.SVGProps<SVGSVGElement>):
|
|
284
|
+
declare function AnnotationPopInIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
430
285
|
//#endregion
|
|
431
286
|
//#region src/icons/AnnotationPopOutIcon.d.ts
|
|
432
|
-
declare function AnnotationPopOutIcon(props: React.SVGProps<SVGSVGElement>):
|
|
287
|
+
declare function AnnotationPopOutIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
433
288
|
//#endregion
|
|
434
289
|
//#region src/icons/ArrowRightIcon.d.ts
|
|
435
|
-
declare function ArrowRightIcon({
|
|
436
|
-
title,
|
|
437
|
-
className,
|
|
438
|
-
...props
|
|
439
|
-
}: SVGProps<SVGSVGElement> & {
|
|
290
|
+
declare function ArrowRightIcon({ title, className, ...props }: SVGProps<SVGSVGElement> & {
|
|
440
291
|
title?: string;
|
|
441
|
-
}):
|
|
292
|
+
}): import("react").JSX.Element;
|
|
442
293
|
//#endregion
|
|
443
294
|
//#region src/icons/AudioIcon.d.ts
|
|
444
|
-
declare const AudioIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
295
|
+
declare const AudioIcon: (props: SVGProps<SVGSVGElement>) => React$2.JSX.Element;
|
|
445
296
|
//#endregion
|
|
446
297
|
//#region src/icons/BackIcon.d.ts
|
|
447
|
-
declare function BackIcon(props: SVGProps<SVGSVGElement>):
|
|
298
|
+
declare function BackIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
448
299
|
//#endregion
|
|
449
300
|
//#region src/icons/CheckIcon.d.ts
|
|
450
|
-
declare function CheckIcon(props: React.SVGProps<SVGSVGElement>):
|
|
301
|
+
declare function CheckIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
451
302
|
//#endregion
|
|
452
303
|
//#region src/icons/CloseIcon.d.ts
|
|
453
|
-
declare function CloseIcon(props: React.SVGProps<SVGSVGElement>):
|
|
304
|
+
declare function CloseIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
454
305
|
//#endregion
|
|
455
306
|
//#region src/icons/CollectionIcon.d.ts
|
|
456
|
-
declare function CollectionIcon(props: SVGProps<SVGSVGElement>):
|
|
307
|
+
declare function CollectionIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
457
308
|
//#endregion
|
|
458
309
|
//#region src/icons/CreateCanvasIcon.d.ts
|
|
459
|
-
declare function CreateCanvasIcon():
|
|
310
|
+
declare function CreateCanvasIcon(): import("react").JSX.Element;
|
|
460
311
|
//#endregion
|
|
461
312
|
//#region src/icons/DeleteForeverIcon.d.ts
|
|
462
|
-
declare function DeleteForeverIcon(props:
|
|
313
|
+
declare function DeleteForeverIcon(props: React$2.SVGProps<SVGSVGElement>): React$2.JSX.Element;
|
|
463
314
|
//#endregion
|
|
464
315
|
//#region src/icons/DeleteIcon.d.ts
|
|
465
|
-
declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>):
|
|
316
|
+
declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
466
317
|
//#endregion
|
|
467
318
|
//#region src/icons/DownloadIcon.d.ts
|
|
468
|
-
declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
319
|
+
declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) => React$2.JSX.Element;
|
|
469
320
|
//#endregion
|
|
470
321
|
//#region src/icons/EditTextIcon.d.ts
|
|
471
|
-
declare function EditTextIcon(props: React.SVGProps<SVGSVGElement>):
|
|
322
|
+
declare function EditTextIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
472
323
|
//#endregion
|
|
473
324
|
//#region src/icons/EmptyCanvasIcon.d.ts
|
|
474
|
-
declare const EmptyCanvasIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
325
|
+
declare const EmptyCanvasIcon: (props: SVGProps<SVGSVGElement>) => React$2.JSX.Element;
|
|
475
326
|
//#endregion
|
|
476
327
|
//#region src/icons/GridIcon.d.ts
|
|
477
|
-
declare function GridIcon(props: SVGProps<SVGSVGElement>):
|
|
328
|
+
declare function GridIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
478
329
|
//#endregion
|
|
479
330
|
//#region src/icons/HTMLIcon.d.ts
|
|
480
|
-
declare const HTMLIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
331
|
+
declare const HTMLIcon: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
481
332
|
//#endregion
|
|
482
333
|
//#region src/icons/IIIFBrowserIcon.d.ts
|
|
483
|
-
declare const IIIFBrowserIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
334
|
+
declare const IIIFBrowserIcon: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
484
335
|
//#endregion
|
|
485
336
|
//#region src/icons/IIIFLogo.d.ts
|
|
486
|
-
declare const IIIFLogo: ({
|
|
487
|
-
mono,
|
|
488
|
-
...props
|
|
489
|
-
}: SVGProps<SVGSVGElement> & {
|
|
337
|
+
declare const IIIFLogo: ({ mono, ...props }: SVGProps<SVGSVGElement> & {
|
|
490
338
|
mono?: boolean;
|
|
491
|
-
}) =>
|
|
339
|
+
}) => import("react").JSX.Element;
|
|
492
340
|
//#endregion
|
|
493
341
|
//#region src/icons/ImageListIcon.d.ts
|
|
494
|
-
declare function ImageListIcon(props: SVGProps<SVGSVGElement>):
|
|
342
|
+
declare function ImageListIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
495
343
|
//#endregion
|
|
496
344
|
//#region src/icons/InfoIcon.d.ts
|
|
497
|
-
declare function InfoIcon({
|
|
498
|
-
title,
|
|
499
|
-
titleId,
|
|
500
|
-
...props
|
|
501
|
-
}: SVGProps<SVGSVGElement> & {
|
|
345
|
+
declare function InfoIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
|
|
502
346
|
title?: string;
|
|
503
347
|
titleId?: string;
|
|
504
|
-
}):
|
|
348
|
+
}): import("react").JSX.Element;
|
|
505
349
|
//#endregion
|
|
506
350
|
//#region src/icons/ListEditIcon.d.ts
|
|
507
|
-
declare function ListEditIcon({
|
|
508
|
-
title,
|
|
509
|
-
titleId,
|
|
510
|
-
...props
|
|
511
|
-
}: SVGProps<SVGSVGElement> & {
|
|
351
|
+
declare function ListEditIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
|
|
512
352
|
title?: string;
|
|
513
353
|
titleId?: string;
|
|
514
|
-
}):
|
|
354
|
+
}): import("react").JSX.Element;
|
|
515
355
|
//#endregion
|
|
516
356
|
//#region src/icons/ListingIcon.d.ts
|
|
517
|
-
declare function ListingIcon({
|
|
518
|
-
title,
|
|
519
|
-
titleId,
|
|
520
|
-
...props
|
|
521
|
-
}: SVGProps<SVGSVGElement> & {
|
|
357
|
+
declare function ListingIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
|
|
522
358
|
title?: string;
|
|
523
359
|
titleId?: string;
|
|
524
|
-
}):
|
|
360
|
+
}): import("react").JSX.Element;
|
|
525
361
|
//#endregion
|
|
526
362
|
//#region src/icons/ManifestIcon.d.ts
|
|
527
|
-
declare function ManifestIcon(props: SVGProps<SVGSVGElement>):
|
|
363
|
+
declare function ManifestIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
528
364
|
//#endregion
|
|
529
365
|
//#region src/icons/MoreMenu.d.ts
|
|
530
|
-
declare function MoreMenu(props: React.SVGProps<SVGSVGElement>):
|
|
366
|
+
declare function MoreMenu(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
531
367
|
declare const MoreMenuIcon: typeof MoreMenu;
|
|
532
368
|
//#endregion
|
|
533
369
|
//#region src/icons/PreviewIcon.d.ts
|
|
534
|
-
declare function PreviewIcon(props: SVGProps<SVGSVGElement>):
|
|
370
|
+
declare function PreviewIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
535
371
|
//#endregion
|
|
536
372
|
//#region src/icons/RangesIcon.d.ts
|
|
537
|
-
declare function RangesIcon(props: React.SVGProps<SVGSVGElement>):
|
|
373
|
+
declare function RangesIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
538
374
|
//#endregion
|
|
539
375
|
//#region src/icons/ResetIcon.d.ts
|
|
540
|
-
declare function ResetIcon(props: SVGProps<SVGSVGElement>):
|
|
376
|
+
declare function ResetIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
541
377
|
//#endregion
|
|
542
378
|
//#region src/icons/ResizeHandleIcon.d.ts
|
|
543
|
-
declare function ResizeHandleIcon({
|
|
544
|
-
title,
|
|
545
|
-
...props
|
|
546
|
-
}: SVGProps<SVGSVGElement> & {
|
|
379
|
+
declare function ResizeHandleIcon({ title, ...props }: SVGProps<SVGSVGElement> & {
|
|
547
380
|
title?: string;
|
|
548
|
-
}):
|
|
381
|
+
}): import("react").JSX.Element;
|
|
549
382
|
//#endregion
|
|
550
383
|
//#region src/icons/ScaledImageIcon.d.ts
|
|
551
|
-
declare function ScaledImageIcon(props: SVGProps<SVGSVGElement>):
|
|
384
|
+
declare function ScaledImageIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
552
385
|
//#endregion
|
|
553
386
|
//#region src/icons/TargetIcon.d.ts
|
|
554
|
-
declare function TargetIcon(props: React.SVGProps<SVGSVGElement>):
|
|
387
|
+
declare function TargetIcon(props: React.SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
555
388
|
//#endregion
|
|
556
389
|
//#region src/icons/TextIcon.d.ts
|
|
557
|
-
declare function TextIcon(props: SVGProps<SVGSVGElement>):
|
|
390
|
+
declare function TextIcon(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
558
391
|
//#endregion
|
|
559
392
|
//#region src/icons/VideoIcon.d.ts
|
|
560
|
-
declare const VideoIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
393
|
+
declare const VideoIcon: (props: SVGProps<SVGSVGElement>) => React$2.JSX.Element;
|
|
561
394
|
//#endregion
|
|
562
395
|
//#region src/icons/YouTubeIcon.d.ts
|
|
563
|
-
declare const YouTubeIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
396
|
+
declare const YouTubeIcon: (props: SVGProps<SVGSVGElement>) => React$2.JSX.Element;
|
|
564
397
|
//#endregion
|
|
565
398
|
//#region src/LazyThumbnail.d.ts
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
399
|
+
interface ThumbnailRegion {
|
|
400
|
+
x: number;
|
|
401
|
+
y: number;
|
|
402
|
+
width: number;
|
|
403
|
+
height: number;
|
|
404
|
+
}
|
|
405
|
+
declare function LazyThumbnail({ cover, fade, region, singleImage }: {
|
|
570
406
|
cover?: boolean;
|
|
571
407
|
fade?: boolean;
|
|
572
|
-
|
|
408
|
+
region?: ThumbnailRegion;
|
|
409
|
+
singleImage?: boolean;
|
|
410
|
+
}): import("react").JSX.Element;
|
|
411
|
+
declare function paintingAnnotationTargetsCanvas(annotation: any, canvasId?: string): boolean;
|
|
412
|
+
declare function useCanvasRenderingStrategy(): import("react-iiif-vault").RenderingStrategy;
|
|
413
|
+
declare function getImageApiRegion(resource: any): any;
|
|
414
|
+
declare function getImageApiRotation(resource: any): string | null;
|
|
415
|
+
declare function shouldUseComplexCanvasThumbnail(strategy: any, resolveBody?: (body: any) => any, region?: ThumbnailRegion): any;
|
|
416
|
+
declare function imageUrlWithTransform(id: string, region: string | null, rotation: string | null): string;
|
|
417
|
+
declare function imageUrlWithRegion(id: string, region: string | null): string;
|
|
418
|
+
declare function getRegionIntersection(a: ThumbnailRegion, b: ThumbnailRegion): ThumbnailRegion | null;
|
|
573
419
|
//#endregion
|
|
574
420
|
//#region src/ListResizeDragHandle.d.ts
|
|
575
|
-
declare function ListResizeDragHandle():
|
|
421
|
+
declare function ListResizeDragHandle(): import("react").JSX.Element;
|
|
576
422
|
//#endregion
|
|
577
423
|
//#region src/ManifestEditorLogo.d.ts
|
|
578
|
-
declare function ManifestEditorLogo(props: SVGProps<SVGSVGElement>):
|
|
424
|
+
declare function ManifestEditorLogo(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
579
425
|
//#endregion
|
|
580
426
|
//#region src/ManifestListItem.d.ts
|
|
581
|
-
declare function ManifestListItem({
|
|
582
|
-
|
|
583
|
-
onAction
|
|
584
|
-
}: {
|
|
427
|
+
declare function ManifestListItem({ as: Component, isActive, onAction }: {
|
|
428
|
+
as?: "div" | "li";
|
|
585
429
|
isActive: boolean;
|
|
586
430
|
onAction: () => void;
|
|
587
|
-
}):
|
|
431
|
+
}): import("react").JSX.Element;
|
|
588
432
|
//#endregion
|
|
589
433
|
//#region src/ManifestOverviewEmptyState.d.ts
|
|
590
|
-
declare function ManifestOverviewEmptyState({
|
|
591
|
-
onCreate,
|
|
592
|
-
canCreate
|
|
593
|
-
}: {
|
|
434
|
+
declare function ManifestOverviewEmptyState({ onCreate, canCreate }: {
|
|
594
435
|
onCreate: () => void;
|
|
595
436
|
canCreate: boolean;
|
|
596
|
-
}):
|
|
437
|
+
}): import("react").JSX.Element;
|
|
597
438
|
//#endregion
|
|
598
439
|
//#region src/MDXEditor.d.ts
|
|
599
|
-
declare function MDXEditor({
|
|
600
|
-
editorRef,
|
|
601
|
-
...props
|
|
602
|
-
}: {
|
|
440
|
+
declare function MDXEditor({ editorRef, ...props }: {
|
|
603
441
|
editorRef?: ForwardedRef<MDXEditorMethods> | null;
|
|
604
|
-
} & MDXEditorProps):
|
|
442
|
+
} & MDXEditorProps): import("react").JSX.Element;
|
|
605
443
|
//#endregion
|
|
606
444
|
//#region src/MetadataContainer.d.ts
|
|
607
|
-
declare function MetadataContainer({
|
|
608
|
-
className,
|
|
609
|
-
label,
|
|
610
|
-
children,
|
|
611
|
-
...props
|
|
612
|
-
}: {
|
|
445
|
+
declare function MetadataContainer({ className, label, children, ...props }: {
|
|
613
446
|
label: InternationalString | null;
|
|
614
|
-
} & React.HTMLAttributes<HTMLFieldSetElement>):
|
|
447
|
+
} & React.HTMLAttributes<HTMLFieldSetElement>): import("react").JSX.Element;
|
|
615
448
|
//#endregion
|
|
616
449
|
//#region src/Modal.d.ts
|
|
617
450
|
interface ModalProps {
|
|
@@ -622,26 +455,17 @@ interface ModalProps {
|
|
|
622
455
|
open?: boolean;
|
|
623
456
|
width?: number | string;
|
|
624
457
|
height?: number | string;
|
|
458
|
+
disableAnimation?: boolean;
|
|
625
459
|
children: React.ReactNode;
|
|
626
460
|
actions?: React.ReactNode;
|
|
627
461
|
}
|
|
628
|
-
declare function ModalBackSlot({
|
|
629
|
-
children
|
|
630
|
-
}: {
|
|
462
|
+
declare function ModalBackSlot({ children }: {
|
|
631
463
|
children: React.ReactNode;
|
|
632
|
-
}):
|
|
633
|
-
declare function Modal({
|
|
634
|
-
id,
|
|
635
|
-
className,
|
|
636
|
-
title,
|
|
637
|
-
open,
|
|
638
|
-
onClose,
|
|
639
|
-
actions,
|
|
640
|
-
children
|
|
641
|
-
}: ModalProps): react_jsx_runtime0.JSX.Element;
|
|
464
|
+
}): import("react").ReactPortal | null;
|
|
465
|
+
declare function Modal({ id, className, title, open, onClose, actions, children, width, height, disableAnimation }: ModalProps): import("react").JSX.Element;
|
|
642
466
|
//#endregion
|
|
643
467
|
//#region src/MoreMenuButton.d.ts
|
|
644
|
-
declare function MoreMenuButton():
|
|
468
|
+
declare function MoreMenuButton(): import("react").JSX.Element;
|
|
645
469
|
//#endregion
|
|
646
470
|
//#region src/OnboardingTour.d.ts
|
|
647
471
|
interface OnboardingTourProps {
|
|
@@ -649,22 +473,18 @@ interface OnboardingTourProps {
|
|
|
649
473
|
steps: Step[];
|
|
650
474
|
forceStart?: boolean;
|
|
651
475
|
onClose?: () => void;
|
|
476
|
+
lastButtonLabel?: string;
|
|
652
477
|
}
|
|
653
|
-
declare function OnboardingTour({
|
|
654
|
-
id,
|
|
655
|
-
steps,
|
|
656
|
-
forceStart,
|
|
657
|
-
onClose
|
|
658
|
-
}: OnboardingTourProps): react_jsx_runtime0.JSX.Element | null;
|
|
478
|
+
declare function OnboardingTour({ id, steps, forceStart, onClose, lastButtonLabel }: OnboardingTourProps): import("react").JSX.Element | null;
|
|
659
479
|
//#endregion
|
|
660
480
|
//#region src/OpaqueControls.d.ts
|
|
661
481
|
declare function OpaqueControls(props: {
|
|
662
482
|
children: React.ReactNode;
|
|
663
483
|
active?: boolean;
|
|
664
|
-
}):
|
|
484
|
+
}): import("react").JSX.Element;
|
|
665
485
|
//#endregion
|
|
666
486
|
//#region src/PaddedSidebarContainer.d.ts
|
|
667
|
-
declare const PaddedSidebarContainer:
|
|
487
|
+
declare const PaddedSidebarContainer: import("react").ForwardRefExoticComponent<Omit<DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
668
488
|
//#endregion
|
|
669
489
|
//#region src/PanelSideMenu.d.ts
|
|
670
490
|
interface PanelSideMenuProps {
|
|
@@ -679,40 +499,31 @@ interface PanelSideMenuProps {
|
|
|
679
499
|
open: boolean;
|
|
680
500
|
current: string | null;
|
|
681
501
|
}
|
|
682
|
-
declare function PanelSideMenu(props: PanelSideMenuProps):
|
|
502
|
+
declare function PanelSideMenu(props: PanelSideMenuProps): import("react").JSX.Element;
|
|
683
503
|
//#endregion
|
|
684
504
|
//#region src/RenderTextualContent.d.ts
|
|
685
505
|
declare function RenderTextualContent(props: {
|
|
686
506
|
strategy: TextualContentStrategy;
|
|
687
|
-
}):
|
|
507
|
+
}): import("react").JSX.Element;
|
|
688
508
|
//#endregion
|
|
689
509
|
//#region src/ResizeHandle.d.ts
|
|
690
|
-
declare const ResizeHandle:
|
|
510
|
+
declare const ResizeHandle: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
691
511
|
//#endregion
|
|
692
512
|
//#region src/SelectionCheckbox.d.ts
|
|
693
|
-
declare function SelectionCheckbox({
|
|
694
|
-
alwaysVisible
|
|
695
|
-
}: {
|
|
513
|
+
declare function SelectionCheckbox({ alwaysVisible }: {
|
|
696
514
|
alwaysVisible?: boolean;
|
|
697
|
-
}):
|
|
515
|
+
}): import("react").JSX.Element;
|
|
698
516
|
//#endregion
|
|
699
517
|
//#region src/Sidebar.d.ts
|
|
700
|
-
declare function Sidebar({
|
|
701
|
-
children
|
|
702
|
-
}: {
|
|
518
|
+
declare function Sidebar({ children }: {
|
|
703
519
|
children: React.ReactNode;
|
|
704
|
-
}):
|
|
705
|
-
declare function SidebarContent({
|
|
706
|
-
id,
|
|
707
|
-
children,
|
|
708
|
-
className,
|
|
709
|
-
padding
|
|
710
|
-
}: {
|
|
520
|
+
}): import("react").JSX.Element;
|
|
521
|
+
declare function SidebarContent({ id, children, className, padding }: {
|
|
711
522
|
id?: string;
|
|
712
523
|
children: React.ReactNode;
|
|
713
524
|
className?: string;
|
|
714
525
|
padding?: boolean;
|
|
715
|
-
}):
|
|
526
|
+
}): import("react").JSX.Element;
|
|
716
527
|
interface SidebarHeaderProps {
|
|
717
528
|
actions?: Array<{
|
|
718
529
|
id?: string;
|
|
@@ -726,7 +537,7 @@ interface SidebarHeaderProps {
|
|
|
726
537
|
title: string | InternationalString;
|
|
727
538
|
customActions?: React.ReactNode;
|
|
728
539
|
}
|
|
729
|
-
declare function SidebarHeader(props: SidebarHeaderProps):
|
|
540
|
+
declare function SidebarHeader(props: SidebarHeaderProps): import("react").JSX.Element;
|
|
730
541
|
//#endregion
|
|
731
542
|
//#region src/SidebarTabs.d.ts
|
|
732
543
|
interface SidebarTabsProps {
|
|
@@ -744,54 +555,30 @@ interface SidebarTabsProps {
|
|
|
744
555
|
type: string;
|
|
745
556
|
};
|
|
746
557
|
}
|
|
747
|
-
declare function SidebarTabs({
|
|
748
|
-
menu,
|
|
749
|
-
menuId,
|
|
750
|
-
selectedKey,
|
|
751
|
-
onSelectionChange
|
|
752
|
-
}: SidebarTabsProps): react_jsx_runtime0.JSX.Element;
|
|
558
|
+
declare function SidebarTabs({ menu, menuId, selectedKey, onSelectionChange }: SidebarTabsProps): import("react").JSX.Element;
|
|
753
559
|
//#endregion
|
|
754
560
|
//#region src/Spinner.d.ts
|
|
755
|
-
declare function Spinner(props:
|
|
561
|
+
declare function Spinner(props: React$2.SVGProps<SVGSVGElement>): React$2.JSX.Element;
|
|
756
562
|
//#endregion
|
|
757
563
|
//#region src/SvgControlBar.d.ts
|
|
758
|
-
declare function SvgControlBar({
|
|
759
|
-
helper,
|
|
760
|
-
showShapes
|
|
761
|
-
}: {
|
|
564
|
+
declare function SvgControlBar({ helper, showShapes }: {
|
|
762
565
|
helper: ReturnType<typeof createHelper>;
|
|
763
566
|
state: any;
|
|
764
567
|
showShapes: any;
|
|
765
|
-
}):
|
|
568
|
+
}): import("react").JSX.Element;
|
|
766
569
|
//#endregion
|
|
767
570
|
//#region src/Tabs.d.ts
|
|
768
|
-
declare function Tabs({
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
}: TabsProps): react_jsx_runtime0.JSX.Element;
|
|
773
|
-
declare function TabList<T extends object>({
|
|
774
|
-
className,
|
|
775
|
-
children,
|
|
776
|
-
...props
|
|
777
|
-
}: TabListProps<T>): react_jsx_runtime0.JSX.Element;
|
|
778
|
-
declare function Tab({
|
|
779
|
-
className,
|
|
780
|
-
children,
|
|
781
|
-
...props
|
|
782
|
-
}: TabProps): react_jsx_runtime0.JSX.Element;
|
|
783
|
-
declare function TabPanel({
|
|
784
|
-
className,
|
|
785
|
-
children,
|
|
786
|
-
...props
|
|
787
|
-
}: TabPanelProps): react_jsx_runtime0.JSX.Element;
|
|
571
|
+
declare function Tabs({ className, children, ...props }: TabsProps): import("react").JSX.Element;
|
|
572
|
+
declare function TabList<T extends object>({ className, children, ...props }: TabListProps<T>): import("react").JSX.Element;
|
|
573
|
+
declare function Tab({ className, children, ...props }: TabProps): import("react").JSX.Element;
|
|
574
|
+
declare function TabPanel({ className, children, ...props }: TabPanelProps): import("react").JSX.Element;
|
|
788
575
|
//#endregion
|
|
789
576
|
//#region src/ThumbnailGridContainer.d.ts
|
|
790
577
|
declare function ThumbnailGridContainer(props: {
|
|
791
578
|
size?: 'grid-sm' | 'grid-md' | 'grid-lg';
|
|
792
579
|
children: React.ReactNode;
|
|
793
580
|
wide?: boolean;
|
|
794
|
-
}):
|
|
581
|
+
}): import("react").JSX.Element;
|
|
795
582
|
//#endregion
|
|
796
583
|
//#region src/Tooltip.d.ts
|
|
797
584
|
interface TooltipOptions {
|
|
@@ -800,35 +587,27 @@ interface TooltipOptions {
|
|
|
800
587
|
open?: boolean;
|
|
801
588
|
onOpenChange?: (open: boolean) => void;
|
|
802
589
|
}
|
|
803
|
-
declare function useTooltip({
|
|
804
|
-
initialOpen,
|
|
805
|
-
placement,
|
|
806
|
-
open: controlledOpen,
|
|
807
|
-
onOpenChange: setControlledOpen
|
|
808
|
-
}?: TooltipOptions): {
|
|
590
|
+
declare function useTooltip({ initialOpen, placement, open: controlledOpen, onOpenChange: setControlledOpen }?: TooltipOptions): {
|
|
809
591
|
open: boolean;
|
|
810
592
|
setOpen: (open: boolean) => void;
|
|
811
593
|
} & UseFloatingReturn & UseInteractionsReturn;
|
|
812
|
-
declare function Tooltip({
|
|
813
|
-
children
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
children: react0.ReactNode;
|
|
817
|
-
} & TooltipOptions): react_jsx_runtime0.JSX.Element;
|
|
818
|
-
declare const TooltipTrigger: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLElement> & {
|
|
594
|
+
declare function Tooltip({ children, ...options }: {
|
|
595
|
+
children: React$2.ReactNode;
|
|
596
|
+
} & TooltipOptions): React$2.JSX.Element;
|
|
597
|
+
declare const TooltipTrigger: React$2.ForwardRefExoticComponent<Omit<React$2.HTMLProps<HTMLElement> & {
|
|
819
598
|
asChild?: boolean;
|
|
820
599
|
onPress?: any;
|
|
821
600
|
as?: any;
|
|
822
601
|
$dir?: any;
|
|
823
|
-
}, "ref"> &
|
|
824
|
-
declare const TooltipContent:
|
|
602
|
+
}, "ref"> & React$2.RefAttributes<HTMLElement>>;
|
|
603
|
+
declare const TooltipContent: React$2.ForwardRefExoticComponent<Omit<React$2.HTMLProps<HTMLDivElement> & {
|
|
825
604
|
root?: HTMLElement;
|
|
826
|
-
}, "ref"> &
|
|
605
|
+
}, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
|
|
827
606
|
declare function DefaultTooltipContent(props: {
|
|
828
607
|
className?: string;
|
|
829
608
|
root?: HTMLElement;
|
|
830
|
-
children:
|
|
831
|
-
}):
|
|
609
|
+
children: React$2.ReactNode;
|
|
610
|
+
}): React$2.JSX.Element;
|
|
832
611
|
//#endregion
|
|
833
612
|
//#region src/Toast.d.ts
|
|
834
613
|
type ToastVariant = "info" | "success" | "warning" | "error";
|
|
@@ -847,23 +626,16 @@ interface ToastRegionProps {
|
|
|
847
626
|
className?: string;
|
|
848
627
|
"aria-label"?: string;
|
|
849
628
|
}
|
|
850
|
-
declare function ToastRegion({
|
|
851
|
-
state,
|
|
852
|
-
className,
|
|
853
|
-
"aria-label": ariaLabel
|
|
854
|
-
}: ToastRegionProps): react0.ReactPortal | null;
|
|
629
|
+
declare function ToastRegion({ state, className, "aria-label": ariaLabel }: ToastRegionProps): import("react").ReactPortal | null;
|
|
855
630
|
//#endregion
|
|
856
631
|
//#region src/ViewProvider.d.ts
|
|
857
|
-
declare function ViewProvider({
|
|
858
|
-
resource,
|
|
859
|
-
onPress
|
|
860
|
-
}: {
|
|
632
|
+
declare function ViewProvider({ resource, onPress }: {
|
|
861
633
|
resource: {
|
|
862
634
|
id: string;
|
|
863
635
|
type: string;
|
|
864
636
|
};
|
|
865
637
|
onPress?: () => void;
|
|
866
|
-
}):
|
|
638
|
+
}): import("react").JSX.Element | null;
|
|
867
639
|
//#endregion
|
|
868
640
|
//#region src/WarningMessage.d.ts
|
|
869
641
|
interface WarningMessageProps {
|
|
@@ -871,11 +643,7 @@ interface WarningMessageProps {
|
|
|
871
643
|
small?: boolean;
|
|
872
644
|
className?: string;
|
|
873
645
|
}
|
|
874
|
-
declare function WarningMessage({
|
|
875
|
-
children,
|
|
876
|
-
small,
|
|
877
|
-
className
|
|
878
|
-
}: WarningMessageProps): react_jsx_runtime0.JSX.Element;
|
|
646
|
+
declare function WarningMessage({ children, small, className }: WarningMessageProps): React$1.JSX.Element;
|
|
879
647
|
//#endregion
|
|
880
|
-
export { AccessibilityButton, ActionButton, AddIcon, AddImageIcon, AnnotationPopInIcon, AnnotationPopOutIcon, ArrowRightIcon, AtlasBanner, AudioIcon, BackIcon, BackgroundActionMenuActionButton, BackgroundActionMenuButton, BackgroundActionMenuCogIcon, BackgroundActionMenuDivider, BackgroundActionMenuInfoButton, BackgroundActionMenuInlineAction, BackgroundActionMenuItem, BackgroundActionMenuLabel, BackgroundActionMenuMeta, BackgroundActionMenuPanel, BackgroundActionMenuProgressBar, BackgroundActionMenuRoot, BackgroundActionMenuSection, BackgroundActionMenuStatus, BackgroundActionMenuStatusDot, BackgroundActionMenuText, BackgroundActionMenuTrigger, CanvasThumbnailGridItem, Card3D, CheckIcon, CloseIcon, CollectionIcon, CollectionListItem, ConfirmSelectionButton, ControlButton, CreateCanvasIcon, CreatorGrid, CreatorGridItemProps, DefaultTooltipContent, DeleteForeverIcon, DeleteIcon, DownloadButton, DownloadIcon, EditTextIcon, EmptyCanvasIcon, EmptyState, ErrorMessage, Form, GridIcon, HTMLAnnotationBodyRender, HTMLEditor, HTMLIcon, HandleContainer, IIIFBrowserIcon, IIIFLogo, IIIFMediaPlayer, IIIFMediaPlayerProps, IconButton, IconHandle, ImageListIcon, InfoIcon, InfoMessage, ItemWithHandle, LazyThumbnail, ListEditIcon, ListResizeDragHandle, ListingIcon, MDXEditor, ManifestEditorLogo, ManifestIcon, ManifestListItem, ManifestOverviewEmptyState, MetadataContainer, Modal, ModalBackSlot, ModalProps, MoreMenu, MoreMenuButton, MoreMenuIcon, OnboardingTour, OpaqueControls, PaddedSidebarContainer, PanelSideMenu, PreviewIcon, RangesIcon, RenderTextualContent, ResetIcon, ResizeHandle, ResizeHandleIcon, ScaledImageIcon, SelectionCheckbox, Sidebar, SidebarContent, SidebarHeader, SidebarTabs, Spinner, SvgControlBar, Tab, TabList, TabPanel, Tabs, TargetIcon, TextIcon, ThumbnailGridContainer, ToastContent, ToastRegion, ToastRegionProps, ToastVariant, Tooltip, TooltipContent, TooltipTrigger, VideoIcon, ViewProvider, WarningMessage, YouTubeIcon, createDownload, useFastList, useGridOptions, useLoadMoreItems, useLocalStorage, useOptionalLocalStorage, useTooltip };
|
|
648
|
+
export { AccessibilityButton, ActionButton, AddIcon, AddImageIcon, AnnotationPopInIcon, AnnotationPopOutIcon, ArrowRightIcon, AtlasBanner, AudioIcon, BackIcon, BackgroundActionMenuActionButton, BackgroundActionMenuButton, BackgroundActionMenuCogIcon, BackgroundActionMenuDivider, BackgroundActionMenuInfoButton, BackgroundActionMenuInlineAction, BackgroundActionMenuItem, BackgroundActionMenuLabel, BackgroundActionMenuMeta, BackgroundActionMenuPanel, BackgroundActionMenuProgressBar, BackgroundActionMenuRoot, BackgroundActionMenuSection, BackgroundActionMenuStatus, BackgroundActionMenuStatusDot, BackgroundActionMenuText, BackgroundActionMenuTrigger, CanvasThumbnailGridItem, Card3D, CheckIcon, CloseIcon, CollectionIcon, CollectionListItem, ConfirmSelectionButton, ControlButton, CreateCanvasIcon, CreatorGrid, CreatorGridItemProps, DefaultTooltipContent, DeleteForeverIcon, DeleteIcon, DownloadButton, DownloadIcon, EditTextIcon, EmptyCanvasIcon, EmptyState, ErrorMessage, Form, GridIcon, HTMLAnnotationBodyRender, HTMLEditor, HTMLIcon, HandleContainer, IIIFBrowserIcon, IIIFLogo, IIIFMediaPlayer, IIIFMediaPlayerProps, IconButton, IconHandle, ImageListIcon, InfoIcon, InfoMessage, ItemWithHandle, LazyThumbnail, ListEditIcon, ListResizeDragHandle, ListingIcon, MDXEditor, ManifestEditorLogo, ManifestIcon, ManifestListItem, ManifestOverviewEmptyState, MetadataContainer, Modal, ModalBackSlot, ModalProps, MoreMenu, MoreMenuButton, MoreMenuIcon, OnboardingTour, OpaqueControls, PaddedSidebarContainer, PanelSideMenu, PreviewIcon, RangesIcon, RenderTextualContent, ResetIcon, ResizeHandle, ResizeHandleIcon, ScaledImageIcon, SelectionCheckbox, Sidebar, SidebarContent, SidebarHeader, SidebarTabs, Spinner, SvgControlBar, Tab, TabList, TabPanel, Tabs, TargetIcon, TextIcon, ThumbnailGridContainer, ThumbnailRegion, ToastContent, ToastRegion, ToastRegionProps, ToastVariant, Tooltip, TooltipContent, TooltipTrigger, VideoIcon, ViewProvider, WarningMessage, YouTubeIcon, createDownload, getImageApiRegion, getImageApiRotation, getRegionIntersection, imageUrlWithRegion, imageUrlWithTransform, paintingAnnotationTargetsCanvas, shouldUseComplexCanvasThumbnail, useCanvasRenderingStrategy, useFastList, useGridOptions, useLoadMoreItems, useLocalStorage, useOptionalLocalStorage, useTooltip };
|
|
881
649
|
//# sourceMappingURL=index.d.cts.map
|