oasis-editor 0.0.330 → 0.0.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.
@@ -1,4 +1,5 @@
1
1
  import { EditorNamedStyle } from '../../../core/model.js';
2
- import { TranslationKey } from '../../../i18n/index.js';
3
- /** Only identify canonical native definitions, not arbitrary imported names or IDs. */
4
- export declare function builtinStyleLabel(style: EditorNamedStyle): TranslationKey | undefined;
2
+ import { TranslateFn, TranslationKey } from '../../../i18n/index.js';
3
+ /** Resolve display metadata, never rewrite the document's stored name. */
4
+ export declare function builtinStyleLabel(style: EditorNamedStyle, allowLegacy?: boolean): TranslationKey | undefined;
5
+ export declare function resolveStyleDisplayName(style: EditorNamedStyle, t: TranslateFn, allowLegacy?: boolean): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.330",
3
+ "version": "0.0.331",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {