@antscorp/antsomi-ui 1.2.3-beta.14 → 1.2.3-beta.16

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/main.css CHANGED
@@ -1,4 +1,4 @@
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{-webkit-animation:blink 1s steps(5, start) infinite;animation:blink 1s steps(5, start) infinite;content:"▋";margin-left:.25rem;vertical-align:baseline}
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
2
  .react-resizable {
3
3
  position: relative;
4
4
  }
@@ -12,11 +12,13 @@ export interface IChatBoxMessageProps extends Message {
12
12
  role: Role;
13
13
  content: string;
14
14
  isTyping?: boolean;
15
+ isPlaceholder?: boolean;
15
16
  scrollBody: Function;
16
17
  renderDone: Function;
17
18
  doAnimation: boolean;
18
19
  answeringContent: string;
19
20
  avatar?: string;
21
+ idx?: number;
20
22
  }
21
23
  export interface IChatBoxProps {
22
24
  onClose?: Function;
@@ -25,4 +27,5 @@ export interface IChatBoxProps {
25
27
  userId: string | number;
26
28
  token: string;
27
29
  avatar?: string;
30
+ style?: Record<string, any>;
28
31
  }
@@ -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").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: AntdSelectProps<ValueType, OptionType> & {
5
+ declare const Select: (<ValueType = any, OptionType extends import("rc-select/lib/Select").BaseOptionType | import("rc-select/lib/Select").DefaultOptionType = 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").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
4
+ declare const _default: ComponentMeta<(<ValueType = any, OptionType extends import("rc-select/lib/Select").BaseOptionType | import("rc-select/lib/Select").DefaultOptionType = 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").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType = import("rc-select/lib/Select").DefaultOptionType>(props: import("antd").SelectProps<ValueType, OptionType> & {
15
+ export declare const Default: ComponentStory<(<ValueType = any, OptionType extends import("rc-select/lib/Select").BaseOptionType | import("rc-select/lib/Select").DefaultOptionType = 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.2.3-beta.14",
3
+ "version": "1.2.3-beta.16",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "main": "dist/index.js",
6
6
  "files": [