@antscorp/antsomi-ui 1.2.3-beta.16 → 1.2.3-beta.17
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/index.js +1 -1
- package/dist/main.css +0 -1
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +0 -1
- package/dist/types/components/molecules/CaptureScreen/hooks/useImageEditor.d.ts +1 -1
- package/dist/types/components/molecules/ChatBox/ChatBox.d.ts +0 -1
- package/dist/types/components/molecules/ChatBox/MessageItem.d.ts +4 -0
- package/dist/types/components/molecules/Select/Select.d.ts +1 -1
- package/dist/types/components/molecules/Select/Select.stories.d.ts +2 -2
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
.chat{display:flex;flex-direction:column;height:100%;padding:2rem;border-radius:1rem;border:1px solid #ddd;box-shadow:0 4px 6px rgba(49,54,68,.05),0 5px 20px rgba(49,54,68,.08)}.logs{flex:1;overflow-y:auto;margin-bottom:1rem}.log{gap:.4rem;display:flex;flex-direction:column}@keyframes blink{to{visibility:hidden}}.streaming>div{white-space:pre-wrap}.streaming>div>:not(ol):not(ul):not(pre):last-child:after,.streaming>div>ol:last-child li:last-child:after,.streaming>div>pre:last-child code:after,.streaming>div>ul:last-child li:last-child:after,article.ants-text-streaming:after{-webkit-animation:blink 1s steps(5, start) infinite;animation:blink 1s steps(5, start) infinite;content:"▋";margin-left:.25rem;vertical-align:baseline}
|
|
2
1
|
.react-resizable {
|
|
3
2
|
position: relative;
|
|
4
3
|
}
|
|
@@ -3,7 +3,6 @@ import { BoxDimensionProps } from './components/CommentBox/types';
|
|
|
3
3
|
import { DrawItemProps } from './types';
|
|
4
4
|
export declare const OFFSET_CENTER = 20;
|
|
5
5
|
export declare const SIZE_ADJUST = 1;
|
|
6
|
-
export declare const IMAGE_TRANSPARENT_BASE64 = "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";
|
|
7
6
|
export declare enum IGNORE_DRAW_ID_LIST {
|
|
8
7
|
ICON_CLOSE = "antsomi-package-close-draw-icon",
|
|
9
8
|
BORDER_OVERLAY = "antsomi-package-border-overlay",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { ImageEditorInstanceProps } from '../types';
|
|
3
|
-
export declare const useImageEditor: (
|
|
3
|
+
export declare const useImageEditor: (imageEditorRef: RefObject<HTMLDivElement>, options?: {
|
|
4
4
|
preventCreateInstance: boolean;
|
|
5
5
|
}) => ImageEditorInstanceProps;
|
|
@@ -2,7 +2,7 @@ import { SelectProps as AntdSelectProps } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface SelectProps extends AntdSelectProps {
|
|
4
4
|
}
|
|
5
|
-
declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").
|
|
5
|
+
declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: AntdSelectProps<ValueType, OptionType> & {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
} & {
|
|
8
8
|
ref?: React.Ref<import("antd").RefSelectProps> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
3
|
import { Select, SelectProps } from './Select';
|
|
4
|
-
declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").
|
|
4
|
+
declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
} & {
|
|
7
7
|
ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
|
|
@@ -12,7 +12,7 @@ declare const _default: ComponentMeta<(<ValueType = any, OptionType extends impo
|
|
|
12
12
|
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
13
13
|
} & React.FC<SelectProps>>;
|
|
14
14
|
export default _default;
|
|
15
|
-
export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").
|
|
15
|
+
export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
} & {
|
|
18
18
|
ref?: React.Ref<import("rc-select").BaseSelectRef> | undefined;
|