Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ricos-common

Package Overview
Dependencies
Maintainers
1
Versions
1014
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ricos-common - npm Package Compare versions

Comparing version 7.10.9-alpha.0 to 7.10.9-alpha.1

3

dist/types/src/pluginsStrategy/pluginTypes.d.ts
declare type ModalsMap = Record<string, import('react').ComponentType>;
declare type TypeMapper = () => Record<string, unknown>;
declare type InlineStyleMapper = (config: Record<string, unknown>, raw: RicosContent) => Record<string, unknown>;
declare type Decorator = (theme: RicosCssOverride, config?: Record<string, unknown>) => any;
declare type CreatePluginFunction = (config?: Record<string, unknown>) => Record<string, unknown>;

@@ -18,3 +17,3 @@ interface BasicPluginConfig {

inlineStyleMapper?: InlineStyleMapper;
decorator?: Decorator;
decorator?: import('wix-rich-content-common').Decorator;
}

@@ -21,0 +20,0 @@ interface PluginConfig extends EditorPluginConfig, ViewerPluginConfig {

@@ -22,3 +22,3 @@ import { Component, FunctionComponent } from 'react';

strategyProps: {
theme: RichContentTheme;
theme: import("wix-rich-content-common").RichContentTheme;
} & PluginsStrategy & RichContentProps;

@@ -25,0 +25,0 @@ rawCss: string;

interface RichContentProps {
config?: Record<string, unknown>;
decorators?: Decorator[];
decorators?: import('wix-rich-content-common').Decorator[];
editorKey?: string;
helpers?: Helpers;
helpers?: import('wix-rich-content-common').Helpers;
initialState?: RicosContent;

@@ -12,3 +12,3 @@ inlineStyleMappers?: InlineStyleMapper[];

ModalsMap?: ModalsMap;
onChange?(editorState: DraftEditorState): void;
onChange?(editorState: import('draft-js').EditorState): void;
onError?: OnErrorFunction;

@@ -53,3 +53,3 @@ placeholder?: string;

interface ToolbarSettings {
getToolbarSettings?: GetToolbarSettings;
getToolbarSettings?: import('wix-rich-content-common').GetToolbarSettings;
textToolbarContainer?: HTMLElement;

@@ -60,3 +60,3 @@ useStaticTextToolbar?: boolean;

getContentState: () => RicosContent;
refresh: (editorState: DraftEditorState) => void;
refresh: (editorState: import('draft-js').EditorState) => void;
}

@@ -63,0 +63,0 @@ declare type OnContentChangeFunction = (content: RicosContent) => void;

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

declare type RicosCssOverride = RichContentTheme;
declare type RicosCssOverride = import('wix-rich-content-common').RichContentTheme;
interface ThemeGeneratorFunction {

@@ -3,0 +3,0 @@ (colors: PaletteColors, utils: ThemeUtils): Record<string, unknown>;

{
"name": "ricos-common",
"version": "7.10.9-alpha.0",
"version": "7.10.9-alpha.1",
"author": {

@@ -62,3 +62,3 @@ "name": "Matan Harsat",

"jss-preset-default": "^10.1.1",
"wix-rich-content-common": "7.10.9-alpha.0"
"wix-rich-content-common": "7.10.9-alpha.1"
},

@@ -65,0 +65,0 @@ "jest": {

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc