@ws-ui/shared 0.1.5 → 0.1.6
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/README.md +0 -0
- package/dist/components/AppLoader.d.ts +2 -2
- package/dist/components/ControlledSwitch.d.ts +0 -0
- 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/interfaces.d.ts +0 -0
- 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/index.d.ts +0 -0
- package/dist/components/Tree/interfaces.d.ts +0 -0
- package/dist/components/Tree/styled.d.ts +1 -1
- package/dist/components/index.d.ts +0 -0
- package/dist/constants.d.ts +0 -0
- package/dist/datasource-themes.d.ts +0 -0
- package/dist/declarations/datasources/cache.d.ts +0 -0
- package/dist/declarations/datasources/dataclass.d.ts +0 -0
- package/dist/declarations/datasources/datasource.d.ts +0 -0
- package/dist/declarations/datasources/datastore.d.ts +0 -0
- package/dist/declarations/datasources/entitysel.d.ts +0 -0
- package/dist/declarations/datasources/interfaces/catalog.d.ts +0 -0
- package/dist/declarations/datasources/interfaces/dataclass-attribute.d.ts +0 -0
- package/dist/declarations/datasources/methods.d.ts +0 -0
- package/dist/declarations/datasources/rest.d.ts +0 -0
- package/dist/declarations/http-methods.d.ts +0 -0
- package/dist/declarations/index.d.ts +0 -0
- package/dist/declarations/webform/webform.d.ts +1 -1
- package/dist/hooks/index.d.ts +0 -0
- package/dist/hooks/use-didmounteffect.d.ts +0 -0
- package/dist/hooks/use-feature-flags.d.ts +0 -0
- package/dist/hooks/use-forwarded-ref.d.ts +0 -0
- package/dist/hooks/use-hotkeys.d.ts +0 -0
- package/dist/hooks/use-outside-click.d.ts +0 -0
- package/dist/hooks/use-previous.d.ts +0 -0
- package/dist/hooks/use-state-ref.d.ts +0 -0
- package/dist/hooks/useDoubleClick.d.ts +0 -0
- package/dist/hooks/useIdentity.d.ts +1 -1
- package/dist/hooks/useStateObject.d.ts +0 -0
- package/dist/index.cjs.js +75 -75
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +6383 -6418
- package/dist/index.es.js.map +1 -1
- package/dist/services/api.d.ts +0 -0
- package/dist/services/common.d.ts +0 -0
- package/dist/services/explorer.d.ts +0 -0
- package/dist/services/functions.d.ts +0 -0
- package/dist/services/index.d.ts +0 -0
- package/dist/services/tracking.d.ts +0 -0
- package/dist/style.css +0 -0
- package/dist/tailwind.preset.js +0 -0
- package/dist/types/api.d.ts +0 -0
- package/dist/types/code-editor.d.ts +0 -0
- package/dist/types/explorer.d.ts +0 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/types/shared.d.ts +0 -0
- package/dist/types/utils.d.ts +0 -0
- package/dist/types/webform-editor.d.ts +0 -0
- package/dist/types/welcome-tour.d.ts +0 -0
- package/dist/utils/code.d.ts +0 -0
- package/dist/utils/common.d.ts +0 -0
- package/dist/utils/datasources.d.ts +0 -0
- package/dist/utils/explorer.d.ts +0 -0
- package/dist/utils/index.d.ts +0 -0
- package/dist/utils/model.d.ts +0 -0
- package/dist/utils/parser.d.ts +0 -0
- package/dist/utils/subjects.d.ts +0 -0
- package/dist/utils/validation.d.ts +0 -0
- package/dist/utils/validation.test.d.ts +0 -0
- package/dist/utils/waiter/index.d.ts +0 -0
- package/dist/utils/waiter/waiter.test.d.ts +0 -0
- package/dist/vite.svg +0 -0
- package/package.json +8 -14
package/README.md
CHANGED
|
File without changes
|
|
@@ -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
|
|
4
|
+
as?: import("react").ElementType<any> | 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
|
-
}) =>
|
|
11
|
+
}) => JSX.Element;
|
|
File without changes
|
|
@@ -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<
|
|
6
|
+
export declare const Overlay: FC<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<
|
|
20
|
+
export declare const Dialog: FC<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;
|
|
File without changes
|
|
@@ -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<{
|
|
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<{
|
|
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<
|
|
18
|
+
export declare const Toast: React.FC<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<{
|
|
3
3
|
show: boolean;
|
|
4
4
|
expanded: boolean;
|
|
5
5
|
variant?: 'arrow' | 'caret';
|
|
6
6
|
onClick?: MouseEventHandler;
|
|
7
|
-
}
|
|
7
|
+
}>;
|
|
8
8
|
export default Switcher;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/constants.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/hooks/index.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|