@yuntijs/ui 1.0.0-beta.58 → 1.0.0-beta.59

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.
@@ -1,7 +1,7 @@
1
1
  import { useResponsive } from 'antd-style';
2
2
  import { memo } from 'react';
3
3
  import { Flexbox } from 'react-layout-kit';
4
- import EditableMessage from "../../EditableMessage";
4
+ import { EditableMessage } from "../../EditableMessage";
5
5
  import { useStyles } from "../style";
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
7
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -1,5 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ChatItemProps } from './type';
3
- declare const ChatItem: import("react").NamedExoticComponent<ChatItemProps>;
4
- export default ChatItem;
3
+ export declare const ChatItem: import("react").NamedExoticComponent<ChatItemProps>;
5
4
  export type { ChatItemProps } from './type';
@@ -18,7 +18,7 @@ import MessageContent from "./components/MessageContent";
18
18
  import { jsx as _jsx } from "react/jsx-runtime";
19
19
  import { jsxs as _jsxs } from "react/jsx-runtime";
20
20
  var MOBILE_AVATAR_SIZE = 32;
21
- var ChatItem = /*#__PURE__*/memo(function (_ref) {
21
+ export var ChatItem = /*#__PURE__*/memo(function (_ref) {
22
22
  var avatarAddon = _ref.avatarAddon,
23
23
  onAvatarClick = _ref.onAvatarClick,
24
24
  avatarProps = _ref.avatarProps,
@@ -117,5 +117,4 @@ var ChatItem = /*#__PURE__*/memo(function (_ref) {
117
117
  borderSpacing: MOBILE_AVATAR_SIZE
118
118
  })]
119
119
  }));
120
- });
121
- export default ChatItem;
120
+ });
@@ -72,5 +72,4 @@ export interface EditableMessageProps {
72
72
  value: string;
73
73
  markdownProps?: MarkdownProps;
74
74
  }
75
- declare const EditableMessage: import("react").NamedExoticComponent<EditableMessageProps>;
76
- export default EditableMessage;
75
+ export declare const EditableMessage: import("react").NamedExoticComponent<EditableMessageProps>;
@@ -10,7 +10,7 @@ import useControlledState from 'use-merge-value';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  import { Fragment as _Fragment } from "react/jsx-runtime";
12
12
  import { jsxs as _jsxs } from "react/jsx-runtime";
13
- var EditableMessage = /*#__PURE__*/memo(function (_ref) {
13
+ export var EditableMessage = /*#__PURE__*/memo(function (_ref) {
14
14
  var value = _ref.value,
15
15
  onChange = _ref.onChange,
16
16
  _ref$classNames = _ref.classNames,
@@ -96,5 +96,4 @@ var EditableMessage = /*#__PURE__*/memo(function (_ref) {
96
96
  value: value
97
97
  })]
98
98
  });
99
- });
100
- export default EditableMessage;
99
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuntijs/ui",
3
- "version": "1.0.0-beta.58",
3
+ "version": "1.0.0-beta.59",
4
4
  "description": "☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps",
5
5
  "keywords": [
6
6
  "yuntijs",