@plone/volto 17.0.0-alpha.17 → 17.0.0-alpha.18

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.
Files changed (35) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +37 -0
  3. package/cypress/support/commands.js +17 -0
  4. package/locales/it/LC_MESSAGES/volto.po +1 -1
  5. package/locales/it.json +1 -1
  6. package/package.json +2 -2
  7. package/packages/volto-slate/package.json +1 -1
  8. package/packages/volto-slate/src/blocks/Table/TableBlockEdit.jsx +21 -212
  9. package/packages/volto-slate/src/blocks/Table/schema.js +122 -0
  10. package/packages/volto-slate/src/editor/plugins/StyleMenu/utils.js +14 -5
  11. package/packages/volto-slate/src/utils/blocks.js +7 -0
  12. package/packages/volto-slate/src/widgets/RichTextWidget.jsx +15 -8
  13. package/src/components/manage/Blocks/Search/components/Facets.jsx +6 -2
  14. package/src/components/manage/Blocks/ToC/Schema.jsx +5 -1
  15. package/src/components/manage/Blocks/ToC/variations/HorizontalMenu.jsx +142 -8
  16. package/src/components/theme/Breadcrumbs/Breadcrumbs.jsx +52 -99
  17. package/src/components/theme/Breadcrumbs/Breadcrumbs.stories.jsx +14 -13
  18. package/src/components/theme/Comments/CommentEditModal.jsx +63 -115
  19. package/src/components/theme/ContactForm/ContactForm.jsx +108 -192
  20. package/src/components/theme/ContactForm/ContactForm.stories.jsx +1 -1
  21. package/src/components/theme/ContactForm/ContactForm.test.jsx +2 -3
  22. package/src/components/theme/Login/Login.jsx +1 -1
  23. package/src/components/theme/SearchWidget/SearchWidget.jsx +38 -98
  24. package/src/components/theme/View/LinkView.jsx +51 -79
  25. package/src/hooks/client/useClient.js +11 -0
  26. package/src/hooks/index.js +1 -0
  27. package/theme/themes/pastanaga/extras/main.less +2 -1
  28. package/theme/themes/pastanaga/extras/toc.less +29 -0
  29. package/news/4351.bugfix +0 -1
  30. package/news/4725.bugfix +0 -1
  31. package/news/4932.bugfix +0 -1
  32. package/news/4941.documentation +0 -1
  33. package/news/4951.breaking +0 -1
  34. package/news/4962.feature +0 -1
  35. package/news/4964.bugfix +0 -1
@@ -25,7 +25,7 @@ body {
25
25
  &.has-toolbar-menu-open,
26
26
  &.has-mobile-menu-open {
27
27
  // The body scroll locker when the toolbar or the mobile menu are active in mobile.
28
- @media only screen and (max-width: @largestMobileScreen) {
28
+ @media only screen and (max-width: @largestTabletScreen) {
29
29
  overflow: hidden;
30
30
  }
31
31
  }
@@ -667,5 +667,6 @@ body.has-toolbar-collapsed .mobile-menu {
667
667
  @import 'login';
668
668
  @import 'language-selector';
669
669
  @import 'views';
670
+ @import 'toc';
670
671
  @import 'grid.less';
671
672
  .loadUIOverrides();
@@ -0,0 +1,29 @@
1
+ .table-of-contents.horizontalMenu.sticky-toc {
2
+ position: sticky;
3
+ z-index: 1;
4
+ top: 0;
5
+ }
6
+
7
+ .table-of-contents.horizontalMenu .hidden {
8
+ z-index: -1;
9
+ pointer-events: none;
10
+ visibility: hidden;
11
+ }
12
+
13
+ .table-of-contents.horizontalMenu .hidden-dropdown {
14
+ display: none !important;
15
+ }
16
+
17
+ .table-of-contents.horizontalMenu .item.dropdown {
18
+ position: absolute !important;
19
+ right: 0;
20
+ }
21
+
22
+ .table-of-contents.horizontalMenu > .ui.menu {
23
+ position: relative;
24
+ }
25
+
26
+ .table-of-contents.horizontalMenu .item.dropdown .focused > a {
27
+ border: 2px solid black !important;
28
+ border-radius: 4px;
29
+ }
package/news/4351.bugfix DELETED
@@ -1 +0,0 @@
1
- Fix temporary rendering of folder contents while query results are loading. @davisagli
package/news/4725.bugfix DELETED
@@ -1 +0,0 @@
1
- Fix isBlacklisted method check for volto externalRoutes
package/news/4932.bugfix DELETED
@@ -1 +0,0 @@
1
- Add a marker in the props passed to `RenderBlocks` in the Grid block view @sneridagh
@@ -1 +0,0 @@
1
- Replace broken link for @albertcasado to use GitHub instead of Twitter. @stevepiercy
@@ -1 +0,0 @@
1
- Remove useToken & useContent hooks-@Tishasoumya-02
package/news/4962.feature DELETED
@@ -1 +0,0 @@
1
- Use container from component registry in content type views, if defined. @sneridagh
package/news/4964.bugfix DELETED
@@ -1 +0,0 @@
1
- Fix handling of overriden image in Teaser, improve in case that a custom image component is present. @sneridagh