oasis-editor 0.0.268 → 0.0.269
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/OasisEditorApp-OyEcn5Du.js +1 -0
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/publicCommandTypes.d.ts +2 -1
- package/dist/core/commands/table/tableCellStyleCommands.d.ts +6 -0
- package/dist/core/transactionMergeKeys.d.ts +1 -0
- package/dist/{defaultToolbar-CTC5BrZK.js → defaultToolbar-B_JIjTiK.js} +1 -1
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +2 -1
- package/dist/ui/components/Toolbar/controls/TableCellAlignmentMatrix.d.ts +7 -0
- package/package.json +1 -1
- package/dist/OasisEditorApp-BPEfFRpR.js +0 -1
|
@@ -8,7 +8,7 @@ import { SpecialCharacterKind } from '../../core/commands/specialChar.js';
|
|
|
8
8
|
import { ReplaceAllPayload } from '../../core/commands/publicCommandTypes.js';
|
|
9
9
|
import { ToolbarStyleState } from '../../ui/toolbarStyleState.js';
|
|
10
10
|
import { OasisBuiltinCommand } from '../../core/commands/builtinCommands.js';
|
|
11
|
-
import { TableBorderPreset, TableCellMargins, TableRowHeight } from '../../core/commands/table.js';
|
|
11
|
+
import { TableBorderPreset, TableCellAlignment, TableCellMargins, TableRowHeight } from '../../core/commands/table.js';
|
|
12
12
|
export interface EssentialsFeatureGate {
|
|
13
13
|
isCommandEnabled: (commandName: OasisBuiltinCommand) => boolean;
|
|
14
14
|
}
|
|
@@ -625,6 +625,7 @@ export interface EssentialsTableCapability {
|
|
|
625
625
|
alignLeft: () => void;
|
|
626
626
|
alignCenter: () => void;
|
|
627
627
|
alignRight: () => void;
|
|
628
|
+
setCellAlignment: (alignment: TableCellAlignment) => void;
|
|
628
629
|
setCellVerticalAlign: (value: "top" | "middle" | "bottom") => void;
|
|
629
630
|
setCellTextDirection: (value: "lrTb" | "tbRl" | "btLr" | "lrTbV" | "tbRlV") => void;
|
|
630
631
|
setCellWidth: (width: string) => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JSX } from 'solid-js';
|
|
2
|
+
import { ToolbarActionApi } from '../schema/items.js';
|
|
3
|
+
/** 3×3 positional cell-text alignment control for the Table Layout ribbon. */
|
|
4
|
+
export declare function TableCellAlignmentMatrix(props: {
|
|
5
|
+
api: ToolbarActionApi;
|
|
6
|
+
testId?: string;
|
|
7
|
+
}): JSX.Element;
|