@ws-ui/shared 1.11.12-rc8 → 1.11.13
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/Checkbox/index.d.ts +1 -0
- package/dist/components/FloatingTooltip/index.d.ts +11 -0
- package/dist/components/Modal/Button.d.ts +10 -0
- package/dist/components/Tooltip.d.ts +3 -7
- package/dist/components/index.d.ts +2 -3
- package/dist/declarations/datasources/datasource.d.ts +393 -393
- package/dist/declarations/datasources/interfaces/catalog.d.ts +1 -0
- package/dist/declarations/datasources/methods.d.ts +110 -110
- package/dist/declarations/index.d.ts +11 -11
- package/dist/declarations/webform/webform.d.ts +302 -302
- package/dist/hooks/index.d.ts +0 -2
- package/dist/index.cjs.js +116 -163
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +10212 -19558
- package/dist/index.es.js.map +1 -1
- package/dist/shared.css +1 -1
- package/dist/types/explorer.d.ts +0 -26
- package/dist/types/index.d.ts +0 -2
- package/dist/types/modal.d.ts +0 -7
- package/dist/types/shared.d.ts +2 -0
- package/dist/types/webform-editor.d.ts +1 -57
- package/dist/utils/index.d.ts +0 -1
- package/package.json +3 -3
- package/dist/components/SearchInput.d.ts +0 -12
- package/dist/components/ToolbarIcon/index.d.ts +0 -2
- package/dist/components/ToolbarIcon/interfaces.d.ts +0 -21
- package/dist/hooks/use-ds-change-renderer.d.ts +0 -10
- package/dist/hooks/use-ds-renderer.d.ts +0 -7
- package/dist/providers/index.d.ts +0 -1
- package/dist/providers/studio-context.d.ts +0 -7
- package/dist/types/roles.d.ts +0 -111
- package/dist/types/settings.d.ts +0 -28
- package/dist/utils/roles.d.ts +0 -54
|
@@ -11,5 +11,6 @@ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement
|
|
|
11
11
|
isInvalid?: boolean;
|
|
12
12
|
icon?: ReactElement<BaseCheckboxIconProps>;
|
|
13
13
|
label?: ReactNode;
|
|
14
|
+
indeterminate?: boolean;
|
|
14
15
|
}
|
|
15
16
|
export declare function Checkbox({ isChecked: controlledIsChecked, isIndeterminate, isInvalid, icon, label, className, style, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
type TooltipProps = {
|
|
3
|
+
message?: string | JSX.Element;
|
|
4
|
+
delayDuration?: number;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
7
|
+
sideOffset?: number;
|
|
8
|
+
alignOffset?: number;
|
|
9
|
+
};
|
|
10
|
+
export declare function FloatingTooltip(props: PropsWithChildren<TooltipProps>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ModalColor } from '../../types/modal';
|
|
3
|
+
interface IButtonProps {
|
|
4
|
+
color?: ModalColor;
|
|
5
|
+
variant?: 'solid' | 'outlined';
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
autoFocus?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const Button: FC<IButtonProps>;
|
|
10
|
+
export default Button;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { Placement } from '@popperjs/core';
|
|
3
3
|
interface ITooltip {
|
|
4
|
-
label: string
|
|
4
|
+
label: string;
|
|
5
5
|
placement?: Placement;
|
|
6
6
|
className?: string;
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
container?: Element;
|
|
9
9
|
}
|
|
10
|
-
export declare const Tooltip: FC<ITooltip>;
|
|
11
|
-
export declare const PopperTooltip: FC<{
|
|
12
|
-
referenceElement: HTMLElement | null;
|
|
13
|
-
label: string;
|
|
14
|
-
}>;
|
|
10
|
+
export declare const Tooltip: React.FC<ITooltip>;
|
|
15
11
|
export {};
|
|
@@ -5,13 +5,12 @@ export * from './Tree';
|
|
|
5
5
|
export * from './Incase';
|
|
6
6
|
export * from './Tips';
|
|
7
7
|
export * from './Tips/provider';
|
|
8
|
+
export * from './ControlledSwitch';
|
|
8
9
|
export * from './Tooltip';
|
|
9
10
|
export * from './AppLoader';
|
|
10
11
|
export * from './Modal';
|
|
11
12
|
export * from './ZoomComponent';
|
|
13
|
+
export * from './FloatingTooltip';
|
|
12
14
|
export * from './Panel';
|
|
13
15
|
export * from './Checkbox';
|
|
14
|
-
export * from './ToolbarIcon';
|
|
15
|
-
export * from './SearchInput';
|
|
16
|
-
export * from './Panel';
|
|
17
16
|
export * from './InvalidJsonError';
|