@ws-ui/shared 0.1.4 → 0.1.5
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/components/AppLoader.d.ts +2 -2
- package/dist/components/Dialog.d.ts +2 -2
- package/dist/components/Incase/index.d.ts +1 -1
- package/dist/components/Portal.d.ts +1 -1
- package/dist/components/Tips/components/CarouselTip.d.ts +2 -2
- package/dist/components/Tips/components/TextTip.d.ts +1 -1
- package/dist/components/Tips/components/VideoTip.d.ts +1 -1
- package/dist/components/Tips/components/index.d.ts +1 -1
- package/dist/components/Tips/index.d.ts +2 -2
- package/dist/components/Tips/provider.d.ts +2 -2
- package/dist/components/Toast.d.ts +3 -3
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tree/components/IndentLines.d.ts +2 -2
- package/dist/components/Tree/components/Switcher.d.ts +2 -2
- package/dist/components/Tree/components/Tree.d.ts +1 -1
- package/dist/components/Tree/components/TreeNode.d.ts +1 -1
- package/dist/components/Tree/styled.d.ts +1 -1
- package/dist/declarations/webform/webform.d.ts +1 -1
- package/dist/hooks/useIdentity.d.ts +1 -1
- package/dist/index.cjs.js +75 -75
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6417 -6382
- package/dist/index.es.js.map +1 -1
- package/package.json +14 -8
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const LogoSVG: import("@emotion/styled").StyledComponent<{
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
6
6
|
export interface StudioProps {
|
|
7
7
|
}
|
|
8
8
|
export declare const AppLoader: ({ message, version, }: {
|
|
9
9
|
message: string;
|
|
10
10
|
version: string;
|
|
11
|
-
}) => JSX.Element;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import React, { CSSProperties, FC } from 'react';
|
|
|
3
3
|
interface IOverlayProps {
|
|
4
4
|
onClick: (ev: React.MouseEvent) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const Overlay: FC<IOverlayProps
|
|
6
|
+
export declare const Overlay: FC<React.PropsWithChildren<IOverlayProps>>;
|
|
7
7
|
interface IDialogBodyProps {
|
|
8
8
|
style?: CSSProperties;
|
|
9
9
|
attributes?: {
|
|
@@ -17,5 +17,5 @@ interface IDialogProps {
|
|
|
17
17
|
referenceElement: Element | VirtualElement | null | undefined;
|
|
18
18
|
placement?: Placement;
|
|
19
19
|
}
|
|
20
|
-
export declare const Dialog: FC<IDialogProps
|
|
20
|
+
export declare const Dialog: FC<React.PropsWithChildren<IDialogProps>>;
|
|
21
21
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
export declare const Portal: FC
|
|
2
|
+
export declare const Portal: FC<React.PropsWithChildren<unknown>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { TTip } from './interfaces';
|
|
3
|
-
export declare const TipsProvider: FC<{
|
|
3
|
+
export declare const TipsProvider: FC<React.PropsWithChildren<{
|
|
4
4
|
enabled?: boolean;
|
|
5
5
|
baseUrl?: string;
|
|
6
|
-
}
|
|
6
|
+
}>>;
|
|
7
7
|
export declare const useTip: (key?: string) => {
|
|
8
8
|
tip: TTip | null;
|
|
9
9
|
toggleTips: () => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { FC } from 'react';
|
|
2
2
|
export type ToastKind = 'warning' | 'info' | 'danger' | 'message' | 'error' | 'multi';
|
|
3
|
-
export type ToastCustomIcon = FC<{
|
|
3
|
+
export type ToastCustomIcon = FC<React.PropsWithChildren<{
|
|
4
4
|
className?: string;
|
|
5
|
-
}
|
|
5
|
+
}>>;
|
|
6
6
|
interface IToastProps {
|
|
7
7
|
kind: ToastKind;
|
|
8
8
|
message: string | IMultilineMessage[];
|
|
@@ -15,5 +15,5 @@ export interface IMultilineMessage {
|
|
|
15
15
|
title: string;
|
|
16
16
|
messages: string[];
|
|
17
17
|
}
|
|
18
|
-
export declare const Toast: React.FC<IToastProps
|
|
18
|
+
export declare const Toast: React.FC<React.PropsWithChildren<IToastProps>>;
|
|
19
19
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC, MouseEventHandler } from 'react';
|
|
2
|
-
declare const Switcher: FC<{
|
|
2
|
+
declare const Switcher: FC<React.PropsWithChildren<{
|
|
3
3
|
show: boolean;
|
|
4
4
|
expanded: boolean;
|
|
5
5
|
variant?: 'arrow' | 'caret';
|
|
6
6
|
onClick?: MouseEventHandler;
|
|
7
|
-
}
|
|
7
|
+
}>>;
|
|
8
8
|
export default Switcher;
|