@manifest-editor/components 1.4.3 → 2.0.1-next.0.ede7d58

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