wix-rich-content-common
Advanced tools
Comparing version 10.89.1 to 10.90.0
@@ -8,2 +8,3 @@ 'use strict'; | ||
var ReactDOM = require('react-dom'); | ||
var next = require('ricos-schema/next'); | ||
var devTools_components_Tabs = require('./components/Tabs.js'); | ||
@@ -16,3 +17,2 @@ var devTools_logo = require('./logo.js'); | ||
var devTools_theme = require('./theme.js'); | ||
require('ricos-schema/next'); | ||
require('react-json-tree'); | ||
@@ -105,2 +105,3 @@ require('./components/Button.js'); | ||
const [tabIndex, setTabIndex] = React__default.default.useState("state"); | ||
const encodedContent = next.encodeUnicodeBase64(JSON.stringify(contentState)); | ||
return ReactDOM__default.default.createPortal( | ||
@@ -144,3 +145,12 @@ /* @__PURE__ */ React__default.default.createElement( | ||
}, | ||
mode === "editor" ? `ricos-editor@${version}` : `ricos-viewer@${version}` | ||
mode === "editor" ? `ricos-editor@${version}` : `ricos-viewer@${version}`, | ||
" ", | ||
/* @__PURE__ */ React__default.default.createElement( | ||
"a", | ||
{ | ||
style: { color: devTools_theme.mainTheme.white60 }, | ||
href: `https://ricos.dev?v={version}#tabs=code%2Cviewer%2Ceditor&content=${encodedContent}` | ||
}, | ||
"ricos.dev" | ||
) | ||
), | ||
@@ -147,0 +157,0 @@ /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.Tabs, { onSelect: setTabIndex, selectedIndex: tabIndex }, /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.TabList, null, /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.Tab, { index: "state" }, "State"), /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.Tab, { index: "content" }, "Content Prop"), /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.Tab, { index: "props" }, "All Props"), /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.Tab, { index: "schema" }, "Schema"), /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.Tab, { index: "rendering" }, "Rendering")), /* @__PURE__ */ React__default.default.createElement(devTools_components_Tabs.TabPanel, null, ({ index }) => { |
@@ -18,2 +18,5 @@ 'use strict'; | ||
); | ||
if (devContext.type === "DEFAULT") { | ||
return /* @__PURE__ */ React__default.default.createElement("div", { style: { color: devTools_theme.mainTheme.white60 } }, "Dev context is not set on this consumer"); | ||
} | ||
React__default.default.useEffect(() => { | ||
@@ -20,0 +23,0 @@ const subscription = devContext.onRenderCountChange((renderCounts2) => { |
@@ -11,2 +11,3 @@ 'use strict'; | ||
require('react-dom'); | ||
require('ricos-schema/next'); | ||
require('../devTools/components/Tabs.js'); | ||
@@ -16,3 +17,2 @@ require('../devTools/theme.js'); | ||
require('../devTools/tabs/rich-content-tree.js'); | ||
require('ricos-schema/next'); | ||
require('react-json-tree'); | ||
@@ -19,0 +19,0 @@ require('../devTools/components/Button.js'); |
import React from 'react'; | ||
import { Dock } from 'react-dock'; | ||
import ReactDOM from 'react-dom'; | ||
import { encodeUnicodeBase64 } from 'ricos-schema/next'; | ||
import { Tabs, TabList, Tab, TabPanel } from './components/Tabs.js'; | ||
@@ -11,3 +12,2 @@ import { RcpLogo } from './logo.js'; | ||
import { mainTheme } from './theme.js'; | ||
import 'ricos-schema/next'; | ||
import 'react-json-tree'; | ||
@@ -95,2 +95,3 @@ import './components/Button.js'; | ||
const [tabIndex, setTabIndex] = React.useState("state"); | ||
const encodedContent = encodeUnicodeBase64(JSON.stringify(contentState)); | ||
return ReactDOM.createPortal( | ||
@@ -134,3 +135,12 @@ /* @__PURE__ */ React.createElement( | ||
}, | ||
mode === "editor" ? `ricos-editor@${version}` : `ricos-viewer@${version}` | ||
mode === "editor" ? `ricos-editor@${version}` : `ricos-viewer@${version}`, | ||
" ", | ||
/* @__PURE__ */ React.createElement( | ||
"a", | ||
{ | ||
style: { color: mainTheme.white60 }, | ||
href: `https://ricos.dev?v={version}#tabs=code%2Cviewer%2Ceditor&content=${encodedContent}` | ||
}, | ||
"ricos.dev" | ||
) | ||
), | ||
@@ -137,0 +147,0 @@ /* @__PURE__ */ React.createElement(Tabs, { onSelect: setTabIndex, selectedIndex: tabIndex }, /* @__PURE__ */ React.createElement(TabList, null, /* @__PURE__ */ React.createElement(Tab, { index: "state" }, "State"), /* @__PURE__ */ React.createElement(Tab, { index: "content" }, "Content Prop"), /* @__PURE__ */ React.createElement(Tab, { index: "props" }, "All Props"), /* @__PURE__ */ React.createElement(Tab, { index: "schema" }, "Schema"), /* @__PURE__ */ React.createElement(Tab, { index: "rendering" }, "Rendering")), /* @__PURE__ */ React.createElement(TabPanel, null, ({ index }) => { |
@@ -5,3 +5,3 @@ import React from 'react'; | ||
import { Button } from '../components/Button.js'; | ||
import { jsonTreeTheme } from '../theme.js'; | ||
import { mainTheme, jsonTreeTheme } from '../theme.js'; | ||
@@ -13,2 +13,5 @@ const RicosRenderingTab = () => { | ||
); | ||
if (devContext.type === "DEFAULT") { | ||
return /* @__PURE__ */ React.createElement("div", { style: { color: mainTheme.white60 } }, "Dev context is not set on this consumer"); | ||
} | ||
React.useEffect(() => { | ||
@@ -15,0 +18,0 @@ const subscription = devContext.onRenderCountChange((renderCounts2) => { |
@@ -9,2 +9,3 @@ export { DevContextProvider } from '../devTools/dev-contenxt-provider.js'; | ||
import 'react-dom'; | ||
import 'ricos-schema/next'; | ||
import '../devTools/components/Tabs.js'; | ||
@@ -14,3 +15,2 @@ import '../devTools/theme.js'; | ||
import '../devTools/tabs/rich-content-tree.js'; | ||
import 'ricos-schema/next'; | ||
import 'react-json-tree'; | ||
@@ -17,0 +17,0 @@ import '../devTools/components/Button.js'; |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Enllaç", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Reproducció en bucle", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Prova un altre terme de cerca.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Odkaz", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Přehrát ve smyčce", | ||
@@ -413,3 +414,3 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Zkuste vyhledat něco jiného.", | ||
"LinkPanel_AdvancedSettings_Label": "Pokročilá nastavení SEO", | ||
"GallerySettings_Spacing_Between_Items_Tooltip": "Nastavte mezery mezi věcmi ve Vaší galerii.", | ||
"GallerySettings_Spacing_Between_Items_Tooltip": "Nastavte mezery mezi položkami v galerii.", | ||
"GIFPlugin_Mobile_Header": "GIF", | ||
@@ -416,0 +417,0 @@ "Embed_Vertical_Events_Title": "Přidat akci", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Afspil i loop", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Prøv et andet søgeord.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Wiederholungsschleife", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Versuche es mit einem anderen Suchbegriff.", |
@@ -479,2 +479,3 @@ { | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Header": "Poll Direction", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Header_Tooltip": "For websites in languages that read from right to left, show the poll from right to left.", | ||
@@ -481,0 +482,0 @@ "Poll_PollSettings_Tab_Layout_Section_TextDirection_LTR": "Left to right", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Enlace", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Repetición en bucle", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Intenta otro término de búsqueda.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Linkki", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Soita jatkuvalla toistolla", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Kokeile toista hakutermiä.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Lien", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Lecture en boucle", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Veuillez effectuer une nouvelle recherche.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "קישור", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "הפעלה בלולאה (לופּ)", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "נסה מונח חיפוש אחר.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Folyamatos lejátszás", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Próbálkozz egy másik keresőkifejezéssel!", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Tautan", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Putar berulang", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Cobalah istilah pencarian lain.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Riproduzione continua", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Prova con un altro termine di ricerca.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "リンク", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "ループ再生", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "検索用語を変更してもう一度お試しください。", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "링크", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "반복 재생", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "다른 키워드를 사용해보세요.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Nuoroda", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Paleisti ciklo būdu", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Pabandykite kitą paieškos sąlygą.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Pautan", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Main dalam gelung", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Cuba istilah carian lain.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Doorlopend afspelen", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Probeer een andere zoekterm.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Lenke", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Gjenta avspilling", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Prøv et annet søkeord.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Odtwarzaj w pętli", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Spróbuj wyszukać inne hasło.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Reproduzir continuamente", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Tente outro termo de busca.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Redare în buclă", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Încearcă alt termen de căutare.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Odkaz", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Prehrávanie v slučke", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Skúste iný hľadaný výraz.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Povezava", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Predvajanje v zanki", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Poskusite z drugim iskalnim pojmom.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Länk", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Spela upp i en slinga", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Prova ett annat sökord.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Link", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "I-play nang naka-loop", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Sumubok ng ibang termino ng paghahanap", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Bağlantı", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Döngüde çal", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Başka bir arama terimi deneyin.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "Liên kết", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "Phát lặp lại", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "Hãy thử từ khóa tìm kiếm khác.", |
@@ -343,2 +343,3 @@ { | ||
"GalleryImageSettings_Link_Label": "連結", | ||
"Poll_PollSettings_Tab_Layout_Section_TextDirection_Choose": "Choose a poll direction", | ||
"Media_Play_In_Loop_Label": "循環播放", | ||
@@ -345,0 +346,0 @@ "Embed_Vertical_Events_EmptyState_NoResults_Description": "請嘗試其他搜尋條件。", |
{ | ||
"name": "wix-rich-content-common", | ||
"version": "10.89.1", | ||
"version": "10.90.0", | ||
"description": "Common components and utilities for Ricos..", | ||
@@ -44,6 +44,6 @@ "author": { | ||
"react-portal-tooltip": "^2.4.7", | ||
"ricos-content": "10.89.1", | ||
"ricos-context": "10.89.1", | ||
"ricos-schema": "10.89.1", | ||
"ricos-types": "10.89.1" | ||
"ricos-content": "10.90.0", | ||
"ricos-context": "10.90.0", | ||
"ricos-schema": "10.90.0", | ||
"ricos-types": "10.90.0" | ||
}, | ||
@@ -96,3 +96,3 @@ "peerDependencies": { | ||
}, | ||
"falconPackageHash": "acd5b7d5f986f82e6ca1c91fe26e4aaafa6a5feae69c7a3e7fe502d8" | ||
"falconPackageHash": "11ac614c85499a1794137232336e08729616d8ef634ff04c665c1194" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3059565
37357
+ Addedricos-content@10.90.0(transitive)
+ Addedricos-context@10.90.0(transitive)
+ Addedricos-schema@10.90.0(transitive)
+ Addedricos-types@10.90.0(transitive)
- Removedricos-content@10.89.1(transitive)
- Removedricos-context@10.89.1(transitive)
- Removedricos-schema@10.89.1(transitive)
- Removedricos-types@10.89.1(transitive)
Updatedricos-content@10.90.0
Updatedricos-context@10.90.0
Updatedricos-schema@10.90.0
Updatedricos-types@10.90.0