plataforma-fundacao-componentes 2.25.11 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/PercentLoaderIcon.d.ts +1 -1
- package/dist/assets/icons/ThreeDotsLoader.d.ts +3 -4
- package/dist/components/accordion/Accordion.stories.d.ts +9 -10
- package/dist/components/bigBlockButton/BigBlockButton.d.ts +4 -6
- package/dist/components/bottomNavigation/BottomNavigation.d.ts +1 -1
- package/dist/components/bottomNavigation/BottomNavigation.stories.d.ts +14 -14
- package/dist/components/breadCrumb/BreadCrumb.stories.d.ts +5 -6
- package/dist/components/button/Button.d.ts +6 -27
- package/dist/components/calendar/Calendar.d.ts +1 -1
- package/dist/components/calendar/components/calendarDays/CalendarDays.d.ts +4 -4
- package/dist/components/calendar/components/calendarMonthDay/CalendarMonthDay.d.ts +1 -1
- package/dist/components/card/Card.stories.d.ts +8 -7
- package/dist/components/carousel/Carousel.stories.d.ts +6 -7
- package/dist/components/carouselPersona/CarouselPersona.stories.d.ts +5 -6
- package/dist/components/carouselTouchFrendly/CarouselTouchFrendly.stories.d.ts +6 -7
- package/dist/components/chart/components/moneyMonthLineChart/MoneyMonthLineChart.d.ts +2 -1
- package/dist/components/chart/doughnutSquare/DoughnutSquare.stories.d.ts +9 -8
- package/dist/components/chart/moneyByMonth/MoneyByMonth.d.ts +2 -1
- package/dist/components/chart/moneyByMonth/MoneyByMonth.stories.d.ts +3 -2
- package/dist/components/checkbox/Checkbox.d.ts +0 -1
- package/dist/components/checkbox/Checkbox.stories.d.ts +9 -10
- package/dist/components/col/Col.stories.d.ts +6 -7
- package/dist/components/collapse/Collapse.stories.d.ts +5 -6
- package/dist/components/container/Container.stories.d.ts +6 -7
- package/dist/components/controlLabel/ControlLabel.d.ts +1 -1
- package/dist/components/datePicker/DatePicker.d.ts +1 -6
- package/dist/components/datePicker/DatePicker.stories.d.ts +7 -8
- package/dist/components/doughnut/Doughnut.d.ts +1 -6
- package/dist/components/doughnut/Doughnut.stories.d.ts +21 -25
- package/dist/components/elementPaginator/ElementPaginator.stories.d.ts +5 -6
- package/dist/components/etapas/Etapas.stories.d.ts +10 -11
- package/dist/components/etiqueta/Etiqueta.stories.d.ts +28 -34
- package/dist/components/fileLoader/FileLoader.stories.d.ts +7 -8
- package/dist/components/fileUpload/FileUpload.d.ts +1 -2
- package/dist/components/fileUpload/FileUpload.stories.d.ts +14 -13
- package/dist/components/footerSicredi/FooterSicredi.stories.d.ts +9 -10
- package/dist/components/fullHeightContainer/FullHeightContainer.stories.d.ts +7 -8
- package/dist/components/header/Header.d.ts +2 -3
- package/dist/components/header/Header.stories.d.ts +12 -13
- package/dist/components/iconButton/IconButton.d.ts +0 -1
- package/dist/components/iconButton/IconButton.stories.d.ts +7 -8
- package/dist/components/inputArea/InputArea.d.ts +0 -1
- package/dist/components/inputArea/InputArea.stories.d.ts +16 -17
- package/dist/components/menu/components/menuItem/MenuItem.d.ts +1 -2
- package/dist/components/menu/components/menuItem/MenuItem.stories.d.ts +8 -9
- package/dist/components/modal/Modal.d.ts +280 -20
- package/dist/components/modal/Modal.stories.d.ts +1 -0
- package/dist/components/modal/ModalMask.d.ts +2 -1
- package/dist/components/modal/ModalTypes.d.ts +3 -18
- package/dist/components/pageTitle/PageTitle.stories.d.ts +7 -6
- package/dist/components/pagination/Pagination.d.ts +1 -1
- package/dist/components/pagination/Pagination.stories.d.ts +46 -60
- package/dist/components/paginator/Paginator.stories.d.ts +16 -15
- package/dist/components/radioButton/RadioButton.d.ts +1 -2
- package/dist/components/row/Row.stories.d.ts +5 -6
- package/dist/components/select/Select.stories.d.ts +1 -0
- package/dist/components/switch/Switch.d.ts +0 -1
- package/dist/components/switch/Switch.stories.d.ts +8 -9
- package/dist/components/table/Table.d.ts +1 -1
- package/dist/components/tableFileNameAndAction/TableFileNameAndAction.d.ts +10 -9
- package/dist/components/tableFileNameAndAction/TableFileNameAndAction.stories.d.ts +7 -8
- package/dist/components/textEditor/TextEditor.d.ts +0 -1
- package/dist/components/textEditor/TextEditor.stories.d.ts +11 -12
- package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts +3 -8
- package/dist/components/textEditor/components/textEditorInput/TextEditorHeaderInput.d.ts +2 -7
- package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts +3 -8
- package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts +3 -8
- package/dist/components/toast/Toast.d.ts +0 -2
- package/dist/components/toastManager/ToastManager.d.ts +7 -1
- package/dist/components/toastManager/ToastManager.stories.d.ts +5 -6
- package/dist/components/tooltip/Tooltip.stories.d.ts +8 -9
- package/dist/components/tooltipManager/TooltipManager.stories.d.ts +7 -8
- package/dist/components/topLoader/TopLoader.stories.d.ts +6 -7
- package/dist/components/videoModal/VideoModal.d.ts +273 -10
- package/dist/components/videoPlayer/VideoPlayer.stories.d.ts +10 -11
- package/dist/hooks/useDebounce/useDebounce.d.ts +5 -0
- package/dist/hooks/useDebounce/useDebounce.stories.d.ts +10 -0
- package/dist/hooks/useHTMLShare/useHTMLShare.d.ts +1 -1
- package/dist/hooks/usePagination/usePagination.d.ts +1 -1
- package/dist/hooks/usePublicMenuList/usePublicMenuList.d.ts +1 -1
- package/dist/hooks/useScreenSize/useScreenSize.d.ts +7 -8
- package/dist/hooks/useStorageState/useStorageState.d.ts +1 -1
- package/dist/hooks/useToastManager/useToastManager.d.ts +1 -1
- package/dist/hooks/useValidatedState/useValidatedState.d.ts +1 -1
- package/dist/index.css +74 -75
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2704 -2676
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2380 -2351
- package/dist/index.modern.js.map +1 -1
- package/dist/libraries/ModalSize.d.ts +2 -1
- package/dist/libraries/ScreenSizes.d.ts +7 -0
- package/dist/utils/ArrayUtils.d.ts +1 -2
- package/dist/utils/HTMLutils.d.ts +3 -3
- package/dist/utils/MaskUtils.d.ts +8 -8
- package/dist/utils/ScrollUtils.d.ts +1 -1
- package/package.json +4 -4
|
@@ -8,12 +8,7 @@ export interface AlertModalProps<Req = any, Res = any> extends ModalProps {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
showIcons?: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare function AlertModal(props: AlertModalProps): React.JSX.Element;
|
|
12
|
-
export declare namespace AlertModal {
|
|
13
|
-
var defaultProps: {
|
|
14
|
-
showIcons: boolean;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
11
|
+
export declare function AlertModal({ disabled, language, onConfirm, showIcons, ...props }: AlertModalProps): React.JSX.Element;
|
|
17
12
|
export interface ConfirmModalProps<Req = any, Res = any> extends ModalProps {
|
|
18
13
|
language?: {
|
|
19
14
|
confirm: string;
|
|
@@ -24,12 +19,7 @@ export interface ConfirmModalProps<Req = any, Res = any> extends ModalProps {
|
|
|
24
19
|
showIcons?: boolean;
|
|
25
20
|
disabled?: boolean;
|
|
26
21
|
}
|
|
27
|
-
export declare function ConfirmModal(props: ConfirmModalProps): React.JSX.Element;
|
|
28
|
-
export declare namespace ConfirmModal {
|
|
29
|
-
var defaultProps: {
|
|
30
|
-
showIcons: boolean;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
22
|
+
export declare function ConfirmModal({ disabled, language, onCancel, onConfirm, showIcons, ...props }: ConfirmModalProps): React.JSX.Element;
|
|
33
23
|
export interface DestructiveModalProps extends ModalProps {
|
|
34
24
|
language?: {
|
|
35
25
|
confirm: string;
|
|
@@ -40,9 +30,4 @@ export interface DestructiveModalProps extends ModalProps {
|
|
|
40
30
|
onCancel: () => void;
|
|
41
31
|
showIcons?: boolean;
|
|
42
32
|
}
|
|
43
|
-
export declare function DestructiveModal(props: DestructiveModalProps): React.JSX.Element;
|
|
44
|
-
export declare namespace DestructiveModal {
|
|
45
|
-
var defaultProps: {
|
|
46
|
-
showIcons: boolean;
|
|
47
|
-
};
|
|
48
|
-
}
|
|
33
|
+
export declare function DestructiveModal({ disabled, language, onCancel, onConfirm, showIcons, ...props }: DestructiveModalProps): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PageTitle from './PageTitle';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof PageTitle;
|
|
6
|
+
};
|
|
5
7
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import PageTitle from "./PageTitle";
|
|
8
|
+
export declare const Primary: () => React.JSX.Element;
|
|
@@ -1,61 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
|
+
import Pagination from './Pagination';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
5
6
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export { hideNextButton_2 as hideNextButton };
|
|
48
|
-
const hidePrevButton_2: boolean;
|
|
49
|
-
export { hidePrevButton_2 as hidePrevButton };
|
|
50
|
-
const maxLength_1: number;
|
|
51
|
-
export { maxLength_1 as maxLength };
|
|
52
|
-
export namespace countPages {
|
|
53
|
-
export const rows: number;
|
|
54
|
-
export const totalItems: number;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
export { args_2 as args };
|
|
58
|
-
}
|
|
59
|
-
export function PageSize(args: any): import("react").JSX.Element;
|
|
60
|
-
export function CounterAndPageSize(args: any): import("react").JSX.Element;
|
|
61
|
-
import Pagination from "./Pagination";
|
|
7
|
+
export declare const WithSiblings: {
|
|
8
|
+
(args: ComponentProps<typeof Pagination>): React.JSX.Element;
|
|
9
|
+
args: {
|
|
10
|
+
siblingCount: number;
|
|
11
|
+
boundaryCount: number;
|
|
12
|
+
totalPages: number;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
hideNextButton: boolean;
|
|
16
|
+
hidePrevButton: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const WithoutSiblings: {
|
|
20
|
+
(args: ComponentProps<typeof Pagination>): React.JSX.Element;
|
|
21
|
+
args: {
|
|
22
|
+
maxLength: number;
|
|
23
|
+
totalPages: number;
|
|
24
|
+
boundaryCount: number;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
hideNextButton: boolean;
|
|
28
|
+
hidePrevButton: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const PageCounter: {
|
|
32
|
+
(args: ComponentProps<typeof Pagination>): React.JSX.Element;
|
|
33
|
+
args: {
|
|
34
|
+
boundaryCount: number;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
loading: boolean;
|
|
37
|
+
hideNextButton: boolean;
|
|
38
|
+
hidePrevButton: boolean;
|
|
39
|
+
maxLength: number;
|
|
40
|
+
countPages: {
|
|
41
|
+
rows: number;
|
|
42
|
+
totalItems: number;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export declare const PageSize: () => React.JSX.Element;
|
|
47
|
+
export declare const CounterAndPageSize: () => React.JSX.Element;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
|
+
import Paginator from './Paginator';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof Paginator;
|
|
6
|
+
};
|
|
5
7
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
import Paginator from "./Paginator";
|
|
8
|
+
export declare const Example: {
|
|
9
|
+
(args: ComponentProps<typeof Paginator>): React.JSX.Element;
|
|
10
|
+
args: {
|
|
11
|
+
quantidadeDePaginas: number;
|
|
12
|
+
limiter: number;
|
|
13
|
+
maxLength: number;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export declare const ExampleWithInteraction: () => React.JSX.Element;
|
|
@@ -8,14 +8,13 @@ interface RadioButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEle
|
|
|
8
8
|
'tooltip-text'?: string;
|
|
9
9
|
value: boolean;
|
|
10
10
|
theme?: RadioButtonType;
|
|
11
|
-
onChange
|
|
11
|
+
onChange?: (value: boolean) => void;
|
|
12
12
|
}
|
|
13
13
|
declare function RadioButton(props: RadioButtonProps): React.JSX.Element;
|
|
14
14
|
declare namespace RadioButton {
|
|
15
15
|
var defaultProps: {
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
value: boolean;
|
|
18
|
-
onChange: () => void;
|
|
19
18
|
theme: RadioButtonType;
|
|
20
19
|
};
|
|
21
20
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import Row from "./Row";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
@@ -20,3 +20,4 @@ export declare const MultipleWithoutOptions: () => React.JSX.Element;
|
|
|
20
20
|
export declare const MultiplePreSelectUniqueOption: () => React.JSX.Element;
|
|
21
21
|
export declare const MultiplePreSelectUniqueOptionReadOnly: () => React.JSX.Element;
|
|
22
22
|
export declare const TwoTest: () => React.JSX.Element;
|
|
23
|
+
export declare const NumberValue: () => React.JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
import Switch from "./Switch";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const Scaled: () => React.JSX.Element;
|
|
8
|
+
export declare const DisabledOn: () => React.JSX.Element;
|
|
9
|
+
export declare const DisabledOff: () => React.JSX.Element;
|
|
@@ -43,5 +43,5 @@ export interface TypedTableProps<R extends indexes> extends BasicTableProps {
|
|
|
43
43
|
lines?: LineObject<R>[];
|
|
44
44
|
}
|
|
45
45
|
export declare function TypedTable<R extends indexes>(props: TypedTableProps<R>): React.JSX.Element;
|
|
46
|
-
export default function Table(props: TableProps): JSX.Element;
|
|
46
|
+
export default function Table({ columns, lines, onSort, confirmSort, sortable, upperHeader, className, ...props }: TableProps): JSX.Element;
|
|
47
47
|
export {};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './TableFileNameAndAction.scss';
|
|
3
|
+
export declare type TableFileName = {
|
|
4
|
+
file?: File;
|
|
5
|
+
name?: string;
|
|
6
|
+
progress?: number;
|
|
7
|
+
indefinido?: boolean;
|
|
8
|
+
uploading?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
3
12
|
export interface TableFileNameAndActionProps {
|
|
4
|
-
files:
|
|
5
|
-
file?: Blob | any;
|
|
6
|
-
name?: string;
|
|
7
|
-
progress?: number;
|
|
8
|
-
indefinido?: boolean;
|
|
9
|
-
uploading?: boolean;
|
|
10
|
-
error?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}[];
|
|
13
|
+
files: TableFileName[];
|
|
13
14
|
white?: boolean;
|
|
14
15
|
rightIcon?: React.ReactNode;
|
|
15
16
|
onRightIconClick?: (event: number) => void;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
import TableFileNameAndAction from "./TableFileNameAndAction";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const White: () => React.JSX.Element;
|
|
8
|
+
export declare const WithLoader: () => React.JSX.Element;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
import TextEditor from "./TextEditor";
|
|
6
|
+
export declare const Primary: () => React.JSX.Element;
|
|
7
|
+
export declare const TopLabelHelperText: () => React.JSX.Element;
|
|
8
|
+
export declare const Disabled: () => React.JSX.Element;
|
|
9
|
+
export declare const Error: () => React.JSX.Element;
|
|
10
|
+
export declare const OnChangeListener: () => React.JSX.Element;
|
|
11
|
+
export declare const WithValue: () => React.JSX.Element;
|
|
12
|
+
export declare const ShowHTML: () => React.JSX.Element;
|
package/dist/components/textEditor/components/textEditorColorPicker/TextEditorColorPicker.d.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './TextEditorColorPicker.scss';
|
|
3
3
|
interface Props {
|
|
4
|
-
onChange
|
|
4
|
+
onChange?: (color: string) => void;
|
|
5
5
|
atualColor?: string;
|
|
6
6
|
opened: boolean;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var defaultProps: {
|
|
11
|
-
onChange: () => void;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default TextEditorColorPicker;
|
|
8
|
+
export default function TextEditorColorPicker(props: Props): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -4,10 +4,5 @@ interface Props extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
4
4
|
label?: string;
|
|
5
5
|
onEnter: () => void;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var defaultProps: {
|
|
10
|
-
onChange: () => void;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export default TextEditorHeaderInput;
|
|
7
|
+
export default function TextEditorHeaderInput(props: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
package/dist/components/textEditor/components/textEditorTitleChoser/TextEditorTitleChoser.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './TextEditorTitleChoser.scss';
|
|
3
3
|
interface Props {
|
|
4
|
-
onChange
|
|
4
|
+
onChange?: (text: string) => void;
|
|
5
5
|
opened: boolean;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var defaultProps: {
|
|
10
|
-
onChange: () => void;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export default TextEditorTitleChoser;
|
|
7
|
+
export default function TextEditorTitleChoser(props: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
package/dist/components/textEditor/components/textEditorUrlCreator/TextEditorUrlCreator.d.ts
CHANGED
|
@@ -2,13 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './TextEditorUrlCreator.scss';
|
|
3
3
|
interface Props {
|
|
4
4
|
opened?: boolean;
|
|
5
|
-
onChange
|
|
5
|
+
onChange?: (textValue: string, urlValue: string, newTab: boolean) => void;
|
|
6
6
|
editorId: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var defaultProps: {
|
|
11
|
-
onChange: () => void;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export default TextEditorUrlCreator;
|
|
8
|
+
export default function TextEditorUrlCreator(props: Props): React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ToastTypes } from '../../libraries/Toast';
|
|
3
|
+
import { ToastProps } from '../toast/Toast';
|
|
2
4
|
import './../../hooks/useToastManager/useToastManager.scss';
|
|
3
5
|
interface ToastManagerProps {
|
|
4
6
|
max?: string | number;
|
|
@@ -9,5 +11,9 @@ interface ToastManagerProps {
|
|
|
9
11
|
animateSize?: boolean;
|
|
10
12
|
pauseOnFocusLoss?: boolean;
|
|
11
13
|
}
|
|
12
|
-
export
|
|
14
|
+
export interface ToastManagerRefType {
|
|
15
|
+
showToast: (toast: ToastProps | string, theme?: ToastTypes, timeout?: number, showStatusBar?: boolean, prevent?: boolean) => void;
|
|
16
|
+
clearToast: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const ToastManager: React.ForwardRefExoticComponent<ToastManagerProps & React.RefAttributes<ToastManagerRefType>>;
|
|
13
19
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
import { ToastManager } from "./ToastManager";
|
|
6
|
+
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
import Tooltip from "./Tooltip";
|
|
6
|
+
export declare const Bottom: () => React.JSX.Element;
|
|
7
|
+
export declare const Top: () => React.JSX.Element;
|
|
8
|
+
export declare const Right: () => React.JSX.Element;
|
|
9
|
+
export declare const Left: () => React.JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
import TooltipManager from "./TooltipManager";
|
|
6
|
+
export declare const Example: () => React.JSX.Element;
|
|
7
|
+
export declare const ElementExample: () => React.JSX.Element;
|
|
8
|
+
export declare const PageChange: () => React.JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
};
|
|
5
5
|
export default _default;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
import TopLoader from "./TopLoader";
|
|
6
|
+
export declare const Loader: () => React.JSX.Element;
|
|
7
|
+
export declare const LoaderWithStatus: () => React.JSX.Element;
|