@lotte-innovate/ui-component-test 0.1.123 → 0.1.124

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/dist/lib/components/Editor/index.js +2 -2
  2. package/dist/lib/components/Editor/index.mjs +1 -1
  3. package/dist/tsconfig.tsbuildinfo +1 -1
  4. package/package.json +1 -1
  5. package/public/tinymce/icons/default/icons.mjs +0 -2
  6. package/public/tinymce/icons/default/icons.mjs.map +0 -1
  7. package/public/tinymce/icons/default/index.d.ts +0 -1
  8. package/public/tinymce/icons/default/index.mjs +0 -2
  9. package/public/tinymce/icons/default/index.mjs.map +0 -1
  10. package/public/tinymce/models/dom/index.d.ts +0 -1
  11. package/public/tinymce/models/dom/index.mjs +0 -2
  12. package/public/tinymce/models/dom/index.mjs.map +0 -1
  13. package/public/tinymce/models/dom/model.mjs +0 -2
  14. package/public/tinymce/models/dom/model.mjs.map +0 -1
  15. package/public/tinymce/plugins/advlist/index.d.ts +0 -1
  16. package/public/tinymce/plugins/advlist/index.mjs +0 -2
  17. package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
  18. package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
  19. package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
  20. package/public/tinymce/plugins/code/index.d.ts +0 -1
  21. package/public/tinymce/plugins/code/index.mjs +0 -2
  22. package/public/tinymce/plugins/code/index.mjs.map +0 -1
  23. package/public/tinymce/plugins/code/plugin.mjs +0 -2
  24. package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
  25. package/public/tinymce/plugins/codesample/index.d.ts +0 -1
  26. package/public/tinymce/plugins/codesample/index.mjs +0 -2
  27. package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
  28. package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
  29. package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
  30. package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
  31. package/public/tinymce/plugins/image/index.d.ts +0 -1
  32. package/public/tinymce/plugins/image/index.mjs +0 -2
  33. package/public/tinymce/plugins/image/index.mjs.map +0 -1
  34. package/public/tinymce/plugins/image/plugin.mjs +0 -2
  35. package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
  36. package/public/tinymce/plugins/link/index.d.ts +0 -1
  37. package/public/tinymce/plugins/link/index.mjs +0 -2
  38. package/public/tinymce/plugins/link/index.mjs.map +0 -1
  39. package/public/tinymce/plugins/link/plugin.mjs +0 -2
  40. package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
  41. package/public/tinymce/plugins/lists/index.d.ts +0 -1
  42. package/public/tinymce/plugins/lists/index.mjs +0 -2
  43. package/public/tinymce/plugins/lists/index.mjs.map +0 -1
  44. package/public/tinymce/plugins/lists/plugin.mjs +0 -2
  45. package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
  46. package/public/tinymce/plugins/table/index.d.ts +0 -1
  47. package/public/tinymce/plugins/table/index.mjs +0 -2
  48. package/public/tinymce/plugins/table/index.mjs.map +0 -1
  49. package/public/tinymce/plugins/table/plugin.mjs +0 -2
  50. package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
  51. package/public/tinymce/skins/content/default/content.mjs +0 -2
  52. package/public/tinymce/skins/content/default/content.mjs.map +0 -1
  53. package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
  54. package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
  55. package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
  56. package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
  57. package/public/tinymce/themes/silver/index.d.ts +0 -1
  58. package/public/tinymce/themes/silver/index.mjs +0 -2
  59. package/public/tinymce/themes/silver/index.mjs.map +0 -1
  60. package/public/tinymce/themes/silver/theme.mjs +0 -2
  61. package/public/tinymce/themes/silver/theme.mjs.map +0 -1
  62. package/public/tinymce/tinymce.mjs +0 -2
  63. package/public/tinymce/tinymce.mjs.map +0 -1
@@ -59,12 +59,12 @@ var editorVariants = cva('', {
59
59
  export var Editor = forwardRef(function (_a, ref) {
60
60
  var className = _a.className, size = _a.size, scaling = _a.scaling, props = __rest(_a, ["className", "size", "scaling"]);
61
61
  return (_jsx("div", { className: cn(editorVariants({ size: size, scaling: scaling }), className), ref: ref, children: _jsx(EditorUI, __assign({ init: {
62
- // base_url: 'tinymce',
62
+ base_url: 'tinymce',
63
63
  width: '100%',
64
64
  height: '100%',
65
65
  plugins: 'link table code lists codesample',
66
66
  menubar: false,
67
- toolbar: 'blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | inlinecode codeformat markdown',
67
+ toolbar: 'blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | inlinecode codeformat codesample markdown',
68
68
  content_style: 'body { font-family:Noto Sans KR, sans-serif, Nunito Sans, Helvetica Neue, Helvetica }',
69
69
  setup: function (editor) {
70
70
  editor.ui.registry.addButton('inlinecode', {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import{jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Editor as e}from"@tinymce/tinymce-react";import{cva as o}from"class-variance-authority";import{scalingVariants as n}from"../../constants.mjs";import{cn as r}from"../../utils/utils.mjs";import{marked as a}from"marked";import"../../../../_virtual/tinymce.mjs";import"../../../../_virtual/index19.mjs";import"../../../../_virtual/index17.mjs";import"../../../../_virtual/index13.mjs";import"../../../../public/tinymce/skins/ui/oxide/skin.mjs";import"../../../../_virtual/index11.mjs";import"../../../../_virtual/index9.mjs";import"../../../../_virtual/index.mjs";import"../../../../_virtual/index15.mjs";import"../../../../_virtual/index5.mjs";import"../../../../_virtual/index7.mjs";import"../../../../_virtual/index3.mjs";import"../../../../public/tinymce/skins/content/default/content.mjs";import"../../../../public/tinymce/skins/ui/oxide/content.mjs";var s=function(){return s=Object.assign||function(t){for(var i,e=1,o=arguments.length;e<o;e++)for(var n in i=arguments[e])Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);return t},s.apply(this,arguments)},m=function(t,i){var e={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&i.indexOf(o)<0&&(e[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)i.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(e[o[n]]=t[o[n]])}return e},l=o("",{variants:{scaling:s({},n),size:{small:"w-[500px] h-[350px]",medium:"w-[550px] h-[400px]",large:"w-[600px] h-[450px]"}},defaultVariants:{scaling:"100%",size:"medium"}}),c=i((function(i,o){var n=i.className,c=i.size,u=i.scaling,p=m(i,["className","size","scaling"]);return t("div",{className:r(l({size:c,scaling:u}),n),ref:o,children:t(e,s({init:{width:"100%",height:"100%",plugins:"link table code lists codesample",menubar:!1,toolbar:"blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | inlinecode codeformat markdown",content_style:"body { font-family:Noto Sans KR, sans-serif, Nunito Sans, Helvetica Neue, Helvetica }",setup:function(t){t.ui.registry.addButton("inlinecode",{icon:"sourcecode",tooltip:"Inline code",onAction:function(){t.formatter.toggle("code")}}),t.on("init",(function(){t.formatter.register("code",{inline:"code",remove:"all"})})),t.ui.registry.addButton("markdown",{text:"Markdown",onAction:function(){var i=t.getContent({format:"text"}),e=a(i);t.setContent(e)}})}}},p))})}));c.displayName="Editor";export{c as Editor,c as default};
2
+ import{jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import{Editor as e}from"@tinymce/tinymce-react";import{cva as o}from"class-variance-authority";import{scalingVariants as n}from"../../constants.mjs";import{cn as r}from"../../utils/utils.mjs";import{marked as a}from"marked";import"../../../../_virtual/tinymce.mjs";import"../../../../_virtual/index19.mjs";import"../../../../_virtual/index3.mjs";import"../../../../_virtual/index5.mjs";import"../../../../public/tinymce/skins/ui/oxide/skin.mjs";import"../../../../_virtual/index13.mjs";import"../../../../_virtual/index7.mjs";import"../../../../_virtual/index17.mjs";import"../../../../_virtual/index11.mjs";import"../../../../_virtual/index9.mjs";import"../../../../_virtual/index.mjs";import"../../../../_virtual/index15.mjs";import"../../../../public/tinymce/skins/content/default/content.mjs";import"../../../../public/tinymce/skins/ui/oxide/content.mjs";var s=function(){return s=Object.assign||function(t){for(var i,e=1,o=arguments.length;e<o;e++)for(var n in i=arguments[e])Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);return t},s.apply(this,arguments)},m=function(t,i){var e={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&i.indexOf(o)<0&&(e[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(t);n<o.length;n++)i.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(e[o[n]]=t[o[n]])}return e},l=o("",{variants:{scaling:s({},n),size:{small:"w-[500px] h-[350px]",medium:"w-[550px] h-[400px]",large:"w-[600px] h-[450px]"}},defaultVariants:{scaling:"100%",size:"medium"}}),c=i((function(i,o){var n=i.className,c=i.size,u=i.scaling,p=m(i,["className","size","scaling"]);return t("div",{className:r(l({size:c,scaling:u}),n),ref:o,children:t(e,s({init:{base_url:"tinymce",width:"100%",height:"100%",plugins:"link table code lists codesample",menubar:!1,toolbar:"blocks | bold italic forecolor strikethrough | hr blockquote | bullist numlist outdent indent | table image link | inlinecode codeformat codesample markdown",content_style:"body { font-family:Noto Sans KR, sans-serif, Nunito Sans, Helvetica Neue, Helvetica }",setup:function(t){t.ui.registry.addButton("inlinecode",{icon:"sourcecode",tooltip:"Inline code",onAction:function(){t.formatter.toggle("code")}}),t.on("init",(function(){t.formatter.register("code",{inline:"code",remove:"all"})})),t.ui.registry.addButton("markdown",{text:"Markdown",onAction:function(){var i=t.getContent({format:"text"}),e=a(i);t.setContent(e)}})}}},p))})}));c.displayName="Editor";export{c as Editor,c as default};
3
3
  //# sourceMappingURL=index.mjs.map