@plone/volto 18.0.0-alpha.12 → 18.0.0-alpha.14
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/CHANGELOG.md +33 -0
- package/locales/ca/LC_MESSAGES/volto.po +6 -0
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +6 -0
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +6 -0
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +6 -0
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +6 -0
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +6 -0
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +6 -0
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +6 -0
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +6 -0
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +6 -0
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +6 -0
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +6 -0
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +6 -0
- package/locales/ro.json +1 -1
- package/locales/volto.pot +7 -1
- package/locales/zh_CN/LC_MESSAGES/volto.po +6 -0
- package/locales/zh_CN.json +1 -1
- package/package.json +8 -7
- package/src/components/manage/Form/Form.jsx +139 -121
- package/src/components/manage/Form/Form.test.jsx +7 -0
- package/src/components/manage/Preferences/ChangePassword.test.jsx +7 -0
- package/src/components/manage/Preferences/PersonalInformation.test.jsx +14 -0
- package/src/components/manage/Preferences/PersonalPreferences.test.jsx +7 -0
- package/src/components/manage/Toolbar/Toolbar.jsx +35 -2
- package/src/components/manage/Widgets/ArrayWidget.jsx +3 -1
- package/src/components/theme/Comments/Comments.test.jsx +7 -0
- package/src/components/theme/Logo/Logo.Multilingual.test.jsx +3 -1
- package/src/components/theme/Logo/Logo.jsx +18 -12
- package/src/components/theme/Logo/Logo.test.jsx +4 -1
- package/src/components/theme/PasswordReset/PasswordReset.test.jsx +7 -0
- package/src/components/theme/PasswordReset/RequestPasswordReset.test.jsx +7 -0
- package/src/components/theme/Register/Register.test.jsx +7 -0
- package/src/components/theme/SlotRenderer/SlotRenderer.test.jsx +56 -0
- package/src/components/theme/SlotRenderer/SlotRenderer.tsx +54 -0
- package/src/components/theme/View/View.jsx +3 -0
- package/src/components/theme/View/View.test.jsx +3 -0
- package/src/config/index.js +3 -1
- package/src/helpers/Blocks/Blocks.js +5 -2
- package/src/helpers/Slots/index.tsx +12 -0
- package/src/helpers/index.js +1 -0
- package/test-setup-config.js +1 -0
- package/theme/themes/pastanaga/extras/toolbar.less +4 -4
- package/tsconfig.declarations.json +1 -0
- package/types/components/manage/Actions/Actions.d.ts +1 -1
- package/types/components/manage/AnchorPlugin/components/Link/index.d.ts +1 -1
- package/types/components/manage/BlockChooser/BlockChooserButton.d.ts +2 -2
- package/types/components/manage/BlockChooser/BlockChooserSearch.d.ts +1 -1
- package/types/components/manage/Blocks/Block/BlocksForm.d.ts +1 -1
- package/types/components/manage/Blocks/Block/DefaultEdit.d.ts +1 -1
- package/types/components/manage/Blocks/Block/DefaultView.d.ts +1 -1
- package/types/components/manage/Blocks/Block/Style.d.ts +1 -1
- package/types/components/manage/Blocks/Container/Data.d.ts +1 -1
- package/types/components/manage/Blocks/Container/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Container/EditBlockWrapper.d.ts +1 -1
- package/types/components/manage/Blocks/Container/NewBlockAddButton.d.ts +1 -1
- package/types/components/manage/Blocks/Container/SimpleContainerToolbar.d.ts +1 -1
- package/types/components/manage/Blocks/Description/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Description/View.d.ts +1 -1
- package/types/components/manage/Blocks/Grid/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Grid/View.d.ts +1 -1
- package/types/components/manage/Blocks/HTML/View.d.ts +1 -1
- package/types/components/manage/Blocks/HeroImageLeft/Data.d.ts +1 -1
- package/types/components/manage/Blocks/HeroImageLeft/View.d.ts +1 -1
- package/types/components/manage/Blocks/Image/ImageSidebar.d.ts +1 -1
- package/types/components/manage/Blocks/Image/View.d.ts +2 -2
- package/types/components/manage/Blocks/Image/schema.d.ts +1 -1
- package/types/components/manage/Blocks/LeadImage/View.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/DefaultNoResultsComponent.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/DefaultTemplate.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/GalleryNoResultsComponent.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/ImageGallery.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/ListingData.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/SummaryTemplate.d.ts +1 -1
- package/types/components/manage/Blocks/Listing/View.d.ts +1 -1
- package/types/components/manage/Blocks/Maps/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Maps/MapsSidebar.d.ts +1 -1
- package/types/components/manage/Blocks/Search/SearchBlockEdit.d.ts +1 -1
- package/types/components/manage/Blocks/Search/SearchBlockView.d.ts +2 -2
- package/types/components/manage/Blocks/Search/components/CheckboxFacet.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/DateRangeFacetFilterListEntry.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/Facets.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/FilterList.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/SearchDetails.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/SearchInput.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/SelectFacetFilterListEntry.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/ToggleFacet.d.ts +1 -1
- package/types/components/manage/Blocks/Search/components/ToggleFacetFilterListEntry.d.ts +1 -1
- package/types/components/manage/Blocks/Search/hocs/withQueryString.d.ts +1 -1
- package/types/components/manage/Blocks/Search/hocs/withSearch.d.ts +1 -1
- package/types/components/manage/Blocks/Search/layout/LeftColumnFacets.d.ts +1 -1
- package/types/components/manage/Blocks/Search/layout/RightColumnFacets.d.ts +1 -1
- package/types/components/manage/Blocks/Search/layout/TopSideFacets.d.ts +1 -1
- package/types/components/manage/Blocks/Search/utils.d.ts +2 -2
- package/types/components/manage/Blocks/Search/widgets/SelectMetadataField.d.ts +1 -1
- package/types/components/manage/Blocks/Table/Cell.d.ts +1 -1
- package/types/components/manage/Blocks/Table/View.d.ts +1 -1
- package/types/components/manage/Blocks/Teaser/Body.d.ts +1 -1
- package/types/components/manage/Blocks/Teaser/Data.d.ts +1 -1
- package/types/components/manage/Blocks/Teaser/DefaultBody.d.ts +1 -1
- package/types/components/manage/Blocks/Teaser/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Teaser/View.d.ts +1 -1
- package/types/components/manage/Blocks/Text/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Title/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Title/View.d.ts +1 -1
- package/types/components/manage/Blocks/ToC/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Video/Body.d.ts +1 -1
- package/types/components/manage/Blocks/Video/VideoSidebar.d.ts +1 -1
- package/types/components/manage/Blocks/Video/View.d.ts +1 -1
- package/types/components/manage/Contents/ContentsBreadcrumbs.d.ts +1 -1
- package/types/components/manage/Contents/ContentsBreadcrumbsHomeItem.d.ts +1 -1
- package/types/components/manage/Contents/ContentsBreadcrumbsRootItem.d.ts +1 -1
- package/types/components/manage/Contents/ContentsPropertiesModal.d.ts +1 -1
- package/types/components/manage/Contents/ContentsRenameModal.d.ts +1 -1
- package/types/components/manage/Contents/ContentsRenameModal.stories.d.ts +1 -1
- package/types/components/manage/Contents/ContentsTagsModal.d.ts +1 -1
- package/types/components/manage/Contents/ContentsTagsModal.stories.d.ts +1 -1
- package/types/components/manage/Contents/ContentsWorkflowModal.d.ts +1 -1
- package/types/components/manage/Contents/circle.d.ts +1 -1
- package/types/components/manage/Controlpanels/Relations/BrokenRelations.d.ts +1 -1
- package/types/components/manage/Controlpanels/Relations/Relations.d.ts +1 -1
- package/types/components/manage/Controlpanels/Relations/RelationsListing.d.ts +1 -1
- package/types/components/manage/Controlpanels/Relations/RelationsMatrix.d.ts +3 -5
- package/types/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.d.ts +1 -1
- package/types/components/manage/Controlpanels/Users/UserGroupMembershipListing.d.ts +1 -1
- package/types/components/manage/Controlpanels/Users/UserGroupMembershipMatrix.d.ts +1 -1
- package/types/components/manage/Controlpanels/VersionOverview.d.ts +1 -1
- package/types/components/manage/Delete/Delete.d.ts +1 -1
- package/types/components/manage/Form/BlockDataForm.d.ts +1 -1
- package/types/components/manage/Form/BlocksToolbar.d.ts +1 -1
- package/types/components/manage/Form/UndoToolbar.d.ts +1 -1
- package/types/components/manage/LinkDetectionPlugin/link-detection-plugin.d.ts +1 -1
- package/types/components/manage/LinkMore/LinkMore.d.ts +1 -1
- package/types/components/manage/LinksToItem/LinksToItem.d.ts +1 -1
- package/types/components/manage/Messages/Messages.d.ts +1 -1
- package/types/components/manage/Multilingual/CreateTranslation.d.ts +1 -1
- package/types/components/manage/Multilingual/ManageTranslations.d.ts +3 -5
- package/types/components/manage/Multilingual/TranslationObject.d.ts +1 -1
- package/types/components/manage/Pluggable/Pluggable.stories.d.ts +4 -4
- package/types/components/manage/Pluggable/index.d.ts +21 -3
- package/types/components/manage/Sidebar/AlignBlock.d.ts +1 -1
- package/types/components/manage/Sidebar/ObjectBrowser.d.ts +3 -5
- package/types/components/manage/Sidebar/ObjectBrowserNav.d.ts +1 -1
- package/types/components/manage/Sidebar/SidebarPopup.d.ts +1 -1
- package/types/components/manage/Sidebar/SidebarPortal.d.ts +2 -1
- package/types/components/manage/TemplateChooser/TemplateChooser.d.ts +1 -1
- package/types/components/manage/TextLineEdit/TextLineEdit.d.ts +1 -1
- package/types/components/manage/TextLineEdit/TextLineEdit.stories.d.ts +1 -1
- package/types/components/manage/Toast/Toast.d.ts +1 -1
- package/types/components/manage/Toolbar/PersonalTools.d.ts +1 -1
- package/types/components/manage/Toolbar/StandardWrapper.d.ts +1 -1
- package/types/components/manage/Toolbar/Stats.d.ts +1 -1
- package/types/components/manage/UniversalLink/UniversalLink.d.ts +1 -1
- package/types/components/manage/Widgets/AlignWidget.d.ts +1 -1
- package/types/components/manage/Widgets/AlignWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/ArrayWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/ButtonsWidget.d.ts +1 -1
- package/types/components/manage/Widgets/ButtonsWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/CheckboxWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/ColorPickerWidget.d.ts +1 -2
- package/types/components/manage/Widgets/DatetimeWidget.d.ts +1 -1
- package/types/components/manage/Widgets/DatetimeWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/EmailWidget.d.ts +1 -1
- package/types/components/manage/Widgets/EmailWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/FileWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/FormFieldWrapper.stories.d.ts +1 -1
- package/types/components/manage/Widgets/IdWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/ImageSizeWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/InternalUrlWidget.d.ts +4 -6
- package/types/components/manage/Widgets/InternalUrlWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/NumberWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/ObjectBrowserWidget.d.ts +1 -1
- package/types/components/manage/Widgets/ObjectBrowserWidget.stories.d.ts +7 -7
- package/types/components/manage/Widgets/ObjectListWidget.d.ts +1 -1
- package/types/components/manage/Widgets/ObjectListWidget.stories.d.ts +2 -2
- package/types/components/manage/Widgets/ObjectWidget.d.ts +1 -1
- package/types/components/manage/Widgets/ObjectWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/PasswordWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/QueryWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/QuerystringWidget.d.ts +1 -1
- package/types/components/manage/Widgets/RecurrenceWidget/ByMonthDayField.d.ts +16 -2
- package/types/components/manage/Widgets/RecurrenceWidget/ByMonthField.d.ts +20 -2
- package/types/components/manage/Widgets/RecurrenceWidget/ByYearField.d.ts +22 -2
- package/types/components/manage/Widgets/RecurrenceWidget/EndField.d.ts +16 -2
- package/types/components/manage/Widgets/SelectAutocompleteWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/SelectStyling.d.ts +1 -1
- package/types/components/manage/Widgets/SelectWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/TextWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/TextareaWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/TokenWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/UrlWidget.d.ts +4 -6
- package/types/components/manage/Widgets/UrlWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/VocabularyTermsWidget.d.ts +1 -1
- package/types/components/manage/Widgets/VocabularyTermsWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/WysiwygWidget.d.ts +1 -1
- package/types/components/manage/Widgets/WysiwygWidget.stories.d.ts +1 -1
- package/types/components/manage/Widgets/story.d.ts +1 -1
- package/types/components/theme/Anontools/Anontools.d.ts +1 -1
- package/types/components/theme/AppExtras/AppExtras.d.ts +1 -1
- package/types/components/theme/Avatar/Avatar.d.ts +1 -1
- package/types/components/theme/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/types/components/theme/Comments/Comment.stories.d.ts +1 -1
- package/types/components/theme/Comments/CommentEditModal.d.ts +1 -1
- package/types/components/theme/Comments/CommentEditModal.stories.d.ts +1 -1
- package/types/components/theme/Component/Component.d.ts +1 -1
- package/types/components/theme/ConnectionRefused/ConnectionRefused.d.ts +1 -1
- package/types/components/theme/ContactForm/ContactForm.d.ts +1 -1
- package/types/components/theme/ContactForm/ContactForm.stories.d.ts +1 -1
- package/types/components/theme/ContentMetadataTags/ContentMetadataTags.d.ts +1 -1
- package/types/components/theme/Error/ErrorBoundary.d.ts +1 -0
- package/types/components/theme/Error/ServerError.d.ts +1 -1
- package/types/components/theme/EventDetails/EventDetails.d.ts +1 -1
- package/types/components/theme/EventDetails/EventDetails.stories.d.ts +1 -1
- package/types/components/theme/Forbidden/Forbidden.d.ts +1 -1
- package/types/components/theme/FormattedDate/FormattedDate.d.ts +1 -1
- package/types/components/theme/FormattedDate/FormattedDate.stories.d.ts +1 -1
- package/types/components/theme/FormattedDate/FormattedRelativeDate.d.ts +1 -1
- package/types/components/theme/FormattedDate/FormattedRelativeDate.stories.d.ts +1 -1
- package/types/components/theme/Header/Header.d.ts +1 -1
- package/types/components/theme/Header/Header.stories.d.ts +1 -1
- package/types/components/theme/Image/Image.d.ts +1 -1
- package/types/components/theme/LanguageSelector/LanguageSelector.d.ts +1 -1
- package/types/components/theme/Login/Login.d.ts +1 -1
- package/types/components/theme/Login/Login.stories.d.ts +1 -1
- package/types/components/theme/Logo/Logo.stories.d.ts +1 -1
- package/types/components/theme/Logout/Logout.d.ts +1 -1
- package/types/components/theme/MultilingualRedirector/MultilingualRedirector.d.ts +1 -1
- package/types/components/theme/Navigation/ContextNavigation.d.ts +1 -1
- package/types/components/theme/Navigation/ContextNavigation.stories.d.ts +2 -2
- package/types/components/theme/Navigation/NavItem.d.ts +1 -1
- package/types/components/theme/Navigation/NavItems.d.ts +1 -1
- package/types/components/theme/Navigation/Navigation.d.ts +1 -1
- package/types/components/theme/Navigation/withContentNavigation.d.ts +1 -1
- package/types/components/theme/NotFound/NotFound.d.ts +1 -1
- package/types/components/theme/OutdatedBrowser/OutdatedBrowser.d.ts +1 -1
- package/types/components/theme/PasswordReset/RequestPasswordReset.d.ts +1 -1
- package/types/components/theme/Popup/Popup.d.ts +1 -1
- package/types/components/theme/PreviewImage/PreviewImage.d.ts +1 -1
- package/types/components/theme/Search/SearchTags.d.ts +1 -1
- package/types/components/theme/SearchWidget/SearchWidget.d.ts +1 -1
- package/types/components/theme/SearchWidget/SearchWidget.stories.d.ts +1 -1
- package/types/components/theme/SkipLinks/SkipLinks.d.ts +1 -1
- package/types/components/theme/SlotRenderer/SlotRenderer.d.ts +7 -0
- package/types/components/theme/SlotRenderer/SlotRenderer.test.d.ts +1 -0
- package/types/components/theme/TsTest/TsTest.d.ts +1 -2
- package/types/components/theme/Unauthorized/Unauthorized.d.ts +1 -1
- package/types/components/theme/View/AlbumView.d.ts +1 -1
- package/types/components/theme/View/EventDatesInfo.d.ts +1 -1
- package/types/components/theme/View/LinkView.d.ts +1 -1
- package/types/components/theme/View/RenderBlocks.d.ts +1 -1
- package/types/components/theme/Widgets/ArrayWidget.d.ts +1 -1
- package/types/components/theme/Widgets/BooleanWidget.d.ts +14 -2
- package/types/components/theme/Widgets/DateWidget.d.ts +1 -1
- package/types/components/theme/Widgets/DatetimeWidget.d.ts +1 -1
- package/types/components/theme/Widgets/DescriptionWidget.d.ts +1 -1
- package/types/components/theme/Widgets/EmailWidget.d.ts +1 -1
- package/types/components/theme/Widgets/FileWidget.d.ts +1 -1
- package/types/components/theme/Widgets/ImageWidget.d.ts +1 -1
- package/types/components/theme/Widgets/PasswordWidget.d.ts +1 -1
- package/types/components/theme/Widgets/RelationWidget.d.ts +1 -1
- package/types/components/theme/Widgets/RelationsWidget.d.ts +1 -1
- package/types/components/theme/Widgets/RichTextWidget.d.ts +1 -1
- package/types/components/theme/Widgets/SelectWidget.d.ts +1 -1
- package/types/components/theme/Widgets/TextWidget.d.ts +1 -1
- package/types/components/theme/Widgets/TitleWidget.d.ts +1 -1
- package/types/components/theme/Widgets/TokenWidget.d.ts +1 -1
- package/types/components/theme/Widgets/UrlWidget.d.ts +1 -1
- package/types/config/Blocks.d.ts +1 -1
- package/types/config/RichTextEditor/ToHTML.d.ts +10 -10
- package/types/config/Views.d.ts +5 -5
- package/types/helpers/AsyncConnect/AsyncConnect.d.ts +2 -2
- package/types/helpers/Extensions/withBlockExtensions.d.ts +1 -1
- package/types/helpers/Extensions/withBlockSchemaEnhancer.d.ts +3 -3
- package/types/helpers/Helmet/Helmet.d.ts +6 -10
- package/types/helpers/LanguageMap/LanguageMap.d.ts +878 -1
- package/types/helpers/Slots/index.d.ts +7 -0
- package/types/helpers/Utils/Date.d.ts +2 -2
- package/types/helpers/Utils/UseDetectClickOutside.stories.d.ts +2 -2
- package/types/helpers/Utils/Utils.d.ts +1 -1
- package/types/helpers/index.d.ts +1 -0
- package/types/reducers/blocksClipboard/blocksClipboard.d.ts +1 -1
- package/types/routes.d.ts +3 -3
- package/types/storybook.d.ts +3 -3
package/types/config/Blocks.d.ts
CHANGED
|
@@ -10,16 +10,16 @@ declare namespace renderers {
|
|
|
10
10
|
declare namespace inline {
|
|
11
11
|
function BOLD(children: any, { key }: {
|
|
12
12
|
key: any;
|
|
13
|
-
}): JSX.Element;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
function ITALIC(children: any, { key }: {
|
|
15
15
|
key: any;
|
|
16
|
-
}): JSX.Element;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
function UNDERLINE(children: any, { key }: {
|
|
18
18
|
key: any;
|
|
19
|
-
}): JSX.Element;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
function CODE(children: any, { key }: {
|
|
21
21
|
key: any;
|
|
22
|
-
}): JSX.Element;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Note that children can be maped to render a list or do other cool stuff
|
|
@@ -31,7 +31,7 @@ declare const blocks: {
|
|
|
31
31
|
atomic: (children: any) => any;
|
|
32
32
|
blockquote: (children: any, { keys }: {
|
|
33
33
|
keys: any;
|
|
34
|
-
}) => JSX.Element;
|
|
34
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
'header-one': (children: any, { keys }: {
|
|
36
36
|
keys: any;
|
|
37
37
|
}) => any;
|
|
@@ -52,15 +52,15 @@ declare const blocks: {
|
|
|
52
52
|
}) => any;
|
|
53
53
|
'code-block': (children: any, { keys }: {
|
|
54
54
|
keys: any;
|
|
55
|
-
}) => JSX.Element;
|
|
55
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
56
56
|
'unordered-list-item': (children: any, { depth, keys }: {
|
|
57
57
|
depth: any;
|
|
58
58
|
keys: any;
|
|
59
|
-
}) => JSX.Element;
|
|
59
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
60
60
|
'ordered-list-item': (children: any, { depth, keys }: {
|
|
61
61
|
depth: any;
|
|
62
62
|
keys: any;
|
|
63
|
-
}) => JSX.Element;
|
|
63
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
64
64
|
callout: (children: any, { keys }: {
|
|
65
65
|
keys: any;
|
|
66
66
|
}) => any;
|
|
@@ -68,8 +68,8 @@ declare const blocks: {
|
|
|
68
68
|
declare namespace entities {
|
|
69
69
|
function LINK(children: any, props: any, { key }: {
|
|
70
70
|
key: any;
|
|
71
|
-
}): JSX.Element;
|
|
71
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
72
72
|
function IMAGE(children: any, entity: any, { key }: {
|
|
73
73
|
key: any;
|
|
74
|
-
}): JSX.Element;
|
|
74
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
75
75
|
}
|
package/types/config/Views.d.ts
CHANGED
|
@@ -37,12 +37,12 @@ export const defaultView: import("react").FC<import("react-intl").WithIntlProps<
|
|
|
37
37
|
WrappedComponent: import("react").ComponentType<any>;
|
|
38
38
|
};
|
|
39
39
|
export const errorViews: {
|
|
40
|
-
404: (props: any) => JSX.Element;
|
|
41
|
-
401: (props: any) => JSX.Element;
|
|
42
|
-
403: (props: any) => JSX.Element;
|
|
40
|
+
404: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
401: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
403: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
408: () => string;
|
|
44
|
-
500: (props: any) => JSX.Element;
|
|
45
|
-
ECONNREFUSED: () => JSX.Element;
|
|
44
|
+
500: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
ECONNREFUSED: () => import("react/jsx-runtime").JSX.Element;
|
|
46
46
|
corsError: () => string;
|
|
47
47
|
};
|
|
48
48
|
export namespace layoutViewsNamesMapping {
|
|
@@ -13,7 +13,7 @@ export class AsyncConnect extends React.Component<any, any, any> {
|
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
reduxConnectStore: any;
|
|
15
15
|
}): any;
|
|
16
|
-
render(): JSX.Element;
|
|
16
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
}
|
|
18
18
|
export namespace AsyncConnect {
|
|
19
19
|
namespace propTypes {
|
|
@@ -39,7 +39,7 @@ export namespace AsyncConnect {
|
|
|
39
39
|
export function AsyncConnectWithContext({ context, ...otherProps }: {
|
|
40
40
|
[x: string]: any;
|
|
41
41
|
context: any;
|
|
42
|
-
}): JSX.Element;
|
|
42
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
export namespace AsyncConnectWithContext {
|
|
44
44
|
export namespace propTypes_1 {
|
|
45
45
|
let context: any;
|
|
@@ -41,4 +41,4 @@ export function resolveBlockExtensions(data: any, blocksConfig: any): {
|
|
|
41
41
|
resolvedExtensions: any;
|
|
42
42
|
};
|
|
43
43
|
export default withBlockExtensions;
|
|
44
|
-
declare function withBlockExtensions(WrappedComponent: any): (props: any) => JSX.Element;
|
|
44
|
+
declare function withBlockExtensions(WrappedComponent: any): (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -20,16 +20,16 @@ export function addExtensionFieldToSchema({ schema, name, items, intl, title, de
|
|
|
20
20
|
}): any;
|
|
21
21
|
export function withBlockSchemaEnhancer(FormComponent: any, extensionName?: string, insertFieldToOrder?: typeof _addField): ({ ...props }: {
|
|
22
22
|
[x: string]: any;
|
|
23
|
-
}) => JSX.Element;
|
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export function applySchemaEnhancer({ schema: originalSchema, formData, intl, blocksConfig, navRoot, contentType, }: {
|
|
25
25
|
schema: any;
|
|
26
26
|
formData: any;
|
|
27
27
|
intl: any;
|
|
28
|
-
blocksConfig?: import("@plone/
|
|
28
|
+
blocksConfig?: import("@plone/types").BlocksConfigData;
|
|
29
29
|
navRoot: any;
|
|
30
30
|
contentType: any;
|
|
31
31
|
}): any;
|
|
32
|
-
export function withVariationSchemaEnhancer(FormComponent: any): (props: any) => JSX.Element;
|
|
32
|
+
export function withVariationSchemaEnhancer(FormComponent: any): (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
export namespace EMPTY_STYLES_SCHEMA {
|
|
34
34
|
let fieldsets: {
|
|
35
35
|
id: string;
|
|
@@ -25,13 +25,11 @@ declare const HelmetExport: {
|
|
|
25
25
|
mapArrayTypeChildrenToProps(arrayTypeChildren: any, newProps: any): any;
|
|
26
26
|
warnOnInvalidChildren(child: any, nestedChildren: any): true | void;
|
|
27
27
|
mapChildrenToProps(children: any, newProps: any): any;
|
|
28
|
-
render(): JSX.Element;
|
|
29
|
-
context:
|
|
28
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
context: unknown;
|
|
30
30
|
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
31
31
|
forceUpdate(callback?: () => void): void;
|
|
32
|
-
readonly props: Readonly<any
|
|
33
|
-
children?: any;
|
|
34
|
-
}>;
|
|
32
|
+
readonly props: Readonly<any>;
|
|
35
33
|
state: Readonly<any>;
|
|
36
34
|
refs: {
|
|
37
35
|
[key: string]: React.ReactInstance;
|
|
@@ -72,13 +70,11 @@ declare const HelmetExport: {
|
|
|
72
70
|
mapArrayTypeChildrenToProps(arrayTypeChildren: any, newProps: any): any;
|
|
73
71
|
warnOnInvalidChildren(child: any, nestedChildren: any): true | void;
|
|
74
72
|
mapChildrenToProps(children: any, newProps: any): any;
|
|
75
|
-
render(): JSX.Element;
|
|
76
|
-
context:
|
|
73
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
context: unknown;
|
|
77
75
|
setState<K extends string | number | symbol>(state: any, callback?: () => void): void;
|
|
78
76
|
forceUpdate(callback?: () => void): void;
|
|
79
|
-
readonly props: Readonly<any
|
|
80
|
-
children?: any;
|
|
81
|
-
}>;
|
|
77
|
+
readonly props: Readonly<any>;
|
|
82
78
|
state: Readonly<any>;
|
|
83
79
|
refs: {
|
|
84
80
|
[key: string]: React.ReactInstance;
|