@editorjs/editorjs
Advanced tools
Comparing version 2.30.0-rc.3 to 2.30.0-rc.4
{ | ||
"name": "@editorjs/editorjs", | ||
"version": "2.30.0-rc.3", | ||
"version": "2.30.0-rc.4", | ||
"description": "Editor.js — Native JS, based on API and Open Source", | ||
@@ -5,0 +5,0 @@ "main": "dist/editorjs.umd.js", |
@@ -8,2 +8,2 @@ export * from './editor-config'; | ||
export * from './i18n-dictionary'; | ||
export * from './popover' | ||
export * from '../../src/components/utils/popover'; |
@@ -80,6 +80,11 @@ /** | ||
I18nConfig, | ||
PopoverItem, | ||
PopoverItemWithConfirmation, | ||
PopoverItemWithoutConfirmation | ||
} from './configs'; | ||
export { | ||
PopoverItemParams, | ||
PopoverItemDefaultParams, | ||
PopoverItemWithConfirmationParams, | ||
PopoverItemWithoutConfirmationParams | ||
} from '../src/components/utils/popover'; | ||
export { OutputData, OutputBlockData} from './data-formats/output-data'; | ||
@@ -86,0 +91,0 @@ export { BlockId } from './data-formats/block-id'; |
import { ToolConfig } from './tool-config'; | ||
import { ToolConstructable, BlockToolData } from './index'; | ||
import { PopoverItem } from '../configs'; | ||
import { PopoverItemDefaultParams, PopoverItemSeparatorParams, PopoverItemParams } from '../configs'; | ||
@@ -31,7 +31,6 @@ /** | ||
/** | ||
* Represents single Tunes Menu item | ||
* Represents single interactive (non-separator) Tunes Menu item | ||
*/ | ||
export type TunesMenuConfigItem = PopoverItem & { | ||
export type TunesMenuConfigDefaultItem = PopoverItemDefaultParams & { | ||
/** | ||
@@ -54,6 +53,16 @@ * Tune displayed text. | ||
*/ | ||
confirmation?: TunesMenuConfigItem; | ||
confirmation?: TunesMenuConfigDefaultItem; | ||
} | ||
/** | ||
* Represents single separator Tunes Menu item | ||
*/ | ||
export type TunesMenuConfigSeparatorItem = PopoverItemSeparatorParams; | ||
/** | ||
* Union of all Tunes Menu item types | ||
*/ | ||
export type TunesMenuConfigItem = TunesMenuConfigDefaultItem | TunesMenuConfigSeparatorItem; | ||
/** | ||
* Tool may specify its tunes configuration | ||
@@ -60,0 +69,0 @@ * that can contain either one or multiple entries |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
657133
55
12569