ag-common 0.0.428 → 0.0.430
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/ui/components/BorderGradient/index.d.ts +1 -1
- package/dist/ui/components/Button/index.d.ts +2 -2
- package/dist/ui/components/Chevron/index.d.ts +2 -2
- package/dist/ui/components/Close/index.d.ts +1 -1
- package/dist/ui/components/Confirm/Modal.d.ts +2 -2
- package/dist/ui/components/DropdownList/Base.d.ts +2 -2
- package/dist/ui/components/FlexColumn/index.d.ts +2 -2
- package/dist/ui/components/FlexRow/index.d.ts +2 -2
- package/dist/ui/components/HeadersRaw/index.d.ts +2 -2
- package/dist/ui/components/HorizontalScrollBar/index.d.ts +1 -1
- package/dist/ui/components/Icon/index.d.ts +1 -1
- package/dist/ui/components/Image/index.d.ts +2 -2
- package/dist/ui/components/InfiniteScroll/index.d.ts +1 -1
- package/dist/ui/components/KebabDots/index.d.ts +2 -2
- package/dist/ui/components/Loader/index.d.ts +2 -2
- package/dist/ui/components/Modal/Modal.d.ts +1 -1
- package/dist/ui/components/OpenApiCodeBlock/OpenApiCodeBlock.d.ts +2 -2
- package/dist/ui/components/OpenApiCodeBlock/curl/index.d.ts +2 -2
- package/dist/ui/components/OpenApiCodeBlock/fetch/index.d.ts +2 -2
- package/dist/ui/components/ProgressBar/index.d.ts +2 -2
- package/dist/ui/components/Prompt/Modal.d.ts +2 -2
- package/dist/ui/components/RowOrColumn/index.d.ts +2 -2
- package/dist/ui/components/Search/AutoHideSearchBox.d.ts +2 -2
- package/dist/ui/components/Search/Base.d.ts +2 -2
- package/dist/ui/components/Search/Inline.d.ts +2 -2
- package/dist/ui/components/Search/Modal.d.ts +2 -2
- package/dist/ui/components/Sidebar/index.d.ts +2 -2
- package/dist/ui/components/SparkLine/index.d.ts +2 -2
- package/dist/ui/components/Table/index.d.ts +2 -2
- package/dist/ui/components/TextEdit/CheckboxEdit.d.ts +2 -2
- package/dist/ui/components/TextEdit/ColourEdit.d.ts +2 -2
- package/dist/ui/components/TextEdit/LengthBox.d.ts +2 -2
- package/dist/ui/components/TextEdit/ListboxEdit.d.ts +2 -2
- package/dist/ui/components/TextEdit/RadioGroup.d.ts +2 -2
- package/dist/ui/components/TextWithButton/index.d.ts +2 -2
- package/dist/ui/components/Toast/Cross.d.ts +2 -2
- package/dist/ui/components/Toast/Tick.d.ts +2 -2
- package/dist/ui/components/Toast/Warning.d.ts +2 -2
- package/dist/ui/components/Toast/base.d.ts +2 -2
- package/dist/ui/components/UserImage/index.d.ts +3 -3
- package/dist/ui/icons/ChevronRight.d.ts +2 -2
- package/dist/ui/icons/CrossIcon.d.ts +2 -2
- package/dist/ui/icons/Door.d.ts +2 -2
- package/dist/ui/icons/HorizontalDots.d.ts +2 -2
- package/dist/ui/icons/Magnify.d.ts +2 -2
- package/dist/ui/icons/Pencil.d.ts +2 -2
- package/dist/ui/icons/Save.d.ts +2 -2
- package/dist/ui/icons/Undo.d.ts +2 -2
- package/dist/ui/icons/UserOutline.d.ts +2 -2
- package/package.json +17 -17
|
@@ -17,5 +17,5 @@ export interface IBorderGradient {
|
|
|
17
17
|
rel?: string;
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
}
|
|
20
|
-
export declare const BorderGradient: ({ left, right, children, radius, fill, padding, className, onClick, href, target, rel, noGrow, disabled, canClick, }: IBorderGradient) => JSX.Element;
|
|
20
|
+
export declare const BorderGradient: ({ left, right, children, radius, fill, padding, className, onClick, href, target, rel, noGrow, disabled, canClick, }: IBorderGradient) => React.JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardEventHandler, MouseEventHandler } from 'react';
|
|
1
|
+
import React, { KeyboardEventHandler, MouseEventHandler } from 'react';
|
|
2
2
|
export declare const ButtonBase: import("@emotion/react").SerializedStyles;
|
|
3
3
|
export interface IButton {
|
|
4
4
|
title?: string;
|
|
@@ -11,4 +11,4 @@ export interface IButton {
|
|
|
11
11
|
href?: string;
|
|
12
12
|
colourTheme?: 'green' | 'red';
|
|
13
13
|
}
|
|
14
|
-
export declare const Button: (props: IButton) => JSX.Element;
|
|
14
|
+
export declare const Button: (props: IButton) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface IChevron {
|
|
3
3
|
/**
|
|
4
4
|
* default right
|
|
@@ -9,4 +9,4 @@ export interface IChevron {
|
|
|
9
9
|
width?: string;
|
|
10
10
|
onToggle?: () => void;
|
|
11
11
|
}
|
|
12
|
-
export declare const Chevron: ({ width, className, colour, onToggle, point, }: IChevron) => JSX.Element;
|
|
12
|
+
export declare const Chevron: ({ width, className, colour, onToggle, point, }: IChevron) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IConfirmModal } from './types';
|
|
3
|
-
export declare const ConfirmModal: ({ onSubmit, bottomText, topText, okText, cancelText, }: IConfirmModal) => JSX.Element;
|
|
3
|
+
export declare const ConfirmModal: ({ onSubmit, bottomText, topText, okText, cancelText, }: IConfirmModal) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IDropdownList } from './types';
|
|
3
|
-
export declare function DropdownList<T>(p: IDropdownList<T>): JSX.Element;
|
|
3
|
+
export declare function DropdownList<T>(p: IDropdownList<T>): React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IFlexColumn } from '../RowOrColumn';
|
|
3
|
-
export declare const FlexColumn: (props: IFlexColumn) => JSX.Element;
|
|
3
|
+
export declare const FlexColumn: (props: IFlexColumn) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IFlexRow } from '../RowOrColumn';
|
|
3
|
-
export declare const FlexRow: (props: IFlexRow) => JSX.Element;
|
|
3
|
+
export declare const FlexRow: (props: IFlexRow) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface IHeadersRaw {
|
|
3
3
|
title?: string;
|
|
4
4
|
image?: string;
|
|
@@ -6,4 +6,4 @@ export interface IHeadersRaw {
|
|
|
6
6
|
FullSiteUrl: string;
|
|
7
7
|
siteDesc: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const HeadersRaw: ({ title, image, SiteShort, FullSiteUrl, siteDesc, }: IHeadersRaw) => JSX.Element[];
|
|
9
|
+
export declare const HeadersRaw: ({ title, image, SiteShort, FullSiteUrl, siteDesc, }: IHeadersRaw) => React.JSX.Element[];
|
|
@@ -24,4 +24,4 @@ export declare const IconF: import("@emotion/styled").StyledComponent<{
|
|
|
24
24
|
theme?: import("@emotion/react").Theme | undefined;
|
|
25
25
|
as?: React.ElementType<any> | undefined;
|
|
26
26
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
27
|
-
export declare const Icon: (pr: IIcon) => JSX.Element;
|
|
27
|
+
export declare const Icon: (pr: IIcon) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImgHTMLAttributes } from 'react';
|
|
1
|
+
import React, { ImgHTMLAttributes } from 'react';
|
|
2
2
|
export interface IImage {
|
|
3
3
|
/** if true, will set order to -1 for mobile. default false */
|
|
4
4
|
smalltop?: boolean;
|
|
@@ -9,4 +9,4 @@ export interface IImage {
|
|
|
9
9
|
/** if true is counted as a small image, and will be sized accordingly. default false */
|
|
10
10
|
small?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const Image: (p: ImgHTMLAttributes<HTMLImageElement> & IImage) => JSX.Element;
|
|
12
|
+
export declare const Image: (p: ImgHTMLAttributes<HTMLImageElement> & IImage) => React.JSX.Element;
|
|
@@ -14,4 +14,4 @@ export interface IInfiniteScroll {
|
|
|
14
14
|
/** eg 'showing x of y results' */
|
|
15
15
|
renderResultsLine?: (min: number, max: number) => React.ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare const InfiniteScroll: (p: IInfiniteScroll) => JSX.Element;
|
|
17
|
+
export declare const InfiniteScroll: (p: IInfiniteScroll) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface IKebabDots {
|
|
3
3
|
onClick?: () => Promise<void>;
|
|
4
4
|
}
|
|
5
|
-
export declare const KebabDots: ({ onClick }: IKebabDots) => JSX.Element;
|
|
5
|
+
export declare const KebabDots: ({ onClick }: IKebabDots) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface ILoader {
|
|
3
3
|
/**
|
|
4
4
|
* default 2rem
|
|
@@ -10,4 +10,4 @@ export interface ILoader {
|
|
|
10
10
|
height?: string | null;
|
|
11
11
|
name: string;
|
|
12
12
|
}
|
|
13
|
-
export declare const Loader: ({ name, height, width }: ILoader) => JSX.Element;
|
|
13
|
+
export declare const Loader: ({ name, height, width }: ILoader) => React.JSX.Element;
|
|
@@ -4,4 +4,4 @@ export declare const ModalItem: import("@emotion/styled").StyledComponent<{
|
|
|
4
4
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
5
|
as?: React.ElementType<any> | undefined;
|
|
6
6
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
-
export declare const Modal: ({ open, setOpen, children, position, topPosition, showCloseButton, closeOnMoveMouseOutside, className, closeOnClickOutside, }: IModal) => JSX.Element;
|
|
7
|
+
export declare const Modal: ({ open, setOpen, children, position, topPosition, showCloseButton, closeOnMoveMouseOutside, className, closeOnClickOutside, }: IModal) => React.JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IOpenApiCodeBlock } from './types';
|
|
3
|
-
export declare const OpenApiCodeBlock: <TDefaultApi>(p: IOpenApiCodeBlock<TDefaultApi>) => JSX.Element;
|
|
3
|
+
export declare const OpenApiCodeBlock: <TDefaultApi>(p: IOpenApiCodeBlock<TDefaultApi>) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IOpenApiCodeBlock, IOpenApiOperationBlock } from '../types';
|
|
3
3
|
export declare const Curl: <TDefaultApi>({ ops, p, }: {
|
|
4
4
|
p: IOpenApiCodeBlock<TDefaultApi>;
|
|
5
5
|
ops: IOpenApiOperationBlock;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { IOpenApiCodeBlock, IOpenApiOperationBlock } from '../types';
|
|
3
3
|
export declare const Fetch: <TDefaultApi>({ ops, p, }: {
|
|
4
4
|
p: IOpenApiCodeBlock<TDefaultApi>;
|
|
5
5
|
ops: IOpenApiOperationBlock;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface IProgressBar {
|
|
3
3
|
min: number;
|
|
4
4
|
max: number;
|
|
@@ -12,4 +12,4 @@ export interface IProgressBar {
|
|
|
12
12
|
/** if true, will transition to the end in X ms */
|
|
13
13
|
transitionToMs?: number;
|
|
14
14
|
}
|
|
15
|
-
export declare const ProgressBar: (p: IProgressBar) => JSX.Element;
|
|
15
|
+
export declare const ProgressBar: (p: IProgressBar) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { Root } from 'react-dom/client';
|
|
3
3
|
export interface IPromptModal {
|
|
4
4
|
defaultValue?: string;
|
|
@@ -13,4 +13,4 @@ export interface IPromptModal {
|
|
|
13
13
|
/** default "cancel" */
|
|
14
14
|
cancelText?: string;
|
|
15
15
|
}
|
|
16
|
-
export declare const PromptModal: ({ root, wrapper, res, bottomText, topText, okText, cancelText, defaultValue, placeholder, }: IPromptModal) => JSX.Element;
|
|
16
|
+
export declare const PromptModal: ({ root, wrapper, res, bottomText, topText, okText, cancelText, defaultValue, placeholder, }: IPromptModal) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
export interface IRowOrColumn {
|
|
3
3
|
noGrow?: boolean;
|
|
4
4
|
center?: boolean;
|
|
@@ -10,4 +10,4 @@ export interface IRowOrColumn {
|
|
|
10
10
|
}
|
|
11
11
|
export type IFlexColumn = IRowOrColumn;
|
|
12
12
|
export type IFlexRow = IRowOrColumn;
|
|
13
|
-
export declare const RowOrColumn: (props: IRowOrColumn) => JSX.Element;
|
|
13
|
+
export declare const RowOrColumn: (props: IRowOrColumn) => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface IAutoHideSearchBox {
|
|
3
3
|
searchText: string;
|
|
4
4
|
setSearchText: (val: string, enterPressed: boolean) => void;
|
|
5
5
|
onOpenToggle?: (open: boolean) => void;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const AutoHideSearchBox: (p: IAutoHideSearchBox) => JSX.Element;
|
|
8
|
+
export declare const AutoHideSearchBox: (p: IAutoHideSearchBox) => React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ISearchDialog, TSearchModalRes } from './types';
|
|
3
3
|
type ISearchBase<T> = ISearchDialog<T> & {
|
|
4
4
|
onSearchTextChange?: (v: string) => void;
|
|
5
5
|
onSelectItem?: (v: TSearchModalRes<T>) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const SearchBase: <T>(p: ISearchBase<T>) => JSX.Element;
|
|
7
|
+
export declare const SearchBase: <T>(p: ISearchBase<T>) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ISearchInline, TSearchModalRes } from './types';
|
|
3
3
|
export declare const SearchInline: <T>(p: ISearchInline<T> & {
|
|
4
4
|
onSelectItem?: ((v: TSearchModalRes<T>) => void) | undefined;
|
|
5
5
|
onSearchTextChange?: ((v: string) => void) | undefined;
|
|
6
|
-
}) => JSX.Element;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ISearchModal, TSearchModalRes } from './types';
|
|
3
3
|
export declare const SearchModal: <T>(p: ISearchModal<T> & {
|
|
4
4
|
onSelectItem: (v: TSearchModalRes<T>) => void;
|
|
5
|
-
}) => JSX.Element;
|
|
5
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface ISidebar {
|
|
3
3
|
children: any;
|
|
4
4
|
className?: string;
|
|
@@ -15,4 +15,4 @@ export interface ISidebar {
|
|
|
15
15
|
*/
|
|
16
16
|
width?: string;
|
|
17
17
|
}
|
|
18
|
-
export declare const Sidebar: ({ children, className, key, cookieDocument, width, }: ISidebar) => JSX.Element;
|
|
18
|
+
export declare const Sidebar: ({ children, className, key, cookieDocument, width, }: ISidebar) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface ISparkLine {
|
|
3
3
|
/**
|
|
4
4
|
* default #4d76ff
|
|
@@ -13,4 +13,4 @@ export type TSparkLineData = {
|
|
|
13
13
|
x: number;
|
|
14
14
|
y: number;
|
|
15
15
|
};
|
|
16
|
-
export declare const SparkLine: (p: ISparkLine) => JSX.Element;
|
|
16
|
+
export declare const SparkLine: (p: ISparkLine) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export interface TableItem {
|
|
3
3
|
content: JSX.Element;
|
|
4
4
|
groupTitle: string;
|
|
@@ -8,4 +8,4 @@ export interface ITable {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
headerRow?: JSX.Element;
|
|
10
10
|
}
|
|
11
|
-
export declare const Table: ({ children, className, headerRow }: ITable) => JSX.Element;
|
|
11
|
+
export declare const Table: ({ children, className, headerRow }: ITable) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const CheckboxEdit: ({ defaultValue, onSubmit, noGrow, allowUndo, }: {
|
|
3
3
|
defaultValue: boolean;
|
|
4
4
|
onSubmit: (val: boolean) => void;
|
|
@@ -7,4 +7,4 @@ export declare const CheckboxEdit: ({ defaultValue, onSubmit, noGrow, allowUndo,
|
|
|
7
7
|
* if true, will add undo button after changes. if false, will submit after every keypress. default true
|
|
8
8
|
*/
|
|
9
9
|
allowUndo?: boolean | undefined;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const ListboxEdit: <T>({ defaultValue, onSubmit, values, canEdit, renderLabel, }: {
|
|
3
3
|
defaultValue: T;
|
|
4
4
|
onSubmit: (val: T) => void;
|
|
@@ -11,4 +11,4 @@ export declare const ListboxEdit: <T>({ defaultValue, onSubmit, values, canEdit,
|
|
|
11
11
|
* can overload the render of the label. defaults to toString
|
|
12
12
|
*/
|
|
13
13
|
renderLabel?: ((a: T) => string) | undefined;
|
|
14
|
-
}) => JSX.Element;
|
|
14
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const RadioGroup: <T>({ defaultValue, onSubmit, values, renderLabel, renderValue, }: {
|
|
3
3
|
/**
|
|
4
4
|
* can overload the render of the label. defaults to toString
|
|
@@ -11,4 +11,4 @@ export declare const RadioGroup: <T>({ defaultValue, onSubmit, values, renderLab
|
|
|
11
11
|
defaultValue: T;
|
|
12
12
|
onSubmit: (val: T) => void;
|
|
13
13
|
values: T[];
|
|
14
|
-
}) => JSX.Element;
|
|
14
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const TextWithButton: ({ submitText, placeholder, validateF, onSubmit, }: {
|
|
3
3
|
/** default "Submit" */
|
|
4
4
|
submitText?: string | undefined;
|
|
@@ -6,4 +6,4 @@ export declare const TextWithButton: ({ submitText, placeholder, validateF, onSu
|
|
|
6
6
|
/** if provided will validate and block submission accordingly */
|
|
7
7
|
validateF?: ((s: string) => boolean) | undefined;
|
|
8
8
|
onSubmit: (s: string) => void;
|
|
9
|
-
}) => JSX.Element;
|
|
9
|
+
}) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Cross: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Cross: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Tick: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Tick: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Warning: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Warning: () => React.JSX.Element;
|
|
@@ -7,8 +7,8 @@ export declare const Toast: ({ toast, close, providerOptions, }: {
|
|
|
7
7
|
toast: IToastInt;
|
|
8
8
|
providerOptions: IToastProviderOptions;
|
|
9
9
|
close: (s: string) => void;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
11
|
export declare const ToastProvider: ({ children, providerOptions, }: {
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
providerOptions?: IToastProviderOptions | undefined;
|
|
14
|
-
}) => JSX.Element;
|
|
14
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { User } from '../../helpers/jwt';
|
|
3
3
|
export interface IUserImage {
|
|
4
4
|
image?: string;
|
|
@@ -6,9 +6,9 @@ export interface IUserImage {
|
|
|
6
6
|
/** default "user image" */
|
|
7
7
|
title?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const UserImage: ({ image, className, title, }: IUserImage) => JSX.Element;
|
|
9
|
+
export declare const UserImage: ({ image, className, title, }: IUserImage) => React.JSX.Element;
|
|
10
10
|
export interface IUserProfileImage {
|
|
11
11
|
className?: string;
|
|
12
12
|
user?: Pick<User, 'picture' | 'fullname' | 'userId'>;
|
|
13
13
|
}
|
|
14
|
-
export declare const UserProfileImage: ({ className, user }: IUserProfileImage) => JSX.Element;
|
|
14
|
+
export declare const UserProfileImage: ({ className, user }: IUserProfileImage) => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const ChevronRight: JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const ChevronRight: React.JSX.Element;
|
package/dist/ui/icons/Door.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Door: JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Door: React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const HorizontalDots: JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const HorizontalDots: React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Pencil: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Pencil: () => React.JSX.Element;
|
package/dist/ui/icons/Save.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Save: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Save: () => React.JSX.Element;
|
package/dist/ui/icons/Undo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Undo: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Undo: () => React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const UserOutline: JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const UserOutline: React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.430",
|
|
3
3
|
"name": "ag-common",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
"typescript": ">=5"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@babel/core": "7.21.
|
|
31
|
+
"@babel/core": "7.21.8",
|
|
32
32
|
"@babel/preset-typescript": "^7.21.5",
|
|
33
33
|
"@babel/types": "^7.21.5",
|
|
34
|
-
"@emotion/react": "11.
|
|
35
|
-
"@emotion/styled": "11.
|
|
36
|
-
"@storybook/addon-actions": "7.0.
|
|
37
|
-
"@storybook/addon-docs": "7.0.
|
|
38
|
-
"@storybook/addon-essentials": "7.0.
|
|
39
|
-
"@storybook/addon-interactions": "7.0.
|
|
40
|
-
"@storybook/addon-links": "7.0.
|
|
41
|
-
"@storybook/addons": "7.0.
|
|
42
|
-
"@storybook/react": "7.0.
|
|
43
|
-
"@storybook/react-webpack5": "7.0.
|
|
44
|
-
"@storybook/theming": "7.0.
|
|
34
|
+
"@emotion/react": "11.11.0",
|
|
35
|
+
"@emotion/styled": "11.11.0",
|
|
36
|
+
"@storybook/addon-actions": "7.0.9",
|
|
37
|
+
"@storybook/addon-docs": "7.0.9",
|
|
38
|
+
"@storybook/addon-essentials": "7.0.9",
|
|
39
|
+
"@storybook/addon-interactions": "7.0.9",
|
|
40
|
+
"@storybook/addon-links": "7.0.9",
|
|
41
|
+
"@storybook/addons": "7.0.9",
|
|
42
|
+
"@storybook/react": "7.0.9",
|
|
43
|
+
"@storybook/react-webpack5": "7.0.9",
|
|
44
|
+
"@storybook/theming": "7.0.9",
|
|
45
45
|
"@types/jsonwebtoken": "9.0.2",
|
|
46
|
-
"@types/node": "18.16.
|
|
47
|
-
"@types/react": "18.2.
|
|
48
|
-
"@types/react-dom": "18.2.
|
|
46
|
+
"@types/node": "18.16.5",
|
|
47
|
+
"@types/react": "18.2.6",
|
|
48
|
+
"@types/react-dom": "18.2.4",
|
|
49
49
|
"cross-env": "7.0.3",
|
|
50
50
|
"eslint-config-e7npm": "0.0.9",
|
|
51
51
|
"rimraf": "5.0.0",
|
|
52
|
-
"storybook": "7.0.
|
|
52
|
+
"storybook": "7.0.9"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
55
55
|
"dist/**/*",
|