@entur-partner/rich-text-editor 6.2.2 → 6.2.4-alpha.0
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/LICENSE.md +1 -0
- package/dist/ExpandableMultiLanguageRichTextEditor.d.ts +3 -3
- package/dist/RichTextEditor/constants.d.ts +8 -8
- package/dist/index.d.ts +5 -5
- package/dist/rich-text-editor.cjs.development.js +228 -226
- package/dist/rich-text-editor.cjs.development.js.map +1 -1
- package/dist/rich-text-editor.cjs.production.min.js +1 -1
- package/dist/rich-text-editor.cjs.production.min.js.map +1 -1
- package/dist/rich-text-editor.esm.js +227 -225
- package/dist/rich-text-editor.esm.js.map +1 -1
- package/package.json +60 -60
package/LICENSE.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This package is unlicensed, and is only usable internally at Entur AS
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { LanguageKey, LanguageOption, MultiLanguageValues } from
|
|
3
|
-
import
|
|
1
|
+
import { type VariantType } from "@entur/form";
|
|
2
|
+
import { type LanguageKey, type LanguageOption, type MultiLanguageValues } from "@entur-partner/common";
|
|
3
|
+
import React from "react";
|
|
4
4
|
type MultiLanguageInputProps = {
|
|
5
5
|
values: MultiLanguageValues;
|
|
6
6
|
onChange: (values: MultiLanguageValues) => void;
|
|
@@ -23,38 +23,38 @@ export const FontList: Readonly<{
|
|
|
23
23
|
label: string;
|
|
24
24
|
style: string;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
"header-one": {
|
|
27
27
|
label: string;
|
|
28
28
|
style: string;
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
"header-two": {
|
|
31
31
|
label: string;
|
|
32
32
|
style: string;
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
"header-three": {
|
|
35
35
|
label: string;
|
|
36
36
|
style: string;
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
"header-four": {
|
|
39
39
|
label: string;
|
|
40
40
|
style: string;
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
"header-five": {
|
|
43
43
|
label: string;
|
|
44
44
|
style: string;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
"header-six": {
|
|
47
47
|
label: string;
|
|
48
48
|
style: string;
|
|
49
49
|
};
|
|
50
50
|
}>;
|
|
51
51
|
export const BlockTypeList: Readonly<{
|
|
52
|
-
|
|
52
|
+
"unordered-list": {
|
|
53
53
|
label: React.JSX.Element;
|
|
54
54
|
style: string;
|
|
55
55
|
tooltip: string;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
"ordered-list": {
|
|
58
58
|
label: React.JSX.Element;
|
|
59
59
|
style: string;
|
|
60
60
|
tooltip: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export { editorStateToHtml, htmlToEditorState, } from
|
|
5
|
-
export {
|
|
1
|
+
export { ExpandableMultiLanguageRichTextEditor } from "./ExpandableMultiLanguageRichTextEditor";
|
|
2
|
+
export { default as RichTextEditor } from "./RichTextEditor";
|
|
3
|
+
export { EditorConfigTypes, MinifiedConfigTypes, } from "./RichTextEditor/constants";
|
|
4
|
+
export { editorStateToHtml, htmlToEditorState, } from "./RichTextEditor/htmlConvertion";
|
|
5
|
+
export { editorStateToMarkdown, markdownToEditorState, markdownToHtml, } from "./RichTextEditor/markdownConvertion";
|