🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@tiptap/core

Package Overview
Dependencies
Maintainers
6
Versions
497
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/core - npm Package Compare versions

Comparing version
3.26.0
to
3.26.1
+23
dist/jsx-runtime/jsx-runtime.d.cts
type Attributes = Record<string, any>;
type DOMOutputSpecElement = 0 | Attributes | DOMOutputSpecArray;
/**
* Better describes the output of a `renderHTML` function in prosemirror
* @see https://prosemirror.net/docs/ref/#model.DOMOutputSpec
*/
type DOMOutputSpecArray = [string] | [string, Attributes] | [string, 0] | [string, Attributes, 0] | [string, Attributes, DOMOutputSpecArray | 0] | [string, DOMOutputSpecArray];
declare namespace JSX {
type Element = DOMOutputSpecArray;
interface IntrinsicElements {
[key: string]: any;
}
interface ElementChildrenAttribute {
children: unknown;
}
}
type JSXRenderer = (tag: 'slot' | string | ((props?: Attributes) => DOMOutputSpecArray | DOMOutputSpecElement), props?: Attributes, ...children: JSXRenderer[]) => DOMOutputSpecArray | DOMOutputSpecElement;
declare function Fragment(props: {
children: JSXRenderer[];
}): JSXRenderer[];
declare const h: JSXRenderer;
export { type Attributes, type DOMOutputSpecArray, type DOMOutputSpecElement, Fragment, JSX, type JSXRenderer, h as createElement, h, h as jsx, h as jsxDEV, h as jsxs };
type Attributes = Record<string, any>;
type DOMOutputSpecElement = 0 | Attributes | DOMOutputSpecArray;
/**
* Better describes the output of a `renderHTML` function in prosemirror
* @see https://prosemirror.net/docs/ref/#model.DOMOutputSpec
*/
type DOMOutputSpecArray = [string] | [string, Attributes] | [string, 0] | [string, Attributes, 0] | [string, Attributes, DOMOutputSpecArray | 0] | [string, DOMOutputSpecArray];
declare namespace JSX {
type Element = DOMOutputSpecArray;
interface IntrinsicElements {
[key: string]: any;
}
interface ElementChildrenAttribute {
children: unknown;
}
}
type JSXRenderer = (tag: 'slot' | string | ((props?: Attributes) => DOMOutputSpecArray | DOMOutputSpecElement), props?: Attributes, ...children: JSXRenderer[]) => DOMOutputSpecArray | DOMOutputSpecElement;
declare function Fragment(props: {
children: JSXRenderer[];
}): JSXRenderer[];
declare const h: JSXRenderer;
export { type Attributes, type DOMOutputSpecArray, type DOMOutputSpecElement, Fragment, JSX, type JSXRenderer, h as createElement, h, h as jsx, h as jsxDEV, h as jsxs };
+3
-3
{
"name": "@tiptap/core",
"version": "3.26.0",
"version": "3.26.1",
"description": "headless rich text editor",

@@ -61,6 +61,6 @@ "keywords": [

"devDependencies": {
"@tiptap/pm": "^3.26.0"
"@tiptap/pm": "^3.26.1"
},
"peerDependencies": {
"@tiptap/pm": "3.26.0"
"@tiptap/pm": "3.26.1"
},

@@ -67,0 +67,0 @@ "scripts": {