Socket
Socket
Sign inDemoInstall

richlagetest

Package Overview
Dependencies
0
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0-230982fa614383ea3540c69c2696628caf960803 to 0.0.0-2349f022fa0c4c27eefc6d2c5decbbbb5f03c0b7

dist/cjs/index.js

11

dist/src/index.d.ts

@@ -1,6 +0,7 @@

export { createCollapsibleListPlugin } from './createCollapsibleListPlugin';
export { default as collapsibleListViewer } from './collapsible-list-viewer';
export { COLLAPSIBLE_LIST_TYPE } from './types';
export { Modals, ModalsMap } from './modals';
export { pluginCollapsibleList } from './editor';
export { TiptapAPI, CreateRicosExtensions } from './types';
export { TiptapEditorPlugin } from './models/extension-types';
export { RicosTiptapEditor } from './components/RicosTiptapEditor';
export { RichContentAdapter } from './components/RichContentAdapter';
export * from './content-utils';
export { TIPTAP_TYPE_TO_RICOS_TYPE } from './consts';
//# sourceMappingURL=index.d.ts.map

@@ -1,9 +0,49 @@

import { EditorPluginConfig, ViewerPluginConfig } from 'wix-rich-content-common';
export declare const COLLAPSIBLE_LIST_TYPE = "wix-rich-content-plugin-collapsible-list";
export interface CollapsibleListPluginEditorConfig extends EditorPluginConfig {
[key: string]: any;
/// <reference types="i18next" />
import { Editor, JSONContent } from '@tiptap/react';
import { Node as ProseMirrorNode } from 'prosemirror-model';
import { ElementType } from 'react';
import { DraftContent, EditorCommands, EditorContextType, LegacyEditorPluginConfig, Pubsub, ToolbarType, TranslationFunction, RichContentTheme } from 'wix-rich-content-common';
import { RicosExtension } from './models/extension-types';
export interface PluginProps {
context: {
isMobile: boolean;
t: (key: string) => string;
};
componentData: any;
node: ProseMirrorNode;
editorCommands: unknown;
updateAttributes: (data: unknown) => null;
}
export interface CollapsibleListPluginViewerConfig extends ViewerPluginConfig {
export declare type TiptapAPI = {
blur: () => void;
focus: () => void;
getEditorCommands: () => EditorCommands;
getToolbars: () => {
MobileToolbar?: ElementType;
TextToolbar?: ElementType;
};
getToolbarProps: (type: ToolbarType) => {
buttons?: any;
context?: EditorContextType;
pubsub?: Pubsub;
};
destroy: Editor['destroy'];
};
export interface RicosTiptapEditorProps {
content: JSONContent;
extensions?: RicosExtension[];
onLoad?: (editor: Editor) => void;
t: TranslationFunction;
onUpdate?: ({ content }: {
content: DraftContent;
}) => void;
onBlur?: () => void;
onSelectionUpdate?: ({ selectedNodes, content, }: {
selectedNodes: ProseMirrorNode[];
content: DraftContent;
}) => void;
theme?: RichContentTheme;
[key: string]: any;
}
export declare type CreateRicosExtensions = <PluginType extends keyof LegacyEditorPluginConfig>(config: LegacyEditorPluginConfig[PluginType]) => RicosExtension[];
//# sourceMappingURL=types.d.ts.map

@@ -1,1 +0,1 @@

{"name":"richlagetest","version":"0.0.0-230982fa614383ea3540c69c2696628caf960803"}
{"name":"richlagetest","version":"0.0.0-2349f022fa0c4c27eefc6d2c5decbbbb5f03c0b7"}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc