@micromag/core 0.4.88 → 0.4.90-alpha.1
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/assets/css/styles.css +4 -15
- package/assets/css/vendor.css +1 -1
- package/es/components.d.ts +106 -118
- package/es/components.js +1627 -1437
- package/es/contexts.d.ts +129 -90
- package/es/contexts.js +2 -136
- package/es/hooks.d.ts +80 -80
- package/es/index.d.ts +62 -46
- package/es/styles.css +4 -15
- package/es/utils.d.ts +85 -84
- package/es/utils.js +4 -4
- package/package.json +23 -20
package/es/components.d.ts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, CSSProperties, MouseEventHandler, ForwardedRef, JSX, MouseEvent,
|
|
3
|
+
import React__default, { ReactNode, ElementType, CSSProperties, MouseEventHandler, ForwardedRef, JSX, MouseEvent, HTMLAttributes, Component as Component$2 } from 'react';
|
|
4
4
|
import { MessageDescriptor } from 'react-intl';
|
|
5
|
+
export { Modal, ModalPortal, Modals } from '@panneau/element-modal';
|
|
6
|
+
export { default as DialogModal, DialogModalProps } from '@panneau/modal-dialog';
|
|
5
7
|
|
|
6
|
-
type
|
|
8
|
+
type Message = MessageDescriptor;
|
|
9
|
+
type Text = Message | ReactNode;
|
|
10
|
+
type Label$2 = Message | ReactNode;
|
|
7
11
|
|
|
8
12
|
type MediaElement = HTMLVideoElement | HTMLAudioElement | HTMLMediaElement;
|
|
9
13
|
|
|
14
|
+
type Component$1 = ElementType;
|
|
15
|
+
interface Field {
|
|
16
|
+
name?: string;
|
|
17
|
+
type: string;
|
|
18
|
+
label?: Text;
|
|
19
|
+
isSection?: boolean;
|
|
20
|
+
component?: Component$1;
|
|
21
|
+
defaultValue?: (() => unknown) | unknown;
|
|
22
|
+
fields?: Field[];
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
10
25
|
interface MenuItem$1 {
|
|
11
26
|
id?: number | string;
|
|
12
27
|
label?: Label$2;
|
|
@@ -14,7 +29,7 @@ interface MenuItem$1 {
|
|
|
14
29
|
external?: boolean;
|
|
15
30
|
active?: boolean;
|
|
16
31
|
}
|
|
17
|
-
interface Button$
|
|
32
|
+
interface Button$2 {
|
|
18
33
|
id?: string | number;
|
|
19
34
|
label?: Label$2;
|
|
20
35
|
name?: string;
|
|
@@ -34,7 +49,8 @@ interface Button$3 {
|
|
|
34
49
|
}
|
|
35
50
|
type BootstrapTheme = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
36
51
|
type ButtonTheme = BootstrapTheme | 'outline-primary' | 'outline-secondary' | 'outline-success' | 'outline-danger' | 'outline-warning' | 'outline-info' | 'outline-light' | 'outline-dark' | 'outline-link' | null;
|
|
37
|
-
type ButtonSize = 'lg' | 'sm' | null;
|
|
52
|
+
type ButtonSize = 'lg' | 'sm' | 'xs' | null;
|
|
53
|
+
type DropdownAlign$1 = 'start' | 'end';
|
|
38
54
|
|
|
39
55
|
interface StoryComponent$1 {
|
|
40
56
|
id: string;
|
|
@@ -77,42 +93,43 @@ interface ButtonProps {
|
|
|
77
93
|
onClick?: MouseEventHandler<ButtonElement> | null;
|
|
78
94
|
refButton?: ForwardedRef<ButtonElement> | null;
|
|
79
95
|
}
|
|
80
|
-
declare function Button$
|
|
96
|
+
declare function Button$1({ type, theme, size, href, external, direct, target, label, children, focusable, active, icon, iconPosition, disabled, loading, disableOnLoading, small, big, withShadow, withoutStyle, withoutBootstrapStyles, withoutTheme, asLink, outline, onClick, className, iconClassName, labelClassName, refButton, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
81
97
|
|
|
82
98
|
interface ButtonsProps {
|
|
83
|
-
buttons?: Button$
|
|
99
|
+
buttons?: Button$2[];
|
|
84
100
|
size?: ButtonSize | null;
|
|
85
101
|
theme?: ButtonTheme;
|
|
86
|
-
renderButton?: ((button: Button$
|
|
87
|
-
onClickButton?: ((e: MouseEvent, button: Button$
|
|
102
|
+
renderButton?: ((button: Button$2, index: number, props: Record<string, unknown>) => JSX.Element) | null;
|
|
103
|
+
onClickButton?: ((e: MouseEvent, button: Button$2, index: any) => void) | null;
|
|
88
104
|
className?: string | null;
|
|
89
105
|
buttonClassName?: string | null;
|
|
90
106
|
}
|
|
91
107
|
declare function Buttons({ buttons, size, theme, renderButton, onClickButton, buttonClassName, className, }: ButtonsProps): react_jsx_runtime.JSX.Element;
|
|
92
108
|
|
|
93
|
-
interface BackButtonProps {
|
|
109
|
+
interface BackButtonProps extends ButtonProps {
|
|
94
110
|
className?: string | null;
|
|
95
111
|
}
|
|
96
|
-
declare function BackButton({
|
|
112
|
+
declare function BackButton({ ...props }: BackButtonProps): react_jsx_runtime.JSX.Element;
|
|
97
113
|
|
|
98
|
-
interface ClearButtonProps {
|
|
99
|
-
onClick?:
|
|
114
|
+
interface ClearButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
115
|
+
onClick?: MouseEventHandler<HTMLButtonElement> | null;
|
|
100
116
|
iconOnly?: boolean;
|
|
101
117
|
className?: string | null;
|
|
118
|
+
disabled?: boolean;
|
|
102
119
|
}
|
|
103
|
-
declare function ClearButton({ onClick, className, iconOnly, ...props }: ClearButtonProps): react_jsx_runtime.JSX.Element;
|
|
120
|
+
declare function ClearButton({ onClick, className, iconOnly, disabled, ...props }: ClearButtonProps): react_jsx_runtime.JSX.Element;
|
|
104
121
|
|
|
105
122
|
interface FormProps {
|
|
106
123
|
action: string;
|
|
107
124
|
method?: string;
|
|
108
|
-
fields?:
|
|
125
|
+
fields?: Field[];
|
|
109
126
|
initialValue?: Record<string, unknown> | null;
|
|
110
127
|
postForm?: ((...args: unknown[]) => void) | null;
|
|
111
|
-
submitButtonLabel?: Label;
|
|
112
|
-
submitButtonLoadingLabel?: Label | null;
|
|
128
|
+
submitButtonLabel?: Label$2;
|
|
129
|
+
submitButtonLoadingLabel?: Label$2 | null;
|
|
113
130
|
submitButtonTheme?: string | null;
|
|
114
131
|
cancelButtonTheme?: string | null;
|
|
115
|
-
buttons?: Button[] | null;
|
|
132
|
+
buttons?: Button$2[] | null;
|
|
116
133
|
children?: React__default.ReactNode | null;
|
|
117
134
|
actionsAlign?: 'left' | 'right';
|
|
118
135
|
withoutActions?: boolean;
|
|
@@ -142,9 +159,9 @@ declare function FormPanel({ description, loading, children, className, ...props
|
|
|
142
159
|
|
|
143
160
|
interface FieldFormProps {
|
|
144
161
|
name?: string | null;
|
|
145
|
-
value?: Component | null;
|
|
162
|
+
value?: Component$2 | null;
|
|
146
163
|
form?: string | null;
|
|
147
|
-
formComponents?: Record<string, Component>;
|
|
164
|
+
formComponents?: Record<string, Component$2>;
|
|
148
165
|
fields?: Field[];
|
|
149
166
|
className?: string | null;
|
|
150
167
|
onChange?: ((...args: unknown[]) => void) | null;
|
|
@@ -152,7 +169,7 @@ interface FieldFormProps {
|
|
|
152
169
|
closeFieldForm: (...args: unknown[]) => void;
|
|
153
170
|
fieldContext?: unknown | null;
|
|
154
171
|
}
|
|
155
|
-
declare function FieldForm({ name, value, form, formComponents, fields, className, onChange, gotoFieldForm, closeFieldForm, fieldContext, }: FieldFormProps): react_jsx_runtime.JSX.Element;
|
|
172
|
+
declare function FieldForm({ name, value, form, formComponents, fields, className, onChange, gotoFieldForm, closeFieldForm, fieldContext, }: FieldFormProps): react_jsx_runtime.JSX.Element | null;
|
|
156
173
|
|
|
157
174
|
interface ArrowIconProps {
|
|
158
175
|
className?: string | null;
|
|
@@ -213,10 +230,10 @@ interface BreadcrumbProps {
|
|
|
213
230
|
declare function Breadcrumb({ items, theme, separator, withoutBar, noWrap, className, }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
214
231
|
|
|
215
232
|
interface DropdownProps {
|
|
216
|
-
items?: MenuItem[];
|
|
217
|
-
children?:
|
|
233
|
+
items?: MenuItem$1[];
|
|
234
|
+
children?: ReactNode | null;
|
|
218
235
|
visible?: boolean;
|
|
219
|
-
align?: DropdownAlign | null;
|
|
236
|
+
align?: DropdownAlign$1 | null;
|
|
220
237
|
className?: string | null;
|
|
221
238
|
itemClassName?: string | null;
|
|
222
239
|
onClickItem?: ((...args: unknown[]) => void) | null;
|
|
@@ -290,38 +307,14 @@ interface TabsMenuProps {
|
|
|
290
307
|
}
|
|
291
308
|
declare function TabsMenu({ items, size, theme, renderItemButton, buttonClassName, className, onClickItem, }: TabsMenuProps): react_jsx_runtime.JSX.Element;
|
|
292
309
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
id?: string | null;
|
|
300
|
-
title?: string | null;
|
|
301
|
-
position?: 'center' | 'top';
|
|
302
|
-
children?: React__default.ReactNode | null;
|
|
303
|
-
}
|
|
304
|
-
declare function Modal({ id, children, position, title }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
305
|
-
|
|
306
|
-
interface ModalDialogProps {
|
|
307
|
-
title?: Label | null;
|
|
308
|
-
header?: React__default.ReactNode | null;
|
|
309
|
-
children?: React__default.ReactNode | null;
|
|
310
|
-
footer?: React__default.ReactNode | null;
|
|
311
|
-
size?: string | null;
|
|
312
|
-
buttons?: Button[] | null;
|
|
313
|
-
onClose?: ((...args: unknown[]) => void) | null;
|
|
314
|
-
className?: string | null;
|
|
315
|
-
bodyClassName?: string | null;
|
|
316
|
-
}
|
|
317
|
-
declare function ModalDialog({ title, header, children, buttons, footer, size, onClose, className, bodyClassName, }: ModalDialogProps): react_jsx_runtime.JSX.Element;
|
|
318
|
-
|
|
319
|
-
interface ModalPortalProps {
|
|
320
|
-
id?: string | null;
|
|
321
|
-
data?: Record<string, unknown> | null;
|
|
322
|
-
children?: React__default.ReactNode | null;
|
|
310
|
+
interface UploadModalProps {
|
|
311
|
+
type?: MediaType | unknown[] | null;
|
|
312
|
+
opened?: boolean;
|
|
313
|
+
sources?: string[];
|
|
314
|
+
onUploaded?: ((...args: unknown[]) => void) | null;
|
|
315
|
+
onRequestClose?: ((...args: unknown[]) => void) | null;
|
|
323
316
|
}
|
|
324
|
-
declare function
|
|
317
|
+
declare function UploadModal({ type, opened, sources, onUploaded, onRequestClose, }: UploadModalProps): react_jsx_runtime.JSX.Element | null;
|
|
325
318
|
|
|
326
319
|
declare const _default: {
|
|
327
320
|
(props: any): react_jsx_runtime.JSX.Element;
|
|
@@ -340,7 +333,7 @@ interface PanelPortalProps {
|
|
|
340
333
|
data?: Record<string, unknown> | null;
|
|
341
334
|
children?: React__default.ReactNode | null;
|
|
342
335
|
}
|
|
343
|
-
declare function PanelPortal({ id, data, children }: PanelPortalProps): any;
|
|
336
|
+
declare function PanelPortal({ id, data, children }: PanelPortalProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
344
337
|
|
|
345
338
|
interface CardProps {
|
|
346
339
|
href?: string | null;
|
|
@@ -424,10 +417,9 @@ declare function ElementComponent({ name, components, props, isPlaceholder, clas
|
|
|
424
417
|
interface EmptyProps {
|
|
425
418
|
children?: React__default.ReactNode | null;
|
|
426
419
|
withoutBorder?: boolean;
|
|
427
|
-
light?: boolean;
|
|
428
420
|
className?: string | null;
|
|
429
421
|
}
|
|
430
|
-
declare function Empty({ children, withoutBorder,
|
|
422
|
+
declare function Empty({ children, withoutBorder, className }: EmptyProps): react_jsx_runtime.JSX.Element;
|
|
431
423
|
|
|
432
424
|
interface FontFacesProps {
|
|
433
425
|
fonts?: Font[];
|
|
@@ -436,14 +428,14 @@ interface FontFacesProps {
|
|
|
436
428
|
format?: string;
|
|
437
429
|
})[];
|
|
438
430
|
}
|
|
439
|
-
declare function FontFaces({ fonts, formats, }: FontFacesProps): react_jsx_runtime.JSX.Element;
|
|
431
|
+
declare function FontFaces({ fonts, formats, }: FontFacesProps): react_jsx_runtime.JSX.Element | null;
|
|
440
432
|
|
|
441
433
|
interface LabelProps {
|
|
442
434
|
children: Label$2;
|
|
443
435
|
isHtml?: boolean;
|
|
444
436
|
values?: Record<string, unknown>;
|
|
445
437
|
}
|
|
446
|
-
declare function Label$1({ children, isHtml, values }: LabelProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode
|
|
438
|
+
declare function Label$1({ children, isHtml, values }: LabelProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
447
439
|
|
|
448
440
|
interface LinkProps {
|
|
449
441
|
href?: string;
|
|
@@ -497,72 +489,66 @@ interface SpinnerProps {
|
|
|
497
489
|
}
|
|
498
490
|
declare function Spinner({ animated, color, strokeWidth, className, }: SpinnerProps): react_jsx_runtime.JSX.Element;
|
|
499
491
|
|
|
500
|
-
|
|
501
|
-
width
|
|
502
|
-
height
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}): react_jsx_runtime.JSX.Element;
|
|
511
|
-
|
|
512
|
-
declare function
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}): react_jsx_runtime.JSX.Element;
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
width?: string;
|
|
520
|
-
height?: string;
|
|
521
|
-
className
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
declare function Image({ width, height, className, ...props }: {
|
|
525
|
-
[x: string]: any;
|
|
526
|
-
width: any;
|
|
527
|
-
height: any;
|
|
528
|
-
className: any;
|
|
529
|
-
}): react_jsx_runtime.JSX.Element;
|
|
492
|
+
interface PlaceholderBlockProps {
|
|
493
|
+
width?: number | string;
|
|
494
|
+
height?: number | string;
|
|
495
|
+
outline?: boolean;
|
|
496
|
+
className?: string | null;
|
|
497
|
+
boxClassName?: string | null;
|
|
498
|
+
children?: React__default.ReactNode | null;
|
|
499
|
+
withInvertedColors?: boolean;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
declare function AdFrame({ width, height, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
503
|
+
|
|
504
|
+
declare function AdImage({ width, height, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
505
|
+
|
|
506
|
+
declare function Audio({ width, height, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
507
|
+
|
|
508
|
+
declare function Button({ className, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
509
|
+
|
|
510
|
+
interface PlaceholderImageProps extends PlaceholderBlockProps {
|
|
511
|
+
width?: number | string;
|
|
512
|
+
height?: number | string;
|
|
513
|
+
className?: string | null;
|
|
514
|
+
}
|
|
515
|
+
declare function PlaceholderImage({ width, height, className, ...props }: PlaceholderImageProps): react_jsx_runtime.JSX.Element;
|
|
530
516
|
|
|
531
517
|
declare function Line(props: any): react_jsx_runtime.JSX.Element;
|
|
532
518
|
|
|
533
|
-
|
|
519
|
+
interface MapPlaceholderProps extends PlaceholderBlockProps {
|
|
520
|
+
withImages?: boolean;
|
|
521
|
+
}
|
|
522
|
+
declare function Map({ withImages, className, ...props }: MapPlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
523
|
+
|
|
524
|
+
declare function MapPath({ width, height, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
534
525
|
|
|
535
|
-
|
|
526
|
+
interface PlaceholderTextProps {
|
|
527
|
+
lines?: number;
|
|
528
|
+
lineMargin?: number | string;
|
|
529
|
+
width?: number | string;
|
|
530
|
+
height?: number | string | null;
|
|
531
|
+
fontSize?: number;
|
|
532
|
+
className?: string | null;
|
|
533
|
+
}
|
|
536
534
|
|
|
537
|
-
declare function Quote(props:
|
|
535
|
+
declare function Quote({ height, lines, ...props }: PlaceholderTextProps): react_jsx_runtime.JSX.Element;
|
|
538
536
|
|
|
539
|
-
declare function ShortText(props:
|
|
537
|
+
declare function ShortText({ height, lines, ...props }: PlaceholderTextProps): react_jsx_runtime.JSX.Element;
|
|
540
538
|
|
|
541
|
-
declare function Subtitle(props:
|
|
539
|
+
declare function Subtitle({ height, lines, ...props }: PlaceholderTextProps): react_jsx_runtime.JSX.Element;
|
|
542
540
|
|
|
543
|
-
declare function TextPlaceholder(props:
|
|
541
|
+
declare function TextPlaceholder({ height, lines, ...props }: PlaceholderTextProps): react_jsx_runtime.JSX.Element;
|
|
544
542
|
|
|
545
543
|
declare function Timeline(props: any): react_jsx_runtime.JSX.Element;
|
|
546
544
|
|
|
547
|
-
declare function Title(props:
|
|
545
|
+
declare function Title({ height, lines, ...props }: PlaceholderTextProps): react_jsx_runtime.JSX.Element;
|
|
548
546
|
|
|
549
|
-
declare function Video({ width, height,
|
|
550
|
-
width: any;
|
|
551
|
-
height: any;
|
|
552
|
-
className: any;
|
|
553
|
-
}): react_jsx_runtime.JSX.Element;
|
|
547
|
+
declare function Video({ width, height, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
554
548
|
|
|
555
|
-
declare function Video360({ width, height, className }:
|
|
556
|
-
width: any;
|
|
557
|
-
height: any;
|
|
558
|
-
className: any;
|
|
559
|
-
}): react_jsx_runtime.JSX.Element;
|
|
549
|
+
declare function Video360({ width, height, className, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
560
550
|
|
|
561
|
-
declare function VideoLoop({ width, height,
|
|
562
|
-
width: any;
|
|
563
|
-
height: any;
|
|
564
|
-
className: any;
|
|
565
|
-
}): react_jsx_runtime.JSX.Element;
|
|
551
|
+
declare function VideoLoop({ width, height, ...props }: PlaceholderBlockProps): react_jsx_runtime.JSX.Element;
|
|
566
552
|
|
|
567
553
|
interface ScreenSizerProps {
|
|
568
554
|
width?: number | null;
|
|
@@ -619,12 +605,13 @@ interface ScreenElementProps {
|
|
|
619
605
|
placeholder?: string | React__default.ReactNode | null;
|
|
620
606
|
preview?: React__default.ReactNode | null;
|
|
621
607
|
empty?: React__default.ReactNode | null;
|
|
622
|
-
emptyLabel?: Label | null;
|
|
608
|
+
emptyLabel?: Label$2 | null;
|
|
623
609
|
isEmpty?: boolean;
|
|
624
610
|
placeholderProps?: Record<string, unknown> | null;
|
|
625
611
|
emptyClassName?: string | null;
|
|
612
|
+
placeholderClassName?: string | null;
|
|
626
613
|
}
|
|
627
|
-
declare function ScreenElement({ children, placeholder, empty, emptyLabel, preview, isEmpty, placeholderProps, emptyClassName, }: ScreenElementProps): any;
|
|
614
|
+
declare function ScreenElement({ children, placeholder, empty, emptyLabel, preview, isEmpty, placeholderProps, emptyClassName, placeholderClassName, }: ScreenElementProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
628
615
|
|
|
629
616
|
interface ScreensProps {
|
|
630
617
|
screens: StoryComponent[];
|
|
@@ -642,7 +629,7 @@ interface TransitionsProps {
|
|
|
642
629
|
disabled?: boolean;
|
|
643
630
|
children?: React__default.ReactNode | null;
|
|
644
631
|
}
|
|
645
|
-
declare function Transitions$1({ fullscreen, playing, delay, transitions, onComplete, disabled, children, }: TransitionsProps): any;
|
|
632
|
+
declare function Transitions$1({ fullscreen, playing, delay, transitions, onComplete, disabled, children, }: TransitionsProps): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null;
|
|
646
633
|
|
|
647
634
|
interface TransitionsStaggerProps {
|
|
648
635
|
transitions?: Transitions | null;
|
|
@@ -653,20 +640,21 @@ interface TransitionsStaggerProps {
|
|
|
653
640
|
fullscreen?: boolean;
|
|
654
641
|
children?: React__default.ReactNode | null;
|
|
655
642
|
}
|
|
656
|
-
declare function TransitionsStagger({ transitions, stagger, playing, disabled, delay, fullscreen, children, }: TransitionsStaggerProps): any;
|
|
643
|
+
declare function TransitionsStagger({ transitions, stagger, playing, disabled, delay, fullscreen, children, }: TransitionsStaggerProps): (string | number | bigint | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element)[] | null | undefined;
|
|
657
644
|
|
|
658
645
|
interface HighlightStyleProps {
|
|
659
646
|
selector?: string | null;
|
|
660
647
|
highlightSelector?: string;
|
|
661
648
|
style?: Record<string, string | number> | null;
|
|
662
649
|
}
|
|
663
|
-
declare function HighlightStyle({ selector, highlightSelector, style, }: HighlightStyleProps): react_jsx_runtime.JSX.Element;
|
|
650
|
+
declare function HighlightStyle({ selector, highlightSelector, style, }: HighlightStyleProps): react_jsx_runtime.JSX.Element | null;
|
|
664
651
|
|
|
665
652
|
interface LinkStyleProps {
|
|
666
653
|
selector?: string | null;
|
|
667
654
|
linkSelector?: string;
|
|
668
655
|
style?: Record<string, string | number> | null;
|
|
669
656
|
}
|
|
670
|
-
declare function LinkStyle({ selector, linkSelector, style }: LinkStyleProps): react_jsx_runtime.JSX.Element;
|
|
657
|
+
declare function LinkStyle({ selector, linkSelector, style }: LinkStyleProps): react_jsx_runtime.JSX.Element | null;
|
|
671
658
|
|
|
672
|
-
export { ArrowIcon, BackButton, Breadcrumb, Button$
|
|
659
|
+
export { ArrowIcon, BackButton, Breadcrumb, Button$1 as Button, Buttons, Card, ClearButton, Close, CloseIcon, CollapsablePanel, Date, Detector, Dropdown as DropdownMenu, ElementComponent as Element, Empty, FieldForm, FontFaces, Form, FormPanel, FullscreenIcon, HighlightStyle, Label$1 as Label, Link, LinkIcon, LinkStyle, Media, Menu, Meta, MuteIcon, Navbar, PaginationMenu as Pagination, Panel, PanelPortal, _default as Panels, PauseIcon, AdFrame as PlaceholderAdFrame, AdImage as PlaceholderAdImage, Audio as PlaceholderAudio, Button as PlaceholderButton, PlaceholderImage, Line as PlaceholderLine, Map as PlaceholderMap, MapPath as PlaceholderMapPath, Quote as PlaceholderQuote, ShortText as PlaceholderShortText, Subtitle as PlaceholderSubtitle, TextPlaceholder as PlaceholderText, Timeline as PlaceholderTimeline, Title as PlaceholderTitle, Video as PlaceholderVideo, Video360 as PlaceholderVideo360, VideoLoop as PlaceholderVideoLoop, PlayIcon, Screen, ScreenElement, ScreenPlaceholder, ScreenPreview, ScreenSizer, Screens, Slideshow, Spinner, TabsMenu as Tabs, Transitions$1 as Transitions, TransitionsStagger, UnmuteIcon, UploadModal };
|
|
660
|
+
export type { ButtonProps };
|