@manifest-editor/components 1.4.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -2188
- package/dist/index.css +6 -1801
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +735 -363
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +740 -363
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -2204
- package/dist/index.js.map +1 -0
- package/dist/lib-7rNuVt0m.cjs +1 -0
- package/dist/lib-B2FE6TzQ.js +1 -0
- package/dist/lib-BqGWq3P8.css +291 -0
- package/dist/lib-D-SwZ1Sg.css +293 -0
- package/dist/lib-D-SwZ1Sg.css.map +1 -0
- package/dist/lib.cjs +1 -0
- package/dist/lib.css +293 -0
- package/dist/lib.css.map +1 -0
- package/dist/lib.js +1 -0
- package/package.json +33 -25
package/dist/index.d.ts
CHANGED
|
@@ -1,380 +1,757 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { ButtonProps, LabelProps, TabListProps, TabPanelProps, TabProps, TabsProps } from "react-aria-components";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { TextualContentStrategy } from "react-iiif-vault";
|
|
4
|
+
import * as react0 from "react";
|
|
5
|
+
import React$1, { DetailedHTMLProps, ForwardedRef, ReactNode, SVGProps } from "react";
|
|
6
|
+
import { Placement, UseInteractionsReturn } from "@floating-ui/react";
|
|
7
|
+
import "@mdxeditor/editor/style.css";
|
|
8
|
+
import { MDXEditorMethods, MDXEditorProps } from "@mdxeditor/editor";
|
|
9
|
+
import "@vidstack/react/player/styles/base.css";
|
|
10
|
+
import "@vidstack/react/player/styles/default/theme.css";
|
|
11
|
+
import "@vidstack/react/player/styles/default/captions.css";
|
|
12
|
+
import "@vidstack/react/player/styles/default/layouts/video.css";
|
|
13
|
+
import { Step } from "react-joyride";
|
|
14
|
+
import { InternationalString } from "@iiif/presentation-3";
|
|
15
|
+
import * as _floating_ui_react_dom0 from "@floating-ui/react-dom";
|
|
16
|
+
import { Placement as Placement$1, UseFloatingReturn } from "@floating-ui/react-dom";
|
|
17
|
+
import { createHelper } from "polygon-editor";
|
|
18
|
+
|
|
19
|
+
//#region src/AccessibilityButton.d.ts
|
|
20
|
+
declare function AccessibilityButton({
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
...props
|
|
24
|
+
}: ButtonProps & {
|
|
25
|
+
className?: string;
|
|
26
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/ActionButton.d.ts
|
|
29
|
+
declare function ActionButton({
|
|
30
|
+
className,
|
|
31
|
+
primary,
|
|
32
|
+
center,
|
|
33
|
+
large,
|
|
34
|
+
onDark,
|
|
35
|
+
children,
|
|
36
|
+
...props
|
|
37
|
+
}: {
|
|
38
|
+
primary?: boolean;
|
|
39
|
+
onDark?: boolean;
|
|
40
|
+
center?: boolean;
|
|
41
|
+
large?: boolean;
|
|
42
|
+
} & ButtonProps): react_jsx_runtime0.JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/AtlasBanner.d.ts
|
|
45
|
+
declare function AtlasBanner({
|
|
46
|
+
children,
|
|
47
|
+
controlsId
|
|
48
|
+
}: {
|
|
49
|
+
controlsId: string;
|
|
50
|
+
children: ReactNode;
|
|
51
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region src/CanvasThumbnailGridItem.d.ts
|
|
54
|
+
interface CanvasThumbnailGridItemProps {
|
|
55
|
+
onClick?: () => void;
|
|
56
|
+
id: string;
|
|
57
|
+
selected?: boolean;
|
|
58
|
+
active?: boolean;
|
|
59
|
+
className?: string;
|
|
60
|
+
icon?: React.ReactNode;
|
|
61
|
+
hideLabel?: boolean;
|
|
62
|
+
containerProps?: any;
|
|
63
|
+
dragState?: any;
|
|
64
|
+
customLabel?: (opts: {
|
|
65
|
+
className: string;
|
|
66
|
+
children: InternationalString;
|
|
67
|
+
}) => React.ReactNode;
|
|
40
68
|
}
|
|
41
|
-
declare function
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
69
|
+
declare function CanvasThumbnailGridItem(props: CanvasThumbnailGridItemProps): react_jsx_runtime0.JSX.Element;
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/Card3D.d.ts
|
|
72
|
+
declare function Card3D({
|
|
73
|
+
className,
|
|
74
|
+
shouldTranslate,
|
|
75
|
+
children,
|
|
76
|
+
...props
|
|
77
|
+
}: {
|
|
78
|
+
shouldTranslate?: boolean;
|
|
79
|
+
} & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/CollectionListItem.d.ts
|
|
82
|
+
declare function CollectionListItem({
|
|
83
|
+
isActive,
|
|
84
|
+
onAction
|
|
85
|
+
}: {
|
|
86
|
+
isActive: boolean;
|
|
87
|
+
onAction: () => void;
|
|
88
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/ConfirmSelectionButton.d.ts
|
|
91
|
+
declare function ConfirmSelectionButton({
|
|
92
|
+
onPress,
|
|
93
|
+
children
|
|
94
|
+
}: {
|
|
95
|
+
onPress: () => void;
|
|
96
|
+
children: ReactNode;
|
|
97
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/ControlButton.d.ts
|
|
100
|
+
declare function ControlButton({
|
|
101
|
+
children,
|
|
102
|
+
className,
|
|
103
|
+
...props
|
|
104
|
+
}: React.PropsWithChildren<React.ButtonHTMLAttributes<HTMLButtonElement>>): react_jsx_runtime0.JSX.Element;
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/CreatorGrid.d.ts
|
|
107
|
+
declare function CreatorGrid(props: {
|
|
108
|
+
label: string;
|
|
109
|
+
items: CreatorGridItemProps[];
|
|
110
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
111
|
+
interface CreatorGridItemProps {
|
|
112
|
+
id: string;
|
|
113
|
+
icon: ReactNode;
|
|
114
|
+
title: string;
|
|
115
|
+
description: string;
|
|
116
|
+
onClick: () => void;
|
|
53
117
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
interface
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/DownloadButton.d.ts
|
|
120
|
+
interface DownloadButtonProps {
|
|
121
|
+
getData: () => any;
|
|
122
|
+
fileName: string;
|
|
123
|
+
id?: string;
|
|
124
|
+
fileType?: string;
|
|
125
|
+
label?: string;
|
|
61
126
|
}
|
|
62
|
-
declare function
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
declare function
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
127
|
+
declare function DownloadButton({
|
|
128
|
+
label,
|
|
129
|
+
id: _id,
|
|
130
|
+
getData,
|
|
131
|
+
fileName,
|
|
132
|
+
fileType
|
|
133
|
+
}: DownloadButtonProps): react_jsx_runtime0.JSX.Element;
|
|
134
|
+
declare function createDownload(data: any, fileName: string, fileType?: string): void;
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/EmptyState.d.ts
|
|
137
|
+
declare function EmptyState(props: {
|
|
138
|
+
children: React.ReactNode;
|
|
139
|
+
$noMargin?: boolean;
|
|
140
|
+
$box?: boolean;
|
|
141
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/ErrorMessage.d.ts
|
|
144
|
+
interface ErrorMessageProps {
|
|
145
|
+
children: React$1.ReactNode;
|
|
146
|
+
small?: boolean;
|
|
147
|
+
className?: string;
|
|
148
|
+
}
|
|
149
|
+
declare function ErrorMessage({
|
|
150
|
+
children,
|
|
151
|
+
small,
|
|
152
|
+
className
|
|
153
|
+
}: ErrorMessageProps): react_jsx_runtime0.JSX.Element;
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/Forms.d.ts
|
|
156
|
+
declare function MeLabel({
|
|
157
|
+
className,
|
|
158
|
+
...props
|
|
159
|
+
}: LabelProps): react_jsx_runtime0.JSX.Element;
|
|
160
|
+
declare function MeRadioGroup({
|
|
161
|
+
className,
|
|
162
|
+
...props
|
|
163
|
+
}: any): react_jsx_runtime0.JSX.Element;
|
|
164
|
+
declare function MeRadio({
|
|
165
|
+
className,
|
|
166
|
+
...props
|
|
167
|
+
}: any): react_jsx_runtime0.JSX.Element;
|
|
168
|
+
declare function MeForm({
|
|
169
|
+
className,
|
|
170
|
+
...props
|
|
171
|
+
}: any): react_jsx_runtime0.JSX.Element;
|
|
172
|
+
declare function MeInput({
|
|
173
|
+
className,
|
|
174
|
+
...props
|
|
175
|
+
}: any): react_jsx_runtime0.JSX.Element;
|
|
176
|
+
declare function MeTextArea({
|
|
177
|
+
className,
|
|
178
|
+
...props
|
|
179
|
+
}: any): react_jsx_runtime0.JSX.Element;
|
|
180
|
+
declare function MeInputContainer({
|
|
181
|
+
horizontal,
|
|
182
|
+
className,
|
|
183
|
+
...props
|
|
184
|
+
}: React.HTMLProps<HTMLDivElement> & {
|
|
185
|
+
horizontal?: boolean;
|
|
186
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
187
|
+
declare const Form: {
|
|
188
|
+
Input: typeof MeInput;
|
|
189
|
+
Form: typeof MeForm;
|
|
190
|
+
Label: typeof MeLabel;
|
|
191
|
+
InputContainer: typeof MeInputContainer;
|
|
192
|
+
RadioGroup: typeof MeRadioGroup;
|
|
193
|
+
Radio: typeof MeRadio;
|
|
194
|
+
TextArea: typeof MeTextArea;
|
|
195
|
+
};
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region src/HandleContainer.d.ts
|
|
198
|
+
declare const HandleContainer: react0.ForwardRefExoticComponent<react0.HTMLAttributes<HTMLDivElement> & react0.RefAttributes<HTMLDivElement>>;
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/HTMLAnnotationBodyRender.d.ts
|
|
201
|
+
declare function HTMLAnnotationBodyRender({
|
|
202
|
+
className,
|
|
203
|
+
locale
|
|
204
|
+
}: {
|
|
205
|
+
className?: string;
|
|
206
|
+
locale?: string;
|
|
207
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region src/HTMLEditor.d.ts
|
|
210
|
+
declare function HTMLEditor({
|
|
211
|
+
className,
|
|
212
|
+
value,
|
|
213
|
+
onChange,
|
|
214
|
+
disabled
|
|
215
|
+
}: {
|
|
216
|
+
className?: string;
|
|
217
|
+
value: string;
|
|
218
|
+
disabled?: boolean;
|
|
219
|
+
onChange: (text: string) => void;
|
|
220
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/hooks/use-fast-list.d.ts
|
|
223
|
+
declare function useFastList<T>(list: undefined | T[], firstRender?: number): T[];
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/hooks/use-grid-options.d.ts
|
|
226
|
+
declare function useGridOptions(name?: string, options?: {
|
|
227
|
+
defaultGridSize?: "grid-sm" | "grid-md" | "grid-lg";
|
|
228
|
+
onDark?: boolean;
|
|
229
|
+
}): readonly [{
|
|
230
|
+
readonly size: "grid-sm" | "grid-md" | "grid-lg";
|
|
231
|
+
}, react_jsx_runtime0.JSX.Element];
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/hooks/use-local-storage.d.ts
|
|
234
|
+
declare function useOptionalLocalStorage<T>(key: string, initialValue?: T, disabled?: boolean): readonly [T | undefined, react0.Dispatch<react0.SetStateAction<T | undefined>>] | readonly [T, (value: T | ((prev: T) => T)) => void];
|
|
235
|
+
declare function useLocalStorage<T>(key: string, initialValue?: T): readonly [T, (value: ((prev: T) => T) | T) => void, react0.MutableRefObject<string | undefined>];
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/hooks/use-load-more-items.d.ts
|
|
238
|
+
declare function useLoadMoreItems<T extends object>(items: T[], options: {
|
|
239
|
+
batchSize: number;
|
|
240
|
+
}): readonly [T[], {
|
|
241
|
+
readonly intersector: react_jsx_runtime0.JSX.Element | null;
|
|
242
|
+
readonly loadMore: () => void;
|
|
243
|
+
readonly isFullyLoaded: boolean;
|
|
244
|
+
readonly reset: () => void;
|
|
245
|
+
}];
|
|
246
|
+
//#endregion
|
|
247
|
+
//#region src/IconButton.d.ts
|
|
248
|
+
declare function IconButton({
|
|
249
|
+
children,
|
|
250
|
+
active,
|
|
251
|
+
label,
|
|
252
|
+
disabled,
|
|
253
|
+
onPress,
|
|
254
|
+
root,
|
|
255
|
+
className,
|
|
256
|
+
placement
|
|
257
|
+
}: {
|
|
258
|
+
children: React.ReactNode;
|
|
259
|
+
onPress?: () => void;
|
|
260
|
+
className?: string;
|
|
261
|
+
active?: boolean;
|
|
262
|
+
disabled?: boolean;
|
|
263
|
+
label: string;
|
|
264
|
+
placement?: Placement$1;
|
|
265
|
+
root?: HTMLElement;
|
|
266
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
267
|
+
//#endregion
|
|
268
|
+
//#region src/IconHandle.d.ts
|
|
269
|
+
declare const IconHandle: react0.ForwardRefExoticComponent<ButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
270
|
+
//#endregion
|
|
271
|
+
//#region src/IIIFMediaPlayer.d.ts
|
|
272
|
+
interface IIIFMediaPlayerProps {
|
|
273
|
+
canvas: {
|
|
117
274
|
id: string;
|
|
118
|
-
|
|
119
|
-
|
|
275
|
+
};
|
|
276
|
+
media: {
|
|
277
|
+
duration: number;
|
|
278
|
+
format: string;
|
|
279
|
+
url: string;
|
|
280
|
+
};
|
|
281
|
+
captions?: any[];
|
|
282
|
+
poster?: string;
|
|
283
|
+
startTime?: number;
|
|
284
|
+
language?: string;
|
|
120
285
|
}
|
|
121
|
-
declare function
|
|
122
|
-
|
|
286
|
+
declare function IIIFMediaPlayer(props: IIIFMediaPlayerProps): react_jsx_runtime0.JSX.Element;
|
|
287
|
+
//#endregion
|
|
288
|
+
//#region src/InfoMessage.d.ts
|
|
289
|
+
interface InfoMessageProps {
|
|
290
|
+
children: React$1.ReactNode;
|
|
291
|
+
small?: boolean;
|
|
292
|
+
className?: string;
|
|
293
|
+
}
|
|
294
|
+
declare function InfoMessage({
|
|
295
|
+
children,
|
|
296
|
+
small,
|
|
297
|
+
className
|
|
298
|
+
}: InfoMessageProps): react_jsx_runtime0.JSX.Element;
|
|
299
|
+
//#endregion
|
|
300
|
+
//#region src/ItemWithHandle.d.ts
|
|
301
|
+
declare function ItemWithHandle({
|
|
302
|
+
children,
|
|
303
|
+
handle,
|
|
304
|
+
actions,
|
|
305
|
+
grid
|
|
306
|
+
}: {
|
|
307
|
+
grid?: boolean;
|
|
308
|
+
children: React.ReactNode;
|
|
309
|
+
handle: React.ReactNode;
|
|
310
|
+
actions?: React.ReactNode;
|
|
311
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
312
|
+
//#endregion
|
|
313
|
+
//#region src/icons/AddIcon.d.ts
|
|
314
|
+
declare function AddIcon({
|
|
315
|
+
className,
|
|
316
|
+
inline,
|
|
317
|
+
height,
|
|
318
|
+
color
|
|
319
|
+
}: {
|
|
320
|
+
inline?: boolean;
|
|
321
|
+
height?: number;
|
|
322
|
+
className?: string;
|
|
323
|
+
color?: string;
|
|
324
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
325
|
+
//#endregion
|
|
326
|
+
//#region src/icons/AddImageIcon.d.ts
|
|
327
|
+
declare const AddImageIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
328
|
+
//#endregion
|
|
329
|
+
//#region src/icons/AnnotationPopInIcon.d.ts
|
|
330
|
+
declare function AnnotationPopInIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/icons/AnnotationPopOutIcon.d.ts
|
|
333
|
+
declare function AnnotationPopOutIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region src/icons/AudioIcon.d.ts
|
|
336
|
+
declare const AudioIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/icons/BackIcon.d.ts
|
|
339
|
+
declare function BackIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
340
|
+
//#endregion
|
|
341
|
+
//#region src/icons/CheckIcon.d.ts
|
|
342
|
+
declare function CheckIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
343
|
+
//#endregion
|
|
344
|
+
//#region src/icons/CollectionIcon.d.ts
|
|
345
|
+
declare function CollectionIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
346
|
+
//#endregion
|
|
347
|
+
//#region src/icons/CreateCanvasIcon.d.ts
|
|
348
|
+
declare function CreateCanvasIcon(): react_jsx_runtime0.JSX.Element;
|
|
349
|
+
//#endregion
|
|
350
|
+
//#region src/icons/DeleteForeverIcon.d.ts
|
|
351
|
+
declare function DeleteForeverIcon(props: react0.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
352
|
+
//#endregion
|
|
353
|
+
//#region src/icons/DeleteIcon.d.ts
|
|
354
|
+
declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region src/icons/DownloadIcon.d.ts
|
|
357
|
+
declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region src/icons/EditTextIcon.d.ts
|
|
360
|
+
declare function EditTextIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
361
|
+
//#endregion
|
|
362
|
+
//#region src/icons/EmptyCanvasIcon.d.ts
|
|
363
|
+
declare const EmptyCanvasIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
364
|
+
//#endregion
|
|
365
|
+
//#region src/icons/GridIcon.d.ts
|
|
366
|
+
declare function GridIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region src/icons/HTMLIcon.d.ts
|
|
369
|
+
declare const HTMLIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region src/icons/IIIFBrowserIcon.d.ts
|
|
372
|
+
declare const IIIFBrowserIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region src/icons/IIIFLogo.d.ts
|
|
375
|
+
declare const IIIFLogo: ({
|
|
376
|
+
mono,
|
|
377
|
+
...props
|
|
378
|
+
}: SVGProps<SVGSVGElement> & {
|
|
379
|
+
mono?: boolean;
|
|
380
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
381
|
+
//#endregion
|
|
382
|
+
//#region src/icons/ImageListIcon.d.ts
|
|
383
|
+
declare function ImageListIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
384
|
+
//#endregion
|
|
385
|
+
//#region src/icons/InfoIcon.d.ts
|
|
386
|
+
declare function InfoIcon({
|
|
387
|
+
title,
|
|
388
|
+
titleId,
|
|
389
|
+
...props
|
|
390
|
+
}: SVGProps<SVGSVGElement> & {
|
|
391
|
+
title?: string;
|
|
392
|
+
titleId?: string;
|
|
393
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
394
|
+
//#endregion
|
|
395
|
+
//#region src/icons/ListEditIcon.d.ts
|
|
396
|
+
declare function ListEditIcon({
|
|
397
|
+
title,
|
|
398
|
+
titleId,
|
|
399
|
+
...props
|
|
400
|
+
}: SVGProps<SVGSVGElement> & {
|
|
401
|
+
title?: string;
|
|
402
|
+
titleId?: string;
|
|
403
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
404
|
+
//#endregion
|
|
405
|
+
//#region src/icons/ListingIcon.d.ts
|
|
406
|
+
declare function ListingIcon({
|
|
407
|
+
title,
|
|
408
|
+
titleId,
|
|
409
|
+
...props
|
|
410
|
+
}: SVGProps<SVGSVGElement> & {
|
|
411
|
+
title?: string;
|
|
412
|
+
titleId?: string;
|
|
413
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region src/icons/ManifestIcon.d.ts
|
|
416
|
+
declare function ManifestIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
417
|
+
//#endregion
|
|
418
|
+
//#region src/icons/MoreMenu.d.ts
|
|
419
|
+
declare function MoreMenu(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
420
|
+
declare const MoreMenuIcon: typeof MoreMenu;
|
|
421
|
+
//#endregion
|
|
422
|
+
//#region src/icons/PreviewIcon.d.ts
|
|
423
|
+
declare function PreviewIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
424
|
+
//#endregion
|
|
425
|
+
//#region src/icons/RangesIcon.d.ts
|
|
426
|
+
declare function RangesIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
427
|
+
//#endregion
|
|
428
|
+
//#region src/icons/ResetIcon.d.ts
|
|
429
|
+
declare function ResetIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
430
|
+
//#endregion
|
|
431
|
+
//#region src/icons/ResizeHandleIcon.d.ts
|
|
432
|
+
declare function ResizeHandleIcon({
|
|
433
|
+
title,
|
|
434
|
+
...props
|
|
435
|
+
}: SVGProps<SVGSVGElement> & {
|
|
436
|
+
title?: string;
|
|
437
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
438
|
+
//#endregion
|
|
439
|
+
//#region src/icons/ScaledImageIcon.d.ts
|
|
440
|
+
declare function ScaledImageIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
441
|
+
//#endregion
|
|
442
|
+
//#region src/icons/TargetIcon.d.ts
|
|
443
|
+
declare function TargetIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
444
|
+
//#endregion
|
|
445
|
+
//#region src/icons/TextIcon.d.ts
|
|
446
|
+
declare function TextIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
447
|
+
//#endregion
|
|
448
|
+
//#region src/icons/VideoIcon.d.ts
|
|
449
|
+
declare const VideoIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
450
|
+
//#endregion
|
|
451
|
+
//#region src/icons/YouTubeIcon.d.ts
|
|
452
|
+
declare const YouTubeIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime0.JSX.Element;
|
|
453
|
+
//#endregion
|
|
454
|
+
//#region src/LazyThumbnail.d.ts
|
|
455
|
+
declare function LazyThumbnail({
|
|
456
|
+
cover,
|
|
457
|
+
fade
|
|
458
|
+
}: {
|
|
459
|
+
cover?: boolean;
|
|
460
|
+
fade?: boolean;
|
|
461
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
462
|
+
//#endregion
|
|
463
|
+
//#region src/ListResizeDragHandle.d.ts
|
|
464
|
+
declare function ListResizeDragHandle(): react_jsx_runtime0.JSX.Element;
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/ManifestEditorLogo.d.ts
|
|
467
|
+
declare function ManifestEditorLogo(props: SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
468
|
+
//#endregion
|
|
469
|
+
//#region src/ManifestListItem.d.ts
|
|
470
|
+
declare function ManifestListItem({
|
|
471
|
+
isActive,
|
|
472
|
+
onAction
|
|
473
|
+
}: {
|
|
474
|
+
isActive: boolean;
|
|
475
|
+
onAction: () => void;
|
|
476
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
477
|
+
//#endregion
|
|
478
|
+
//#region src/ManifestOverviewEmptyState.d.ts
|
|
479
|
+
declare function ManifestOverviewEmptyState({
|
|
480
|
+
onCreate,
|
|
481
|
+
canCreate
|
|
482
|
+
}: {
|
|
483
|
+
onCreate: () => void;
|
|
484
|
+
canCreate: boolean;
|
|
485
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region src/MDXEditor.d.ts
|
|
488
|
+
declare function MDXEditor({
|
|
489
|
+
editorRef,
|
|
490
|
+
...props
|
|
491
|
+
}: {
|
|
492
|
+
editorRef?: ForwardedRef<MDXEditorMethods> | null;
|
|
493
|
+
} & MDXEditorProps): react_jsx_runtime0.JSX.Element;
|
|
494
|
+
//#endregion
|
|
495
|
+
//#region src/MetadataContainer.d.ts
|
|
496
|
+
declare function MetadataContainer({
|
|
497
|
+
className,
|
|
498
|
+
label,
|
|
499
|
+
children,
|
|
500
|
+
...props
|
|
501
|
+
}: {
|
|
502
|
+
label: InternationalString | null;
|
|
503
|
+
} & React.HTMLAttributes<HTMLFieldSetElement>): react_jsx_runtime0.JSX.Element;
|
|
504
|
+
//#endregion
|
|
505
|
+
//#region src/Modal.d.ts
|
|
123
506
|
interface ModalProps {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
507
|
+
id?: string;
|
|
508
|
+
title: string | React.ReactNode;
|
|
509
|
+
onClose: () => void;
|
|
510
|
+
className?: string;
|
|
511
|
+
open?: boolean;
|
|
512
|
+
width?: number | string;
|
|
513
|
+
height?: number | string;
|
|
514
|
+
children: React.ReactNode;
|
|
515
|
+
actions?: React.ReactNode;
|
|
132
516
|
}
|
|
133
|
-
declare function ModalBackSlot({
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
declare function
|
|
139
|
-
|
|
517
|
+
declare function ModalBackSlot({
|
|
518
|
+
children
|
|
519
|
+
}: {
|
|
520
|
+
children: React.ReactNode;
|
|
521
|
+
}): react0.ReactPortal | null;
|
|
522
|
+
declare function Modal({
|
|
523
|
+
id,
|
|
524
|
+
className,
|
|
525
|
+
title,
|
|
526
|
+
open,
|
|
527
|
+
onClose,
|
|
528
|
+
actions,
|
|
529
|
+
children
|
|
530
|
+
}: ModalProps): react_jsx_runtime0.JSX.Element;
|
|
531
|
+
//#endregion
|
|
532
|
+
//#region src/MoreMenuButton.d.ts
|
|
533
|
+
declare function MoreMenuButton(): react_jsx_runtime0.JSX.Element;
|
|
534
|
+
//#endregion
|
|
535
|
+
//#region src/OnboardingTour.d.ts
|
|
536
|
+
interface OnboardingTourProps {
|
|
537
|
+
id: string;
|
|
538
|
+
steps: Step[];
|
|
539
|
+
forceStart?: boolean;
|
|
540
|
+
onClose?: () => void;
|
|
541
|
+
}
|
|
542
|
+
declare function OnboardingTour({
|
|
543
|
+
id,
|
|
544
|
+
steps,
|
|
545
|
+
forceStart,
|
|
546
|
+
onClose
|
|
547
|
+
}: OnboardingTourProps): react_jsx_runtime0.JSX.Element | null;
|
|
548
|
+
//#endregion
|
|
549
|
+
//#region src/OpaqueControls.d.ts
|
|
140
550
|
declare function OpaqueControls(props: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}):
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
declare
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
label: string;
|
|
152
|
-
items: CreatorGridItemProps[];
|
|
153
|
-
}): react_jsx_runtime.JSX.Element;
|
|
154
|
-
interface CreatorGridItemProps {
|
|
551
|
+
children: React.ReactNode;
|
|
552
|
+
active?: boolean;
|
|
553
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
554
|
+
//#endregion
|
|
555
|
+
//#region src/PaddedSidebarContainer.d.ts
|
|
556
|
+
declare const PaddedSidebarContainer: react0.ForwardRefExoticComponent<Omit<DetailedHTMLProps<react0.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react0.RefAttributes<HTMLDivElement>>;
|
|
557
|
+
//#endregion
|
|
558
|
+
//#region src/PanelSideMenu.d.ts
|
|
559
|
+
interface PanelSideMenuProps {
|
|
560
|
+
items: Array<{
|
|
155
561
|
id: string;
|
|
156
|
-
icon: ReactNode;
|
|
157
|
-
|
|
158
|
-
|
|
562
|
+
icon: React.ReactNode;
|
|
563
|
+
label: string;
|
|
564
|
+
divide?: boolean;
|
|
159
565
|
onClick: () => void;
|
|
566
|
+
}>;
|
|
567
|
+
open: boolean;
|
|
568
|
+
current: string | null;
|
|
160
569
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
570
|
+
declare function PanelSideMenu(props: PanelSideMenuProps): react_jsx_runtime0.JSX.Element;
|
|
571
|
+
//#endregion
|
|
572
|
+
//#region src/RenderTextualContent.d.ts
|
|
573
|
+
declare function RenderTextualContent(props: {
|
|
574
|
+
strategy: TextualContentStrategy;
|
|
575
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
576
|
+
//#endregion
|
|
577
|
+
//#region src/ResizeHandle.d.ts
|
|
578
|
+
declare const ResizeHandle: react0.ForwardRefExoticComponent<ButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
579
|
+
//#endregion
|
|
580
|
+
//#region src/SelectionCheckbox.d.ts
|
|
581
|
+
declare function SelectionCheckbox({
|
|
582
|
+
alwaysVisible
|
|
583
|
+
}: {
|
|
584
|
+
alwaysVisible?: boolean;
|
|
585
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
586
|
+
//#endregion
|
|
587
|
+
//#region src/Sidebar.d.ts
|
|
588
|
+
declare function Sidebar({
|
|
589
|
+
children
|
|
590
|
+
}: {
|
|
591
|
+
children: React.ReactNode;
|
|
592
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
593
|
+
declare function SidebarContent({
|
|
594
|
+
id,
|
|
595
|
+
children,
|
|
596
|
+
className,
|
|
597
|
+
padding
|
|
598
|
+
}: {
|
|
599
|
+
id?: string;
|
|
600
|
+
children: React.ReactNode;
|
|
601
|
+
className?: string;
|
|
602
|
+
padding?: boolean;
|
|
603
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
604
|
+
interface SidebarHeaderProps {
|
|
605
|
+
actions?: Array<{
|
|
165
606
|
id?: string;
|
|
166
|
-
|
|
167
|
-
|
|
607
|
+
icon: any;
|
|
608
|
+
onClick?: () => void;
|
|
609
|
+
disabled?: boolean;
|
|
610
|
+
toggled?: boolean;
|
|
611
|
+
title: string;
|
|
612
|
+
menu?: React.ReactNode;
|
|
613
|
+
}>;
|
|
614
|
+
title: string | InternationalString;
|
|
615
|
+
customActions?: React.ReactNode;
|
|
168
616
|
}
|
|
169
|
-
declare function
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
declare function AtlasBanner({ children, controlsId }: {
|
|
173
|
-
controlsId: string;
|
|
174
|
-
children: ReactNode;
|
|
175
|
-
}): react_jsx_runtime.JSX.Element;
|
|
176
|
-
|
|
177
|
-
declare function SvgControlBar({ helper, state, showShapes, }: {
|
|
178
|
-
helper: ReturnType<typeof createHelper>;
|
|
179
|
-
state: any;
|
|
180
|
-
showShapes: any;
|
|
181
|
-
}): react_jsx_runtime.JSX.Element;
|
|
182
|
-
|
|
183
|
-
declare function ConfirmSelectionButton({ onPress, children }: {
|
|
184
|
-
onPress: () => void;
|
|
185
|
-
children: ReactNode;
|
|
186
|
-
}): react_jsx_runtime.JSX.Element;
|
|
187
|
-
|
|
188
|
-
declare function ManifestOverviewEmptyState({ onCreate, canCreate }: {
|
|
189
|
-
onCreate: () => void;
|
|
190
|
-
canCreate: boolean;
|
|
191
|
-
}): react_jsx_runtime.JSX.Element;
|
|
192
|
-
|
|
193
|
-
declare function Card3D({ className, shouldTranslate, children, ...props }: {
|
|
194
|
-
shouldTranslate?: boolean;
|
|
195
|
-
} & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
196
|
-
|
|
617
|
+
declare function SidebarHeader(props: SidebarHeaderProps): react_jsx_runtime0.JSX.Element;
|
|
618
|
+
//#endregion
|
|
619
|
+
//#region src/SidebarTabs.d.ts
|
|
197
620
|
interface SidebarTabsProps {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
label: string;
|
|
202
|
-
renderComponent: () => ReactNode;
|
|
203
|
-
}>;
|
|
204
|
-
selectedKey?: string;
|
|
205
|
-
onSelectionChange?: (key: string) => void;
|
|
206
|
-
isNested?: boolean;
|
|
207
|
-
rootResource?: {
|
|
208
|
-
id: string;
|
|
209
|
-
type: string;
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
declare function SidebarTabs({ menu, menuId, selectedKey, onSelectionChange }: SidebarTabsProps): react_jsx_runtime.JSX.Element;
|
|
213
|
-
|
|
214
|
-
declare function MetadataContainer({ className, label, children, ...props }: {
|
|
215
|
-
label: InternationalString | null;
|
|
216
|
-
} & React.HTMLAttributes<HTMLFieldSetElement>): react_jsx_runtime.JSX.Element;
|
|
217
|
-
|
|
218
|
-
declare function EmptyState(props: {
|
|
219
|
-
children: React.ReactNode;
|
|
220
|
-
$noMargin?: boolean;
|
|
221
|
-
$box?: boolean;
|
|
222
|
-
}): react_jsx_runtime.JSX.Element;
|
|
223
|
-
|
|
224
|
-
declare function ManifestEditorLogo(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
225
|
-
|
|
226
|
-
declare function MeLabel({ className, ...props }: LabelProps): react_jsx_runtime.JSX.Element;
|
|
227
|
-
declare function MeRadioGroup({ className, ...props }: any): react_jsx_runtime.JSX.Element;
|
|
228
|
-
declare function MeRadio({ className, ...props }: any): react_jsx_runtime.JSX.Element;
|
|
229
|
-
declare function MeForm({ className, ...props }: any): react_jsx_runtime.JSX.Element;
|
|
230
|
-
declare function MeInput({ className, ...props }: any): react_jsx_runtime.JSX.Element;
|
|
231
|
-
declare function MeTextArea({ className, ...props }: any): react_jsx_runtime.JSX.Element;
|
|
232
|
-
declare function MeInputContainer({ horizontal, className, ...props }: React.HTMLProps<HTMLDivElement> & {
|
|
233
|
-
horizontal?: boolean;
|
|
234
|
-
}): react_jsx_runtime.JSX.Element;
|
|
235
|
-
declare const Form: {
|
|
236
|
-
Input: typeof MeInput;
|
|
237
|
-
Form: typeof MeForm;
|
|
238
|
-
Label: typeof MeLabel;
|
|
239
|
-
InputContainer: typeof MeInputContainer;
|
|
240
|
-
RadioGroup: typeof MeRadioGroup;
|
|
241
|
-
Radio: typeof MeRadio;
|
|
242
|
-
TextArea: typeof MeTextArea;
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
declare function HTMLEditor({ value, onChange, disabled, }: {
|
|
246
|
-
value: string;
|
|
247
|
-
disabled?: boolean;
|
|
248
|
-
onChange: (text: string) => void;
|
|
249
|
-
}): react_jsx_runtime.JSX.Element;
|
|
250
|
-
|
|
251
|
-
declare function MDXEditor({ editorRef, ...props }: {
|
|
252
|
-
editorRef?: ForwardedRef<MDXEditorMethods> | null;
|
|
253
|
-
} & MDXEditorProps): react_jsx_runtime.JSX.Element;
|
|
254
|
-
|
|
255
|
-
declare function IconButton({ children, active, label, disabled, onPress, root, className, placement, }: {
|
|
256
|
-
children: React.ReactNode;
|
|
257
|
-
onPress?: () => void;
|
|
258
|
-
className?: string;
|
|
259
|
-
active?: boolean;
|
|
260
|
-
disabled?: boolean;
|
|
621
|
+
menuId: string;
|
|
622
|
+
menu: Array<{
|
|
623
|
+
id: string;
|
|
261
624
|
label: string;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}): react_jsx_runtime.JSX.Element;
|
|
272
|
-
|
|
273
|
-
declare const HandleContainer: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
274
|
-
|
|
275
|
-
declare function CollectionListItem({ isActive, onAction }: {
|
|
276
|
-
isActive: boolean;
|
|
277
|
-
onAction: () => void;
|
|
278
|
-
}): react_jsx_runtime.JSX.Element;
|
|
279
|
-
|
|
280
|
-
declare function ManifestListItem({ isActive, onAction }: {
|
|
281
|
-
isActive: boolean;
|
|
282
|
-
onAction: () => void;
|
|
283
|
-
}): react_jsx_runtime.JSX.Element;
|
|
284
|
-
|
|
285
|
-
declare function Spinner(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
286
|
-
|
|
287
|
-
declare function CreateCanvasIcon(): react_jsx_runtime.JSX.Element;
|
|
288
|
-
|
|
289
|
-
declare const AddImageIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
290
|
-
|
|
291
|
-
declare const IIIFLogo: ({ mono, ...props }: SVGProps<SVGSVGElement> & {
|
|
292
|
-
mono?: boolean;
|
|
293
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
294
|
-
|
|
295
|
-
declare const HTMLIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
296
|
-
|
|
297
|
-
declare const IIIFBrowserIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
298
|
-
|
|
299
|
-
declare function InfoIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
|
|
300
|
-
title?: string;
|
|
301
|
-
titleId?: string;
|
|
302
|
-
}): react_jsx_runtime.JSX.Element;
|
|
303
|
-
|
|
304
|
-
declare function ListingIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
|
|
305
|
-
title?: string;
|
|
306
|
-
titleId?: string;
|
|
307
|
-
}): react_jsx_runtime.JSX.Element;
|
|
308
|
-
|
|
309
|
-
declare const YouTubeIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
310
|
-
|
|
311
|
-
declare function ListEditIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
|
|
312
|
-
title?: string;
|
|
313
|
-
titleId?: string;
|
|
314
|
-
}): react_jsx_runtime.JSX.Element;
|
|
315
|
-
|
|
316
|
-
declare const VideoIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
317
|
-
|
|
318
|
-
declare const AudioIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
319
|
-
|
|
320
|
-
declare const EmptyCanvasIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
321
|
-
|
|
322
|
-
declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
323
|
-
|
|
324
|
-
declare function AddIcon({ className, inline, height, color, }: {
|
|
325
|
-
inline?: boolean;
|
|
326
|
-
height?: number;
|
|
327
|
-
className?: string;
|
|
328
|
-
color?: string;
|
|
329
|
-
}): react_jsx_runtime.JSX.Element;
|
|
330
|
-
|
|
331
|
-
declare function DeleteForeverIcon(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
332
|
-
|
|
333
|
-
declare function TextIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
334
|
-
|
|
335
|
-
declare function MoreMenu(): react_jsx_runtime.JSX.Element;
|
|
336
|
-
|
|
337
|
-
declare function ManifestIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
338
|
-
|
|
339
|
-
declare function CollectionIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
340
|
-
|
|
341
|
-
declare function PreviewIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
342
|
-
|
|
343
|
-
declare function ImageListIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
344
|
-
|
|
345
|
-
declare function BackIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
346
|
-
|
|
347
|
-
declare function GridIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
348
|
-
|
|
349
|
-
declare function ScaledImageIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
350
|
-
|
|
351
|
-
interface ErrorMessageProps {
|
|
352
|
-
children: React__default.ReactNode;
|
|
353
|
-
small?: boolean;
|
|
354
|
-
className?: string;
|
|
625
|
+
renderComponent: () => ReactNode;
|
|
626
|
+
}>;
|
|
627
|
+
selectedKey?: string;
|
|
628
|
+
onSelectionChange?: (key: string) => void;
|
|
629
|
+
isNested?: boolean;
|
|
630
|
+
rootResource?: {
|
|
631
|
+
id: string;
|
|
632
|
+
type: string;
|
|
633
|
+
};
|
|
355
634
|
}
|
|
356
|
-
declare function
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
635
|
+
declare function SidebarTabs({
|
|
636
|
+
menu,
|
|
637
|
+
menuId,
|
|
638
|
+
selectedKey,
|
|
639
|
+
onSelectionChange
|
|
640
|
+
}: SidebarTabsProps): react_jsx_runtime0.JSX.Element;
|
|
641
|
+
//#endregion
|
|
642
|
+
//#region src/Spinner.d.ts
|
|
643
|
+
declare function Spinner(props: react0.SVGProps<SVGSVGElement>): react_jsx_runtime0.JSX.Element;
|
|
644
|
+
//#endregion
|
|
645
|
+
//#region src/SvgControlBar.d.ts
|
|
646
|
+
declare function SvgControlBar({
|
|
647
|
+
helper,
|
|
648
|
+
showShapes
|
|
649
|
+
}: {
|
|
650
|
+
helper: ReturnType<typeof createHelper>;
|
|
651
|
+
state: any;
|
|
652
|
+
showShapes: any;
|
|
653
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
654
|
+
//#endregion
|
|
655
|
+
//#region src/Tabs.d.ts
|
|
656
|
+
declare function Tabs({
|
|
657
|
+
className,
|
|
658
|
+
children,
|
|
659
|
+
...props
|
|
660
|
+
}: TabsProps): react_jsx_runtime0.JSX.Element;
|
|
661
|
+
declare function TabList<T extends object>({
|
|
662
|
+
className,
|
|
663
|
+
children,
|
|
664
|
+
...props
|
|
665
|
+
}: TabListProps<T>): react_jsx_runtime0.JSX.Element;
|
|
666
|
+
declare function Tab({
|
|
667
|
+
className,
|
|
668
|
+
children,
|
|
669
|
+
...props
|
|
670
|
+
}: TabProps): react_jsx_runtime0.JSX.Element;
|
|
671
|
+
declare function TabPanel({
|
|
672
|
+
className,
|
|
673
|
+
children,
|
|
674
|
+
...props
|
|
675
|
+
}: TabPanelProps): react_jsx_runtime0.JSX.Element;
|
|
676
|
+
//#endregion
|
|
677
|
+
//#region src/ThumbnailGridContainer.d.ts
|
|
678
|
+
declare function ThumbnailGridContainer(props: {
|
|
679
|
+
size?: 'grid-sm' | 'grid-md' | 'grid-lg';
|
|
680
|
+
children: React.ReactNode;
|
|
681
|
+
wide?: boolean;
|
|
682
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
683
|
+
//#endregion
|
|
684
|
+
//#region src/Tooltip.d.ts
|
|
685
|
+
interface TooltipOptions {
|
|
686
|
+
initialOpen?: boolean;
|
|
687
|
+
placement?: Placement;
|
|
688
|
+
open?: boolean;
|
|
689
|
+
onOpenChange?: (open: boolean) => void;
|
|
377
690
|
}
|
|
378
|
-
declare function
|
|
379
|
-
|
|
380
|
-
|
|
691
|
+
declare function useTooltip({
|
|
692
|
+
initialOpen,
|
|
693
|
+
placement,
|
|
694
|
+
open: controlledOpen,
|
|
695
|
+
onOpenChange: setControlledOpen
|
|
696
|
+
}?: TooltipOptions): {
|
|
697
|
+
open: boolean;
|
|
698
|
+
setOpen: (open: boolean) => void;
|
|
699
|
+
} & UseFloatingReturn & UseInteractionsReturn;
|
|
700
|
+
declare const useTooltipContext: () => {
|
|
701
|
+
open: boolean;
|
|
702
|
+
setOpen: (open: boolean) => void;
|
|
703
|
+
} & {
|
|
704
|
+
placement: Placement;
|
|
705
|
+
strategy: _floating_ui_react_dom0.Strategy;
|
|
706
|
+
middlewareData: _floating_ui_react_dom0.MiddlewareData;
|
|
707
|
+
x: number;
|
|
708
|
+
y: number;
|
|
709
|
+
isPositioned: boolean;
|
|
710
|
+
update: () => void;
|
|
711
|
+
floatingStyles: react0.CSSProperties;
|
|
712
|
+
refs: {
|
|
713
|
+
reference: react0.MutableRefObject<_floating_ui_react_dom0.ReferenceType | null>;
|
|
714
|
+
floating: react0.MutableRefObject<HTMLElement | null>;
|
|
715
|
+
setReference: (node: _floating_ui_react_dom0.ReferenceType | null) => void;
|
|
716
|
+
setFloating: (node: HTMLElement | null) => void;
|
|
717
|
+
};
|
|
718
|
+
elements: {
|
|
719
|
+
reference: _floating_ui_react_dom0.ReferenceType | null;
|
|
720
|
+
floating: HTMLElement | null;
|
|
721
|
+
};
|
|
722
|
+
} & UseInteractionsReturn;
|
|
723
|
+
declare function Tooltip({
|
|
724
|
+
children,
|
|
725
|
+
...options
|
|
726
|
+
}: {
|
|
727
|
+
children: react0.ReactNode;
|
|
728
|
+
} & TooltipOptions): react_jsx_runtime0.JSX.Element;
|
|
729
|
+
declare const TooltipTrigger: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLElement> & {
|
|
730
|
+
asChild?: boolean;
|
|
731
|
+
onPress?: any;
|
|
732
|
+
as?: any;
|
|
733
|
+
$dir?: any;
|
|
734
|
+
}, "ref"> & react0.RefAttributes<HTMLElement>>;
|
|
735
|
+
declare const TooltipContent: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLDivElement> & {
|
|
736
|
+
root?: HTMLElement;
|
|
737
|
+
}, "ref"> & react0.RefAttributes<HTMLDivElement>>;
|
|
738
|
+
declare function DefaultTooltipContent(props: {
|
|
739
|
+
className?: string;
|
|
740
|
+
root?: HTMLElement;
|
|
741
|
+
children: react0.ReactNode;
|
|
742
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
743
|
+
//#endregion
|
|
744
|
+
//#region src/WarningMessage.d.ts
|
|
745
|
+
interface WarningMessageProps {
|
|
746
|
+
children: React$1.ReactNode;
|
|
747
|
+
small?: boolean;
|
|
748
|
+
className?: string;
|
|
749
|
+
}
|
|
750
|
+
declare function WarningMessage({
|
|
751
|
+
children,
|
|
752
|
+
small,
|
|
753
|
+
className
|
|
754
|
+
}: WarningMessageProps): react_jsx_runtime0.JSX.Element;
|
|
755
|
+
//#endregion
|
|
756
|
+
export { AccessibilityButton, ActionButton, AddIcon, AddImageIcon, AnnotationPopInIcon, AnnotationPopOutIcon, AtlasBanner, AudioIcon, BackIcon, CanvasThumbnailGridItem, Card3D, CheckIcon, 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, Tooltip, TooltipContent, TooltipTrigger, VideoIcon, WarningMessage, YouTubeIcon, createDownload, useFastList, useGridOptions, useLoadMoreItems, useLocalStorage, useOptionalLocalStorage, useTooltip, useTooltipContext };
|
|
757
|
+
//# sourceMappingURL=index.d.ts.map
|