@remirror/extension-underline
Advanced tools
Comparing version 1.0.0-pr706.d0b3ea524 to 1.0.0
@@ -12,7 +12,7 @@ 'use strict'; | ||
icon: 'underline', | ||
label: (_ref) => { | ||
label: _ref => { | ||
var t = _ref.t; | ||
return t(messages.ExtensionUnderlineMessages.LABEL); | ||
}, | ||
description: (_ref2) => { | ||
description: _ref2 => { | ||
var t = _ref2.t; | ||
@@ -28,6 +28,6 @@ return t(messages.ExtensionUnderlineMessages.DESCRIPTION); | ||
var UnderlineExtension = (_dec = /*#__PURE__*/core.extension({}), _dec2 = /*#__PURE__*/core.command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/core.keyBinding({ | ||
var UnderlineExtension = (_dec = core.extension({}), _dec2 = core.command(toggleUnderlineOptions), _dec3 = core.keyBinding({ | ||
shortcut: core.NamedShortcut.Underline, | ||
command: 'toggleUnderline' | ||
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension { | ||
}), _dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension { | ||
get name() { | ||
@@ -42,2 +42,4 @@ return 'underline'; | ||
createMarkSpec(extra, override) { | ||
var _override$parseDOM; | ||
return _objectSpread(_objectSpread({}, override), {}, { | ||
@@ -51,3 +53,3 @@ attrs: extra.defaults(), | ||
getAttrs: node => node === 'underline' ? {} : false | ||
}], | ||
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])], | ||
toDOM: mark => ['u', extra.dom(mark), 0] | ||
@@ -78,4 +80,4 @@ }); | ||
}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
exports.UnderlineExtension = UnderlineExtension; |
@@ -8,7 +8,7 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
icon: 'underline', | ||
label: (_ref) => { | ||
label: _ref => { | ||
var t = _ref.t; | ||
return t(ExtensionUnderlineMessages.LABEL); | ||
}, | ||
description: (_ref2) => { | ||
description: _ref2 => { | ||
var t = _ref2.t; | ||
@@ -24,6 +24,6 @@ return t(ExtensionUnderlineMessages.DESCRIPTION); | ||
var UnderlineExtension = (_dec = /*#__PURE__*/extension({}), _dec2 = /*#__PURE__*/command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/keyBinding({ | ||
var UnderlineExtension = (_dec = extension({}), _dec2 = command(toggleUnderlineOptions), _dec3 = keyBinding({ | ||
shortcut: NamedShortcut.Underline, | ||
command: 'toggleUnderline' | ||
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends MarkExtension { | ||
}), _dec(_class = (_class2 = class UnderlineExtension extends MarkExtension { | ||
get name() { | ||
@@ -38,2 +38,4 @@ return 'underline'; | ||
createMarkSpec(extra, override) { | ||
var _override$parseDOM; | ||
return _objectSpread(_objectSpread({}, override), {}, { | ||
@@ -47,3 +49,3 @@ attrs: extra.defaults(), | ||
getAttrs: node => node === 'underline' ? {} : false | ||
}], | ||
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])], | ||
toDOM: mark => ['u', extra.dom(mark), 0] | ||
@@ -74,4 +76,4 @@ }); | ||
}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
export { UnderlineExtension }; |
@@ -12,7 +12,7 @@ 'use strict'; | ||
icon: 'underline', | ||
label: (_ref) => { | ||
label: _ref => { | ||
var t = _ref.t; | ||
return t(messages.ExtensionUnderlineMessages.LABEL); | ||
}, | ||
description: (_ref2) => { | ||
description: _ref2 => { | ||
var t = _ref2.t; | ||
@@ -28,6 +28,6 @@ return t(messages.ExtensionUnderlineMessages.DESCRIPTION); | ||
var UnderlineExtension = (_dec = /*#__PURE__*/core.extension({}), _dec2 = /*#__PURE__*/core.command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/core.keyBinding({ | ||
var UnderlineExtension = (_dec = core.extension({}), _dec2 = core.command(toggleUnderlineOptions), _dec3 = core.keyBinding({ | ||
shortcut: core.NamedShortcut.Underline, | ||
command: 'toggleUnderline' | ||
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension { | ||
}), _dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension { | ||
get name() { | ||
@@ -42,2 +42,4 @@ return 'underline'; | ||
createMarkSpec(extra, override) { | ||
var _override$parseDOM; | ||
return _objectSpread(_objectSpread({}, override), {}, { | ||
@@ -51,3 +53,3 @@ attrs: extra.defaults(), | ||
getAttrs: node => node === 'underline' ? {} : false | ||
}], | ||
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])], | ||
toDOM: mark => ['u', extra.dom(mark), 0] | ||
@@ -78,4 +80,4 @@ }); | ||
}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
exports.UnderlineExtension = UnderlineExtension; |
@@ -12,7 +12,7 @@ 'use strict'; | ||
icon: 'underline', | ||
label: (_ref) => { | ||
label: _ref => { | ||
var t = _ref.t; | ||
return t(messages.ExtensionUnderlineMessages.LABEL); | ||
}, | ||
description: (_ref2) => { | ||
description: _ref2 => { | ||
var t = _ref2.t; | ||
@@ -28,6 +28,6 @@ return t(messages.ExtensionUnderlineMessages.DESCRIPTION); | ||
var UnderlineExtension = (_dec = /*#__PURE__*/core.extension({}), _dec2 = /*#__PURE__*/core.command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/core.keyBinding({ | ||
var UnderlineExtension = (_dec = core.extension({}), _dec2 = core.command(toggleUnderlineOptions), _dec3 = core.keyBinding({ | ||
shortcut: core.NamedShortcut.Underline, | ||
command: 'toggleUnderline' | ||
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension { | ||
}), _dec(_class = (_class2 = class UnderlineExtension extends core.MarkExtension { | ||
get name() { | ||
@@ -42,2 +42,4 @@ return 'underline'; | ||
createMarkSpec(extra, override) { | ||
var _override$parseDOM; | ||
return _objectSpread(_objectSpread({}, override), {}, { | ||
@@ -51,3 +53,3 @@ attrs: extra.defaults(), | ||
getAttrs: node => node === 'underline' ? {} : false | ||
}], | ||
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])], | ||
toDOM: mark => ['u', extra.dom(mark), 0] | ||
@@ -78,4 +80,4 @@ }); | ||
}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
exports.UnderlineExtension = UnderlineExtension; |
@@ -8,7 +8,7 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
icon: 'underline', | ||
label: (_ref) => { | ||
label: _ref => { | ||
var t = _ref.t; | ||
return t(ExtensionUnderlineMessages.LABEL); | ||
}, | ||
description: (_ref2) => { | ||
description: _ref2 => { | ||
var t = _ref2.t; | ||
@@ -24,6 +24,6 @@ return t(ExtensionUnderlineMessages.DESCRIPTION); | ||
var UnderlineExtension = (_dec = /*#__PURE__*/extension({}), _dec2 = /*#__PURE__*/command(toggleUnderlineOptions), _dec3 = /*#__PURE__*/keyBinding({ | ||
var UnderlineExtension = (_dec = extension({}), _dec2 = command(toggleUnderlineOptions), _dec3 = keyBinding({ | ||
shortcut: NamedShortcut.Underline, | ||
command: 'toggleUnderline' | ||
}), /*#__PURE__*/_dec(_class = (_class2 = class UnderlineExtension extends MarkExtension { | ||
}), _dec(_class = (_class2 = class UnderlineExtension extends MarkExtension { | ||
get name() { | ||
@@ -38,2 +38,4 @@ return 'underline'; | ||
createMarkSpec(extra, override) { | ||
var _override$parseDOM; | ||
return _objectSpread(_objectSpread({}, override), {}, { | ||
@@ -47,3 +49,3 @@ attrs: extra.defaults(), | ||
getAttrs: node => node === 'underline' ? {} : false | ||
}], | ||
}, ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])], | ||
toDOM: mark => ['u', extra.dom(mark), 0] | ||
@@ -74,4 +76,4 @@ }); | ||
}, ( /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), /*#__PURE__*/_applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], /*#__PURE__*/Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
}, (_applyDecoratedDescriptor(_class2.prototype, "toggleUnderline", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, "toggleUnderline"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, "shortcut", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, "shortcut"), _class2.prototype)), _class2)) || _class); | ||
export { UnderlineExtension }; |
{ | ||
"name": "@remirror/extension-underline", | ||
"version": "1.0.0-pr706.d0b3ea524", | ||
"version": "1.0.0", | ||
"description": "Add underline formatting to your text editor.", | ||
@@ -38,7 +38,12 @@ "keywords": [ | ||
"dependencies": { | ||
"@babel/runtime": "^7.12.13", | ||
"@remirror/core": "1.0.0-pr706.d0b3ea524", | ||
"@remirror/messages": "0.0.0-pr706.d0b3ea524", | ||
"@remirror/pm": "1.0.0-pr706.d0b3ea524" | ||
"@babel/runtime": "^7.13.10", | ||
"@remirror/core": "1.0.0", | ||
"@remirror/messages": "1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@remirror/pm": "1.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@remirror/pm": "1.0.0" | ||
}, | ||
"publishConfig": { | ||
@@ -45,0 +50,0 @@ "access": "public" |
@@ -7,4 +7,4 @@ # @remirror/extension-underline | ||
[version]: https://flat.badgen.net/npm/v/@remirror/extension-underline/next | ||
[npm]: https://npmjs.com/package/@remirror/extension-underline/v/next | ||
[version]: https://flat.badgen.net/npm/v/@remirror/extension-underline | ||
[npm]: https://npmjs.com/package/@remirror/extension-underline | ||
[license]: https://flat.badgen.net/badge/license/MIT/purple | ||
@@ -11,0 +11,0 @@ [size]: https://bundlephobia.com/result?p=@remirror/extension-underline |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
356
0
0
17413
1
13
+ Added@linaria/core@3.0.0-beta.4(transitive)
+ Added@remirror/core@1.0.0(transitive)
+ Added@remirror/core-constants@1.0.0(transitive)
+ Added@remirror/core-helpers@1.0.0(transitive)
+ Added@remirror/core-types@1.0.0(transitive)
+ Added@remirror/core-utils@1.0.0(transitive)
+ Added@remirror/i18n@1.0.0(transitive)
+ Added@remirror/icons@1.0.0(transitive)
+ Added@remirror/messages@1.0.0(transitive)
+ Added@remirror/pm@1.0.0(transitive)
+ Added@remirror/theme@1.0.0(transitive)
+ Added@remirror/types@0.1.0(transitive)
+ Added@types/prosemirror-collab@1.3.0(transitive)
+ Addedprosemirror-collab@1.3.1(transitive)
+ Addedprosemirror-paste-rules@1.0.0(transitive)
+ Addedprosemirror-suggest@1.0.0(transitive)
+ Addedprosemirror-trailing-node@1.0.0(transitive)
+ Addedtype-fest@1.4.0(transitive)
- Removed@remirror/pm@1.0.0-pr706.d0b3ea524
- Removed@linaria/core@3.0.0-beta.22(transitive)
- Removed@linaria/logger@3.0.0-beta.20(transitive)
- Removed@linaria/utils@3.0.0-beta.20(transitive)
- Removed@remirror/core@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/core-constants@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/core-helpers@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/core-types@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/core-utils@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/i18n@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/icons@0.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/messages@0.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/pm@1.0.0-pr706.d0b3ea524(transitive)
- Removed@remirror/theme@1.0.0-pr706.d0b3ea524(transitive)
- Removeddebug@4.4.0(transitive)
- Removedms@2.1.3(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedprosemirror-paste-rules@0.0.0-pr706.d0b3ea524(transitive)
- Removedprosemirror-suggest@1.0.0-pr706.d0b3ea524(transitive)
- Removedprosemirror-trailing-node@0.0.0-pr706.d0b3ea524(transitive)
- Removedtype-fest@0.20.2(transitive)
Updated@babel/runtime@^7.13.10
Updated@remirror/core@1.0.0
Updated@remirror/messages@1.0.0