@baishuyun/ui-base 6.19.1 → 6.20.1
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/Amap/index.js +1 -1
- package/dist/Calendar/{Calendar-DbAebHXs.js → Calendar-qL5eoYtX.js} +1 -1
- package/dist/Calendar/index.js +3 -3
- package/dist/Card/index.js +1 -1
- package/dist/CheckBox/index.js +1 -1
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/DatePicker/{DatePicker-B6E5kERj.js → DatePicker-zoV0C8jf.js} +1 -1
- package/dist/DatePicker/{DatePickerPanel-Ch2PMF9n.js → DatePickerPanel-BZJJDbjG.js} +1 -1
- package/dist/DatePicker/index.js +2 -2
- package/dist/DropDown/index.js +1 -1
- package/dist/Editor/index.js +962 -923
- package/dist/Gantt/index.js +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/InputTag/index.js +1 -1
- package/dist/Loading/index.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/NotFoundContent/index.js +1 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/Tabs/index.js +1 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +1 -1
- package/dist/components/Editor/ToolbarPlugin/context/TextFormatsContext.d.ts +1 -0
- package/dist/components/Editor/constants/index.d.ts +2 -0
- package/dist/components/Editor/nodes/ExtendedTextNode.d.ts +5 -1
- package/dist/components/Editor/plugins/IndentLimitPlugin.d.ts +1 -0
- package/dist/components/Editor/utils/clampElementIndent.d.ts +3 -0
- package/dist/components/Editor/utils/tryResetEmptyBlockFormat.d.ts +5 -0
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/vendors/{version-TqGVVc-h.js → version-CkTjB1Kb.js} +1 -1
- package/package.json +2 -2
package/dist/Gantt/index.js
CHANGED
package/dist/Icon/index.js
CHANGED
package/dist/InputTag/index.js
CHANGED
package/dist/Loading/index.js
CHANGED
package/dist/Modal/index.js
CHANGED
package/dist/Overlay/index.js
CHANGED
package/dist/Radio/index.js
CHANGED
package/dist/ScrollBar/index.js
CHANGED
package/dist/Segmented/index.js
CHANGED
package/dist/Select/index.js
CHANGED
package/dist/Table/index.js
CHANGED
package/dist/Tabs/index.js
CHANGED
package/dist/Tooltip/index.js
CHANGED
package/dist/Tree/index.js
CHANGED
|
@@ -44,4 +44,6 @@ export declare const IMAGE_MAX_COUNT = 10;
|
|
|
44
44
|
export declare const EDITOR_IMAGE_FILE_TYPES: readonly ["jpg", "jpeg", "png", "gif", "bmp", "tif"];
|
|
45
45
|
export declare const EDITOR_IMAGE_ACCEPT: string;
|
|
46
46
|
export declare const TABLE_GRID_SIZE = 10;
|
|
47
|
+
/** 与 editor.module.scss `--bsy-editor-max-indent` 对齐 */
|
|
48
|
+
export declare const MAX_ELEMENT_INDENT = 8;
|
|
47
49
|
export type FontSize = (typeof FONT_SIZES)[number]['value'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DOMConversionMap, NodeKey, TextNode, SerializedTextNode, LexicalNode } from 'lexical';
|
|
1
|
+
import { DOMConversionMap, EditorConfig, LexicalEditor, NodeKey, TextNode, SerializedTextNode, LexicalNode } from 'lexical';
|
|
2
2
|
export declare class ExtendedTextNode extends TextNode {
|
|
3
3
|
constructor(text: string, key?: NodeKey);
|
|
4
4
|
static getType(): string;
|
|
@@ -6,6 +6,10 @@ export declare class ExtendedTextNode extends TextNode {
|
|
|
6
6
|
static importDOM(): DOMConversionMap | null;
|
|
7
7
|
static importJSON(serializedNode: SerializedTextNode): TextNode;
|
|
8
8
|
isSimpleText(): boolean;
|
|
9
|
+
createDOM(config: EditorConfig, editor: LexicalEditor): HTMLElement;
|
|
10
|
+
updateDOM(prevNode: this, dom: HTMLElement, config: EditorConfig): boolean;
|
|
11
|
+
/** Format classes own text-decoration; inline underline would hide line-through. */
|
|
12
|
+
private dropInlineTextDecorationIfFormatted;
|
|
9
13
|
}
|
|
10
14
|
export declare function $createExtendedTextNode(text?: string): ExtendedTextNode;
|
|
11
15
|
export declare function $isExtendedTextNode(node: LexicalNode | null | undefined): node is ExtendedTextNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function IndentLimitPlugin(): null;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./vendors/version-
|
|
1
|
+
import "./vendors/version-CkTjB1Kb.js";
|
|
2
2
|
import "./ScrollBar/style-D26azwz6.js";
|
|
3
3
|
import { t as e } from "./Icon/Icon-DrdQOEJE.js";
|
|
4
4
|
import "./vendors/LocaleContext-DXQoOKM2.js";
|
|
@@ -29,8 +29,8 @@ import { t as O } from "./DropDown/DropDown-B_szM67V.js";
|
|
|
29
29
|
import { t as k } from "./Loading/Loading-Cherk9Ax.js";
|
|
30
30
|
import "./NotFoundContent/index.js";
|
|
31
31
|
import { t as A } from "./InputTag/InputTag-C_5nm0eo.js";
|
|
32
|
-
import { t as j } from "./Calendar/Calendar-
|
|
33
|
-
import { t as M } from "./DatePicker/DatePicker-
|
|
32
|
+
import { t as j } from "./Calendar/Calendar-qL5eoYtX.js";
|
|
33
|
+
import { t as M } from "./DatePicker/DatePicker-zoV0C8jf.js";
|
|
34
34
|
import "./DatePicker/pickerLocale-Brf7_Tnd.js";
|
|
35
35
|
import { c as N, d as P, f as F, i as I, l as L, m as R, n as z, o as B, p as V, r as H, s as U, t as W, u as G } from "./Table/Table-8ac6xLZv.js";
|
|
36
36
|
import "overlayscrollbars/overlayscrollbars.css";
|