@telia-ace/widget-ui 1.0.22 → 1.0.23-next.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/LICENSE.txt +5 -5
- package/README.md +3 -3
- package/dist/components/anchor-link.d.ts +4 -4
- package/dist/components/button.d.ts +4 -4
- package/dist/components/checkbox.d.ts +7 -7
- package/dist/components/drawer/drawer.d.ts +22 -21
- package/dist/components/drawer/index.d.ts +3 -3
- package/dist/components/dropdown/dropdown.d.ts +9 -9
- package/dist/components/dropdown/index.d.ts +4 -4
- package/dist/components/dropdown/use-position.d.ts +5 -5
- package/dist/components/empty.d.ts +4 -4
- package/dist/components/grid.d.ts +7 -7
- package/dist/components/html.d.ts +12 -12
- package/dist/components/icon.d.ts +7 -7
- package/dist/components/index.d.ts +59 -59
- package/dist/components/input.d.ts +10 -10
- package/dist/components/item-list.d.ts +10 -10
- package/dist/components/item-tree.d.ts +13 -13
- package/dist/components/lightbox.d.ts +12 -12
- package/dist/components/link.d.ts +11 -11
- package/dist/components/list.d.ts +9 -9
- package/dist/components/loader.d.ts +10 -10
- package/dist/components/modal/confirm.d.ts +12 -12
- package/dist/components/modal/index.d.ts +4 -4
- package/dist/components/modal/modal.d.ts +10 -10
- package/dist/components/not-found.d.ts +9 -9
- package/dist/components/overlay.d.ts +8 -8
- package/dist/components/paragraph.d.ts +11 -11
- package/dist/components/portal.d.ts +8 -8
- package/dist/components/route-link.d.ts +11 -11
- package/dist/components/symbol-badge.d.ts +15 -15
- package/dist/components/tab-stop.d.ts +18 -18
- package/dist/components/text-link.d.ts +8 -8
- package/dist/components/text.d.ts +4 -4
- package/dist/components/timestamp.d.ts +13 -13
- package/dist/components/tooltip.d.ts +8 -8
- package/dist/components/transition-component.d.ts +30 -30
- package/dist/components/typography.d.ts +9 -9
- package/dist/components/widget-link.d.ts +10 -10
- package/dist/components/widget-overlay-outlet.d.ts +8 -8
- package/dist/components/zoomable-img.d.ts +9 -9
- package/dist/contexts/index.d.ts +9 -9
- package/dist/create-react-component.d.ts +11 -11
- package/dist/hooks/index.d.ts +28 -28
- package/dist/hooks/use-action.d.ts +4 -4
- package/dist/hooks/use-children.d.ts +4 -4
- package/dist/hooks/use-columns.d.ts +2 -2
- package/dist/hooks/use-component-descriptor.d.ts +2 -2
- package/dist/hooks/use-component-node.d.ts +6 -6
- package/dist/hooks/use-component-platform.d.ts +4 -4
- package/dist/hooks/use-component.d.ts +3 -3
- package/dist/hooks/use-container.d.ts +2 -2
- package/dist/hooks/use-context.d.ts +3 -3
- package/dist/hooks/use-dispatch.d.ts +3 -3
- package/dist/hooks/use-event-listener.d.ts +2 -2
- package/dist/hooks/use-events.d.ts +3 -3
- package/dist/hooks/use-is-mounted.d.ts +3 -3
- package/dist/hooks/use-is-tabbing.d.ts +2 -2
- package/dist/hooks/use-key-press.d.ts +2 -2
- package/dist/hooks/use-layout.d.ts +3 -3
- package/dist/hooks/use-previous.d.ts +2 -2
- package/dist/hooks/use-properties.d.ts +6 -6
- package/dist/hooks/use-render-state.d.ts +4 -4
- package/dist/hooks/use-route-data.d.ts +4 -4
- package/dist/hooks/use-router.d.ts +3 -3
- package/dist/hooks/use-scroll.d.ts +2 -2
- package/dist/hooks/use-settings.d.ts +3 -3
- package/dist/hooks/use-toggle.d.ts +2 -2
- package/dist/hooks/use-transition-end.d.ts +2 -2
- package/dist/hooks/use-unique-menu.d.ts +2 -2
- package/dist/hooks/use-widget-event.d.ts +3 -3
- package/dist/index.d.ts +9 -9
- package/dist/index.js.map +1 -1
- package/dist/styles.d.ts +20 -20
- package/dist/utils/animations.d.ts +18 -18
- package/dist/utils/browser.d.ts +12 -12
- package/dist/utils/convert-to-string-attributes.d.ts +2 -2
- package/dist/utils/create-empty-component.d.ts +4 -3
- package/dist/utils/embedded-link-mapper.d.ts +4 -3
- package/dist/utils/filter-css-props.d.ts +8 -8
- package/dist/utils/generic-hash-link.d.ts +8 -8
- package/dist/utils/heading-styles.d.ts +1 -1
- package/dist/utils/index.d.ts +12 -12
- package/dist/utils/process-html-string.d.ts +4 -4
- package/dist/utils/render-instructions.d.ts +9 -9
- package/package.json +14 -15
package/LICENSE.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Copyright © 2021, Telia Company AB. All rights reserved.
|
|
2
|
-
|
|
3
|
-
THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
|
|
4
|
-
THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
|
|
5
|
-
AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
|
|
1
|
+
Copyright © 2021, Telia Company AB. All rights reserved.
|
|
2
|
+
|
|
3
|
+
THIS PACKAGE AND CONTAINING SOFTWARE IS PART OF
|
|
4
|
+
THE HUMANY SERVICE. BY USING THIS SOFTWARE YOU
|
|
5
|
+
AGREE TO THE FOLLOWING TERMS AND CONDITIONS:
|
|
6
6
|
http://www.humany.com/legal
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# `@telia-ace/widget-ui`
|
|
2
|
-
|
|
3
|
-
Generic UI components for ACE widgets.
|
|
1
|
+
# `@telia-ace/widget-ui`
|
|
2
|
+
|
|
3
|
+
Generic UI components for ACE widgets.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GenericHashLinkProps } from '../utils';
|
|
3
|
-
declare const AnchorLink: React.
|
|
4
|
-
export default AnchorLink;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GenericHashLinkProps } from '../utils';
|
|
3
|
+
declare const AnchorLink: React.FC<GenericHashLinkProps>;
|
|
4
|
+
export default AnchorLink;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = React.ComponentProps<'button'>;
|
|
3
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = React.ComponentProps<'button'>;
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = Merge<React.ComponentProps<'input'>, {
|
|
3
|
-
onChange?: (value: string, checked: boolean) => void;
|
|
4
|
-
onEnter?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
5
|
-
}>;
|
|
6
|
-
declare const Checkbox: React.
|
|
7
|
-
export default Checkbox;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = Merge<React.ComponentProps<'input'>, {
|
|
3
|
+
onChange?: (value: string, checked: boolean) => void;
|
|
4
|
+
onEnter?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
5
|
+
}>;
|
|
6
|
+
declare const Checkbox: React.FC<Props>;
|
|
7
|
+
export default Checkbox;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare enum AnimationType {
|
|
3
|
-
SlideInLeft = "slide-in-left",
|
|
4
|
-
SlideInRight = "slide-in-right",
|
|
5
|
-
SlideInBottom = "slide-in-bottom",
|
|
6
|
-
SlideInTop = "slide-in-top"
|
|
7
|
-
}
|
|
8
|
-
export declare type Props = {
|
|
9
|
-
header?: string | React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
animation?: {
|
|
12
|
-
type: AnimationType;
|
|
13
|
-
duration?: number;
|
|
14
|
-
};
|
|
15
|
-
trigger: React.ReactElement;
|
|
16
|
-
fullScreen?: boolean;
|
|
17
|
-
closeButtonAriaLabel?: string;
|
|
18
|
-
onToggle?: (visible: boolean) => void;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare enum AnimationType {
|
|
3
|
+
SlideInLeft = "slide-in-left",
|
|
4
|
+
SlideInRight = "slide-in-right",
|
|
5
|
+
SlideInBottom = "slide-in-bottom",
|
|
6
|
+
SlideInTop = "slide-in-top"
|
|
7
|
+
}
|
|
8
|
+
export declare type Props = {
|
|
9
|
+
header?: string | React.ReactNode;
|
|
10
|
+
className?: string;
|
|
11
|
+
animation?: {
|
|
12
|
+
type: AnimationType;
|
|
13
|
+
duration?: number;
|
|
14
|
+
};
|
|
15
|
+
trigger: React.ReactElement;
|
|
16
|
+
fullScreen?: boolean;
|
|
17
|
+
closeButtonAriaLabel?: string;
|
|
18
|
+
onToggle?: (visible: boolean) => void;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
declare const Drawer: React.FC<Props>;
|
|
22
|
+
export default Drawer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Drawer, { AnimationType } from './drawer';
|
|
2
|
-
export { AnimationType };
|
|
3
|
-
export default Drawer;
|
|
1
|
+
import Drawer, { AnimationType } from './drawer';
|
|
2
|
+
export { AnimationType };
|
|
3
|
+
export default Drawer;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React, { ReactElement } from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
children?: any;
|
|
5
|
-
trigger: ReactElement;
|
|
6
|
-
closeButtonAriaLabel?: string;
|
|
7
|
-
};
|
|
8
|
-
declare const Dropdown: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default Dropdown;
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
children?: any;
|
|
5
|
+
trigger: ReactElement;
|
|
6
|
+
closeButtonAriaLabel?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const Dropdown: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
export default Dropdown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Dropdown from './dropdown';
|
|
2
|
-
export type { Props } from './dropdown';
|
|
3
|
-
export { default as useCursorPosition } from './use-position';
|
|
4
|
-
export default Dropdown;
|
|
1
|
+
import Dropdown from './dropdown';
|
|
2
|
+
export type { Props } from './dropdown';
|
|
3
|
+
export { default as useCursorPosition } from './use-position';
|
|
4
|
+
export default Dropdown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const usePosition: (visible: boolean, id: string, element?: HTMLDivElement) => [{
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
}, (event: React.MouseEvent, trigger?: HTMLElement) => void];
|
|
5
|
-
export default usePosition;
|
|
1
|
+
export declare const usePosition: (visible: boolean, id: string, element?: HTMLDivElement) => [{
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}, (event: React.MouseEvent, trigger?: HTMLElement) => void];
|
|
5
|
+
export default usePosition;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = {};
|
|
3
|
-
declare const Empty: React.
|
|
4
|
-
export default Empty;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = {};
|
|
3
|
+
declare const Empty: React.FC<Props>;
|
|
4
|
+
export default Empty;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = Merge<React.ComponentProps<'div'>, {
|
|
3
|
-
columns: number;
|
|
4
|
-
gap: string;
|
|
5
|
-
}>;
|
|
6
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "columns" | "gap"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = Merge<React.ComponentProps<'div'>, {
|
|
3
|
+
columns: number;
|
|
4
|
+
gap: string;
|
|
5
|
+
}>;
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "columns" | "gap"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type HtmlParseInstruction = {
|
|
3
|
-
transform: {
|
|
4
|
-
[htmlTag: string]: (props: any) => JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
7
|
-
export declare type Props = Merge<React.ComponentProps<'div'>, {
|
|
8
|
-
html: string;
|
|
9
|
-
htmlParseInstruction?: HtmlParseInstruction;
|
|
10
|
-
}>;
|
|
11
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "html" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type HtmlParseInstruction = {
|
|
3
|
+
transform: {
|
|
4
|
+
[htmlTag: string]: (props: any) => JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare type Props = Merge<React.ComponentProps<'div'>, {
|
|
8
|
+
html: string;
|
|
9
|
+
htmlParseInstruction?: HtmlParseInstruction;
|
|
10
|
+
}>;
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "html" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = Merge<React.HTMLProps<HTMLElement>, {
|
|
3
|
-
className?: string;
|
|
4
|
-
faIcon: string;
|
|
5
|
-
}>;
|
|
6
|
-
declare const Icon: React.FC<Props>;
|
|
7
|
-
export default Icon;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = Merge<React.HTMLProps<HTMLElement>, {
|
|
3
|
+
className?: string;
|
|
4
|
+
faIcon: string;
|
|
5
|
+
}>;
|
|
6
|
+
declare const Icon: React.FC<Props>;
|
|
7
|
+
export default Icon;
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
export { default as AnchorLink } from './anchor-link';
|
|
2
|
-
export { default as Button } from './button';
|
|
3
|
-
export type { Props as ButtonProps } from './button';
|
|
4
|
-
export { default as Checkbox } from './checkbox';
|
|
5
|
-
export type { Props as CheckboxProps } from './checkbox';
|
|
6
|
-
export { AnimationType as DrawerAnimationType, default as Drawer } from './drawer';
|
|
7
|
-
export { default as Dropdown } from './dropdown';
|
|
8
|
-
export type { Props as DropdownProps } from './dropdown';
|
|
9
|
-
export { default as Empty } from './empty';
|
|
10
|
-
export type { Props as EmptyProps } from './empty';
|
|
11
|
-
export { default as Grid } from './grid';
|
|
12
|
-
export type { Props as GridProps } from './grid';
|
|
13
|
-
export { default as Html } from './html';
|
|
14
|
-
export type { HtmlParseInstruction, Props as HtmlProps } from './html';
|
|
15
|
-
export { default as Icon } from './icon';
|
|
16
|
-
export type { Props as IconProps } from './icon';
|
|
17
|
-
export { default as Input } from './input';
|
|
18
|
-
export type { Props as InputProps } from './input';
|
|
19
|
-
export { default as ItemList } from './item-list';
|
|
20
|
-
export type { Props as ItemListProps } from './item-list';
|
|
21
|
-
export { default as ItemTree } from './item-tree';
|
|
22
|
-
export type { Props as ItemTreeProps } from './item-tree';
|
|
23
|
-
export { default as Lightbox } from './lightbox';
|
|
24
|
-
export type { Props as LightboxProps } from './lightbox';
|
|
25
|
-
export { default as Link } from './link';
|
|
26
|
-
export type { Props as LinkProps } from './link';
|
|
27
|
-
export { default as List } from './list';
|
|
28
|
-
export type { ItemRenderer, Props as ListProps } from './list';
|
|
29
|
-
export { Confirm, default as Modal } from './modal';
|
|
30
|
-
export type { ModalProps } from './modal';
|
|
31
|
-
export { default as NotFound } from './not-found';
|
|
32
|
-
export type { Props as NotFoundProps } from './not-found';
|
|
33
|
-
export { default as Overlay } from './overlay';
|
|
34
|
-
export type { Props as OverlayProps } from './overlay';
|
|
35
|
-
export { default as Paragraph } from './paragraph';
|
|
36
|
-
export type { Props as ParagraphProps } from './paragraph';
|
|
37
|
-
export { default as Portal } from './portal';
|
|
38
|
-
export type { Props as PortalProps } from './portal';
|
|
39
|
-
export { default as RouteLink } from './route-link';
|
|
40
|
-
export type { Props as RouteLinkProps } from './route-link';
|
|
41
|
-
export { default as SymbolBadge } from './symbol-badge';
|
|
42
|
-
export type { HtmlIconProps, Props as SymbolBadgeProps, Symbol } from './symbol-badge';
|
|
43
|
-
export { default as TabStop } from './tab-stop';
|
|
44
|
-
export type { Props as TabStopProps } from './tab-stop';
|
|
45
|
-
export { default as Text } from './text';
|
|
46
|
-
export type { Props as TextProps } from './text';
|
|
47
|
-
export { default as TextLink } from './text-link';
|
|
48
|
-
export type { Props as TextLinkProps } from './text-link';
|
|
49
|
-
export { DateFormats, default as Timestamp } from './timestamp';
|
|
50
|
-
export type { Props as TimestampProps } from './timestamp';
|
|
51
|
-
export { default as Tooltip } from './tooltip';
|
|
52
|
-
export type { Props as TooltipProps } from './tooltip';
|
|
53
|
-
export { default as TransitionComponent } from './transition-component';
|
|
54
|
-
export type { Props as TransitionComponentProps } from './transition-component';
|
|
55
|
-
export { default as Typography } from './typography';
|
|
56
|
-
export type { Props as TypographyProps } from './typography';
|
|
57
|
-
export { default as WidgetLink } from './widget-link';
|
|
58
|
-
export type { Props as WidgetLinkProps } from './widget-link';
|
|
59
|
-
export { WidgetOverlayOutlet } from './widget-overlay-outlet';
|
|
1
|
+
export { default as AnchorLink } from './anchor-link';
|
|
2
|
+
export { default as Button } from './button';
|
|
3
|
+
export type { Props as ButtonProps } from './button';
|
|
4
|
+
export { default as Checkbox } from './checkbox';
|
|
5
|
+
export type { Props as CheckboxProps } from './checkbox';
|
|
6
|
+
export { AnimationType as DrawerAnimationType, default as Drawer } from './drawer';
|
|
7
|
+
export { default as Dropdown } from './dropdown';
|
|
8
|
+
export type { Props as DropdownProps } from './dropdown';
|
|
9
|
+
export { default as Empty } from './empty';
|
|
10
|
+
export type { Props as EmptyProps } from './empty';
|
|
11
|
+
export { default as Grid } from './grid';
|
|
12
|
+
export type { Props as GridProps } from './grid';
|
|
13
|
+
export { default as Html } from './html';
|
|
14
|
+
export type { HtmlParseInstruction, Props as HtmlProps } from './html';
|
|
15
|
+
export { default as Icon } from './icon';
|
|
16
|
+
export type { Props as IconProps } from './icon';
|
|
17
|
+
export { default as Input } from './input';
|
|
18
|
+
export type { Props as InputProps } from './input';
|
|
19
|
+
export { default as ItemList } from './item-list';
|
|
20
|
+
export type { Props as ItemListProps } from './item-list';
|
|
21
|
+
export { default as ItemTree } from './item-tree';
|
|
22
|
+
export type { Props as ItemTreeProps } from './item-tree';
|
|
23
|
+
export { default as Lightbox } from './lightbox';
|
|
24
|
+
export type { Props as LightboxProps } from './lightbox';
|
|
25
|
+
export { default as Link } from './link';
|
|
26
|
+
export type { Props as LinkProps } from './link';
|
|
27
|
+
export { default as List } from './list';
|
|
28
|
+
export type { ItemRenderer, Props as ListProps } from './list';
|
|
29
|
+
export { Confirm, default as Modal } from './modal';
|
|
30
|
+
export type { ModalProps } from './modal';
|
|
31
|
+
export { default as NotFound } from './not-found';
|
|
32
|
+
export type { Props as NotFoundProps } from './not-found';
|
|
33
|
+
export { default as Overlay } from './overlay';
|
|
34
|
+
export type { Props as OverlayProps } from './overlay';
|
|
35
|
+
export { default as Paragraph } from './paragraph';
|
|
36
|
+
export type { Props as ParagraphProps } from './paragraph';
|
|
37
|
+
export { default as Portal } from './portal';
|
|
38
|
+
export type { Props as PortalProps } from './portal';
|
|
39
|
+
export { default as RouteLink } from './route-link';
|
|
40
|
+
export type { Props as RouteLinkProps } from './route-link';
|
|
41
|
+
export { default as SymbolBadge } from './symbol-badge';
|
|
42
|
+
export type { HtmlIconProps, Props as SymbolBadgeProps, Symbol } from './symbol-badge';
|
|
43
|
+
export { default as TabStop } from './tab-stop';
|
|
44
|
+
export type { Props as TabStopProps } from './tab-stop';
|
|
45
|
+
export { default as Text } from './text';
|
|
46
|
+
export type { Props as TextProps } from './text';
|
|
47
|
+
export { default as TextLink } from './text-link';
|
|
48
|
+
export type { Props as TextLinkProps } from './text-link';
|
|
49
|
+
export { DateFormats, default as Timestamp } from './timestamp';
|
|
50
|
+
export type { Props as TimestampProps } from './timestamp';
|
|
51
|
+
export { default as Tooltip } from './tooltip';
|
|
52
|
+
export type { Props as TooltipProps } from './tooltip';
|
|
53
|
+
export { default as TransitionComponent } from './transition-component';
|
|
54
|
+
export type { Props as TransitionComponentProps } from './transition-component';
|
|
55
|
+
export { default as Typography } from './typography';
|
|
56
|
+
export type { Props as TypographyProps } from './typography';
|
|
57
|
+
export { default as WidgetLink } from './widget-link';
|
|
58
|
+
export type { Props as WidgetLinkProps } from './widget-link';
|
|
59
|
+
export { WidgetOverlayOutlet } from './widget-overlay-outlet';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = Merge<React.ComponentProps<'input'>, {
|
|
3
|
-
onChange?: (value: string) => void;
|
|
4
|
-
onEnter?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
5
|
-
onEscape?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
6
|
-
onFocusChange?: (focused: boolean) => void;
|
|
7
|
-
selectAllOnFocus?: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "list" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "onEnter" | "onEscape" | "onFocusChange" | "selectAllOnFocus"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
10
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = Merge<React.ComponentProps<'input'>, {
|
|
3
|
+
onChange?: (value: string) => void;
|
|
4
|
+
onEnter?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
5
|
+
onEscape?: (event: React.KeyboardEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
6
|
+
onFocusChange?: (focused: boolean) => void;
|
|
7
|
+
selectAllOnFocus?: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "form" | "slot" | "style" | "title" | "pattern" | "type" | "name" | "className" | "color" | "height" | "id" | "lang" | "max" | "min" | "width" | "role" | "tabIndex" | "crossOrigin" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "list" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "onEnter" | "onEscape" | "onFocusChange" | "selectAllOnFocus"> & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
10
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Props as ListProps } from './list';
|
|
3
|
-
import { Props as ParagraphProps } from './paragraph';
|
|
4
|
-
export declare type ItemListProps = {
|
|
5
|
-
customHeader?: any;
|
|
6
|
-
ulProps?: any;
|
|
7
|
-
};
|
|
8
|
-
export declare type Props = Merge<ListProps, ParagraphProps> & ItemListProps;
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "symbol" | "header" | "html" | "text" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction" | "renderItem" | "items" | "renderLi" | keyof ItemListProps> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props as ListProps } from './list';
|
|
3
|
+
import { Props as ParagraphProps } from './paragraph';
|
|
4
|
+
export declare type ItemListProps = {
|
|
5
|
+
customHeader?: any;
|
|
6
|
+
ulProps?: any;
|
|
7
|
+
};
|
|
8
|
+
export declare type Props = Merge<ListProps, ParagraphProps> & ItemListProps;
|
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "symbol" | "header" | "html" | "text" | "key" | keyof React.HTMLAttributes<HTMLDivElement> | "htmlParseInstruction" | "renderItem" | "items" | "renderLi" | keyof ItemListProps> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
tree?: any[];
|
|
5
|
-
rootItem?: any;
|
|
6
|
-
renderUnselected?: boolean;
|
|
7
|
-
renderItem: (props: any, level: number, isSelected: boolean) => JSX.Element;
|
|
8
|
-
renderEmpty?: boolean;
|
|
9
|
-
ulProps?: any;
|
|
10
|
-
liProps?: any;
|
|
11
|
-
};
|
|
12
|
-
declare const ItemTree: React.FC<Props>;
|
|
13
|
-
export default ItemTree;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
tree?: any[];
|
|
5
|
+
rootItem?: any;
|
|
6
|
+
renderUnselected?: boolean;
|
|
7
|
+
renderItem: (props: any, level: number, isSelected: boolean) => JSX.Element;
|
|
8
|
+
renderEmpty?: boolean;
|
|
9
|
+
ulProps?: any;
|
|
10
|
+
liProps?: any;
|
|
11
|
+
};
|
|
12
|
+
declare const ItemTree: React.FC<Props>;
|
|
13
|
+
export default ItemTree;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
attrs: React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
4
|
-
htmlBody: string;
|
|
5
|
-
};
|
|
6
|
-
export interface ZoomableImage {
|
|
7
|
-
src: string;
|
|
8
|
-
originalWidth: number;
|
|
9
|
-
originalHeight: number;
|
|
10
|
-
}
|
|
11
|
-
declare const Lightbox: FC<Props>;
|
|
12
|
-
export default Lightbox;
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
attrs: React.DetailedHTMLProps<React.HtmlHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
4
|
+
htmlBody: string;
|
|
5
|
+
};
|
|
6
|
+
export interface ZoomableImage {
|
|
7
|
+
src: string;
|
|
8
|
+
originalWidth: number;
|
|
9
|
+
originalHeight: number;
|
|
10
|
+
}
|
|
11
|
+
declare const Lightbox: FC<Props>;
|
|
12
|
+
export default Lightbox;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = Merge<React.ComponentProps<'a'>, {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
routeName?: string;
|
|
5
|
-
params?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
to?: string;
|
|
9
|
-
}>;
|
|
10
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "to" | "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "routeName" | "params"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
11
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = Merge<React.ComponentProps<'a'>, {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
routeName?: string;
|
|
5
|
+
params?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
to?: string;
|
|
9
|
+
}>;
|
|
10
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "to" | "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement> | "disabled" | "routeName" | "params"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
11
|
+
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type ItemRenderer = (item: any, index: number, items: any[], defaultRenderer?: ItemRenderer) => React.ReactNode;
|
|
3
|
-
export declare type Props = Merge<React.ComponentProps<'ul'>, {
|
|
4
|
-
renderItem: ItemRenderer;
|
|
5
|
-
items: any[];
|
|
6
|
-
renderLi?: boolean;
|
|
7
|
-
}>;
|
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLUListElement> | "renderItem" | "items" | "renderLi"> & React.RefAttributes<HTMLUListElement>>;
|
|
9
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type ItemRenderer = (item: any, index: number, items: any[], defaultRenderer?: ItemRenderer) => React.ReactNode;
|
|
3
|
+
export declare type Props = Merge<React.ComponentProps<'ul'>, {
|
|
4
|
+
renderItem: ItemRenderer;
|
|
5
|
+
items: any[];
|
|
6
|
+
renderLi?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLUListElement> | "renderItem" | "items" | "renderLi"> & React.RefAttributes<HTMLUListElement>>;
|
|
9
|
+
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
loading: boolean | undefined;
|
|
5
|
-
};
|
|
6
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {
|
|
7
|
-
'data-loading': boolean;
|
|
8
|
-
}, never>;
|
|
9
|
-
declare const Loader: React.
|
|
10
|
-
export default Loader;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Props = {
|
|
3
|
+
className?: string;
|
|
4
|
+
loading: boolean | undefined;
|
|
5
|
+
};
|
|
6
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {
|
|
7
|
+
'data-loading': boolean;
|
|
8
|
+
}, never>;
|
|
9
|
+
declare const Loader: React.FC<Props>;
|
|
10
|
+
export default Loader;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Props as ModalProps } from './modal';
|
|
3
|
-
declare type Props = Merge<{
|
|
4
|
-
header?: string;
|
|
5
|
-
text?: string;
|
|
6
|
-
onCancel?: () => void;
|
|
7
|
-
onConfirm?: () => void;
|
|
8
|
-
cancelLabel?: string;
|
|
9
|
-
confirmLabel?: string;
|
|
10
|
-
}, ModalProps>;
|
|
11
|
-
declare const Confirm: React.FC<Props>;
|
|
12
|
-
export default Confirm;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props as ModalProps } from './modal';
|
|
3
|
+
declare type Props = Merge<{
|
|
4
|
+
header?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
onCancel?: () => void;
|
|
7
|
+
onConfirm?: () => void;
|
|
8
|
+
cancelLabel?: string;
|
|
9
|
+
confirmLabel?: string;
|
|
10
|
+
}, ModalProps>;
|
|
11
|
+
declare const Confirm: React.FC<Props>;
|
|
12
|
+
export default Confirm;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Modal from './modal';
|
|
2
|
-
export { default as Confirm } from './confirm';
|
|
3
|
-
export type { Props as ModalProps } from './modal';
|
|
4
|
-
export default Modal;
|
|
1
|
+
import Modal from './modal';
|
|
2
|
+
export { default as Confirm } from './confirm';
|
|
3
|
+
export type { Props as ModalProps } from './modal';
|
|
4
|
+
export default Modal;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = Merge<{
|
|
3
|
-
trigger: React.ReactElement;
|
|
4
|
-
className?: string;
|
|
5
|
-
onOverlayClick?: (e: React.MouseEvent) => void;
|
|
6
|
-
close?: boolean;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
}, React.ComponentProps<'div'>>;
|
|
9
|
-
declare const Modal: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "close" | "trigger" | "onOverlayClick"> & React.RefAttributes<any>>;
|
|
10
|
-
export default Modal;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = Merge<{
|
|
3
|
+
trigger: React.ReactElement;
|
|
4
|
+
className?: string;
|
|
5
|
+
onOverlayClick?: (e: React.MouseEvent) => void;
|
|
6
|
+
close?: boolean;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
}, React.ComponentProps<'div'>>;
|
|
9
|
+
declare const Modal: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "close" | "trigger" | "onOverlayClick"> & React.RefAttributes<any>>;
|
|
10
|
+
export default Modal;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type Props = {
|
|
3
|
-
header?: string;
|
|
4
|
-
link?: string;
|
|
5
|
-
suggestionHeader?: string;
|
|
6
|
-
suggestion?: string;
|
|
7
|
-
};
|
|
8
|
-
declare const NotFound: React.FC<Props>;
|
|
9
|
-
export default NotFound;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare type Props = {
|
|
3
|
+
header?: string;
|
|
4
|
+
link?: string;
|
|
5
|
+
suggestionHeader?: string;
|
|
6
|
+
suggestion?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const NotFound: React.FC<Props>;
|
|
9
|
+
export default NotFound;
|