🚀 Socket Launch Week 🚀 Day 4: Introducing Historical Analytics.Learn More →

@remirror/extension-sup

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-sup - npm Package Compare versions

Comparing version

to
0.0.0-pr2166.2

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

import { ApplySchemaAttributes } from '@remirror/core';
import { CommandFunction } from '@remirror/core';
import { KeyBindingProps } from '@remirror/core';
import { MarkExtension } from '@remirror/core';
import { MarkExtensionSpec } from '@remirror/core';
import { MarkSpecOverride } from '@remirror/core';
declare class SupExtension extends MarkExtension {
get name(): "sup";
createTags(): ("formattingMark" | "fontStyle")[];
createMarkSpec(extra: ApplySchemaAttributes, override: MarkSpecOverride): MarkExtensionSpec;
/**
* Toggle the subscript formatting of the selected text.
*/
toggleSuperscript(): CommandFunction;
/**
* Attach the keyboard shortcut for making text bold to this mark and also to
* the `toggleBold` command.
*/
shortcut(props: KeyBindingProps): boolean;
}
export { SupExtension }
export { SupExtension as SupExtension_alias_1 }
export { }

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

export {};
export { SupExtension } from './_tsup-dts-rollup';

@@ -16,3 +16,3 @@ var _initClass, _SupExtension, _dec, _dec2, _dec3, _initProto;

function _checkInRHS(value) { if (Object(value) !== value) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== value ? typeof value : "null")); return value; }
// packages/remirror__extension-sup/src/sup-extension.ts
// src/sup-extension.ts
import { command, extension, ExtensionTag, keyBinding, MarkExtension, NamedShortcut, toggleMark } from "@remirror/core";

@@ -19,0 +19,0 @@ import { ExtensionSupMessages as Messages } from "@remirror/messages";

{
"name": "@remirror/extension-sup",
"version": "0.0.0-pr2166.1",
"version": "0.0.0-pr2166.2",
"description": "Add superscript formatting to your text editor.",

@@ -39,10 +39,11 @@ "keywords": [

"@babel/runtime": "^7.22.3",
"@remirror/core": "0.0.0-pr2166.1",
"@remirror/messages": "0.0.0-pr2166.1"
"@remirror/core": "0.0.0-pr2166.2",
"@remirror/messages": "0.0.0-pr2166.2"
},
"devDependencies": {
"@remirror/pm": "0.0.0-pr2166.1"
"@remirror/cli": "0.0.0-pr2166.2",
"@remirror/pm": "0.0.0-pr2166.2"
},
"peerDependencies": {
"@remirror/pm": "0.0.0-pr2166.1"
"@remirror/pm": "0.0.0-pr2166.2"
},

@@ -54,3 +55,6 @@ "publishConfig": {

"sizeLimit": "5 KB"
},
"scripts": {
"build": "remirror-cli build"
}
}

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