@plone/volto 19.0.0-alpha.3 → 19.0.0-alpha.5

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 (108) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +0 -2
  3. package/cypress/support/commands.js +13 -6
  4. package/locales/af.json +1 -1
  5. package/locales/ar.json +1 -1
  6. package/locales/bg.json +1 -1
  7. package/locales/bn.json +1 -1
  8. package/locales/ca/LC_MESSAGES/volto.po +16 -2
  9. package/locales/ca.json +1 -1
  10. package/locales/cs.json +1 -1
  11. package/locales/cy.json +1 -1
  12. package/locales/da.json +1 -1
  13. package/locales/de/LC_MESSAGES/volto.po +19 -5
  14. package/locales/de.json +1 -1
  15. package/locales/el.json +1 -1
  16. package/locales/en/LC_MESSAGES/volto.po +16 -2
  17. package/locales/en.json +1 -1
  18. package/locales/en_AU.json +1 -1
  19. package/locales/en_GB.json +1 -1
  20. package/locales/eo.json +1 -1
  21. package/locales/es/LC_MESSAGES/volto.po +16 -2
  22. package/locales/es.json +1 -1
  23. package/locales/et.json +1 -1
  24. package/locales/eu/LC_MESSAGES/volto.po +16 -2
  25. package/locales/eu.json +1 -1
  26. package/locales/fa.json +1 -1
  27. package/locales/fi/LC_MESSAGES/volto.po +16 -2
  28. package/locales/fi.json +1 -1
  29. package/locales/fr/LC_MESSAGES/volto.po +16 -2
  30. package/locales/fr.json +1 -1
  31. package/locales/fu.json +1 -1
  32. package/locales/gl.json +1 -1
  33. package/locales/he.json +1 -1
  34. package/locales/hi/LC_MESSAGES/volto.po +16 -2
  35. package/locales/hi.json +1 -1
  36. package/locales/hr.json +1 -1
  37. package/locales/hu.json +1 -1
  38. package/locales/hy.json +1 -1
  39. package/locales/id.json +1 -1
  40. package/locales/it/LC_MESSAGES/volto.po +16 -2
  41. package/locales/it.json +1 -1
  42. package/locales/ja/LC_MESSAGES/volto.po +16 -2
  43. package/locales/ja.json +1 -1
  44. package/locales/ka.json +1 -1
  45. package/locales/kn.json +1 -1
  46. package/locales/ko.json +1 -1
  47. package/locales/lt.json +1 -1
  48. package/locales/lv.json +1 -1
  49. package/locales/mi.json +1 -1
  50. package/locales/mk.json +1 -1
  51. package/locales/my.json +1 -1
  52. package/locales/nb_NO.json +1 -1
  53. package/locales/nl/LC_MESSAGES/volto.po +16 -2
  54. package/locales/nl.json +1 -1
  55. package/locales/nn.json +1 -1
  56. package/locales/pl.json +1 -1
  57. package/locales/pt/LC_MESSAGES/volto.po +16 -2
  58. package/locales/pt.json +1 -1
  59. package/locales/pt_BR/LC_MESSAGES/volto.po +16 -2
  60. package/locales/pt_BR.json +1 -1
  61. package/locales/rm.json +1 -1
  62. package/locales/ro/LC_MESSAGES/volto.po +16 -2
  63. package/locales/ro.json +1 -1
  64. package/locales/ru/LC_MESSAGES/volto.po +16 -2
  65. package/locales/ru.json +1 -1
  66. package/locales/sk.json +1 -1
  67. package/locales/sl.json +1 -1
  68. package/locales/sm.json +1 -1
  69. package/locales/sq.json +1 -1
  70. package/locales/sr.json +1 -1
  71. package/locales/sr@cyrl.json +1 -1
  72. package/locales/sr@latn.json +1 -1
  73. package/locales/sv.json +1 -1
  74. package/locales/ta.json +1 -1
  75. package/locales/te.json +1 -1
  76. package/locales/th.json +1 -1
  77. package/locales/to.json +1 -1
  78. package/locales/tr.json +1 -1
  79. package/locales/uk.json +1 -1
  80. package/locales/vi.json +1 -1
  81. package/locales/volto.pot +17 -3
  82. package/locales/zh_CN/LC_MESSAGES/volto.po +16 -2
  83. package/locales/zh_CN.json +1 -1
  84. package/locales/zh_Hant.json +1 -1
  85. package/locales/zh_Hant_HK.json +1 -1
  86. package/package.json +9 -9
  87. package/src/components/manage/Blocks/Image/Edit.jsx +5 -1
  88. package/src/components/manage/Blocks/Search/SearchBlockView.jsx +21 -4
  89. package/src/components/manage/Blocks/Teaser/Data.jsx +1 -1
  90. package/src/components/manage/Contents/ContentsItem.jsx +1 -1
  91. package/src/components/manage/Form/InlineForm.jsx +2 -2
  92. package/src/components/manage/UniversalLink/UniversalLink.tsx +1 -0
  93. package/src/components/manage/Widgets/ImageWidget.jsx +159 -33
  94. package/src/components/manage/Widgets/RegistryImageWidget.test.jsx +3 -2
  95. package/src/components/manage/Widgets/SelectAutoComplete.jsx +29 -12
  96. package/src/config/ControlPanels.js +1 -0
  97. package/src/config/index.js +1 -1
  98. package/src/express-middleware/devproxy.js +7 -2
  99. package/src/helpers/Html/Html.jsx +9 -1
  100. package/src/helpers/Url/bulkFlattenToAppURL.test.ts +122 -0
  101. package/src/helpers/Url/bulkFlattenToAppURL.ts +24 -0
  102. package/src/middleware/storeProtectLoadUtils.test.js +3 -3
  103. package/theme/themes/pastanaga/extras/blocks.less +19 -0
  104. package/types/components/manage/Widgets/ImageWidget.d.ts +41 -1
  105. package/types/components/manage/Widgets/RecurrenceWidget/Utils.d.ts +12 -18
  106. package/types/helpers/Helmet/Helmet.d.ts +1 -1
  107. package/types/helpers/Url/bulkFlattenToAppURL.d.ts +5 -0
  108. package/cypress/downloads/downloads.html +0 -0
@@ -19,36 +19,30 @@ export namespace FREQUENCES {
19
19
  }
20
20
  export namespace OPTIONS {
21
21
  let frequences: {
22
- [x: string]: {
22
+ [FREQUENCES.DAILY]: {
23
23
  rrule: import("rrule").Frequency;
24
24
  interval: boolean;
25
- byday?: undefined;
26
- bymonth?: undefined;
27
- byyear?: undefined;
28
- } | {
25
+ };
26
+ [FREQUENCES.MONDAYFRIDAY]: {
27
+ rrule: import("rrule").Frequency;
28
+ };
29
+ [FREQUENCES.WEEKDAYS]: {
29
30
  rrule: import("rrule").Frequency;
30
- interval?: undefined;
31
- byday?: undefined;
32
- bymonth?: undefined;
33
- byyear?: undefined;
34
- } | {
31
+ };
32
+ [FREQUENCES.WEEKLY]: {
35
33
  rrule: import("rrule").Frequency;
36
34
  interval: boolean;
37
35
  byday: boolean;
38
- bymonth?: undefined;
39
- byyear?: undefined;
40
- } | {
36
+ };
37
+ [FREQUENCES.MONTHLY]: {
41
38
  rrule: import("rrule").Frequency;
42
39
  interval: boolean;
43
40
  bymonth: boolean;
44
- byday?: undefined;
45
- byyear?: undefined;
46
- } | {
41
+ };
42
+ [FREQUENCES.YEARLY]: {
47
43
  rrule: import("rrule").Frequency;
48
44
  interval: boolean;
49
45
  byyear: boolean;
50
- byday?: undefined;
51
- bymonth?: undefined;
52
46
  };
53
47
  };
54
48
  }
@@ -132,7 +132,7 @@ declare const HelmetExport: {
132
132
  };
133
133
  peek: any;
134
134
  rewind: () => any;
135
- canUseDOM: any;
135
+ set canUseDOM(canUseDOM: any);
136
136
  contextType?: React.Context<any> | undefined;
137
137
  };
138
138
  import React from 'react';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * The definitive flattenToAppURL function
3
+ * Flattens all the URLs in the response to the current app URL (or internalApiPath if set).
4
+ */
5
+ export declare function bulkFlattenToAppURL<T>(data: T): T;
Binary file