@clepit/core 0.3.0-beta.324 → 0.3.0-beta.331
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types.d.ts +4 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -873,10 +873,13 @@ export type EditorConfig = {
|
|
|
873
873
|
onInlineRewrite?: (selection: string, action: InlineRewriteAction) => Promise<string | null>;
|
|
874
874
|
inlineRewriteLabels?: Partial<Record<InlineRewriteAction, string>>;
|
|
875
875
|
blockToolLabels?: Partial<Record<BlockToolType, string>>;
|
|
876
|
-
blockToolbarLabels?: Partial<Record<
|
|
876
|
+
blockToolbarLabels?: Partial<Record<BlockToolbarLabel, string>>;
|
|
877
877
|
};
|
|
878
878
|
export declare const BLOCK_TOOLBAR_OPERATIONS: readonly ["convert", "moveUp", "moveDown", "delete"];
|
|
879
879
|
export type BlockToolbarOperation = (typeof BLOCK_TOOLBAR_OPERATIONS)[number];
|
|
880
|
+
export declare const BLOCK_MENU_LABELS: readonly ["searchBlocks", "searchOperations", "searchConvertOptions", "searchLanguages", "searchThemes", "noBlockTypesFound", "noOperationsFound", "noConvertOptionsFound", "alignLeft", "alignCenter", "alignRight", "codeLanguage", "codeTheme", "headingH1", "headingH2", "headingH3", "headingH4", "headingH5", "headingH6", "listUnordered", "listOrdered", "variantInfo", "variantWarning", "variantError", "variantSuccess", "variantPlain", "delimiterLine", "delimiterStars"];
|
|
881
|
+
export type BlockMenuLabel = (typeof BLOCK_MENU_LABELS)[number];
|
|
882
|
+
export type BlockToolbarLabel = BlockToolbarOperation | BlockMenuLabel;
|
|
880
883
|
export declare const INLINE_REWRITE_ACTIONS: readonly ["improve", "shorten", "lengthen", "simplify", "fix_grammar"];
|
|
881
884
|
export type InlineRewriteAction = (typeof INLINE_REWRITE_ACTIONS)[number];
|
|
882
885
|
export type RendererConfig = {
|
package/package.json
CHANGED