@yoopta/blockquote 4.0.0-rc.6 → 4.0.0-rc.8

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.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},e.attributes,{className:"yoo-b-mt-2 yoo-b-border-l-2 yoo-b-pl-6 yoo-b-leading-7"},{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],d=document.createElement("style");d.type="text/css","top"===o&&r.firstChild?r.insertBefore(d,r.firstChild):r.appendChild(d),d.styleSheet?d.styleSheet.cssText=e:d.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;
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};
@@ -1 +1 @@
1
- {"version":3,"file":"Blockquote.d.ts","sourceRoot":"","sources":["../../src/ui/Blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,QAAA,MAAM,gBAAgB,UAAW,wBAAwB,4CAUxD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"Blockquote.d.ts","sourceRoot":"","sources":["../../src/ui/Blockquote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,QAAA,MAAM,gBAAgB,UAAW,wBAAwB,4CAaxD,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@yoopta/blockquote",
3
- "version": "4.0.0-rc.6",
3
+ "version": "4.0.0-rc.8",
4
4
  "description": "> TODO: description",
5
5
  "author": "Darginec05 <devopsbanda@gmail.com>",
6
6
  "homepage": "https://github.com/Darginec05/Editor-Yoopta#readme",
7
7
  "license": "MIT",
8
8
  "private": false,
9
9
  "main": "dist/index.js",
10
- "module": "dist/index.es.js",
10
+ "type": "module",
11
+ "module": "dist/index.js",
11
12
  "types": "./dist/index.d.ts",
12
13
  "files": [
13
14
  "dist/"
@@ -33,5 +34,5 @@
33
34
  "bugs": {
34
35
  "url": "https://github.com/Darginec05/Editor-Yoopta/issues"
35
36
  },
36
- "gitHead": "2ab435c70924d16a80928f05657f0f9db1ff42f0"
37
+ "gitHead": "a4599f8ecac6c322b01ae25b4829d120db250736"
37
38
  }
package/dist/index.es.js DELETED
@@ -1 +0,0 @@
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},e.attributes,{className:"yoo-b-mt-2 yoo-b-border-l-2 yoo-b-pl-6 yoo-b-leading-7"},{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],d=document.createElement("style");d.type="text/css","top"===o&&r.firstChild?r.insertBefore(d,r.firstChild):r.appendChild(d),d.styleSheet?d.styleSheet.cssText=e:d.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};