@bigbinary/neeto-editor-frontend 2.0.10 → 2.1.0-beta1
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/.ready +1 -1
- package/dist/Editor.js +7 -6
- package/dist/Editor.js.map +1 -1
- package/dist/EditorContent.js +4 -3
- package/dist/EditorContent.js.map +1 -1
- package/dist/FormikEditor.js +7 -6
- package/dist/FormikEditor.js.map +1 -1
- package/dist/Menu.js +5 -4
- package/dist/Menu.js.map +1 -1
- package/dist/{chunk-DxmX0drN.js → chunk-7ioLE0kx.js} +2 -2
- package/dist/{chunk-DxmX0drN.js.map → chunk-7ioLE0kx.js.map} +1 -1
- package/dist/{chunk-MLCxAQf7.js → chunk-BNyLNMnb.js} +3 -3
- package/dist/{chunk-MLCxAQf7.js.map → chunk-BNyLNMnb.js.map} +1 -1
- package/dist/{cjs/chunk-Crp27WMe.cjs.js → chunk-BpMZjml2.js} +147 -3234
- package/dist/chunk-BpMZjml2.js.map +1 -0
- package/dist/{chunk-C_P2M3zF.js → chunk-Br5h7rjn.js} +7 -3
- package/dist/chunk-Br5h7rjn.js.map +1 -0
- package/dist/{chunk-Di3ipdfT.js → chunk-CRUXOawK.js} +3 -2
- package/dist/{chunk-Di3ipdfT.js.map → chunk-CRUXOawK.js.map} +1 -1
- package/dist/chunk-DN9pYQV5.js +3210 -0
- package/dist/chunk-DN9pYQV5.js.map +1 -0
- package/dist/{chunk-DbtYYDYF.js → chunk-DYRpf9PJ.js} +3 -3
- package/dist/{chunk-DbtYYDYF.js.map → chunk-DYRpf9PJ.js.map} +1 -1
- package/dist/{chunk-CTLN7kYv.js → chunk-DfH1lF5p.js} +3 -17
- package/dist/chunk-DfH1lF5p.js.map +1 -0
- package/dist/{chunk-Byc0nnPW.js → chunk-YhV82e9I.js} +8 -4
- package/dist/chunk-YhV82e9I.js.map +1 -0
- package/dist/{chunk-BAjN56q8.js → chunk-lEnpEBRB.js} +5 -4
- package/dist/{chunk-BAjN56q8.js.map → chunk-lEnpEBRB.js.map} +1 -1
- package/dist/{chunk-CrQm8ki8.js → chunk-sn8HEeT6.js} +4 -3
- package/dist/{chunk-CrQm8ki8.js.map → chunk-sn8HEeT6.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +8 -7
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/EditorContent.cjs.js +4 -3
- package/dist/cjs/EditorContent.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +7 -6
- package/dist/cjs/FormikEditor.cjs.js.map +1 -1
- package/dist/cjs/Menu.cjs.js +5 -4
- package/dist/cjs/Menu.cjs.js.map +1 -1
- package/dist/cjs/{chunk-CwtiYxqr.cjs.js → chunk-78VpxO0R.cjs.js} +4 -3
- package/dist/cjs/{chunk-CwtiYxqr.cjs.js.map → chunk-78VpxO0R.cjs.js.map} +1 -1
- package/dist/{chunk-DgZGzqPs.js → cjs/chunk-BPJBeVDI.cjs.js} +166 -3206
- package/dist/cjs/chunk-BPJBeVDI.cjs.js.map +1 -0
- package/dist/cjs/{chunk-Ty2BpOZ5.cjs.js → chunk-CBswWnmM.cjs.js} +10 -6
- package/dist/cjs/chunk-CBswWnmM.cjs.js.map +1 -0
- package/dist/cjs/{chunk-Bsk_FDUA.cjs.js → chunk-CQLQEN5P.cjs.js} +5 -22
- package/dist/cjs/chunk-CQLQEN5P.cjs.js.map +1 -0
- package/dist/cjs/{chunk-CohcWDmm.cjs.js → chunk-CwY6UgZq.cjs.js} +78 -77
- package/dist/cjs/{chunk-CohcWDmm.cjs.js.map → chunk-CwY6UgZq.cjs.js.map} +1 -1
- package/dist/cjs/chunk-DRnP2LQe.cjs.js +3231 -0
- package/dist/cjs/chunk-DRnP2LQe.cjs.js.map +1 -0
- package/dist/cjs/{chunk-D9InNR1-.cjs.js → chunk-QnVNXaqt.cjs.js} +11 -7
- package/dist/cjs/chunk-QnVNXaqt.cjs.js.map +1 -0
- package/dist/cjs/{chunk-D53HfRZd.cjs.js → chunk-V1V-Gqfy.cjs.js} +3 -3
- package/dist/cjs/{chunk-D53HfRZd.cjs.js.map → chunk-V1V-Gqfy.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-CkdAygKd.cjs.js → chunk-bfmPXyQJ.cjs.js} +3 -3
- package/dist/cjs/{chunk-CkdAygKd.cjs.js.map → chunk-bfmPXyQJ.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-BwE6pvh2.cjs.js → chunk-bxP1kilM.cjs.js} +2 -2
- package/dist/cjs/{chunk-BwE6pvh2.cjs.js.map → chunk-bxP1kilM.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-BAEoAF1o.cjs.js → chunk-j4T5BDua.cjs.js} +23 -22
- package/dist/cjs/{chunk-BAEoAF1o.cjs.js.map → chunk-j4T5BDua.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +9 -8
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/utils.cjs.js +7 -6
- package/dist/cjs/utils.cjs.js.map +1 -1
- package/dist/cjs/v2/Editor.cjs.js +7 -6
- package/dist/cjs/v2/Editor.cjs.js.map +1 -1
- package/dist/cjs/v2/EditorContent.cjs.js +4 -3
- package/dist/cjs/v2/EditorContent.cjs.js.map +1 -1
- package/dist/cjs/v2/FormikEditor.cjs.js +6 -5
- package/dist/cjs/v2/FormikEditor.cjs.js.map +1 -1
- package/dist/cjs/v2/Menu.cjs.js +4 -3
- package/dist/cjs/v2/Menu.cjs.js.map +1 -1
- package/dist/cjs/v2/index.cjs.js +8 -7
- package/dist/cjs/v2/index.cjs.js.map +1 -1
- package/dist/cjs/v2/utils.cjs.js +7 -6
- package/dist/cjs/v2/utils.cjs.js.map +1 -1
- package/dist/editor-stats.html +2 -2
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/dist/utils.js +7 -6
- package/dist/utils.js.map +1 -1
- package/dist/v2/Editor.js +6 -5
- package/dist/v2/Editor.js.map +1 -1
- package/dist/v2/EditorContent.js +4 -3
- package/dist/v2/EditorContent.js.map +1 -1
- package/dist/v2/FormikEditor.js +6 -5
- package/dist/v2/FormikEditor.js.map +1 -1
- package/dist/v2/Menu.js +4 -3
- package/dist/v2/Menu.js.map +1 -1
- package/dist/v2/index.js +8 -7
- package/dist/v2/index.js.map +1 -1
- package/dist/v2/utils.js +7 -6
- package/dist/v2/utils.js.map +1 -1
- package/package.json +7 -5
- package/dist/chunk-Byc0nnPW.js.map +0 -1
- package/dist/chunk-CTLN7kYv.js.map +0 -1
- package/dist/chunk-C_P2M3zF.js.map +0 -1
- package/dist/chunk-DgZGzqPs.js.map +0 -1
- package/dist/cjs/chunk-Bsk_FDUA.cjs.js.map +0 -1
- package/dist/cjs/chunk-Crp27WMe.cjs.js.map +0 -1
- package/dist/cjs/chunk-D9InNR1-.cjs.js.map +0 -1
- package/dist/cjs/chunk-Ty2BpOZ5.cjs.js.map +0 -1
package/dist/v2/EditorContent.js
CHANGED
|
@@ -8,14 +8,15 @@ import '@bigbinary/neeto-molecules/v2/CopyToClipboardButton';
|
|
|
8
8
|
import 'ramda';
|
|
9
9
|
import 'react-dom/client';
|
|
10
10
|
import '../chunk-UwzgbfZD.js';
|
|
11
|
-
export { i as default } from '../chunk-
|
|
11
|
+
export { i as default } from '../chunk-sn8HEeT6.js';
|
|
12
12
|
import '@bigbinary/neeto-cist';
|
|
13
|
+
import '../chunk-BpMZjml2.js';
|
|
13
14
|
import '../chunk-CNIDH-FD.js';
|
|
14
15
|
import 'react-dom/server';
|
|
15
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-DfH1lF5p.js';
|
|
16
17
|
import 'react/jsx-runtime';
|
|
17
18
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
18
|
-
import '../chunk-
|
|
19
|
+
import '../chunk-7ioLE0kx.js';
|
|
19
20
|
import '../chunk-BFTU3MAI.js';
|
|
20
21
|
import '@bigbinary/neeto-atoms';
|
|
21
22
|
import 'lucide-react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorContent.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditorContent.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/v2/FormikEditor.js
CHANGED
|
@@ -9,16 +9,17 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
10
10
|
import '@babel/runtime/helpers/slicedToArray';
|
|
11
11
|
import '@bigbinary/neeto-atoms';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-CRUXOawK.js';
|
|
13
13
|
import 'axios';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-DN9pYQV5.js';
|
|
15
|
+
import '../chunk-BpMZjml2.js';
|
|
15
16
|
import 'react-dom';
|
|
16
17
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
17
18
|
import 'zustand';
|
|
18
19
|
import 'classnames';
|
|
19
20
|
import '@bigbinary/neeto-commons-frontend/v2/react-utils';
|
|
20
|
-
import '../chunk-
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-lEnpEBRB.js';
|
|
22
|
+
import '../chunk-DfH1lF5p.js';
|
|
22
23
|
import '../chunk-BFTU3MAI.js';
|
|
23
24
|
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
24
25
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
@@ -29,7 +30,7 @@ import '../chunk-CNIDH-FD.js';
|
|
|
29
30
|
import 'i18next';
|
|
30
31
|
import 'yup';
|
|
31
32
|
import 'react-dom/server';
|
|
32
|
-
import '../chunk-
|
|
33
|
+
import '../chunk-YhV82e9I.js';
|
|
33
34
|
import 'lucide-react';
|
|
34
35
|
import '@bigbinary/neeto-atoms/primitives/Popover';
|
|
35
36
|
import 'react-i18next';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormikEditor.js","sources":["../../app/javascript/src/v2/components/Editor/FormikEditor.jsx"],"sourcesContent":["import { forwardRef, memo } from \"react\";\n\nimport { FastField } from \"formik\";\nimport { noop } from \"neetocist\";\nimport { path, pluck } from \"ramda\";\n\nimport Editor from \".\";\n\nconst FormikEditor = (\n {\n name,\n onChange = noop,\n shouldUpdate,\n attachments = [],\n mentions = [],\n variables = [],\n ...otherProps\n },\n ref\n) => {\n const internalShouldUpdate = (prevProps, nextProps) => {\n const prevFormikProps = prevProps.formik;\n const nextFormikProps = nextProps.formik;\n\n const pathParts = name.split(\".\");\n const prevError = path(pathParts, prevFormikProps.errors);\n const nextError = path(pathParts, nextFormikProps.errors);\n const prevTouched = path(pathParts, prevFormikProps.touched);\n const nextTouched = path(pathParts, nextFormikProps.touched);\n const prevAttachments = pluck(\"signedId\", prevProps.attachments).join(\"|\");\n const nextAttachments = pluck(\"signedId\", nextProps.attachments).join(\"|\");\n\n return (\n prevError !== nextError ||\n prevTouched !== nextTouched ||\n Object.keys(nextProps).length !== Object.keys(prevProps).length ||\n prevFormikProps.isSubmitting !== nextFormikProps.isSubmitting ||\n prevAttachments !== nextAttachments ||\n Boolean(shouldUpdate?.(prevProps, nextProps))\n );\n };\n\n return (\n <FastField\n {...{ attachments, mentions, name, variables }}\n shouldUpdate={internalShouldUpdate}\n >\n {({ field, form, meta }) => (\n <Editor\n {...{ attachments, mentions, name, ref, variables }}\n error={meta.touched ? meta.error : \"\"}\n initialValue={field.value}\n onBlur={() => {\n form.setFieldTouched(name, true);\n }}\n onChange={value => {\n form.setFieldValue(name, value);\n onChange?.(value);\n }}\n {...otherProps}\n />\n )}\n </FastField>\n );\n};\n\nFormikEditor.displayName = \"FormikNeetoEditor\";\n\nexport default memo(forwardRef(FormikEditor));\n"],"names":["FormikEditor","_ref","ref","name","_ref$onChange","onChange","noop","shouldUpdate","_ref$attachments","attachments","_ref$mentions","mentions","_ref$variables","variables","otherProps","_objectWithoutProperties","_excluded","internalShouldUpdate","prevProps","nextProps","prevFormikProps","formik","nextFormikProps","pathParts","split","prevError","path","errors","nextError","prevTouched","touched","nextTouched","prevAttachments","pluck","join","nextAttachments","Object","keys","length","isSubmitting","Boolean","_jsx","FastField","children","_ref2","field","form","meta","Editor","_objectSpread","error","initialValue","value","onBlur","setFieldTouched","setFieldValue","displayName","memo","forwardRef"],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormikEditor.js","sources":["../../app/javascript/src/v2/components/Editor/FormikEditor.jsx"],"sourcesContent":["import { forwardRef, memo } from \"react\";\n\nimport { FastField } from \"formik\";\nimport { noop } from \"neetocist\";\nimport { path, pluck } from \"ramda\";\n\nimport Editor from \".\";\n\nconst FormikEditor = (\n {\n name,\n onChange = noop,\n shouldUpdate,\n attachments = [],\n mentions = [],\n variables = [],\n ...otherProps\n },\n ref\n) => {\n const internalShouldUpdate = (prevProps, nextProps) => {\n const prevFormikProps = prevProps.formik;\n const nextFormikProps = nextProps.formik;\n\n const pathParts = name.split(\".\");\n const prevError = path(pathParts, prevFormikProps.errors);\n const nextError = path(pathParts, nextFormikProps.errors);\n const prevTouched = path(pathParts, prevFormikProps.touched);\n const nextTouched = path(pathParts, nextFormikProps.touched);\n const prevAttachments = pluck(\"signedId\", prevProps.attachments).join(\"|\");\n const nextAttachments = pluck(\"signedId\", nextProps.attachments).join(\"|\");\n\n return (\n prevError !== nextError ||\n prevTouched !== nextTouched ||\n Object.keys(nextProps).length !== Object.keys(prevProps).length ||\n prevFormikProps.isSubmitting !== nextFormikProps.isSubmitting ||\n prevAttachments !== nextAttachments ||\n Boolean(shouldUpdate?.(prevProps, nextProps))\n );\n };\n\n return (\n <FastField\n {...{ attachments, mentions, name, variables }}\n shouldUpdate={internalShouldUpdate}\n >\n {({ field, form, meta }) => (\n <Editor\n {...{ attachments, mentions, name, ref, variables }}\n error={meta.touched ? meta.error : \"\"}\n initialValue={field.value}\n onBlur={() => {\n form.setFieldTouched(name, true);\n }}\n onChange={value => {\n form.setFieldValue(name, value);\n onChange?.(value);\n }}\n {...otherProps}\n />\n )}\n </FastField>\n );\n};\n\nFormikEditor.displayName = \"FormikNeetoEditor\";\n\nexport default memo(forwardRef(FormikEditor));\n"],"names":["FormikEditor","_ref","ref","name","_ref$onChange","onChange","noop","shouldUpdate","_ref$attachments","attachments","_ref$mentions","mentions","_ref$variables","variables","otherProps","_objectWithoutProperties","_excluded","internalShouldUpdate","prevProps","nextProps","prevFormikProps","formik","nextFormikProps","pathParts","split","prevError","path","errors","nextError","prevTouched","touched","nextTouched","prevAttachments","pluck","join","nextAttachments","Object","keys","length","isSubmitting","Boolean","_jsx","FastField","children","_ref2","field","form","meta","Editor","_objectSpread","error","initialValue","value","onBlur","setFieldTouched","setFieldValue","displayName","memo","forwardRef"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAUhBC,GAAG,EACA;AAAA,EAAA,IATDC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IAAAC,aAAA,GAAAH,IAAA,CACJI,QAAQ;AAARA,IAAAA,SAAQ,GAAAD,aAAA,KAAA,MAAA,GAAGE,IAAI,GAAAF,aAAA;IACfG,YAAY,GAAAN,IAAA,CAAZM,YAAY;IAAAC,gBAAA,GAAAP,IAAA,CACZQ,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,gBAAA;IAAAE,aAAA,GAAAT,IAAA,CAChBU,QAAQ;AAARA,IAAAA,QAAQ,GAAAD,aAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,aAAA;IAAAE,cAAA,GAAAX,IAAA,CACbY,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAA,MAAA,GAAG,EAAE,GAAAA,cAAA;AACXE,IAAAA,UAAU,GAAAC,wBAAA,CAAAd,IAAA,EAAAe,S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v2/Menu.js
CHANGED
|
@@ -3,15 +3,16 @@ import '@babel/runtime/helpers/toConsumableArray';
|
|
|
3
3
|
import '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'ramda';
|
|
6
|
-
export { M as default } from '../chunk-
|
|
6
|
+
export { M as default } from '../chunk-YhV82e9I.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'i18next';
|
|
9
9
|
import 'yup';
|
|
10
10
|
import '../chunk-UwzgbfZD.js';
|
|
11
11
|
import 'lucide-react';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-CRUXOawK.js';
|
|
13
13
|
import 'axios';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-DN9pYQV5.js';
|
|
15
|
+
import '../chunk-BpMZjml2.js';
|
|
15
16
|
import 'react-dom';
|
|
16
17
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
17
18
|
import 'zustand';
|
package/dist/v2/Menu.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Menu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/v2/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { E as EDITOR_OPTIONS } from '../chunk-UwzgbfZD.js';
|
|
2
|
-
export { D as DEFAULT_EDITOR_OPTIONS, M as Menu, i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from '../chunk-
|
|
3
|
-
export { i as EditorContent, s as substituteVariables } from '../chunk-
|
|
4
|
-
export { i as isEditorContentWithinLimit, a as isEditorEmpty, r as removeEmptyTags } from '../chunk-
|
|
2
|
+
export { D as DEFAULT_EDITOR_OPTIONS, M as Menu, i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from '../chunk-YhV82e9I.js';
|
|
3
|
+
export { i as EditorContent, s as substituteVariables } from '../chunk-sn8HEeT6.js';
|
|
4
|
+
export { i as isEditorContentWithinLimit, a as isEditorEmpty, r as removeEmptyTags } from '../chunk-DfH1lF5p.js';
|
|
5
5
|
export { A as Attachments } from '../chunk-BGx6BSFw.js';
|
|
6
6
|
export { default as Editor } from './Editor.js';
|
|
7
7
|
export { default as FormikEditor } from './FormikEditor.js';
|
|
@@ -13,9 +13,10 @@ import 'react';
|
|
|
13
13
|
import 'i18next';
|
|
14
14
|
import 'yup';
|
|
15
15
|
import 'lucide-react';
|
|
16
|
-
import '../chunk-
|
|
16
|
+
import '../chunk-CRUXOawK.js';
|
|
17
17
|
import 'axios';
|
|
18
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-DN9pYQV5.js';
|
|
19
|
+
import '../chunk-BpMZjml2.js';
|
|
19
20
|
import 'react-dom';
|
|
20
21
|
import 'react/jsx-runtime';
|
|
21
22
|
import '@bigbinary/neeto-commons-frontend/react-utils';
|
|
@@ -60,11 +61,11 @@ import '@tippyjs/react';
|
|
|
60
61
|
import 'dompurify';
|
|
61
62
|
import '@bigbinary/neeto-molecules/v2/CopyToClipboardButton';
|
|
62
63
|
import 'react-dom/client';
|
|
63
|
-
import '../chunk-
|
|
64
|
+
import '../chunk-7ioLE0kx.js';
|
|
64
65
|
import 'react-dom/server';
|
|
65
66
|
import '../chunk-CNIDH-FD.js';
|
|
66
67
|
import '@bigbinary/neeto-commons-frontend/v2/react-utils/useOnClickOutside';
|
|
67
|
-
import '../chunk-
|
|
68
|
+
import '../chunk-lEnpEBRB.js';
|
|
68
69
|
import '@bigbinary/neeto-commons-frontend/initializers';
|
|
69
70
|
import '@tanstack/react-query';
|
|
70
71
|
import 'yjs';
|
package/dist/v2/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/v2/utils.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export { i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from '../chunk-
|
|
2
|
-
export { s as substituteVariables } from '../chunk-
|
|
3
|
-
export { i as isEditorContentWithinLimit, a as isEditorEmpty, r as removeEmptyTags } from '../chunk-
|
|
1
|
+
export { i as isEditorOverlaysActive, a as isEmojiSuggestionsMenuActive, t as transformEditorContent } from '../chunk-Br5h7rjn.js';
|
|
2
|
+
export { s as substituteVariables } from '../chunk-DYRpf9PJ.js';
|
|
3
|
+
export { i as isEditorContentWithinLimit, a as isEditorEmpty, r as removeEmptyTags } from '../chunk-DfH1lF5p.js';
|
|
4
4
|
import '@babel/runtime/helpers/defineProperty';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-BpMZjml2.js';
|
|
6
|
+
import 'ramda';
|
|
7
|
+
import '../chunk-DN9pYQV5.js';
|
|
6
8
|
import '@bigbinary/neeto-cist';
|
|
7
9
|
import '../chunk-UwzgbfZD.js';
|
|
8
|
-
import 'ramda';
|
|
9
10
|
import '../chunk-CNIDH-FD.js';
|
|
10
11
|
import 'i18next';
|
|
11
12
|
import 'yup';
|
|
12
13
|
import 'react';
|
|
13
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-7ioLE0kx.js';
|
|
14
15
|
import '../chunk-BFTU3MAI.js';
|
|
15
16
|
import 'react-dom/server';
|
|
16
17
|
import '@babel/runtime/helpers/toConsumableArray';
|
package/dist/v2/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-editor-frontend",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0-beta1",
|
|
4
4
|
"description": "neetoEditor is the library that drives the rich text experience in all neeto products built at BigBinary",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"storybook": "storybook dev -p 6006",
|
|
63
63
|
"test:all-protocol-url-regexp": "node --test test/javascript/allProtocolUrlRegexp.test.mjs",
|
|
64
64
|
"test:safe-list-keymap": "node --test test/javascript/safeListKeymap.test.mjs",
|
|
65
|
+
"test:markdown": "node --test test/javascript/markdown.test.mjs",
|
|
65
66
|
"test:safe-split-block": "node --test test/javascript/safeSplitBlock.test.mjs",
|
|
66
67
|
"test:variable-display": "node --test test/javascript/variableDisplay.test.mjs",
|
|
67
68
|
"upload": "node .scripts/publish --env production"
|
|
@@ -105,8 +106,8 @@
|
|
|
105
106
|
"@bigbinary/neeto-filters-frontend": "4.5.1",
|
|
106
107
|
"@bigbinary/neeto-hotkeys": "1.0.9",
|
|
107
108
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
108
|
-
"@bigbinary/neeto-image-uploader-frontend": "4.1.
|
|
109
|
-
"@bigbinary/neeto-molecules": "5.7.
|
|
109
|
+
"@bigbinary/neeto-image-uploader-frontend": "4.1.4",
|
|
110
|
+
"@bigbinary/neeto-molecules": "5.7.6",
|
|
110
111
|
"@bigbinary/neeto-team-members-frontend": "5.2.6",
|
|
111
112
|
"@bigbinary/neeto-time-zones": "0.8.26",
|
|
112
113
|
"@bigbinary/neetoui": "8.8.3",
|
|
@@ -207,6 +208,7 @@
|
|
|
207
208
|
"lint-staged": "12.4.1",
|
|
208
209
|
"lowlight": "2.7.0",
|
|
209
210
|
"lucide-react": "^0.577.0",
|
|
211
|
+
"marked": "18.0.14",
|
|
210
212
|
"postcss": "8.5.29",
|
|
211
213
|
"postcss-css-variables": "^0.19.0",
|
|
212
214
|
"postcss-import": "^15.0.0",
|
|
@@ -273,8 +275,8 @@
|
|
|
273
275
|
"@bigbinary/neeto-filters-frontend": "4.5.1",
|
|
274
276
|
"@bigbinary/neeto-hotkeys": "1.0.9",
|
|
275
277
|
"@bigbinary/neeto-icons": "1.20.89",
|
|
276
|
-
"@bigbinary/neeto-image-uploader-frontend": "4.1.
|
|
277
|
-
"@bigbinary/neeto-molecules": "5.7.
|
|
278
|
+
"@bigbinary/neeto-image-uploader-frontend": "4.1.4",
|
|
279
|
+
"@bigbinary/neeto-molecules": "5.7.6",
|
|
278
280
|
"@bigbinary/neeto-team-members-frontend": "5.2.6",
|
|
279
281
|
"@bigbinary/neeto-time-zones": "0.8.26",
|
|
280
282
|
"@bigbinary/neetoui": "8.8.3",
|