@eigenpal/docx-editor-react
Advanced tools
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
+12
-1
@@ -40,2 +40,7 @@ /** | ||
| fonts?: FontOption[]; | ||
| /** | ||
| * Fonts the loaded document references that the browser can render. Shown in | ||
| * a "Document fonts" group above the built-in list, deduped against `fonts`. | ||
| */ | ||
| documentFonts?: readonly FontOption[]; | ||
| disabled?: boolean; | ||
@@ -47,3 +52,3 @@ className?: string; | ||
| } | ||
| declare function FontPicker({ value, onChange, fonts, disabled, className, placeholder, width, showPreview, }: FontPickerProps): React$1.JSX.Element; | ||
| declare function FontPicker({ value, onChange, fonts, documentFonts, disabled, className, placeholder, width, showPreview, }: FontPickerProps): React$1.JSX.Element; | ||
@@ -256,2 +261,8 @@ /** | ||
| fontFamilies?: ReadonlyArray<string | FontOption>; | ||
| /** | ||
| * Fonts the loaded document references that the browser can render (embedded | ||
| * faces + system-resolved). Rendered in a "Document fonts" group, deduped | ||
| * against `fontFamilies`. Managed by the editor, not a consumer prop. | ||
| */ | ||
| documentFonts?: readonly FontOption[]; | ||
| /** Whether to show font size picker (default: true) */ | ||
@@ -258,0 +269,0 @@ showFontSizePicker?: boolean; |
+12
-1
@@ -40,2 +40,7 @@ /** | ||
| fonts?: FontOption[]; | ||
| /** | ||
| * Fonts the loaded document references that the browser can render. Shown in | ||
| * a "Document fonts" group above the built-in list, deduped against `fonts`. | ||
| */ | ||
| documentFonts?: readonly FontOption[]; | ||
| disabled?: boolean; | ||
@@ -47,3 +52,3 @@ className?: string; | ||
| } | ||
| declare function FontPicker({ value, onChange, fonts, disabled, className, placeholder, width, showPreview, }: FontPickerProps): React$1.JSX.Element; | ||
| declare function FontPicker({ value, onChange, fonts, documentFonts, disabled, className, placeholder, width, showPreview, }: FontPickerProps): React$1.JSX.Element; | ||
@@ -256,2 +261,8 @@ /** | ||
| fontFamilies?: ReadonlyArray<string | FontOption>; | ||
| /** | ||
| * Fonts the loaded document references that the browser can render (embedded | ||
| * faces + system-resolved). Rendered in a "Document fonts" group, deduped | ||
| * against `fontFamilies`. Managed by the editor, not a consumer prop. | ||
| */ | ||
| documentFonts?: readonly FontOption[]; | ||
| /** Whether to show font size picker (default: true) */ | ||
@@ -258,0 +269,0 @@ showFontSizePicker?: boolean; |
+4
-4
| { | ||
| "name": "@eigenpal/docx-editor-react", | ||
| "version": "1.7.0", | ||
| "version": "1.8.0", | ||
| "description": "React DOCX editor adapter for @eigenpal/docx-editor-core.", | ||
@@ -95,5 +95,5 @@ "main": "./dist/index.js", | ||
| "dependencies": { | ||
| "@eigenpal/docx-editor-agents": "^1.7.0", | ||
| "@eigenpal/docx-editor-core": "^1.7.0", | ||
| "@eigenpal/docx-editor-i18n": "^1.7.0", | ||
| "@eigenpal/docx-editor-agents": "^1.8.0", | ||
| "@eigenpal/docx-editor-core": "^1.8.0", | ||
| "@eigenpal/docx-editor-i18n": "^1.8.0", | ||
| "@radix-ui/react-select": "^2.2.6", | ||
@@ -100,0 +100,0 @@ "clsx": "^2.1.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1415352
0.21%7625
0.24%10
11.11%