@voiceflow/slate-serializer 1.4.1 → 1.4.2
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/build/cjs/serializers/jsx.cjs +13 -12
- package/build/cjs/serializers/jsx.cjs.map +1 -1
- package/build/cjs/serializers/jsx.d.ts +5 -1
- package/build/cjs/types.d.ts +1 -1
- package/build/esm/serializers/jsx.d.ts +5 -1
- package/build/esm/serializers/jsx.mjs +13 -12
- package/build/esm/serializers/jsx.mjs.map +1 -1
- package/build/esm/types.d.ts +1 -1
- package/package.json +22 -22
|
@@ -35,32 +35,33 @@ const serializeTextNode = (node, index) => {
|
|
|
35
35
|
const styles = (0, selectors_1.getTextCSSProperties)(node);
|
|
36
36
|
return (react_1.default.createElement("span", { key: index, style: styles }, node.text || react_1.default.createElement(react_1.default.Fragment, null, "\uFEFF")));
|
|
37
37
|
};
|
|
38
|
-
const serializeLinkElement = (node, index) => {
|
|
39
|
-
var _a;
|
|
40
|
-
const children = node.children.map(
|
|
38
|
+
const serializeLinkElement = (node, index, options) => {
|
|
39
|
+
var _a, _b, _c, _d;
|
|
40
|
+
const children = node.children.map(serializeNodeFactory(options));
|
|
41
41
|
const styles = (0, selectors_1.getElementCSSProperties)(node);
|
|
42
|
-
|
|
42
|
+
const href = (_d = (_c = (_a = options === null || options === void 0 ? void 0 : options.transformHref) === null || _a === void 0 ? void 0 : _a.call(options, (_b = node.url) !== null && _b !== void 0 ? _b : '')) !== null && _c !== void 0 ? _c : node.url) !== null && _d !== void 0 ? _d : '';
|
|
43
|
+
return (react_1.default.createElement("a", { key: index, rel: "noopener noreferrer", href: href, target: "_blank", style: Object.assign(Object.assign({}, styles), { pointerEvents: 'all' }), onClick: (event) => {
|
|
43
44
|
var _a;
|
|
44
45
|
event.stopPropagation();
|
|
45
46
|
event.preventDefault();
|
|
46
|
-
if (
|
|
47
|
-
(_a = window.open(
|
|
47
|
+
if (href) {
|
|
48
|
+
(_a = window.open(href, '_blank', 'noopener=true,noreferrer=true')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
48
49
|
}
|
|
49
50
|
} }, children));
|
|
50
51
|
};
|
|
51
52
|
const serializeVariableElement = (node, index) => react_1.default.createElement("span", { key: index }, `{${node.name}}`);
|
|
52
|
-
const serializeElementNode = (node, index) => {
|
|
53
|
+
const serializeElementNode = (node, index, options) => {
|
|
53
54
|
if ((0, guards_1.isLinkElement)(node))
|
|
54
|
-
return serializeLinkElement(node, index);
|
|
55
|
+
return serializeLinkElement(node, index, options);
|
|
55
56
|
if ((0, guards_1.isVariableElement)(node))
|
|
56
57
|
return serializeVariableElement(node, index);
|
|
57
|
-
const children = node.children.map(
|
|
58
|
+
const children = node.children.map(serializeNodeFactory(options));
|
|
58
59
|
const styles = (0, selectors_1.getElementCSSProperties)(node);
|
|
59
60
|
return (react_1.default.createElement("div", { key: index, style: styles }, children));
|
|
60
61
|
};
|
|
61
|
-
const
|
|
62
|
+
const serializeNodeFactory = (options) => (node, index) =>
|
|
62
63
|
// eslint-disable-next-line no-nested-ternary
|
|
63
|
-
Slate.Text.isText(node) ? serializeTextNode(node, index) : Slate.Element.isElement(node) ? serializeElementNode(node, index) : null;
|
|
64
|
-
const serializeToJSX = (content) => content.map(
|
|
64
|
+
Slate.Text.isText(node) ? serializeTextNode(node, index) : Slate.Element.isElement(node) ? serializeElementNode(node, index, options) : null;
|
|
65
|
+
const serializeToJSX = (content, options) => content.map(serializeNodeFactory(options));
|
|
65
66
|
exports.serializeToJSX = serializeToJSX;
|
|
66
67
|
//# sourceMappingURL=jsx.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx.cjs","sourceRoot":"","sources":["../../../src/serializers/jsx.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,kDAA0B;AAC1B,6CAA+B;AAE/B,sCAA6D;AAC7D,4CAA6E;
|
|
1
|
+
{"version":3,"file":"jsx.cjs","sourceRoot":"","sources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E,CAC9G,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;AADhC,QAAA,cAAc,kBACkB"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { BaseText } from '@voiceflow/base-types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
interface SerializeOptions {
|
|
4
|
+
transformHref?: (href: string) => string;
|
|
5
|
+
}
|
|
6
|
+
export declare const serializeToJSX: (content: BaseText.SlateTextValue, options?: SerializeOptions) => React.ReactNode;
|
|
7
|
+
export {};
|
package/build/cjs/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import CSS from 'csstype';
|
|
2
|
-
export
|
|
2
|
+
export type CSSProperties = CSS.Properties<string | number>;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { BaseText } from '@voiceflow/base-types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
interface SerializeOptions {
|
|
4
|
+
transformHref?: (href: string) => string;
|
|
5
|
+
}
|
|
6
|
+
export declare const serializeToJSX: (content: BaseText.SlateTextValue, options?: SerializeOptions) => React.ReactNode;
|
|
7
|
+
export {};
|
|
@@ -6,31 +6,32 @@ const serializeTextNode = (node, index) => {
|
|
|
6
6
|
const styles = getTextCSSProperties(node);
|
|
7
7
|
return (React.createElement("span", { key: index, style: styles }, node.text || React.createElement(React.Fragment, null, "\uFEFF")));
|
|
8
8
|
};
|
|
9
|
-
const serializeLinkElement = (node, index) => {
|
|
10
|
-
var _a;
|
|
11
|
-
const children = node.children.map(
|
|
9
|
+
const serializeLinkElement = (node, index, options) => {
|
|
10
|
+
var _a, _b, _c, _d;
|
|
11
|
+
const children = node.children.map(serializeNodeFactory(options));
|
|
12
12
|
const styles = getElementCSSProperties(node);
|
|
13
|
-
|
|
13
|
+
const href = (_d = (_c = (_a = options === null || options === void 0 ? void 0 : options.transformHref) === null || _a === void 0 ? void 0 : _a.call(options, (_b = node.url) !== null && _b !== void 0 ? _b : '')) !== null && _c !== void 0 ? _c : node.url) !== null && _d !== void 0 ? _d : '';
|
|
14
|
+
return (React.createElement("a", { key: index, rel: "noopener noreferrer", href: href, target: "_blank", style: Object.assign(Object.assign({}, styles), { pointerEvents: 'all' }), onClick: (event) => {
|
|
14
15
|
var _a;
|
|
15
16
|
event.stopPropagation();
|
|
16
17
|
event.preventDefault();
|
|
17
|
-
if (
|
|
18
|
-
(_a = window.open(
|
|
18
|
+
if (href) {
|
|
19
|
+
(_a = window.open(href, '_blank', 'noopener=true,noreferrer=true')) === null || _a === void 0 ? void 0 : _a.focus();
|
|
19
20
|
}
|
|
20
21
|
} }, children));
|
|
21
22
|
};
|
|
22
23
|
const serializeVariableElement = (node, index) => React.createElement("span", { key: index }, `{${node.name}}`);
|
|
23
|
-
const serializeElementNode = (node, index) => {
|
|
24
|
+
const serializeElementNode = (node, index, options) => {
|
|
24
25
|
if (isLinkElement(node))
|
|
25
|
-
return serializeLinkElement(node, index);
|
|
26
|
+
return serializeLinkElement(node, index, options);
|
|
26
27
|
if (isVariableElement(node))
|
|
27
28
|
return serializeVariableElement(node, index);
|
|
28
|
-
const children = node.children.map(
|
|
29
|
+
const children = node.children.map(serializeNodeFactory(options));
|
|
29
30
|
const styles = getElementCSSProperties(node);
|
|
30
31
|
return (React.createElement("div", { key: index, style: styles }, children));
|
|
31
32
|
};
|
|
32
|
-
const
|
|
33
|
+
const serializeNodeFactory = (options) => (node, index) =>
|
|
33
34
|
// eslint-disable-next-line no-nested-ternary
|
|
34
|
-
Slate.Text.isText(node) ? serializeTextNode(node, index) : Slate.Element.isElement(node) ? serializeElementNode(node, index) : null;
|
|
35
|
-
export const serializeToJSX = (content) => content.map(
|
|
35
|
+
Slate.Text.isText(node) ? serializeTextNode(node, index) : Slate.Element.isElement(node) ? serializeElementNode(node, index, options) : null;
|
|
36
|
+
export const serializeToJSX = (content, options) => content.map(serializeNodeFactory(options));
|
|
36
37
|
//# sourceMappingURL=jsx.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx.mjs","sourceRoot":"","sources":["../../../src/serializers/jsx.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"jsx.mjs","sourceRoot":"","sources":["../../../src/serializers/jsx.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAM7E,MAAM,iBAAiB,GAAG,CAAC,IAAmB,EAAE,KAAa,EAAmB,EAAE;IAChF,MAAM,MAAM,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAE1C,OAAO,CACL,8BAAM,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,IAC5B,IAAI,CAAC,IAAI,IAAI,mDAAa,CACtB,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,IAA0B,EAAE,KAAa,EAAE,OAA0B,EAAmB,EAAE;;IACtH,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;IAClE,MAAM,MAAM,GAAG,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,IAAI,GAAG,MAAA,MAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,wDAAG,MAAA,IAAI,CAAC,GAAG,m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EF,MAAM,oBAAoB,GACxB,CAAC,OAA0B,EAAE,EAAE,CAC/B,CAAC,IAAyB,EAAE,KAAa,EAAmB,EAAE;AAC5D,6CAA6C;AAC7C,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AAEjJ,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAgC,EAAE,OAA0B,EAAmB,EAAE,CAC9G,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC"}
|
package/build/esm/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import CSS from 'csstype';
|
|
2
|
-
export
|
|
2
|
+
export type CSSProperties = CSS.Properties<string | number>;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@voiceflow/slate-serializer",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Utilities for serializing slate data",
|
|
5
|
-
"version": "1.4.
|
|
5
|
+
"version": "1.4.2",
|
|
6
6
|
"author": "Ben Teichman",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/voiceflow/slate-serializer/issues"
|
|
@@ -13,41 +13,41 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"csstype": "
|
|
16
|
+
"csstype": "3.1.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@commitlint/cli": "17.1
|
|
19
|
+
"@commitlint/cli": "17.6.1",
|
|
20
20
|
"@istanbuljs/nyc-config-typescript": "1.0.2",
|
|
21
|
-
"@types/chai": "4.3.
|
|
22
|
-
"@types/mocha": "
|
|
23
|
-
"@types/react": "
|
|
24
|
-
"@voiceflow/base-types": "
|
|
25
|
-
"@voiceflow/commitlint-config": "2.
|
|
26
|
-
"@voiceflow/eslint-config": "7.
|
|
21
|
+
"@types/chai": "4.3.5",
|
|
22
|
+
"@types/mocha": "10.0.1",
|
|
23
|
+
"@types/react": "18.2.4",
|
|
24
|
+
"@voiceflow/base-types": "2.81.13",
|
|
25
|
+
"@voiceflow/commitlint-config": "2.1.0",
|
|
26
|
+
"@voiceflow/eslint-config": "7.1.0",
|
|
27
27
|
"@voiceflow/git-branch-check": "1.4.0",
|
|
28
|
-
"@voiceflow/prettier-config": "1.
|
|
28
|
+
"@voiceflow/prettier-config": "1.3.0",
|
|
29
29
|
"@voiceflow/tsconfig": "1.4.8",
|
|
30
|
-
"chai": "4.3.
|
|
31
|
-
"commitizen": "4.
|
|
30
|
+
"chai": "4.3.7",
|
|
31
|
+
"commitizen": "4.3.0",
|
|
32
32
|
"cz-conventional-changelog": "^3.3.0",
|
|
33
33
|
"depcheck": "1.4.3",
|
|
34
|
-
"eslint": "8.
|
|
34
|
+
"eslint": "8.39.0",
|
|
35
35
|
"eslint-output": "^3.0.1",
|
|
36
36
|
"fixpack": "^4.0.0",
|
|
37
|
-
"husky": "8.0.
|
|
37
|
+
"husky": "8.0.3",
|
|
38
38
|
"istanbul": "^0.4.5",
|
|
39
|
-
"lint-staged": "13.
|
|
40
|
-
"mocha": "10.
|
|
39
|
+
"lint-staged": "13.1.2",
|
|
40
|
+
"mocha": "10.2.0",
|
|
41
41
|
"nyc": "^15.1.0",
|
|
42
|
-
"prettier": "2.
|
|
43
|
-
"react": "
|
|
44
|
-
"slate": "
|
|
42
|
+
"prettier": "2.8.8",
|
|
43
|
+
"react": "18.2.0",
|
|
44
|
+
"slate": "0.94.0",
|
|
45
45
|
"source-map-support": "0.5.21",
|
|
46
46
|
"ts-mocha": "10.0.0",
|
|
47
47
|
"ts-node": "10.9.1",
|
|
48
|
-
"tsc-alias": "1.
|
|
49
|
-
"tsc-esm-fix": "2.20.
|
|
50
|
-
"typescript": "
|
|
48
|
+
"tsc-alias": "1.8.6",
|
|
49
|
+
"tsc-esm-fix": "2.20.13",
|
|
50
|
+
"typescript": "5.0.4"
|
|
51
51
|
},
|
|
52
52
|
"exports": {
|
|
53
53
|
".": {
|