@ws-ui/shared 0.1.7 → 0.1.9
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 +0 -0
- package/dist/components/ControlledSwitch.d.ts +0 -0
- package/dist/components/Dialog.d.ts +0 -0
- package/dist/components/Incase/index.d.ts +0 -0
- package/dist/components/Modal/Button.d.ts +10 -0
- package/dist/components/Modal/Icon.d.ts +9 -0
- package/dist/components/Modal/colors.d.ts +15 -0
- package/dist/components/Modal/index.d.ts +19 -0
- package/dist/components/Portal.d.ts +0 -0
- package/dist/components/Tips/components/CarouselTip.d.ts +0 -0
- package/dist/components/Tips/components/TextTip.d.ts +0 -0
- package/dist/components/Tips/components/VideoTip.d.ts +0 -0
- package/dist/components/Tips/components/index.d.ts +0 -0
- package/dist/components/Tips/index.d.ts +0 -0
- package/dist/components/Tips/interfaces.d.ts +0 -0
- package/dist/components/Tips/provider.d.ts +0 -0
- package/dist/components/Toast.d.ts +0 -0
- package/dist/components/Tooltip.d.ts +0 -0
- package/dist/components/Tree/components/IndentLines.d.ts +0 -0
- package/dist/components/Tree/components/Switcher.d.ts +0 -0
- package/dist/components/Tree/components/Tree.d.ts +0 -0
- package/dist/components/Tree/components/TreeNode.d.ts +0 -0
- 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 +0 -0
- package/dist/components/index.d.ts +1 -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 +0 -0
- 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 +0 -0
- package/dist/hooks/useStateObject.d.ts +0 -0
- package/dist/index.cjs.js +69 -69
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.es.js +6696 -6246
- 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 +1 -1
- 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 +1 -0
- package/dist/types/modal.d.ts +59 -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 +1 -1
package/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { IModal, ModalCloseReason } from '../../types/modal';
|
|
3
|
+
interface ICloseModalParams {
|
|
4
|
+
id: string;
|
|
5
|
+
reason?: ModalCloseReason;
|
|
6
|
+
}
|
|
7
|
+
interface IEditModalParams {
|
|
8
|
+
id: string;
|
|
9
|
+
views?: IModal['views'];
|
|
10
|
+
title?: IModal['title'];
|
|
11
|
+
}
|
|
12
|
+
interface IModalProps extends IModal {
|
|
13
|
+
width?: number;
|
|
14
|
+
hasOverlay?: boolean;
|
|
15
|
+
onClose: (params: ICloseModalParams) => void;
|
|
16
|
+
onEdit: (params: IEditModalParams) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const Modal: FC<IModalProps>;
|
|
19
|
+
export {};
|
|
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
|
|
File without changes
|
|
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
|
|
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
|
|
File without changes
|