@fvc/richtext 1.0.10 → 1.0.11

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/lib/index.js CHANGED
@@ -1 +1 @@
1
- import*as e from"react";import{RichTextEditorComponent as t,Inject as s,Toolbar as o,HtmlEditor as r}from"@syncfusion/ej2-react-richtexteditor";import"node_modules/@syncfusion/ej2-base/styles/material.css";import"node_modules/@syncfusion/ej2-icons/styles/material.css";import"node_modules/@syncfusion/ej2-buttons/styles/material.css";import"node_modules/@syncfusion/ej2-splitbuttons/styles/material.css";import"node_modules/@syncfusion/ej2-inputs/styles/material.css";import"node_modules/@syncfusion/ej2-lists/styles/material.css";import"node_modules/@syncfusion/ej2-navigations/styles/material.css";import"node_modules/@syncfusion/ej2-popups/styles/material.css";import"node_modules/@syncfusion/ej2-richtexteditor/styles/material.css";var n=function(){return n=Object.assign||function(e){for(var t,s=1,o=arguments.length;s<o;s++)for(var r in t=arguments[s])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var i={items:["Bold","Italic","Underline","StrikeThrough","FontName","FontSize","FontColor","BackgroundColor","LowerCase","UpperCase","|","Formats","Alignments","OrderedList","UnorderedList","Outdent","Indent","|","CreateLink","|","ClearFormat","|"]},a=function(a){a.testId;var l=a.toolbarSettings,c=void 0===l?i:l;a.height;var m=a.enableTabKey,u=void 0===m||m,d=a.enableHtmlSanitizer,p=void 0===d||d,y=function(e,t){var s={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(s[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(s[o[r]]=e[o[r]])}return s}(a,["testId","toolbarSettings","height","enableTabKey","enableHtmlSanitizer"]),f=e.useRef(null);return e.createElement(t,n({ref:f,tabIndex:0,height:450,enableTabKey:u,toolbarSettings:c,enableHtmlSanitizer:p},y),e.createElement(s,{services:[o,r]}))};export{a as Richtext};
1
+ import*as e from"react";import{RichTextEditorComponent as t,Inject as r,Toolbar as s,HtmlEditor as n}from"@syncfusion/ej2-react-richtexteditor";import"@syncfusion/ej2-base/styles/material.css";import"@syncfusion/ej2-icons/styles/material.css";import"@syncfusion/ej2-buttons/styles/material.css";import"@syncfusion/ej2-splitbuttons/styles/material.css";import"@syncfusion/ej2-inputs/styles/material.css";import"@syncfusion/ej2-lists/styles/material.css";import"@syncfusion/ej2-navigations/styles/material.css";import"@syncfusion/ej2-popups/styles/material.css";import"@syncfusion/ej2-richtexteditor/styles/material.css";var o=function(){return o=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},o.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var i={items:["Bold","Italic","Underline","StrikeThrough","FontName","FontSize","FontColor","BackgroundColor","LowerCase","UpperCase","|","Formats","Alignments","OrderedList","UnorderedList","Outdent","Indent","|","CreateLink","|","ClearFormat","|"]},a=function(a){a.testId;var l=a.toolbarSettings,c=void 0===l?i:l;a.height;var p=a.enableTabKey,m=void 0===p||p,y=a.enableHtmlSanitizer,u=void 0===y||y,f=function(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(e);n<s.length;n++)t.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(e,s[n])&&(r[s[n]]=e[s[n]])}return r}(a,["testId","toolbarSettings","height","enableTabKey","enableHtmlSanitizer"]),b=e.useRef(null);return e.createElement(t,o({ref:b,tabIndex:0,height:450,enableTabKey:m,toolbarSettings:c,enableHtmlSanitizer:u},f),e.createElement(r,{services:[s,n]}))};export{a as Richtext};
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { RichtextProps } from './types';
3
- import 'node_modules/@syncfusion/ej2-base/styles/material.css';
4
- import 'node_modules/@syncfusion/ej2-icons/styles/material.css';
5
- import 'node_modules/@syncfusion/ej2-buttons/styles/material.css';
6
- import 'node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';
7
- import 'node_modules/@syncfusion/ej2-inputs/styles/material.css';
8
- import 'node_modules/@syncfusion/ej2-lists/styles/material.css';
9
- import 'node_modules/@syncfusion/ej2-navigations/styles/material.css';
10
- import 'node_modules/@syncfusion/ej2-popups/styles/material.css';
11
- import 'node_modules/@syncfusion/ej2-richtexteditor/styles/material.css';
3
+ import '@syncfusion/ej2-base/styles/material.css';
4
+ import '@syncfusion/ej2-icons/styles/material.css';
5
+ import '@syncfusion/ej2-buttons/styles/material.css';
6
+ import '@syncfusion/ej2-splitbuttons/styles/material.css';
7
+ import '@syncfusion/ej2-inputs/styles/material.css';
8
+ import '@syncfusion/ej2-lists/styles/material.css';
9
+ import '@syncfusion/ej2-navigations/styles/material.css';
10
+ import '@syncfusion/ej2-popups/styles/material.css';
11
+ import '@syncfusion/ej2-richtexteditor/styles/material.css';
12
12
  export declare const Richtext: ({ testId, toolbarSettings, height, enableTabKey, enableHtmlSanitizer, ...rest }: RichtextProps) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fvc/richtext",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "main": "./dist/lib/index.js",
5
5
  "types": "./dist/lib/richtext/src/index.d.ts",
6
6
  "files": [