@manifest-editor/components 2.0.0 → 2.0.1-next.0.2841cdd
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 +2 -2
- package/dist/index.d.cts +32 -41
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +106 -115
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonProps, LabelProps, TabListProps, TabPanelProps, TabProps, TabsProps } from "react-aria-components";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
import { TextualContentStrategy } from "react-iiif-vault";
|
|
4
4
|
import * as react0 from "react";
|
|
5
5
|
import React$1, { DetailedHTMLProps, ForwardedRef, ReactNode, SVGProps } from "react";
|
|
@@ -12,7 +12,6 @@ import "@vidstack/react/player/styles/default/captions.css";
|
|
|
12
12
|
import "@vidstack/react/player/styles/default/layouts/video.css";
|
|
13
13
|
import { Step } from "react-joyride";
|
|
14
14
|
import { InternationalString } from "@iiif/presentation-3";
|
|
15
|
-
import * as _floating_ui_react_dom0 from "@floating-ui/react-dom";
|
|
16
15
|
import { Placement as Placement$1, UseFloatingReturn } from "@floating-ui/react-dom";
|
|
17
16
|
import { createHelper } from "polygon-editor";
|
|
18
17
|
|
|
@@ -23,7 +22,7 @@ declare function AccessibilityButton({
|
|
|
23
22
|
...props
|
|
24
23
|
}: ButtonProps & {
|
|
25
24
|
className?: string;
|
|
26
|
-
}):
|
|
25
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
27
26
|
//#endregion
|
|
28
27
|
//#region src/ActionButton.d.ts
|
|
29
28
|
declare function ActionButton({
|
|
@@ -39,7 +38,7 @@ declare function ActionButton({
|
|
|
39
38
|
onDark?: boolean;
|
|
40
39
|
center?: boolean;
|
|
41
40
|
large?: boolean;
|
|
42
|
-
} & ButtonProps):
|
|
41
|
+
} & ButtonProps): react_jsx_runtime1.JSX.Element;
|
|
43
42
|
//#endregion
|
|
44
43
|
//#region src/AtlasBanner.d.ts
|
|
45
44
|
declare function AtlasBanner({
|
|
@@ -48,7 +47,7 @@ declare function AtlasBanner({
|
|
|
48
47
|
}: {
|
|
49
48
|
controlsId: string;
|
|
50
49
|
children: ReactNode;
|
|
51
|
-
}):
|
|
50
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
52
51
|
//#endregion
|
|
53
52
|
//#region src/CanvasThumbnailGridItem.d.ts
|
|
54
53
|
interface CanvasThumbnailGridItemProps {
|
|
@@ -66,7 +65,7 @@ interface CanvasThumbnailGridItemProps {
|
|
|
66
65
|
children: InternationalString;
|
|
67
66
|
}) => React.ReactNode;
|
|
68
67
|
}
|
|
69
|
-
declare function CanvasThumbnailGridItem(props: CanvasThumbnailGridItemProps):
|
|
68
|
+
declare function CanvasThumbnailGridItem(props: CanvasThumbnailGridItemProps): react_jsx_runtime1.JSX.Element;
|
|
70
69
|
//#endregion
|
|
71
70
|
//#region src/Card3D.d.ts
|
|
72
71
|
declare function Card3D({
|
|
@@ -76,7 +75,7 @@ declare function Card3D({
|
|
|
76
75
|
...props
|
|
77
76
|
}: {
|
|
78
77
|
shouldTranslate?: boolean;
|
|
79
|
-
} & React.HTMLAttributes<HTMLDivElement>):
|
|
78
|
+
} & React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime1.JSX.Element;
|
|
80
79
|
//#endregion
|
|
81
80
|
//#region src/CollectionListItem.d.ts
|
|
82
81
|
declare function CollectionListItem({
|
|
@@ -85,7 +84,7 @@ declare function CollectionListItem({
|
|
|
85
84
|
}: {
|
|
86
85
|
isActive: boolean;
|
|
87
86
|
onAction: () => void;
|
|
88
|
-
}):
|
|
87
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
89
88
|
//#endregion
|
|
90
89
|
//#region src/ConfirmSelectionButton.d.ts
|
|
91
90
|
declare function ConfirmSelectionButton({
|
|
@@ -94,20 +93,20 @@ declare function ConfirmSelectionButton({
|
|
|
94
93
|
}: {
|
|
95
94
|
onPress: () => void;
|
|
96
95
|
children: ReactNode;
|
|
97
|
-
}):
|
|
96
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
98
97
|
//#endregion
|
|
99
98
|
//#region src/ControlButton.d.ts
|
|
100
99
|
declare function ControlButton({
|
|
101
100
|
children,
|
|
102
101
|
className,
|
|
103
102
|
...props
|
|
104
|
-
}: React.PropsWithChildren<React.ButtonHTMLAttributes<HTMLButtonElement>>):
|
|
103
|
+
}: React.PropsWithChildren<React.ButtonHTMLAttributes<HTMLButtonElement>>): react_jsx_runtime1.JSX.Element;
|
|
105
104
|
//#endregion
|
|
106
105
|
//#region src/CreatorGrid.d.ts
|
|
107
106
|
declare function CreatorGrid(props: {
|
|
108
107
|
label: string;
|
|
109
108
|
items: CreatorGridItemProps[];
|
|
110
|
-
}):
|
|
109
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
111
110
|
interface CreatorGridItemProps {
|
|
112
111
|
id: string;
|
|
113
112
|
icon: ReactNode;
|
|
@@ -130,7 +129,7 @@ declare function DownloadButton({
|
|
|
130
129
|
getData,
|
|
131
130
|
fileName,
|
|
132
131
|
fileType
|
|
133
|
-
}: DownloadButtonProps):
|
|
132
|
+
}: DownloadButtonProps): react_jsx_runtime1.JSX.Element;
|
|
134
133
|
declare function createDownload(data: any, fileName: string, fileType?: string): void;
|
|
135
134
|
//#endregion
|
|
136
135
|
//#region src/EmptyState.d.ts
|
|
@@ -138,7 +137,7 @@ declare function EmptyState(props: {
|
|
|
138
137
|
children: React.ReactNode;
|
|
139
138
|
$noMargin?: boolean;
|
|
140
139
|
$box?: boolean;
|
|
141
|
-
}):
|
|
140
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
142
141
|
//#endregion
|
|
143
142
|
//#region src/ErrorMessage.d.ts
|
|
144
143
|
interface ErrorMessageProps {
|
|
@@ -150,40 +149,40 @@ declare function ErrorMessage({
|
|
|
150
149
|
children,
|
|
151
150
|
small,
|
|
152
151
|
className
|
|
153
|
-
}: ErrorMessageProps):
|
|
152
|
+
}: ErrorMessageProps): react_jsx_runtime1.JSX.Element;
|
|
154
153
|
//#endregion
|
|
155
154
|
//#region src/Forms.d.ts
|
|
156
155
|
declare function MeLabel({
|
|
157
156
|
className,
|
|
158
157
|
...props
|
|
159
|
-
}: LabelProps):
|
|
158
|
+
}: LabelProps): react_jsx_runtime1.JSX.Element;
|
|
160
159
|
declare function MeRadioGroup({
|
|
161
160
|
className,
|
|
162
161
|
...props
|
|
163
|
-
}: any):
|
|
162
|
+
}: any): react_jsx_runtime1.JSX.Element;
|
|
164
163
|
declare function MeRadio({
|
|
165
164
|
className,
|
|
166
165
|
...props
|
|
167
|
-
}: any):
|
|
166
|
+
}: any): react_jsx_runtime1.JSX.Element;
|
|
168
167
|
declare function MeForm({
|
|
169
168
|
className,
|
|
170
169
|
...props
|
|
171
|
-
}: any):
|
|
170
|
+
}: any): react_jsx_runtime1.JSX.Element;
|
|
172
171
|
declare function MeInput({
|
|
173
172
|
className,
|
|
174
173
|
...props
|
|
175
|
-
}: any):
|
|
174
|
+
}: any): react_jsx_runtime1.JSX.Element;
|
|
176
175
|
declare function MeTextArea({
|
|
177
176
|
className,
|
|
178
177
|
...props
|
|
179
|
-
}: any):
|
|
178
|
+
}: any): react_jsx_runtime1.JSX.Element;
|
|
180
179
|
declare function MeInputContainer({
|
|
181
180
|
horizontal,
|
|
182
181
|
className,
|
|
183
182
|
...props
|
|
184
183
|
}: React.HTMLProps<HTMLDivElement> & {
|
|
185
184
|
horizontal?: boolean;
|
|
186
|
-
}):
|
|
185
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
187
186
|
declare const Form: {
|
|
188
187
|
Input: typeof MeInput;
|
|
189
188
|
Form: typeof MeForm;
|
|
@@ -204,7 +203,7 @@ declare function HTMLAnnotationBodyRender({
|
|
|
204
203
|
}: {
|
|
205
204
|
className?: string;
|
|
206
205
|
locale?: string;
|
|
207
|
-
}):
|
|
206
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
208
207
|
//#endregion
|
|
209
208
|
//#region src/HTMLEditor.d.ts
|
|
210
209
|
declare function HTMLEditor({
|
|
@@ -217,7 +216,7 @@ declare function HTMLEditor({
|
|
|
217
216
|
value: string;
|
|
218
217
|
disabled?: boolean;
|
|
219
218
|
onChange: (text: string) => void;
|
|
220
|
-
}):
|
|
219
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
221
220
|
//#endregion
|
|
222
221
|
//#region src/hooks/use-fast-list.d.ts
|
|
223
222
|
declare function useFastList<T>(list: undefined | T[], firstRender?: number): T[];
|
|
@@ -228,17 +227,17 @@ declare function useGridOptions(name?: string, options?: {
|
|
|
228
227
|
onDark?: boolean;
|
|
229
228
|
}): readonly [{
|
|
230
229
|
readonly size: "grid-sm" | "grid-md" | "grid-lg";
|
|
231
|
-
},
|
|
230
|
+
}, react_jsx_runtime1.JSX.Element];
|
|
232
231
|
//#endregion
|
|
233
232
|
//#region src/hooks/use-local-storage.d.ts
|
|
234
233
|
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.
|
|
234
|
+
declare function useLocalStorage<T>(key: string, initialValue?: T): readonly [T, (value: ((prev: T) => T) | T) => void, react0.RefObject<string>];
|
|
236
235
|
//#endregion
|
|
237
236
|
//#region src/hooks/use-load-more-items.d.ts
|
|
238
237
|
declare function useLoadMoreItems<T extends object>(items: T[], options: {
|
|
239
238
|
batchSize: number;
|
|
240
239
|
}): readonly [T[], {
|
|
241
|
-
readonly intersector:
|
|
240
|
+
readonly intersector: react_jsx_runtime1.JSX.Element | null;
|
|
242
241
|
readonly loadMore: () => void;
|
|
243
242
|
readonly isFullyLoaded: boolean;
|
|
244
243
|
readonly reset: () => void;
|
|
@@ -263,7 +262,7 @@ declare function IconButton({
|
|
|
263
262
|
label: string;
|
|
264
263
|
placement?: Placement$1;
|
|
265
264
|
root?: HTMLElement;
|
|
266
|
-
}):
|
|
265
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
267
266
|
//#endregion
|
|
268
267
|
//#region src/IconHandle.d.ts
|
|
269
268
|
declare const IconHandle: react0.ForwardRefExoticComponent<ButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
@@ -283,7 +282,7 @@ interface IIIFMediaPlayerProps {
|
|
|
283
282
|
startTime?: number;
|
|
284
283
|
language?: string;
|
|
285
284
|
}
|
|
286
|
-
declare function IIIFMediaPlayer(props: IIIFMediaPlayerProps):
|
|
285
|
+
declare function IIIFMediaPlayer(props: IIIFMediaPlayerProps): react_jsx_runtime1.JSX.Element;
|
|
287
286
|
//#endregion
|
|
288
287
|
//#region src/InfoMessage.d.ts
|
|
289
288
|
interface InfoMessageProps {
|
|
@@ -295,7 +294,7 @@ declare function InfoMessage({
|
|
|
295
294
|
children,
|
|
296
295
|
small,
|
|
297
296
|
className
|
|
298
|
-
}: InfoMessageProps):
|
|
297
|
+
}: InfoMessageProps): react_jsx_runtime1.JSX.Element;
|
|
299
298
|
//#endregion
|
|
300
299
|
//#region src/ItemWithHandle.d.ts
|
|
301
300
|
declare function ItemWithHandle({
|
|
@@ -308,7 +307,7 @@ declare function ItemWithHandle({
|
|
|
308
307
|
children: React.ReactNode;
|
|
309
308
|
handle: React.ReactNode;
|
|
310
309
|
actions?: React.ReactNode;
|
|
311
|
-
}):
|
|
310
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
312
311
|
//#endregion
|
|
313
312
|
//#region src/icons/AddIcon.d.ts
|
|
314
313
|
declare function AddIcon({
|
|
@@ -321,55 +320,58 @@ declare function AddIcon({
|
|
|
321
320
|
height?: number;
|
|
322
321
|
className?: string;
|
|
323
322
|
color?: string;
|
|
324
|
-
}):
|
|
323
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
325
324
|
//#endregion
|
|
326
325
|
//#region src/icons/AddImageIcon.d.ts
|
|
327
|
-
declare const AddImageIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
326
|
+
declare const AddImageIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
328
327
|
//#endregion
|
|
329
328
|
//#region src/icons/AnnotationPopInIcon.d.ts
|
|
330
|
-
declare function AnnotationPopInIcon(props: React.SVGProps<SVGSVGElement>):
|
|
329
|
+
declare function AnnotationPopInIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
331
330
|
//#endregion
|
|
332
331
|
//#region src/icons/AnnotationPopOutIcon.d.ts
|
|
333
|
-
declare function AnnotationPopOutIcon(props: React.SVGProps<SVGSVGElement>):
|
|
332
|
+
declare function AnnotationPopOutIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
334
333
|
//#endregion
|
|
335
334
|
//#region src/icons/AudioIcon.d.ts
|
|
336
|
-
declare const AudioIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
335
|
+
declare const AudioIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
337
336
|
//#endregion
|
|
338
337
|
//#region src/icons/BackIcon.d.ts
|
|
339
|
-
declare function BackIcon(props: SVGProps<SVGSVGElement>):
|
|
338
|
+
declare function BackIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
340
339
|
//#endregion
|
|
341
340
|
//#region src/icons/CheckIcon.d.ts
|
|
342
|
-
declare function CheckIcon(props: React.SVGProps<SVGSVGElement>):
|
|
341
|
+
declare function CheckIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region src/icons/CloseIcon.d.ts
|
|
344
|
+
declare function CloseIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
343
345
|
//#endregion
|
|
344
346
|
//#region src/icons/CollectionIcon.d.ts
|
|
345
|
-
declare function CollectionIcon(props: SVGProps<SVGSVGElement>):
|
|
347
|
+
declare function CollectionIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
346
348
|
//#endregion
|
|
347
349
|
//#region src/icons/CreateCanvasIcon.d.ts
|
|
348
|
-
declare function CreateCanvasIcon():
|
|
350
|
+
declare function CreateCanvasIcon(): react_jsx_runtime1.JSX.Element;
|
|
349
351
|
//#endregion
|
|
350
352
|
//#region src/icons/DeleteForeverIcon.d.ts
|
|
351
|
-
declare function DeleteForeverIcon(props: react0.SVGProps<SVGSVGElement>):
|
|
353
|
+
declare function DeleteForeverIcon(props: react0.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
352
354
|
//#endregion
|
|
353
355
|
//#region src/icons/DeleteIcon.d.ts
|
|
354
|
-
declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>):
|
|
356
|
+
declare function DeleteIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
355
357
|
//#endregion
|
|
356
358
|
//#region src/icons/DownloadIcon.d.ts
|
|
357
|
-
declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
359
|
+
declare const DownloadIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
358
360
|
//#endregion
|
|
359
361
|
//#region src/icons/EditTextIcon.d.ts
|
|
360
|
-
declare function EditTextIcon(props: React.SVGProps<SVGSVGElement>):
|
|
362
|
+
declare function EditTextIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
361
363
|
//#endregion
|
|
362
364
|
//#region src/icons/EmptyCanvasIcon.d.ts
|
|
363
|
-
declare const EmptyCanvasIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
365
|
+
declare const EmptyCanvasIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
364
366
|
//#endregion
|
|
365
367
|
//#region src/icons/GridIcon.d.ts
|
|
366
|
-
declare function GridIcon(props: SVGProps<SVGSVGElement>):
|
|
368
|
+
declare function GridIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
367
369
|
//#endregion
|
|
368
370
|
//#region src/icons/HTMLIcon.d.ts
|
|
369
|
-
declare const HTMLIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
371
|
+
declare const HTMLIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
370
372
|
//#endregion
|
|
371
373
|
//#region src/icons/IIIFBrowserIcon.d.ts
|
|
372
|
-
declare const IIIFBrowserIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
374
|
+
declare const IIIFBrowserIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
373
375
|
//#endregion
|
|
374
376
|
//#region src/icons/IIIFLogo.d.ts
|
|
375
377
|
declare const IIIFLogo: ({
|
|
@@ -377,10 +379,10 @@ declare const IIIFLogo: ({
|
|
|
377
379
|
...props
|
|
378
380
|
}: SVGProps<SVGSVGElement> & {
|
|
379
381
|
mono?: boolean;
|
|
380
|
-
}) =>
|
|
382
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
381
383
|
//#endregion
|
|
382
384
|
//#region src/icons/ImageListIcon.d.ts
|
|
383
|
-
declare function ImageListIcon(props: SVGProps<SVGSVGElement>):
|
|
385
|
+
declare function ImageListIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
384
386
|
//#endregion
|
|
385
387
|
//#region src/icons/InfoIcon.d.ts
|
|
386
388
|
declare function InfoIcon({
|
|
@@ -390,7 +392,7 @@ declare function InfoIcon({
|
|
|
390
392
|
}: SVGProps<SVGSVGElement> & {
|
|
391
393
|
title?: string;
|
|
392
394
|
titleId?: string;
|
|
393
|
-
}):
|
|
395
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
394
396
|
//#endregion
|
|
395
397
|
//#region src/icons/ListEditIcon.d.ts
|
|
396
398
|
declare function ListEditIcon({
|
|
@@ -400,7 +402,7 @@ declare function ListEditIcon({
|
|
|
400
402
|
}: SVGProps<SVGSVGElement> & {
|
|
401
403
|
title?: string;
|
|
402
404
|
titleId?: string;
|
|
403
|
-
}):
|
|
405
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
404
406
|
//#endregion
|
|
405
407
|
//#region src/icons/ListingIcon.d.ts
|
|
406
408
|
declare function ListingIcon({
|
|
@@ -410,23 +412,23 @@ declare function ListingIcon({
|
|
|
410
412
|
}: SVGProps<SVGSVGElement> & {
|
|
411
413
|
title?: string;
|
|
412
414
|
titleId?: string;
|
|
413
|
-
}):
|
|
415
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
414
416
|
//#endregion
|
|
415
417
|
//#region src/icons/ManifestIcon.d.ts
|
|
416
|
-
declare function ManifestIcon(props: SVGProps<SVGSVGElement>):
|
|
418
|
+
declare function ManifestIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
417
419
|
//#endregion
|
|
418
420
|
//#region src/icons/MoreMenu.d.ts
|
|
419
|
-
declare function MoreMenu(props: React.SVGProps<SVGSVGElement>):
|
|
421
|
+
declare function MoreMenu(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
420
422
|
declare const MoreMenuIcon: typeof MoreMenu;
|
|
421
423
|
//#endregion
|
|
422
424
|
//#region src/icons/PreviewIcon.d.ts
|
|
423
|
-
declare function PreviewIcon(props: SVGProps<SVGSVGElement>):
|
|
425
|
+
declare function PreviewIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
424
426
|
//#endregion
|
|
425
427
|
//#region src/icons/RangesIcon.d.ts
|
|
426
|
-
declare function RangesIcon(props: React.SVGProps<SVGSVGElement>):
|
|
428
|
+
declare function RangesIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
427
429
|
//#endregion
|
|
428
430
|
//#region src/icons/ResetIcon.d.ts
|
|
429
|
-
declare function ResetIcon(props: SVGProps<SVGSVGElement>):
|
|
431
|
+
declare function ResetIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
430
432
|
//#endregion
|
|
431
433
|
//#region src/icons/ResizeHandleIcon.d.ts
|
|
432
434
|
declare function ResizeHandleIcon({
|
|
@@ -434,22 +436,22 @@ declare function ResizeHandleIcon({
|
|
|
434
436
|
...props
|
|
435
437
|
}: SVGProps<SVGSVGElement> & {
|
|
436
438
|
title?: string;
|
|
437
|
-
}):
|
|
439
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
438
440
|
//#endregion
|
|
439
441
|
//#region src/icons/ScaledImageIcon.d.ts
|
|
440
|
-
declare function ScaledImageIcon(props: SVGProps<SVGSVGElement>):
|
|
442
|
+
declare function ScaledImageIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
441
443
|
//#endregion
|
|
442
444
|
//#region src/icons/TargetIcon.d.ts
|
|
443
|
-
declare function TargetIcon(props: React.SVGProps<SVGSVGElement>):
|
|
445
|
+
declare function TargetIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
444
446
|
//#endregion
|
|
445
447
|
//#region src/icons/TextIcon.d.ts
|
|
446
|
-
declare function TextIcon(props: SVGProps<SVGSVGElement>):
|
|
448
|
+
declare function TextIcon(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
447
449
|
//#endregion
|
|
448
450
|
//#region src/icons/VideoIcon.d.ts
|
|
449
|
-
declare const VideoIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
451
|
+
declare const VideoIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
450
452
|
//#endregion
|
|
451
453
|
//#region src/icons/YouTubeIcon.d.ts
|
|
452
|
-
declare const YouTubeIcon: (props: SVGProps<SVGSVGElement>) =>
|
|
454
|
+
declare const YouTubeIcon: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime1.JSX.Element;
|
|
453
455
|
//#endregion
|
|
454
456
|
//#region src/LazyThumbnail.d.ts
|
|
455
457
|
declare function LazyThumbnail({
|
|
@@ -458,13 +460,13 @@ declare function LazyThumbnail({
|
|
|
458
460
|
}: {
|
|
459
461
|
cover?: boolean;
|
|
460
462
|
fade?: boolean;
|
|
461
|
-
}):
|
|
463
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
462
464
|
//#endregion
|
|
463
465
|
//#region src/ListResizeDragHandle.d.ts
|
|
464
|
-
declare function ListResizeDragHandle():
|
|
466
|
+
declare function ListResizeDragHandle(): react_jsx_runtime1.JSX.Element;
|
|
465
467
|
//#endregion
|
|
466
468
|
//#region src/ManifestEditorLogo.d.ts
|
|
467
|
-
declare function ManifestEditorLogo(props: SVGProps<SVGSVGElement>):
|
|
469
|
+
declare function ManifestEditorLogo(props: SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
468
470
|
//#endregion
|
|
469
471
|
//#region src/ManifestListItem.d.ts
|
|
470
472
|
declare function ManifestListItem({
|
|
@@ -473,7 +475,7 @@ declare function ManifestListItem({
|
|
|
473
475
|
}: {
|
|
474
476
|
isActive: boolean;
|
|
475
477
|
onAction: () => void;
|
|
476
|
-
}):
|
|
478
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
477
479
|
//#endregion
|
|
478
480
|
//#region src/ManifestOverviewEmptyState.d.ts
|
|
479
481
|
declare function ManifestOverviewEmptyState({
|
|
@@ -482,7 +484,7 @@ declare function ManifestOverviewEmptyState({
|
|
|
482
484
|
}: {
|
|
483
485
|
onCreate: () => void;
|
|
484
486
|
canCreate: boolean;
|
|
485
|
-
}):
|
|
487
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
486
488
|
//#endregion
|
|
487
489
|
//#region src/MDXEditor.d.ts
|
|
488
490
|
declare function MDXEditor({
|
|
@@ -490,7 +492,7 @@ declare function MDXEditor({
|
|
|
490
492
|
...props
|
|
491
493
|
}: {
|
|
492
494
|
editorRef?: ForwardedRef<MDXEditorMethods> | null;
|
|
493
|
-
} & MDXEditorProps):
|
|
495
|
+
} & MDXEditorProps): react_jsx_runtime1.JSX.Element;
|
|
494
496
|
//#endregion
|
|
495
497
|
//#region src/MetadataContainer.d.ts
|
|
496
498
|
declare function MetadataContainer({
|
|
@@ -500,7 +502,7 @@ declare function MetadataContainer({
|
|
|
500
502
|
...props
|
|
501
503
|
}: {
|
|
502
504
|
label: InternationalString | null;
|
|
503
|
-
} & React.HTMLAttributes<HTMLFieldSetElement>):
|
|
505
|
+
} & React.HTMLAttributes<HTMLFieldSetElement>): react_jsx_runtime1.JSX.Element;
|
|
504
506
|
//#endregion
|
|
505
507
|
//#region src/Modal.d.ts
|
|
506
508
|
interface ModalProps {
|
|
@@ -527,10 +529,10 @@ declare function Modal({
|
|
|
527
529
|
onClose,
|
|
528
530
|
actions,
|
|
529
531
|
children
|
|
530
|
-
}: ModalProps):
|
|
532
|
+
}: ModalProps): react_jsx_runtime1.JSX.Element;
|
|
531
533
|
//#endregion
|
|
532
534
|
//#region src/MoreMenuButton.d.ts
|
|
533
|
-
declare function MoreMenuButton():
|
|
535
|
+
declare function MoreMenuButton(): react_jsx_runtime1.JSX.Element;
|
|
534
536
|
//#endregion
|
|
535
537
|
//#region src/OnboardingTour.d.ts
|
|
536
538
|
interface OnboardingTourProps {
|
|
@@ -544,13 +546,13 @@ declare function OnboardingTour({
|
|
|
544
546
|
steps,
|
|
545
547
|
forceStart,
|
|
546
548
|
onClose
|
|
547
|
-
}: OnboardingTourProps):
|
|
549
|
+
}: OnboardingTourProps): react_jsx_runtime1.JSX.Element | null;
|
|
548
550
|
//#endregion
|
|
549
551
|
//#region src/OpaqueControls.d.ts
|
|
550
552
|
declare function OpaqueControls(props: {
|
|
551
553
|
children: React.ReactNode;
|
|
552
554
|
active?: boolean;
|
|
553
|
-
}):
|
|
555
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
554
556
|
//#endregion
|
|
555
557
|
//#region src/PaddedSidebarContainer.d.ts
|
|
556
558
|
declare const PaddedSidebarContainer: react0.ForwardRefExoticComponent<Omit<DetailedHTMLProps<react0.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react0.RefAttributes<HTMLDivElement>>;
|
|
@@ -567,12 +569,12 @@ interface PanelSideMenuProps {
|
|
|
567
569
|
open: boolean;
|
|
568
570
|
current: string | null;
|
|
569
571
|
}
|
|
570
|
-
declare function PanelSideMenu(props: PanelSideMenuProps):
|
|
572
|
+
declare function PanelSideMenu(props: PanelSideMenuProps): react_jsx_runtime1.JSX.Element;
|
|
571
573
|
//#endregion
|
|
572
574
|
//#region src/RenderTextualContent.d.ts
|
|
573
575
|
declare function RenderTextualContent(props: {
|
|
574
576
|
strategy: TextualContentStrategy;
|
|
575
|
-
}):
|
|
577
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
576
578
|
//#endregion
|
|
577
579
|
//#region src/ResizeHandle.d.ts
|
|
578
580
|
declare const ResizeHandle: react0.ForwardRefExoticComponent<ButtonProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
@@ -582,14 +584,14 @@ declare function SelectionCheckbox({
|
|
|
582
584
|
alwaysVisible
|
|
583
585
|
}: {
|
|
584
586
|
alwaysVisible?: boolean;
|
|
585
|
-
}):
|
|
587
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
586
588
|
//#endregion
|
|
587
589
|
//#region src/Sidebar.d.ts
|
|
588
590
|
declare function Sidebar({
|
|
589
591
|
children
|
|
590
592
|
}: {
|
|
591
593
|
children: React.ReactNode;
|
|
592
|
-
}):
|
|
594
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
593
595
|
declare function SidebarContent({
|
|
594
596
|
id,
|
|
595
597
|
children,
|
|
@@ -600,7 +602,7 @@ declare function SidebarContent({
|
|
|
600
602
|
children: React.ReactNode;
|
|
601
603
|
className?: string;
|
|
602
604
|
padding?: boolean;
|
|
603
|
-
}):
|
|
605
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
604
606
|
interface SidebarHeaderProps {
|
|
605
607
|
actions?: Array<{
|
|
606
608
|
id?: string;
|
|
@@ -614,7 +616,7 @@ interface SidebarHeaderProps {
|
|
|
614
616
|
title: string | InternationalString;
|
|
615
617
|
customActions?: React.ReactNode;
|
|
616
618
|
}
|
|
617
|
-
declare function SidebarHeader(props: SidebarHeaderProps):
|
|
619
|
+
declare function SidebarHeader(props: SidebarHeaderProps): react_jsx_runtime1.JSX.Element;
|
|
618
620
|
//#endregion
|
|
619
621
|
//#region src/SidebarTabs.d.ts
|
|
620
622
|
interface SidebarTabsProps {
|
|
@@ -637,10 +639,10 @@ declare function SidebarTabs({
|
|
|
637
639
|
menuId,
|
|
638
640
|
selectedKey,
|
|
639
641
|
onSelectionChange
|
|
640
|
-
}: SidebarTabsProps):
|
|
642
|
+
}: SidebarTabsProps): react_jsx_runtime1.JSX.Element;
|
|
641
643
|
//#endregion
|
|
642
644
|
//#region src/Spinner.d.ts
|
|
643
|
-
declare function Spinner(props: react0.SVGProps<SVGSVGElement>):
|
|
645
|
+
declare function Spinner(props: react0.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
|
|
644
646
|
//#endregion
|
|
645
647
|
//#region src/SvgControlBar.d.ts
|
|
646
648
|
declare function SvgControlBar({
|
|
@@ -650,36 +652,36 @@ declare function SvgControlBar({
|
|
|
650
652
|
helper: ReturnType<typeof createHelper>;
|
|
651
653
|
state: any;
|
|
652
654
|
showShapes: any;
|
|
653
|
-
}):
|
|
655
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
654
656
|
//#endregion
|
|
655
657
|
//#region src/Tabs.d.ts
|
|
656
658
|
declare function Tabs({
|
|
657
659
|
className,
|
|
658
660
|
children,
|
|
659
661
|
...props
|
|
660
|
-
}: TabsProps):
|
|
662
|
+
}: TabsProps): react_jsx_runtime1.JSX.Element;
|
|
661
663
|
declare function TabList<T extends object>({
|
|
662
664
|
className,
|
|
663
665
|
children,
|
|
664
666
|
...props
|
|
665
|
-
}: TabListProps<T>):
|
|
667
|
+
}: TabListProps<T>): react_jsx_runtime1.JSX.Element;
|
|
666
668
|
declare function Tab({
|
|
667
669
|
className,
|
|
668
670
|
children,
|
|
669
671
|
...props
|
|
670
|
-
}: TabProps):
|
|
672
|
+
}: TabProps): react_jsx_runtime1.JSX.Element;
|
|
671
673
|
declare function TabPanel({
|
|
672
674
|
className,
|
|
673
675
|
children,
|
|
674
676
|
...props
|
|
675
|
-
}: TabPanelProps):
|
|
677
|
+
}: TabPanelProps): react_jsx_runtime1.JSX.Element;
|
|
676
678
|
//#endregion
|
|
677
679
|
//#region src/ThumbnailGridContainer.d.ts
|
|
678
680
|
declare function ThumbnailGridContainer(props: {
|
|
679
681
|
size?: 'grid-sm' | 'grid-md' | 'grid-lg';
|
|
680
682
|
children: React.ReactNode;
|
|
681
683
|
wide?: boolean;
|
|
682
|
-
}):
|
|
684
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
683
685
|
//#endregion
|
|
684
686
|
//#region src/Tooltip.d.ts
|
|
685
687
|
interface TooltipOptions {
|
|
@@ -697,35 +699,12 @@ declare function useTooltip({
|
|
|
697
699
|
open: boolean;
|
|
698
700
|
setOpen: (open: boolean) => void;
|
|
699
701
|
} & 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
702
|
declare function Tooltip({
|
|
724
703
|
children,
|
|
725
704
|
...options
|
|
726
705
|
}: {
|
|
727
706
|
children: react0.ReactNode;
|
|
728
|
-
} & TooltipOptions):
|
|
707
|
+
} & TooltipOptions): react_jsx_runtime1.JSX.Element;
|
|
729
708
|
declare const TooltipTrigger: react0.ForwardRefExoticComponent<Omit<react0.HTMLProps<HTMLElement> & {
|
|
730
709
|
asChild?: boolean;
|
|
731
710
|
onPress?: any;
|
|
@@ -739,7 +718,19 @@ declare function DefaultTooltipContent(props: {
|
|
|
739
718
|
className?: string;
|
|
740
719
|
root?: HTMLElement;
|
|
741
720
|
children: react0.ReactNode;
|
|
742
|
-
}):
|
|
721
|
+
}): react_jsx_runtime1.JSX.Element;
|
|
722
|
+
//#endregion
|
|
723
|
+
//#region src/ViewProvider.d.ts
|
|
724
|
+
declare function ViewProvider({
|
|
725
|
+
resource,
|
|
726
|
+
onPress
|
|
727
|
+
}: {
|
|
728
|
+
resource: {
|
|
729
|
+
id: string;
|
|
730
|
+
type: string;
|
|
731
|
+
};
|
|
732
|
+
onPress?: () => void;
|
|
733
|
+
}): react_jsx_runtime1.JSX.Element | null;
|
|
743
734
|
//#endregion
|
|
744
735
|
//#region src/WarningMessage.d.ts
|
|
745
736
|
interface WarningMessageProps {
|
|
@@ -751,7 +742,7 @@ declare function WarningMessage({
|
|
|
751
742
|
children,
|
|
752
743
|
small,
|
|
753
744
|
className
|
|
754
|
-
}: WarningMessageProps):
|
|
745
|
+
}: WarningMessageProps): react_jsx_runtime1.JSX.Element;
|
|
755
746
|
//#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
|
|
747
|
+
export { AccessibilityButton, ActionButton, AddIcon, AddImageIcon, AnnotationPopInIcon, AnnotationPopOutIcon, AtlasBanner, AudioIcon, BackIcon, 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, Tooltip, TooltipContent, TooltipTrigger, VideoIcon, ViewProvider, WarningMessage, YouTubeIcon, createDownload, useFastList, useGridOptions, useLoadMoreItems, useLocalStorage, useOptionalLocalStorage, useTooltip };
|
|
757
748
|
//# sourceMappingURL=index.d.ts.map
|