prosemirror-flat-list
Advanced tools
Comparing version 0.3.12 to 0.3.13
@@ -1286,3 +1286,3 @@ // src/commands/dedent-list.ts | ||
const target = event.target; | ||
if (target == null ? void 0 : target.classList.contains("list-marker-click-target")) { | ||
if (target == null ? void 0 : target.closest(".list-marker-click-target")) { | ||
event.preventDefault(); | ||
@@ -1442,3 +1442,3 @@ const pos = view.posAtDOM(target, -10, -10); | ||
var createListNodeView = (node) => { | ||
var _a; | ||
var _a, _b; | ||
let prevNode = node; | ||
@@ -1449,2 +1449,6 @@ const prevNested = ((_a = node.firstChild) == null ? void 0 : _a.type) === node.type; | ||
const { dom, contentDOM } = DOMSerializer.renderSpec(document, spec); | ||
if (safari && node.attrs.kind === "toggle") { | ||
; | ||
(_b = dom.querySelector(".list-marker-click-target")) == null ? void 0 : _b.appendChild(document.createElement("span")); | ||
} | ||
const update = (node2) => { | ||
@@ -1451,0 +1455,0 @@ var _a2; |
@@ -1286,3 +1286,3 @@ // src/commands/dedent-list.ts | ||
const target = event.target; | ||
if (target == null ? void 0 : target.classList.contains("list-marker-click-target")) { | ||
if (target == null ? void 0 : target.closest(".list-marker-click-target")) { | ||
event.preventDefault(); | ||
@@ -1442,3 +1442,3 @@ const pos = view.posAtDOM(target, -10, -10); | ||
var createListNodeView = (node) => { | ||
var _a; | ||
var _a, _b; | ||
let prevNode = node; | ||
@@ -1449,2 +1449,6 @@ const prevNested = ((_a = node.firstChild) == null ? void 0 : _a.type) === node.type; | ||
const { dom, contentDOM } = DOMSerializer.renderSpec(document, spec); | ||
if (safari && node.attrs.kind === "toggle") { | ||
; | ||
(_b = dom.querySelector(".list-marker-click-target")) == null ? void 0 : _b.appendChild(document.createElement("span")); | ||
} | ||
const update = (node2) => { | ||
@@ -1451,0 +1455,0 @@ var _a2; |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.34.8" | ||
"packageVersion": "7.35.0" | ||
} | ||
] | ||
} |
{ | ||
"name": "prosemirror-flat-list", | ||
"type": "module", | ||
"version": "0.3.12", | ||
"version": "0.3.13", | ||
"description": "Powerful list support for ProseMirror", | ||
@@ -37,11 +37,11 @@ "author": "ocavue <ocavue@gmail.com>", | ||
"dependencies": { | ||
"prosemirror-commands": "^1.5.1", | ||
"prosemirror-inputrules": "^1.2.0", | ||
"prosemirror-model": "^1.19.0", | ||
"prosemirror-state": "^1.4.2", | ||
"prosemirror-transform": "^1.7.1", | ||
"prosemirror-view": "^1.31.1" | ||
"prosemirror-commands": "^1.5.2", | ||
"prosemirror-inputrules": "^1.2.1", | ||
"prosemirror-model": "^1.19.2", | ||
"prosemirror-state": "^1.4.3", | ||
"prosemirror-transform": "^1.7.2", | ||
"prosemirror-view": "^1.31.3" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.34.8", | ||
"@microsoft/api-extractor": "^7.35.0", | ||
"@remirror/core": "^2.0.16", | ||
@@ -51,7 +51,7 @@ "@remirror/extension-blockquote": "^2.0.14", | ||
"@remirror/extension-horizontal-rule": "^2.0.13", | ||
"@remirror/pm": "^2.0.5", | ||
"@remirror/pm": "^2.0.6", | ||
"@remirror/preset-core": "^2.0.16", | ||
"@types/dedent": "^0.7.0", | ||
"@types/node": "^18.16.5", | ||
"@vitest/coverage-c8": "^0.31.0", | ||
"@types/node": "^18.16.14", | ||
"@vitest/coverage-c8": "^0.31.1", | ||
"dedent": "^0.7.0", | ||
@@ -61,3 +61,3 @@ "execa": "^7.1.1", | ||
"jest-remirror": "^2.1.5", | ||
"jsdom": "^21.1.2", | ||
"jsdom": "^22.0.0", | ||
"npm-run-all": "^4.1.5", | ||
@@ -70,10 +70,10 @@ "postcss": "^8.4.23", | ||
"remark-gfm": "^3.0.1", | ||
"remark-parse": "^10.0.1", | ||
"remark-parse": "^10.0.2", | ||
"remark-rehype": "^10.1.0", | ||
"remirror": "^2.0.31", | ||
"remirror": "^2.0.32", | ||
"tsup": "^6.7.0", | ||
"typescript": "^5.0.4", | ||
"unified": "^10.1.2", | ||
"vite": "^4.3.5", | ||
"vitest": "^0.31.0" | ||
"vite": "^4.3.8", | ||
"vitest": "^0.31.1" | ||
}, | ||
@@ -80,0 +80,0 @@ "typedocOptions": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
170903
5364
Updatedprosemirror-commands@^1.5.2
Updatedprosemirror-model@^1.19.2
Updatedprosemirror-state@^1.4.3
Updatedprosemirror-transform@^1.7.2
Updatedprosemirror-view@^1.31.3