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