oasis-editor 0.0.268 → 0.0.270

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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.268",
3
+ "version": "0.0.270",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {