@regenbio/regenbio-components-react 1.2.84 → 1.2.86
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/build/components/HtmlRender/type.d.ts +4 -0
- package/build/components/MarkdownEditor/index.d.ts +15 -0
- package/build/components/MarkdownEditor/locales/en-US.d.ts +7 -0
- package/build/components/MarkdownEditor/locales/zh-CN.d.ts +7 -0
- package/build/components/MarkdownEditor/type.d.ts +17 -0
- package/build/components/ThemeSetter/index.d.ts +2 -1
- package/build/components/ThemeSetter/type.d.ts +11 -0
- package/build/index.d.ts +7 -1
- package/build/index.js +3 -3
- package/build/index.js.LICENSE.txt +14 -0
- package/build/locales/en-US.d.ts +4 -0
- package/build/locales/zh-CN.d.ts +4 -0
- package/package.json +6 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as Showdown from "showdown";
|
|
3
|
+
import "react-mde/lib/styles/css/react-mde-all.css";
|
|
4
|
+
import { RbMarkdownEditorProps } from "./type";
|
|
5
|
+
/**
|
|
6
|
+
* Markdown语法转换器
|
|
7
|
+
*/
|
|
8
|
+
export declare const RbMarkdownConverter: Showdown.Converter;
|
|
9
|
+
/**
|
|
10
|
+
* Rb Markdown编辑器
|
|
11
|
+
*
|
|
12
|
+
* @param props 属性
|
|
13
|
+
* @constructor
|
|
14
|
+
*/
|
|
15
|
+
export declare const RbMarkdownEditor: React.FC<RbMarkdownEditorProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { RbThemeProps } from "./type";
|
|
2
3
|
/**
|
|
3
4
|
* RB 主题设置器
|
|
4
5
|
*
|
|
5
6
|
* @param props 配置参数
|
|
6
7
|
* @constructor
|
|
7
8
|
*/
|
|
8
|
-
declare const RbThemeSetter: React.FC
|
|
9
|
+
declare const RbThemeSetter: React.FC<RbThemeProps>;
|
|
9
10
|
export default RbThemeSetter;
|
package/build/index.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ import RbPageContainer from "./components/PageContainer";
|
|
|
23
23
|
import { RbPageContainerProps } from "./components/PageContainer/type";
|
|
24
24
|
import RbHomePage from "./components/HomePage";
|
|
25
25
|
import { RbHomePageProps } from "./components/HomePage/type";
|
|
26
|
+
import { RbMarkdownEditor, RbMarkdownConverter } from "./components/MarkdownEditor";
|
|
27
|
+
import { RbMarkdownEditorProps } from "./components/MarkdownEditor/type";
|
|
26
28
|
import DbUtil from "./services/utils/dbUtil";
|
|
27
29
|
import ObjectUtil from "./services/utils/objectUtil";
|
|
28
30
|
import EventUtil from "./services/utils/eventUtil";
|
|
@@ -66,6 +68,8 @@ export { RbPageContainer };
|
|
|
66
68
|
export type { RbPageContainerProps };
|
|
67
69
|
export { RbHomePage };
|
|
68
70
|
export type { RbHomePageProps };
|
|
71
|
+
export { RbMarkdownConverter, RbMarkdownEditor };
|
|
72
|
+
export type { RbMarkdownEditorProps };
|
|
69
73
|
export { DbUtil, ObjectUtil, EventUtil, StorageUtil, ResourceUtil, RenderUtil, StringUtil, NumberUtil, RandomUtil, UnicodeUtil };
|
|
70
74
|
export { EventEnum, StorageEnum };
|
|
71
75
|
export { CommonConstant, IconConstant, DbConstant };
|
|
@@ -75,7 +79,7 @@ declare const _default: {
|
|
|
75
79
|
RbDataTable: <DataSource, U, ValueType = "text">(props: RbDataTableProps<DataSource, U, ValueType>) => any;
|
|
76
80
|
RbActionBarItem: React.FC<RbActionBarItemProps>;
|
|
77
81
|
RbActionBar: React.FC<RbActionBarProps>;
|
|
78
|
-
RbThemeSetter: React.FC
|
|
82
|
+
RbThemeSetter: React.FC<import("./components/ThemeSetter/type").RbThemeProps>;
|
|
79
83
|
RbDataChart: React.FC<RbDataChartProps>;
|
|
80
84
|
RbFileTag: React.FC<RbFileTagProps>;
|
|
81
85
|
RbUserCard: React.FC<RbUserCardProps>;
|
|
@@ -88,5 +92,7 @@ declare const _default: {
|
|
|
88
92
|
RbAttachmentText: React.FC<RbAttachmentTextProps>;
|
|
89
93
|
RbPageContainer: React.FC<RbPageContainerProps>;
|
|
90
94
|
RbHomePage: React.FC<RbHomePageProps>;
|
|
95
|
+
RbMarkdownConverter: import("showdown").Converter;
|
|
96
|
+
RbMarkdownEditor: React.FC<RbMarkdownEditorProps>;
|
|
91
97
|
};
|
|
92
98
|
export default _default;
|