@yoopta/marks 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/components/highlight.d.ts.map +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../src/components/highlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAoB,MAAM,gBAAgB,CAAC;AAEnE,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../src/components/highlight.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAoB,MAAM,gBAAgB,CAAC;AAEnE,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,SAAS,mFAmBpB,CAAC"}
|
package/dist/index.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{createYooptaMark as o}from"@yoopta/editor";!function(e,o){void 0===o&&(o={});var r=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{createYooptaMark as o}from"@yoopta/editor";!function(e,o){void 0===o&&(o={});var r=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}(".yoo-marks-rounded{border-radius:.25rem}.yoo-marks-bg-\\[\\#F2F2F2\\]{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.yoo-marks-px-\\[6px\\]{padding-left:6px;padding-right:6px}.yoo-marks-py-\\[3px\\]{padding-bottom:3px;padding-top:3px}.yoo-marks-text-\\[\\.775em\\]{font-size:.775em}.yoo-marks-italic{font-style:italic}.yoo-marks-underline{text-decoration-line:underline}");const r=o({type:"bold",hotkey:"mod+b",render:o=>e("strong",Object.assign({className:"yoo-marks-bold yoopta-mark-bold"},{children:o.children}))}),t=o({type:"italic",hotkey:"mod+i",render:o=>e("i",Object.assign({className:"yoo-marks-italic yoopta-mark-italic"},{children:o.children}))}),a=o({type:"underline",hotkey:"mod+u",render:o=>e("u",Object.assign({className:"yoo-marks-underline yoopta-mark-underline"},{children:o.children}))}),i=o({type:"strike",hotkey:"mod+shift+s",render:o=>e("s",Object.assign({className:"yoo-marks-stroke yoopta-mark-strike"},{children:o.children}))}),d=o({type:"code",hotkey:"mod+e",render:o=>e("code",Object.assign({className:"yoo-marks-bg-[#F2F2F2] yoo-marks-py-[3px] yoo-marks-px-[6px] yoo-marks-rounded yoo-marks-text-[.775em] yoopta-mark-code"},{children:o.children}))}),n=o({type:"highlight",render:o=>{var r;const t=null===(r=o.leaf)||void 0===r?void 0:r.highlight,a={color:null==t?void 0:t.color,backgroundColor:null==t?void 0:t.backgroundColor,backgroundImage:null==t?void 0:t.backgroundImage,WebkitTextFillColor:null==t?void 0:t.webkitTextFillColor,backgroundClip:null==t?void 0:t.backgroundClip};return e("span",Object.assign({style:a,className:"yoopta-mark-highlight"},{children:o.children}))}});export{r as Bold,d as CodeMark,n as Highlight,t as Italic,i as Strike,a as Underline};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),o=require("@yoopta/editor");!function(e,o){void 0===o&&(o={});var r=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}(".yoo-marks-rounded{border-radius:.25rem}.yoo-marks-bg-\\[\\#F2F2F2\\]{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.yoo-marks-px-\\[
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),o=require("@yoopta/editor");!function(e,o){void 0===o&&(o={});var r=o.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&t.firstChild?t.insertBefore(a,t.firstChild):t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}(".yoo-marks-rounded{border-radius:.25rem}.yoo-marks-bg-\\[\\#F2F2F2\\]{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity))}.yoo-marks-px-\\[6px\\]{padding-left:6px;padding-right:6px}.yoo-marks-py-\\[3px\\]{padding-bottom:3px;padding-top:3px}.yoo-marks-text-\\[\\.775em\\]{font-size:.775em}.yoo-marks-italic{font-style:italic}.yoo-marks-underline{text-decoration-line:underline}");const r=o.createYooptaMark({type:"bold",hotkey:"mod+b",render:o=>e.jsx("strong",Object.assign({className:"yoo-marks-bold yoopta-mark-bold"},{children:o.children}))}),t=o.createYooptaMark({type:"italic",hotkey:"mod+i",render:o=>e.jsx("i",Object.assign({className:"yoo-marks-italic yoopta-mark-italic"},{children:o.children}))}),a=o.createYooptaMark({type:"underline",hotkey:"mod+u",render:o=>e.jsx("u",Object.assign({className:"yoo-marks-underline yoopta-mark-underline"},{children:o.children}))}),i=o.createYooptaMark({type:"strike",hotkey:"mod+shift+s",render:o=>e.jsx("s",Object.assign({className:"yoo-marks-stroke yoopta-mark-strike"},{children:o.children}))}),d=o.createYooptaMark({type:"code",hotkey:"mod+e",render:o=>e.jsx("code",Object.assign({className:"yoo-marks-bg-[#F2F2F2] yoo-marks-py-[3px] yoo-marks-px-[6px] yoo-marks-rounded yoo-marks-text-[.775em] yoopta-mark-code"},{children:o.children}))}),s=o.createYooptaMark({type:"highlight",render:o=>{var r;const t=null===(r=o.leaf)||void 0===r?void 0:r.highlight,a={color:null==t?void 0:t.color,backgroundColor:null==t?void 0:t.backgroundColor,backgroundImage:null==t?void 0:t.backgroundImage,WebkitTextFillColor:null==t?void 0:t.webkitTextFillColor,backgroundClip:null==t?void 0:t.backgroundClip};return e.jsx("span",Object.assign({style:a,className:"yoopta-mark-highlight"},{children:o.children}))}});exports.Bold=r,exports.CodeMark=d,exports.Highlight=s,exports.Italic=t,exports.Strike=i,exports.Underline=a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoopta/marks",
|
|
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
|
}
|