@yoopta/blockquote 4.0.0-rc.6 → 4.0.0-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{YooptaPlugin as e}from"@yoopta/editor";import{jsx as t}from"react/jsx-runtime";const o=new e({type:"Blockquote",elements:{blockquote:{render:e=>t("blockquote",Object.assign({"data-element-type":e.element.type
|
|
1
|
+
import{YooptaPlugin as e}from"@yoopta/editor";import{jsx as t}from"react/jsx-runtime";"function"==typeof SuppressedError&&SuppressedError;const o=new e({type:"Blockquote",elements:{blockquote:{render:e=>{const o=e.HTMLAttributes||{},{className:r}=o,n=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o}(o,["className"]);return t("blockquote",Object.assign({"data-element-type":e.element.type,className:`yoo-b-mt-2 yoo-b-border-l-2 yoo-b-pl-6 yoo-b-leading-7 ${r}`},n,e.attributes,{children:e.children}))}}},options:{display:{title:"Blockquote",description:"Capture quote"},shortcuts:[">"]},parsers:{html:{deserialize:{nodeNames:["BLOCKQUOTE"]}}}});!function(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===o&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}(".yoo-b-mt-2{margin-top:.5rem}.yoo-b-border-l-2{border-left-width:2px}.yoo-b-pl-6{padding-left:1.5rem}.yoo-b-leading-7{line-height:1.75rem}");export{o as default};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@yoopta/editor"),t=require("react/jsx-runtime");const o=new e.YooptaPlugin({type:"Blockquote",elements:{blockquote:{render:e=>t.jsx("blockquote",Object.assign({"data-element-type":e.element.type
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@yoopta/editor"),t=require("react/jsx-runtime");"function"==typeof SuppressedError&&SuppressedError;const o=new e.YooptaPlugin({type:"Blockquote",elements:{blockquote:{render:e=>{const o=e.HTMLAttributes||{},{className:r}=o,n=function(e,t){var o={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(o[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(o[r[n]]=e[r[n]])}return o}(o,["className"]);return t.jsx("blockquote",Object.assign({"data-element-type":e.element.type,className:`yoo-b-mt-2 yoo-b-border-l-2 yoo-b-pl-6 yoo-b-leading-7 ${r}`},n,e.attributes,{children:e.children}))}}},options:{display:{title:"Blockquote",description:"Capture quote"},shortcuts:[">"]},parsers:{html:{deserialize:{nodeNames:["BLOCKQUOTE"]}}}});!function(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===o&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}(".yoo-b-mt-2{margin-top:.5rem}.yoo-b-border-l-2{border-left-width:2px}.yoo-b-pl-6{padding-left:1.5rem}.yoo-b-leading-7{line-height:1.75rem}"),exports.default=o;
|
package/dist/plugin/index.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Blockquote: YooptaPlugin<"blockquote", import("slate").Descendant, {
|
|
3
|
-
display: {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
shortcuts: string[];
|
|
8
|
-
}>;
|
|
1
|
+
declare const Blockquote: any;
|
|
9
2
|
export { Blockquote };
|
|
10
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,UAAU,KAqBd,CAAC;AAEH,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/ui/Blockquote.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.d.ts","sourceRoot":"","sources":["../../src/ui/Blockquote.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Blockquote.d.ts","sourceRoot":"","sources":["../../src/ui/Blockquote.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,gBAAgB,8EAarB,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoopta/blockquote",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.7",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "Darginec05 <devopsbanda@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/Darginec05/Editor-Yoopta#readme",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"bugs": {
|
|
34
34
|
"url": "https://github.com/Darginec05/Editor-Yoopta/issues"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "daa226c7a3570b330c6f196f6a19729d72785733"
|
|
37
37
|
}
|