@ibodr/editor 0.1.5 → 0.1.6
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.d.ts +2 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -9094,8 +9094,9 @@ interface DrEditorComponents {
|
|
|
9094
9094
|
ErrorFallback?: DrErrorFallbackComponent;
|
|
9095
9095
|
ShapeErrorFallback?: DrShapeErrorFallbackComponent;
|
|
9096
9096
|
}
|
|
9097
|
+
type RequiredDrEditorComponents = Required<Omit<DrEditorComponents, 'CollaboratorCursor' | 'CollaboratorCursors'>> & Pick<DrEditorComponents, 'CollaboratorCursor' | 'CollaboratorCursors'>;
|
|
9097
9098
|
/** @public */
|
|
9098
|
-
declare function useEditorComponents():
|
|
9099
|
+
declare function useEditorComponents(): RequiredDrEditorComponents;
|
|
9099
9100
|
|
|
9100
9101
|
/**
|
|
9101
9102
|
* Allows you to define event handlers that can read the latest props/state but has a stable
|
package/dist/index.mjs
CHANGED
|
@@ -23240,8 +23240,6 @@ function EditorComponentsProvider({
|
|
|
23240
23240
|
ShapeWrapper: DefaultShapeWrapper,
|
|
23241
23241
|
Spinner: DefaultSpinner,
|
|
23242
23242
|
SvgDefs: DefaultSvgDefs,
|
|
23243
|
-
CollaboratorCursor: null,
|
|
23244
|
-
CollaboratorCursors: null,
|
|
23245
23243
|
ErrorFallback: DefaultErrorFallback,
|
|
23246
23244
|
ShapeErrorFallback: DefaultShapeErrorFallback,
|
|
23247
23245
|
..._overrides
|
|
@@ -24844,7 +24842,7 @@ function getFontsFromRichText(editor, richText, initialState2) {
|
|
|
24844
24842
|
// src/index.ts
|
|
24845
24843
|
registerDrawLibraryVersion(
|
|
24846
24844
|
"@ibodr/editor",
|
|
24847
|
-
"0.1.
|
|
24845
|
+
"0.1.6",
|
|
24848
24846
|
"esm"
|
|
24849
24847
|
);
|
|
24850
24848
|
/*!
|