@wix/patterns-fields-utils 1.47.0 → 1.48.0
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/@wix/patterns-fields-bundled-cm-media-utils/dist/cjs/index.js +1 -1
- package/@wix/patterns-fields-bundled-cm-media-utils/dist/cjs/index.js.map +1 -1
- package/@wix/patterns-fields-bundled-cm-media-utils/dist/esm/index.mjs +1 -1
- package/@wix/patterns-fields-bundled-cm-media-utils/dist/esm/index.mjs.map +1 -1
- package/@wix/patterns-fields-bundled-cm-media-utils/package.json +12 -3
- package/@wix/patterns-fields-bundled-organize-media/dist/cjs/index.css.map +1 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/cjs/index.global.css +690 -1204
- package/@wix/patterns-fields-bundled-organize-media/dist/cjs/index.js +43492 -71284
- package/@wix/patterns-fields-bundled-organize-media/dist/cjs/index.js.map +1 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/{chunk-FOPGQED5.mjs → chunk-S4CFQTVU.mjs} +5 -8
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-S4CFQTVU.mjs.map +1 -0
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/{hls-X7Z2O2CI.mjs → hls-TUPL6AWR.mjs} +87 -15
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/hls-TUPL6AWR.mjs.map +1 -0
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/index.css.map +1 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/index.global.css +690 -1205
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/index.mjs +12706 -20224
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/index.mjs.map +1 -1
- package/@wix/patterns-fields-bundled-organize-media/package.json +12 -3
- package/@wix/patterns-fields-bundled-ricos/dist/cjs/index.d.ts +2 -0
- package/@wix/patterns-fields-bundled-ricos/dist/cjs/index.js +2 -0
- package/@wix/patterns-fields-bundled-ricos/dist/cjs/index.js.map +1 -0
- package/@wix/patterns-fields-bundled-ricos/dist/esm/index.d.mts +2 -0
- package/@wix/patterns-fields-bundled-ricos/dist/esm/index.mjs +3 -0
- package/@wix/patterns-fields-bundled-ricos/dist/esm/index.mjs.map +1 -0
- package/@wix/patterns-fields-bundled-ricos/package.json +54 -0
- package/@wix/patterns-fields-ricos-statics/dist/cjs/index.js +60 -0
- package/@wix/patterns-fields-ricos-statics/dist/cjs/index.js.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/cjs/legacy.js +7 -0
- package/@wix/patterns-fields-ricos-statics/dist/cjs/legacy.js.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/cjs/statics.js +25 -0
- package/@wix/patterns-fields-ricos-statics/dist/cjs/statics.js.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/esm/index.js +13 -0
- package/@wix/patterns-fields-ricos-statics/dist/esm/index.js.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/esm/legacy.js +9 -0
- package/@wix/patterns-fields-ricos-statics/dist/esm/legacy.js.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/esm/statics.js +41 -0
- package/@wix/patterns-fields-ricos-statics/dist/esm/statics.js.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/types/index.d.ts +19 -0
- package/@wix/patterns-fields-ricos-statics/dist/types/index.d.ts.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/types/legacy.d.ts +9 -0
- package/@wix/patterns-fields-ricos-statics/dist/types/legacy.d.ts.map +1 -0
- package/@wix/patterns-fields-ricos-statics/dist/types/statics.d.ts +41 -0
- package/@wix/patterns-fields-ricos-statics/dist/types/statics.d.ts.map +1 -0
- package/@wix/patterns-fields-ricos-statics/legacy/package.json +5 -0
- package/@wix/patterns-fields-ricos-statics/package.json +101 -0
- package/package.json +7 -4
- package/@wix/patterns-fields-bundled-cm-media-utils/CHANGELOG.md +0 -190
- package/@wix/patterns-fields-bundled-organize-media/CHANGELOG.md +0 -194
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-ANOFRNLZ.mjs +0 -302
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-ANOFRNLZ.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-D3Y2XBAR.mjs +0 -9573
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-D3Y2XBAR.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-FOPGQED5.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-KK6IAXDC.mjs +0 -61
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-KK6IAXDC.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-LSMTMMMM.mjs +0 -999
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/chunk-LSMTMMMM.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/hls-X7Z2O2CI.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/html2canvas.esm-26SHFSHQ.mjs +0 -7813
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/html2canvas.esm-26SHFSHQ.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/lib-INOZ3X5B.mjs +0 -6427
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/lib-INOZ3X5B.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/player.es-EHCCDTX6.mjs +0 -1600
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/player.es-EHCCDTX6.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/validateTypes-OWSYRJSG.mjs +0 -85
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/validateTypes-OWSYRJSG.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/videoItem-QVVYW7GT.mjs +0 -311
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/videoItem-QVVYW7GT.mjs.map +0 -1
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/videoScrollHelper-HX35Z6JI.mjs +0 -307
- package/@wix/patterns-fields-bundled-organize-media/dist/esm/videoScrollHelper-HX35Z6JI.mjs.map +0 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/patterns-fields-bundled-ricos",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"main": "dist/cjs/index.js",
|
|
5
|
+
"module": "dist/esm/index.mjs",
|
|
6
|
+
"types": "dist/cjs/index.d.ts",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsup",
|
|
13
|
+
"test": ":",
|
|
14
|
+
"lint": "eslint src",
|
|
15
|
+
"type-check": "tsc --noEmit"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"tslib": "^2.0.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@wix/eslint-config-yoshi": "^6.74.0",
|
|
22
|
+
"@wix/ricos": "11.10.1",
|
|
23
|
+
"eslint": "^8.57.0",
|
|
24
|
+
"tsup": "^8.1.0",
|
|
25
|
+
"typescript": "~4.9.5"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"@wix/ricos": "^11.10.1"
|
|
29
|
+
},
|
|
30
|
+
"peerDependenciesMeta": {
|
|
31
|
+
"@wix/ricos": {
|
|
32
|
+
"optional": true
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"eslintConfig": {
|
|
36
|
+
"extends": "@wix/eslint-config-yoshi"
|
|
37
|
+
},
|
|
38
|
+
"wix": {
|
|
39
|
+
"artifact": {
|
|
40
|
+
"artifactId": "patterns-fields-bundled-ricos",
|
|
41
|
+
"groupId": "com.wixpress"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"registry": "https://npm-cache.dev.wixpress.com/",
|
|
46
|
+
"access": "restricted"
|
|
47
|
+
},
|
|
48
|
+
"falconPackageHash": "aee887e0261a1b2a64cc201aef18dec179d4796c7fb3b15966a67692",
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "https://github.com/wix-private/patterns-deps.git",
|
|
52
|
+
"directory": "packages/fields-bundled-ricos"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.verticalEmbedProviders = exports.validateRicosDocument = exports.toPlainTextSync = exports.toPlainText = exports.pluginVideoViewer = exports.pluginVideo = exports.pluginVerticalEmbedViewer = exports.pluginVerticalEmbed = exports.pluginTextHighlightViewer = exports.pluginTextHighlight = exports.pluginTextColorViewer = exports.pluginTextColor = exports.pluginTableViewer = exports.pluginTable = exports.pluginSpoilerViewer = exports.pluginSpoiler = exports.pluginLinkViewer = exports.pluginLinkPreviewViewer = exports.pluginLinkPreview = exports.pluginLinkButtonViewer = exports.pluginLinkButton = exports.pluginLink = exports.pluginLineSpacingViewer = exports.pluginLineSpacing = exports.pluginIndent = exports.pluginImageViewer = exports.pluginImage = exports.pluginHtmlViewer = exports.pluginHtml = exports.pluginHeadings = exports.pluginGiphyViewer = exports.pluginGiphy = exports.pluginGalleryViewer = exports.pluginGallery = exports.pluginFileUploadViewer = exports.pluginFileUpload = exports.pluginEmojiViewer = exports.pluginEmoji = exports.pluginDividerViewer = exports.pluginDivider = exports.pluginCollapsibleListViewer = exports.pluginCollapsibleList = exports.pluginCodeBlockViewer = exports.pluginCodeBlock = exports.pluginAi = exports.fromPlainText = exports.ensureContentId = exports.Tooltip = exports.RicosViewer = exports.RicosEditor = exports.RichContent = exports.LinkPreviewProviders = exports.FORMATTING_BUTTONS = void 0;
|
|
5
|
+
var _content = require("@wix/ricos/content");
|
|
6
|
+
exports.ensureContentId = _content.ensureContentId;
|
|
7
|
+
exports.fromPlainText = _content.fromPlainText;
|
|
8
|
+
exports.RichContent = _content.RichContent;
|
|
9
|
+
exports.toPlainText = _content.toPlainText;
|
|
10
|
+
exports.toPlainTextSync = _content.toPlainTextSync;
|
|
11
|
+
var _ricos = require("@wix/ricos");
|
|
12
|
+
exports.FORMATTING_BUTTONS = _ricos.FORMATTING_BUTTONS;
|
|
13
|
+
exports.LinkPreviewProviders = _ricos.LinkPreviewProviders;
|
|
14
|
+
exports.pluginAi = _ricos.pluginAi;
|
|
15
|
+
exports.pluginCodeBlock = _ricos.pluginCodeBlock;
|
|
16
|
+
exports.pluginCollapsibleList = _ricos.pluginCollapsibleList;
|
|
17
|
+
exports.pluginDivider = _ricos.pluginDivider;
|
|
18
|
+
exports.pluginEmoji = _ricos.pluginEmoji;
|
|
19
|
+
exports.pluginFileUpload = _ricos.pluginFileUpload;
|
|
20
|
+
exports.pluginGallery = _ricos.pluginGallery;
|
|
21
|
+
exports.pluginGiphy = _ricos.pluginGiphy;
|
|
22
|
+
exports.pluginHeadings = _ricos.pluginHeadings;
|
|
23
|
+
exports.pluginHtml = _ricos.pluginHtml;
|
|
24
|
+
exports.pluginImage = _ricos.pluginImage;
|
|
25
|
+
exports.pluginIndent = _ricos.pluginIndent;
|
|
26
|
+
exports.pluginLineSpacing = _ricos.pluginLineSpacing;
|
|
27
|
+
exports.pluginLink = _ricos.pluginLink;
|
|
28
|
+
exports.pluginLinkButton = _ricos.pluginLinkButton;
|
|
29
|
+
exports.pluginLinkPreview = _ricos.pluginLinkPreview;
|
|
30
|
+
exports.pluginSpoiler = _ricos.pluginSpoiler;
|
|
31
|
+
exports.pluginTable = _ricos.pluginTable;
|
|
32
|
+
exports.pluginTextColor = _ricos.pluginTextColor;
|
|
33
|
+
exports.pluginTextHighlight = _ricos.pluginTextHighlight;
|
|
34
|
+
exports.pluginVerticalEmbed = _ricos.pluginVerticalEmbed;
|
|
35
|
+
exports.pluginVideo = _ricos.pluginVideo;
|
|
36
|
+
exports.RicosEditor = _ricos.RicosEditor;
|
|
37
|
+
exports.Tooltip = _ricos.Tooltip;
|
|
38
|
+
exports.validateRicosDocument = _ricos.validateRicosDocument;
|
|
39
|
+
exports.verticalEmbedProviders = _ricos.verticalEmbedProviders;
|
|
40
|
+
exports.pluginCodeBlockViewer = _ricos.pluginCodeBlockViewer;
|
|
41
|
+
exports.pluginCollapsibleListViewer = _ricos.pluginCollapsibleListViewer;
|
|
42
|
+
exports.pluginDividerViewer = _ricos.pluginDividerViewer;
|
|
43
|
+
exports.pluginEmojiViewer = _ricos.pluginEmojiViewer;
|
|
44
|
+
exports.pluginFileUploadViewer = _ricos.pluginFileUploadViewer;
|
|
45
|
+
exports.pluginGalleryViewer = _ricos.pluginGalleryViewer;
|
|
46
|
+
exports.pluginGiphyViewer = _ricos.pluginGiphyViewer;
|
|
47
|
+
exports.pluginHtmlViewer = _ricos.pluginHtmlViewer;
|
|
48
|
+
exports.pluginImageViewer = _ricos.pluginImageViewer;
|
|
49
|
+
exports.pluginLineSpacingViewer = _ricos.pluginLineSpacingViewer;
|
|
50
|
+
exports.pluginLinkButtonViewer = _ricos.pluginLinkButtonViewer;
|
|
51
|
+
exports.pluginLinkPreviewViewer = _ricos.pluginLinkPreviewViewer;
|
|
52
|
+
exports.pluginLinkViewer = _ricos.pluginLinkViewer;
|
|
53
|
+
exports.pluginSpoilerViewer = _ricos.pluginSpoilerViewer;
|
|
54
|
+
exports.pluginTableViewer = _ricos.pluginTableViewer;
|
|
55
|
+
exports.pluginTextColorViewer = _ricos.pluginTextColorViewer;
|
|
56
|
+
exports.pluginTextHighlightViewer = _ricos.pluginTextHighlightViewer;
|
|
57
|
+
exports.pluginVerticalEmbedViewer = _ricos.pluginVerticalEmbedViewer;
|
|
58
|
+
exports.pluginVideoViewer = _ricos.pluginVideoViewer;
|
|
59
|
+
exports.RicosViewer = _ricos.RicosViewer;
|
|
60
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_content","require","exports","ensureContentId","fromPlainText","RichContent","toPlainText","toPlainTextSync","_ricos","FORMATTING_BUTTONS","LinkPreviewProviders","pluginAi","pluginCodeBlock","pluginCollapsibleList","pluginDivider","pluginEmoji","pluginFileUpload","pluginGallery","pluginGiphy","pluginHeadings","pluginHtml","pluginImage","pluginIndent","pluginLineSpacing","pluginLink","pluginLinkButton","pluginLinkPreview","pluginSpoiler","pluginTable","pluginTextColor","pluginTextHighlight","pluginVerticalEmbed","pluginVideo","RicosEditor","Tooltip","validateRicosDocument","verticalEmbedProviders","pluginCodeBlockViewer","pluginCollapsibleListViewer","pluginDividerViewer","pluginEmojiViewer","pluginFileUploadViewer","pluginGalleryViewer","pluginGiphyViewer","pluginHtmlViewer","pluginImageViewer","pluginLineSpacingViewer","pluginLinkButtonViewer","pluginLinkPreviewViewer","pluginLinkViewer","pluginSpoilerViewer","pluginTableViewer","pluginTextColorViewer","pluginTextHighlightViewer","pluginVerticalEmbedViewer","pluginVideoViewer","RicosViewer"],"sources":["../../src/index.ts"],"sourcesContent":["/**\n * The ricos surface the CDN artifact exposes, as an npm module.\n *\n * Published so consumers can type the UMD global — `typeof import(...)` off\n * this module is the global's shape by construction, since `statics.ts` builds\n * the artifact from it. Import only types from here: a value import pulls the\n * whole editor into the consumer's graph, which is what this package exists to\n * avoid. Under jest, where the CDN is unreachable, requiring it is the point.\n */\nexport {\n ensureContentId,\n fromPlainText,\n RichContent,\n toPlainText,\n toPlainTextSync,\n} from '@wix/ricos/content';\n\nexport {\n FORMATTING_BUTTONS,\n LinkPreviewProviders,\n pluginAi,\n pluginCodeBlock,\n pluginCollapsibleList,\n pluginDivider,\n pluginEmoji,\n pluginFileUpload,\n pluginGallery,\n pluginGiphy,\n pluginHeadings,\n pluginHtml,\n pluginImage,\n pluginIndent,\n pluginLineSpacing,\n pluginLink,\n pluginLinkButton,\n pluginLinkPreview,\n pluginSpoiler,\n pluginTable,\n pluginTextColor,\n pluginTextHighlight,\n pluginVerticalEmbed,\n pluginVideo,\n RicosEditor,\n Tooltip,\n validateRicosDocument,\n verticalEmbedProviders,\n} from '@wix/ricos';\n\nexport {\n pluginCodeBlockViewer,\n pluginCollapsibleListViewer,\n pluginDividerViewer,\n pluginEmojiViewer,\n pluginFileUploadViewer,\n pluginGalleryViewer,\n pluginGiphyViewer,\n pluginHtmlViewer,\n pluginImageViewer,\n pluginLineSpacingViewer,\n pluginLinkButtonViewer,\n pluginLinkPreviewViewer,\n pluginLinkViewer,\n pluginSpoilerViewer,\n pluginTableViewer,\n pluginTextColorViewer,\n pluginTextHighlightViewer,\n pluginVerticalEmbedViewer,\n pluginVideoViewer,\n RicosViewer,\n} from '@wix/ricos';\n\n/**\n * Erased at compile time, so they add nothing to the UMD artifact. They are here\n * so a consumer can type props and plugin arrays without naming `@wix/ricos`.\n */\nexport type {\n BISettings,\n EditorPlugin,\n EditorPluginOptions,\n ExternalToolbarButton,\n RicosEditorAPI,\n RicosEditorProps,\n RicosTheme,\n RicosViewerProps,\n ToolbarsConfig,\n} from '@wix/ricos';\n\nexport type { RicosDocument } from '@wix/ricos/content';\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_legacy","require","exports","ensureRicosContent"],"sources":["../../src/legacy.ts"],"sourcesContent":["/**\n * Draft-content interop, for reading rows written before the ricos schema.\n *\n * npm only — `yoshiFlowLibrary.bundle.entry` names `index.ts` alone, so nothing\n * here reaches the CDN artifact. `@wix/ricos/legacy` carries the whole draft\n * converter, which no page should pay for.\n */\nexport { ensureRicosContent } from '@wix/ricos/legacy';\n"],"mappings":";;;;AAOA,IAAAA,OAAA,GAAAC,OAAA;AAAuDC,OAAA,CAAAC,kBAAA,GAAAH,OAAA,CAAAG,kBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
var _index = require("./index");
|
|
5
|
+
Object.keys(_index).forEach(function (key) {
|
|
6
|
+
if (key === "default" || key === "__esModule") return;
|
|
7
|
+
if (key in exports && exports[key] === _index[key]) return;
|
|
8
|
+
exports[key] = _index[key];
|
|
9
|
+
});
|
|
10
|
+
require("@wix/ricos/css/ricos-viewer.global.css");
|
|
11
|
+
require("@wix/ricos/css/plugin-link-viewer.global.css");
|
|
12
|
+
require("@wix/ricos/css/plugin-image-viewer.global.css");
|
|
13
|
+
require("@wix/ricos/css/plugin-video-viewer.global.css");
|
|
14
|
+
require("@wix/ricos/css/plugin-divider-viewer.global.css");
|
|
15
|
+
require("@wix/ricos/css/plugin-file-upload-viewer.global.css");
|
|
16
|
+
require("@wix/ricos/css/plugin-html-viewer.global.css");
|
|
17
|
+
require("@wix/ricos/css/plugin-link-preview-viewer.global.css");
|
|
18
|
+
require("@wix/ricos/css/plugin-vertical-embed-viewer.global.css");
|
|
19
|
+
require("@wix/ricos/css/plugin-spoiler-viewer.global.css");
|
|
20
|
+
require("@wix/ricos/css/plugin-giphy-viewer.global.css");
|
|
21
|
+
require("@wix/ricos/css/plugin-gallery-viewer.global.css");
|
|
22
|
+
require("@wix/ricos/css/plugin-collapsible-list-viewer.global.css");
|
|
23
|
+
require("@wix/ricos/css/plugin-table-viewer.global.css");
|
|
24
|
+
require("@wix/ricos/css/plugin-button-viewer.global.css");
|
|
25
|
+
//# sourceMappingURL=statics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","Object","keys","forEach","key","exports"],"sources":["../../src/statics.ts"],"sourcesContent":["/**\n * CDN artifact: the whole ricos surface `@wix/patterns-fields` needs, as one\n * UMD global (`PatternsRicos`) published to\n * `https://static.parastorage.com/services/patterns-fields-ricos-statics/<version>/`.\n *\n * One entry on purpose. `extractCommonChunks` only splits *async* chunks, so\n * multiple entries would duplicate the shared synchronous ricos code in each\n * one. Ricos's own `React.lazy(() => import(...))` boundaries stay async chunks\n * and are fetched from the same CDN directory by webpack's jsonp runtime.\n *\n * Only `react` and `react-dom` are external, mapped to the globals Business\n * Manager already exposes — bundling react would give the page a second React\n * instance and every hook in the editor would throw.\n *\n * `@wix/design-system` and `lodash` are deliberately NOT external, so this\n * artifact ships its own copies. That duplication is accepted for now. Bundling\n * lodash also sidesteps the CJS-interop breakage ricos hits under Vite, where\n * its `import lodash from 'lodash'` + `lodash.flowRight(...)` pattern resolves\n * to an empty default.\n *\n * Separate from `index.ts` so the stylesheets below stay out of the npm entry.\n * They belong to the artifact the browser loads; an npm consumer importing them\n * would put ricos's CSS into its own build.\n */\nexport * from './index';\n\nimport '@wix/ricos/css/ricos-viewer.global.css';\nimport '@wix/ricos/css/plugin-link-viewer.global.css';\nimport '@wix/ricos/css/plugin-image-viewer.global.css';\nimport '@wix/ricos/css/plugin-video-viewer.global.css';\nimport '@wix/ricos/css/plugin-divider-viewer.global.css';\nimport '@wix/ricos/css/plugin-file-upload-viewer.global.css';\nimport '@wix/ricos/css/plugin-html-viewer.global.css';\nimport '@wix/ricos/css/plugin-link-preview-viewer.global.css';\nimport '@wix/ricos/css/plugin-vertical-embed-viewer.global.css';\nimport '@wix/ricos/css/plugin-spoiler-viewer.global.css';\nimport '@wix/ricos/css/plugin-giphy-viewer.global.css';\nimport '@wix/ricos/css/plugin-gallery-viewer.global.css';\nimport '@wix/ricos/css/plugin-collapsible-list-viewer.global.css';\nimport '@wix/ricos/css/plugin-table-viewer.global.css';\nimport '@wix/ricos/css/plugin-button-viewer.global.css';\n"],"mappings":";;;AAwBA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAC,OAAA,CAAAD,GAAA,IAAAL,MAAA,CAAAK,GAAA;AAAA;AAEAJ,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA;AACAA,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ricos surface the CDN artifact exposes, as an npm module.
|
|
3
|
+
*
|
|
4
|
+
* Published so consumers can type the UMD global — `typeof import(...)` off
|
|
5
|
+
* this module is the global's shape by construction, since `statics.ts` builds
|
|
6
|
+
* the artifact from it. Import only types from here: a value import pulls the
|
|
7
|
+
* whole editor into the consumer's graph, which is what this package exists to
|
|
8
|
+
* avoid. Under jest, where the CDN is unreachable, requiring it is the point.
|
|
9
|
+
*/
|
|
10
|
+
export { ensureContentId, fromPlainText, RichContent, toPlainText, toPlainTextSync, } from '@wix/ricos/content';
|
|
11
|
+
export { FORMATTING_BUTTONS, LinkPreviewProviders, pluginAi, pluginCodeBlock, pluginCollapsibleList, pluginDivider, pluginEmoji, pluginFileUpload, pluginGallery, pluginGiphy, pluginHeadings, pluginHtml, pluginImage, pluginIndent, pluginLineSpacing, pluginLink, pluginLinkButton, pluginLinkPreview, pluginSpoiler, pluginTable, pluginTextColor, pluginTextHighlight, pluginVerticalEmbed, pluginVideo, RicosEditor, Tooltip, validateRicosDocument, verticalEmbedProviders, } from '@wix/ricos';
|
|
12
|
+
export { pluginCodeBlockViewer, pluginCollapsibleListViewer, pluginDividerViewer, pluginEmojiViewer, pluginFileUploadViewer, pluginGalleryViewer, pluginGiphyViewer, pluginHtmlViewer, pluginImageViewer, pluginLineSpacingViewer, pluginLinkButtonViewer, pluginLinkPreviewViewer, pluginLinkViewer, pluginSpoilerViewer, pluginTableViewer, pluginTextColorViewer, pluginTextHighlightViewer, pluginVerticalEmbedViewer, pluginVideoViewer, RicosViewer, } from '@wix/ricos';
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,eAAe,EACf,aAAa,EACb,WAAW,EACX,WAAW,EACX,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,QAAQ,EACR,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,qBAAqB,EACrB,2BAA2B,EAC3B,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,GACZ,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Draft-content interop, for reading rows written before the ricos schema.
|
|
3
|
+
*
|
|
4
|
+
* npm only — `yoshiFlowLibrary.bundle.entry` names `index.ts` alone, so nothing
|
|
5
|
+
* here reaches the CDN artifact. `@wix/ricos/legacy` carries the whole draft
|
|
6
|
+
* converter, which no page should pay for.
|
|
7
|
+
*/
|
|
8
|
+
export { ensureRicosContent } from '@wix/ricos/legacy';
|
|
9
|
+
//# sourceMappingURL=legacy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../src/legacy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CDN artifact: the whole ricos surface `@wix/patterns-fields` needs, as one
|
|
3
|
+
* UMD global (`PatternsRicos`) published to
|
|
4
|
+
* `https://static.parastorage.com/services/patterns-fields-ricos-statics/<version>/`.
|
|
5
|
+
*
|
|
6
|
+
* One entry on purpose. `extractCommonChunks` only splits *async* chunks, so
|
|
7
|
+
* multiple entries would duplicate the shared synchronous ricos code in each
|
|
8
|
+
* one. Ricos's own `React.lazy(() => import(...))` boundaries stay async chunks
|
|
9
|
+
* and are fetched from the same CDN directory by webpack's jsonp runtime.
|
|
10
|
+
*
|
|
11
|
+
* Only `react` and `react-dom` are external, mapped to the globals Business
|
|
12
|
+
* Manager already exposes — bundling react would give the page a second React
|
|
13
|
+
* instance and every hook in the editor would throw.
|
|
14
|
+
*
|
|
15
|
+
* `@wix/design-system` and `lodash` are deliberately NOT external, so this
|
|
16
|
+
* artifact ships its own copies. That duplication is accepted for now. Bundling
|
|
17
|
+
* lodash also sidesteps the CJS-interop breakage ricos hits under Vite, where
|
|
18
|
+
* its `import lodash from 'lodash'` + `lodash.flowRight(...)` pattern resolves
|
|
19
|
+
* to an empty default.
|
|
20
|
+
*
|
|
21
|
+
* Separate from `index.ts` so the stylesheets below stay out of the npm entry.
|
|
22
|
+
* They belong to the artifact the browser loads; an npm consumer importing them
|
|
23
|
+
* would put ricos's CSS into its own build.
|
|
24
|
+
*/
|
|
25
|
+
export * from './index';
|
|
26
|
+
import '@wix/ricos/css/ricos-viewer.global.css';
|
|
27
|
+
import '@wix/ricos/css/plugin-link-viewer.global.css';
|
|
28
|
+
import '@wix/ricos/css/plugin-image-viewer.global.css';
|
|
29
|
+
import '@wix/ricos/css/plugin-video-viewer.global.css';
|
|
30
|
+
import '@wix/ricos/css/plugin-divider-viewer.global.css';
|
|
31
|
+
import '@wix/ricos/css/plugin-file-upload-viewer.global.css';
|
|
32
|
+
import '@wix/ricos/css/plugin-html-viewer.global.css';
|
|
33
|
+
import '@wix/ricos/css/plugin-link-preview-viewer.global.css';
|
|
34
|
+
import '@wix/ricos/css/plugin-vertical-embed-viewer.global.css';
|
|
35
|
+
import '@wix/ricos/css/plugin-spoiler-viewer.global.css';
|
|
36
|
+
import '@wix/ricos/css/plugin-giphy-viewer.global.css';
|
|
37
|
+
import '@wix/ricos/css/plugin-gallery-viewer.global.css';
|
|
38
|
+
import '@wix/ricos/css/plugin-collapsible-list-viewer.global.css';
|
|
39
|
+
import '@wix/ricos/css/plugin-table-viewer.global.css';
|
|
40
|
+
import '@wix/ricos/css/plugin-button-viewer.global.css';
|
|
41
|
+
//# sourceMappingURL=statics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statics.js","sourceRoot":"","sources":["../../src/statics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,cAAc,SAAS,CAAC;AAExB,OAAO,wCAAwC,CAAC;AAChD,OAAO,8CAA8C,CAAC;AACtD,OAAO,+CAA+C,CAAC;AACvD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,qDAAqD,CAAC;AAC7D,OAAO,8CAA8C,CAAC;AACtD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,wDAAwD,CAAC;AAChE,OAAO,iDAAiD,CAAC;AACzD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,0DAA0D,CAAC;AAClE,OAAO,+CAA+C,CAAC;AACvD,OAAO,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ricos surface the CDN artifact exposes, as an npm module.
|
|
3
|
+
*
|
|
4
|
+
* Published so consumers can type the UMD global — `typeof import(...)` off
|
|
5
|
+
* this module is the global's shape by construction, since `statics.ts` builds
|
|
6
|
+
* the artifact from it. Import only types from here: a value import pulls the
|
|
7
|
+
* whole editor into the consumer's graph, which is what this package exists to
|
|
8
|
+
* avoid. Under jest, where the CDN is unreachable, requiring it is the point.
|
|
9
|
+
*/
|
|
10
|
+
export { ensureContentId, fromPlainText, RichContent, toPlainText, toPlainTextSync, } from '@wix/ricos/content';
|
|
11
|
+
export { FORMATTING_BUTTONS, LinkPreviewProviders, pluginAi, pluginCodeBlock, pluginCollapsibleList, pluginDivider, pluginEmoji, pluginFileUpload, pluginGallery, pluginGiphy, pluginHeadings, pluginHtml, pluginImage, pluginIndent, pluginLineSpacing, pluginLink, pluginLinkButton, pluginLinkPreview, pluginSpoiler, pluginTable, pluginTextColor, pluginTextHighlight, pluginVerticalEmbed, pluginVideo, RicosEditor, Tooltip, validateRicosDocument, verticalEmbedProviders, } from '@wix/ricos';
|
|
12
|
+
export { pluginCodeBlockViewer, pluginCollapsibleListViewer, pluginDividerViewer, pluginEmojiViewer, pluginFileUploadViewer, pluginGalleryViewer, pluginGiphyViewer, pluginHtmlViewer, pluginImageViewer, pluginLineSpacingViewer, pluginLinkButtonViewer, pluginLinkPreviewViewer, pluginLinkViewer, pluginSpoilerViewer, pluginTableViewer, pluginTextColorViewer, pluginTextHighlightViewer, pluginVerticalEmbedViewer, pluginVideoViewer, RicosViewer, } from '@wix/ricos';
|
|
13
|
+
/**
|
|
14
|
+
* Erased at compile time, so they add nothing to the UMD artifact. They are here
|
|
15
|
+
* so a consumer can type props and plugin arrays without naming `@wix/ricos`.
|
|
16
|
+
*/
|
|
17
|
+
export type { BISettings, EditorPlugin, EditorPluginOptions, ExternalToolbarButton, RicosEditorAPI, RicosEditorProps, RicosTheme, RicosViewerProps, ToolbarsConfig, } from '@wix/ricos';
|
|
18
|
+
export type { RicosDocument } from '@wix/ricos/content';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,eAAe,EACf,aAAa,EACb,WAAW,EACX,WAAW,EACX,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,QAAQ,EACR,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,qBAAqB,EACrB,2BAA2B,EAC3B,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EACjB,WAAW,GACZ,MAAM,YAAY,CAAC;AAEpB;;;GAGG;AACH,YAAY,EACV,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,cAAc,GACf,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Draft-content interop, for reading rows written before the ricos schema.
|
|
3
|
+
*
|
|
4
|
+
* npm only — `yoshiFlowLibrary.bundle.entry` names `index.ts` alone, so nothing
|
|
5
|
+
* here reaches the CDN artifact. `@wix/ricos/legacy` carries the whole draft
|
|
6
|
+
* converter, which no page should pay for.
|
|
7
|
+
*/
|
|
8
|
+
export { ensureRicosContent } from '@wix/ricos/legacy';
|
|
9
|
+
//# sourceMappingURL=legacy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy.d.ts","sourceRoot":"","sources":["../../src/legacy.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CDN artifact: the whole ricos surface `@wix/patterns-fields` needs, as one
|
|
3
|
+
* UMD global (`PatternsRicos`) published to
|
|
4
|
+
* `https://static.parastorage.com/services/patterns-fields-ricos-statics/<version>/`.
|
|
5
|
+
*
|
|
6
|
+
* One entry on purpose. `extractCommonChunks` only splits *async* chunks, so
|
|
7
|
+
* multiple entries would duplicate the shared synchronous ricos code in each
|
|
8
|
+
* one. Ricos's own `React.lazy(() => import(...))` boundaries stay async chunks
|
|
9
|
+
* and are fetched from the same CDN directory by webpack's jsonp runtime.
|
|
10
|
+
*
|
|
11
|
+
* Only `react` and `react-dom` are external, mapped to the globals Business
|
|
12
|
+
* Manager already exposes — bundling react would give the page a second React
|
|
13
|
+
* instance and every hook in the editor would throw.
|
|
14
|
+
*
|
|
15
|
+
* `@wix/design-system` and `lodash` are deliberately NOT external, so this
|
|
16
|
+
* artifact ships its own copies. That duplication is accepted for now. Bundling
|
|
17
|
+
* lodash also sidesteps the CJS-interop breakage ricos hits under Vite, where
|
|
18
|
+
* its `import lodash from 'lodash'` + `lodash.flowRight(...)` pattern resolves
|
|
19
|
+
* to an empty default.
|
|
20
|
+
*
|
|
21
|
+
* Separate from `index.ts` so the stylesheets below stay out of the npm entry.
|
|
22
|
+
* They belong to the artifact the browser loads; an npm consumer importing them
|
|
23
|
+
* would put ricos's CSS into its own build.
|
|
24
|
+
*/
|
|
25
|
+
export * from './index';
|
|
26
|
+
import '@wix/ricos/css/ricos-viewer.global.css';
|
|
27
|
+
import '@wix/ricos/css/plugin-link-viewer.global.css';
|
|
28
|
+
import '@wix/ricos/css/plugin-image-viewer.global.css';
|
|
29
|
+
import '@wix/ricos/css/plugin-video-viewer.global.css';
|
|
30
|
+
import '@wix/ricos/css/plugin-divider-viewer.global.css';
|
|
31
|
+
import '@wix/ricos/css/plugin-file-upload-viewer.global.css';
|
|
32
|
+
import '@wix/ricos/css/plugin-html-viewer.global.css';
|
|
33
|
+
import '@wix/ricos/css/plugin-link-preview-viewer.global.css';
|
|
34
|
+
import '@wix/ricos/css/plugin-vertical-embed-viewer.global.css';
|
|
35
|
+
import '@wix/ricos/css/plugin-spoiler-viewer.global.css';
|
|
36
|
+
import '@wix/ricos/css/plugin-giphy-viewer.global.css';
|
|
37
|
+
import '@wix/ricos/css/plugin-gallery-viewer.global.css';
|
|
38
|
+
import '@wix/ricos/css/plugin-collapsible-list-viewer.global.css';
|
|
39
|
+
import '@wix/ricos/css/plugin-table-viewer.global.css';
|
|
40
|
+
import '@wix/ricos/css/plugin-button-viewer.global.css';
|
|
41
|
+
//# sourceMappingURL=statics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statics.d.ts","sourceRoot":"","sources":["../../src/statics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,cAAc,SAAS,CAAC;AAExB,OAAO,wCAAwC,CAAC;AAChD,OAAO,8CAA8C,CAAC;AACtD,OAAO,+CAA+C,CAAC;AACvD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,qDAAqD,CAAC;AAC7D,OAAO,8CAA8C,CAAC;AACtD,OAAO,sDAAsD,CAAC;AAC9D,OAAO,wDAAwD,CAAC;AAChE,OAAO,iDAAiD,CAAC;AACzD,OAAO,+CAA+C,CAAC;AACvD,OAAO,iDAAiD,CAAC;AACzD,OAAO,0DAA0D,CAAC;AAClE,OAAO,+CAA+C,CAAC;AACvD,OAAO,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/patterns-fields-ricos-statics",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"license": "UNLICENSED",
|
|
5
|
+
"main": "dist/cjs/index.js",
|
|
6
|
+
"module": "dist/esm/index.js",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"import": "./dist/esm/index.js",
|
|
12
|
+
"require": "./dist/cjs/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./legacy": {
|
|
15
|
+
"types": "./dist/types/legacy.d.ts",
|
|
16
|
+
"import": "./dist/esm/legacy.js",
|
|
17
|
+
"require": "./dist/cjs/legacy.js"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"!dist/statics",
|
|
24
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
25
|
+
"legacy"
|
|
26
|
+
],
|
|
27
|
+
"scripts": {
|
|
28
|
+
"build": "node ../../scripts/build-ricos-statics.js",
|
|
29
|
+
"test": ":",
|
|
30
|
+
"lint": ":",
|
|
31
|
+
"type-check": "tsc --noEmit"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@wix/design-system": "^1.307.0",
|
|
35
|
+
"@wix/ricos": "11.10.1",
|
|
36
|
+
"@wix/yoshi-flow-library": "^6.74.0",
|
|
37
|
+
"lodash": "^4.17.21",
|
|
38
|
+
"react": "^18.2.0",
|
|
39
|
+
"react-dom": "^18.2.0",
|
|
40
|
+
"typescript": "~4.9.5"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@wix/ricos": "^11.10.1",
|
|
44
|
+
"react": "^18.2.0",
|
|
45
|
+
"react-dom": "^18.2.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependenciesMeta": {
|
|
48
|
+
"@wix/ricos": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"yoshiFlowLibrary": {
|
|
53
|
+
"bundle": {
|
|
54
|
+
"entry": {
|
|
55
|
+
"ricos": "statics.ts"
|
|
56
|
+
},
|
|
57
|
+
"format": "umd",
|
|
58
|
+
"library": "PatternsRicos",
|
|
59
|
+
"umdNamedDefine": true,
|
|
60
|
+
"separateCss": false,
|
|
61
|
+
"extractCommonChunks": true,
|
|
62
|
+
"externals": {
|
|
63
|
+
"react": "react",
|
|
64
|
+
"react-dom": "reactDOM"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"wix": {
|
|
69
|
+
"artifact": {
|
|
70
|
+
"groupId": "com.wixpress",
|
|
71
|
+
"artifactId": "patterns-fields-ricos-statics",
|
|
72
|
+
"targets": {
|
|
73
|
+
"static": {
|
|
74
|
+
"folderToUpload": "dist/statics"
|
|
75
|
+
},
|
|
76
|
+
"docker": false
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"perfer": {
|
|
81
|
+
"bundleSize": {
|
|
82
|
+
"files": [
|
|
83
|
+
{
|
|
84
|
+
"glob": "./dist/statics/ricos.umd.min.js",
|
|
85
|
+
"maxSize": "320kb",
|
|
86
|
+
"maxDegradation": "60%"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"publishConfig": {
|
|
92
|
+
"registry": "https://npm-cache.dev.wixpress.com/",
|
|
93
|
+
"access": "restricted"
|
|
94
|
+
},
|
|
95
|
+
"falconPackageHash": "ade044d71ff86c293166fe5831948c25ae19b918f78d0a792bcd234e",
|
|
96
|
+
"repository": {
|
|
97
|
+
"type": "git",
|
|
98
|
+
"url": "https://github.com/wix-private/patterns-deps.git",
|
|
99
|
+
"directory": "packages/fields-ricos-statics"
|
|
100
|
+
}
|
|
101
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/patterns-fields-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.48.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kobi",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@babel/runtime": "^7.0.0",
|
|
29
|
+
"@wix/ricos": "11.10.1",
|
|
29
30
|
"classnames": "^2.5.1",
|
|
30
31
|
"lodash": "^4.17.21",
|
|
31
32
|
"path-parse": "^1.0.7",
|
|
@@ -36,8 +37,10 @@
|
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@wix/eslint-config-yoshi": "^6.74.0",
|
|
38
39
|
"@wix/jest-yoshi-preset": "^6.74.0",
|
|
39
|
-
"@wix/patterns-fields-bundled-cm-media-utils": "1.
|
|
40
|
-
"@wix/patterns-fields-bundled-organize-media": "1.
|
|
40
|
+
"@wix/patterns-fields-bundled-cm-media-utils": "1.52.0",
|
|
41
|
+
"@wix/patterns-fields-bundled-organize-media": "1.53.0",
|
|
42
|
+
"@wix/patterns-fields-bundled-ricos": "1.7.0",
|
|
43
|
+
"@wix/patterns-fields-ricos-statics": "1.7.0",
|
|
41
44
|
"@wix/wix-data-schema-types": "^2.0.26",
|
|
42
45
|
"@wix/yoshi-flow-library": "^6.74.0",
|
|
43
46
|
"ts-node": "^10.9.1",
|
|
@@ -83,5 +86,5 @@
|
|
|
83
86
|
"registry": "https://registry.npmjs.org/",
|
|
84
87
|
"access": "public"
|
|
85
88
|
},
|
|
86
|
-
"falconPackageHash": "
|
|
89
|
+
"falconPackageHash": "200ebacb32e1595630f4c6bf98d8219716fcf0f7ccea1fb2f42ab9e6"
|
|
87
90
|
}
|