@lexical/table
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -13,3 +13,3 @@ /** | ||
class z extends f.GridRowNode{static getType(){return"tablerow"}static clone(a){return new z(a.__height,a.__key)}static importDOM(){return{tr:()=>({conversion:A,priority:0})}}static importJSON(a){return B(a.height)}constructor(a,b){super(b);this.__height=a}exportJSON(){return{...super.exportJSON(),type:"tablerow",version:1}}createDOM(a){let b=document.createElement("tr");this.__height&&(b.style.height=`${this.__height}px`);p.addClassNamesToElement(b,a.theme.tableRow);return b}setHeight(a){this.getWritable().__height= | ||
a;return this.__height}getHeight(){return this.getLatest().__height}updateDOM(a){return a.__height!==this.__height}canBeEmpty(){return!1}canIndent(){return!1}}function A(){return{node:B()}}function B(a){return new z(a)}function C(a){return a instanceof z}function D(a){throw Error(`Minified Lexical error #${a}; see codes.json for the full message or `+"use the non-minified dev environment for full errors and additional helpful warnings.");} | ||
a;return this.__height}getHeight(){return this.getLatest().__height}updateDOM(a){return a.__height!==this.__height}canBeEmpty(){return!1}canIndent(){return!1}}function A(){return{node:B()}}function B(a){return new z(a)}function C(a){return a instanceof z}function D(a){throw Error(`Minified Lexical error #${a}; visit https://lexical.dev/docs/error?code=${a} for the full message or `+"use the non-minified dev environment for full errors and additional helpful warnings.");} | ||
if("undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement){let a=document.createElement("style");a.innerHTML="\n table.disable-selection {\n -webkit-touch-callout: none;\n -webkit-user-select: none; \n -khtml-user-select: none; \n -moz-user-select: none; \n -ms-user-select: none; \n user-select: none;\n }\n \n .disable-selection span::selection{\n background-color: transparent;\n }\n .disable-selection br::selection{\n background-color: transparent;\n }\n "; | ||
@@ -16,0 +16,0 @@ document.body&&document.body.append(a)} |
@@ -11,9 +11,9 @@ { | ||
"license": "MIT", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"main": "LexicalTable.js", | ||
"peerDependencies": { | ||
"lexical": "0.3.6" | ||
"lexical": "0.3.7" | ||
}, | ||
"dependencies": { | ||
"@lexical/utils": "0.3.6" | ||
"@lexical/utils": "0.3.7" | ||
}, | ||
@@ -20,0 +20,0 @@ "repository": { |
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
100635
+ Added@lexical/list@0.3.7(transitive)
+ Added@lexical/utils@0.3.7(transitive)
+ Addedlexical@0.3.7(transitive)
- Removed@lexical/list@0.3.6(transitive)
- Removed@lexical/utils@0.3.6(transitive)
- Removedlexical@0.3.6(transitive)
Updated@lexical/utils@0.3.7