@plone/volto 17.0.0-alpha.6 → 17.0.0-alpha.8

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 (123) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +58 -0
  3. package/locales/ca/LC_MESSAGES/volto.po +146 -0
  4. package/locales/ca.json +1 -1
  5. package/locales/de/LC_MESSAGES/volto.po +146 -0
  6. package/locales/de.json +1 -1
  7. package/locales/en/LC_MESSAGES/volto.po +146 -0
  8. package/locales/en.json +1 -1
  9. package/locales/es/LC_MESSAGES/volto.po +146 -0
  10. package/locales/es.json +1 -1
  11. package/locales/eu/LC_MESSAGES/volto.po +146 -0
  12. package/locales/eu.json +1 -1
  13. package/locales/fi/LC_MESSAGES/volto.po +4762 -0
  14. package/locales/fi.json +1 -1
  15. package/locales/fr/LC_MESSAGES/volto.po +146 -0
  16. package/locales/fr.json +1 -1
  17. package/locales/it/LC_MESSAGES/volto.po +146 -0
  18. package/locales/it.json +1 -1
  19. package/locales/ja/LC_MESSAGES/volto.po +146 -0
  20. package/locales/ja.json +1 -1
  21. package/locales/nl/LC_MESSAGES/volto.po +801 -643
  22. package/locales/nl.json +1 -1
  23. package/locales/pt/LC_MESSAGES/volto.po +146 -0
  24. package/locales/pt.json +1 -1
  25. package/locales/pt_BR/LC_MESSAGES/volto.po +146 -0
  26. package/locales/pt_BR.json +1 -1
  27. package/locales/ro/LC_MESSAGES/volto.po +146 -0
  28. package/locales/ro.json +1 -1
  29. package/locales/volto.pot +147 -1
  30. package/locales/zh_CN/LC_MESSAGES/volto.po +146 -0
  31. package/locales/zh_CN.json +1 -1
  32. package/package.json +1 -1
  33. package/packages/volto-slate/build/messages/src/blocks/Table/TableBlockEdit.json +1 -1
  34. package/packages/volto-slate/build/messages/src/blocks/Text/DefaultTextBlockEditor.json +1 -1
  35. package/packages/volto-slate/build/messages/src/blocks/Text/DetachedTextBlockEditor.json +1 -1
  36. package/packages/volto-slate/build/messages/src/blocks/Text/SlashMenu.json +1 -1
  37. package/packages/volto-slate/build/messages/src/editor/plugins/AdvancedLink/index.json +1 -1
  38. package/packages/volto-slate/build/messages/src/editor/plugins/Link/index.json +1 -1
  39. package/packages/volto-slate/build/messages/src/editor/plugins/Table/index.json +1 -1
  40. package/packages/volto-slate/build/messages/src/elementEditor/messages.json +1 -1
  41. package/packages/volto-slate/build/messages/src/widgets/HtmlSlateWidget.json +1 -1
  42. package/packages/volto-slate/build/messages/src/widgets/RichTextWidgetView.json +1 -1
  43. package/packages/volto-slate/package.json +1 -1
  44. package/packages/volto-slate/src/blocks/Text/SlashMenu.jsx +4 -3
  45. package/packages/volto-slate/src/editor/deserialize.js +0 -1
  46. package/razzle.config.js +5 -0
  47. package/src/actions/index.js +6 -0
  48. package/src/actions/language/language.js +8 -8
  49. package/src/actions/relations/rebuild.js +25 -0
  50. package/src/actions/relations/relations.js +86 -0
  51. package/src/actions/relations/relations.test.js +15 -0
  52. package/src/components/index.js +1 -0
  53. package/src/components/manage/Add/Add.jsx +2 -2
  54. package/src/components/manage/BlockChooser/BlockChooser.jsx +8 -3
  55. package/src/components/manage/BlockChooser/BlockChooser.test.jsx +5 -0
  56. package/src/components/manage/Blocks/Search/components/DateRangeFacet.jsx +4 -1
  57. package/src/components/manage/Contents/Contents.jsx +5 -1
  58. package/src/components/manage/Contents/ContentsItem.jsx +6 -0
  59. package/src/components/manage/Controlpanels/Controlpanels.jsx +9 -0
  60. package/src/components/manage/Controlpanels/Relations/BrokenRelations.jsx +66 -0
  61. package/src/components/manage/Controlpanels/Relations/Relations.jsx +114 -0
  62. package/src/components/manage/Controlpanels/Relations/RelationsListing.jsx +479 -0
  63. package/src/components/manage/Controlpanels/Relations/RelationsMatrix.jsx +531 -0
  64. package/src/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.jsx +3 -3
  65. package/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx +51 -82
  66. package/src/components/manage/Controlpanels/Users/UserGroupMembershipMatrix.jsx +79 -75
  67. package/src/components/manage/Multilingual/CreateTranslation.jsx +2 -2
  68. package/src/components/manage/Multilingual/TranslationObject.jsx +4 -3
  69. package/src/components/manage/Preferences/PersonalPreferences.jsx +2 -2
  70. package/src/components/manage/Toast/Toast.jsx +1 -1
  71. package/src/components/manage/Toolbar/Types.jsx +2 -2
  72. package/src/components/manage/Widgets/DatetimeWidget.jsx +9 -5
  73. package/src/components/manage/Widgets/RecurrenceWidget/ByDayField.jsx +2 -1
  74. package/src/components/manage/Widgets/RecurrenceWidget/MonthOfTheYearField.jsx +2 -1
  75. package/src/components/manage/Widgets/RecurrenceWidget/Occurences.jsx +2 -1
  76. package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +7 -2
  77. package/src/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthField.jsx +2 -1
  78. package/src/components/theme/Footer/Footer.jsx +2 -13
  79. package/src/components/theme/LanguageSelector/LanguageSelector.js +8 -3
  80. package/src/components/theme/Logo/Logo.jsx +2 -1
  81. package/src/components/theme/MultilingualRedirector/MultilingualRedirector.jsx +2 -2
  82. package/src/components/theme/Navigation/NavItem.jsx +4 -2
  83. package/src/components/theme/Sitemap/Sitemap.jsx +5 -3
  84. package/src/components/theme/View/EventDatesInfo.jsx +2 -1
  85. package/src/components/theme/Widgets/DateWidget.jsx +2 -1
  86. package/src/components/theme/Widgets/DatetimeWidget.jsx +2 -1
  87. package/src/components/theme/Widgets/RelationsWidget.jsx +13 -11
  88. package/src/config/ControlPanels.js +2 -0
  89. package/src/constants/ActionTypes.js +4 -0
  90. package/src/constants/Languages.js +8 -4
  91. package/src/helpers/Html/Html.jsx +3 -1
  92. package/src/helpers/Html/Html.test.jsx +5 -0
  93. package/src/helpers/MessageLabels/MessageLabels.js +72 -0
  94. package/src/helpers/Utils/Utils.js +21 -9
  95. package/src/helpers/Utils/Utils.test.js +4 -4
  96. package/src/helpers/index.js +5 -2
  97. package/src/middleware/api.js +7 -3
  98. package/src/reducers/actions/actions.js +1 -1
  99. package/src/reducers/breadcrumbs/breadcrumbs.js +1 -1
  100. package/src/reducers/index.js +2 -0
  101. package/src/reducers/navigation/navigation.js +1 -1
  102. package/src/reducers/relations/relations.js +173 -0
  103. package/src/reducers/types/types.js +1 -1
  104. package/src/routes.js +5 -0
  105. package/src/server.jsx +28 -23
  106. package/theme/themes/pastanaga/extras/userscontrolpanel.less +99 -76
  107. package/.changelog.draft +0 -33
  108. package/.editorconfig +0 -36
  109. package/.storybook/main.js +0 -127
  110. package/.storybook/manager.js +0 -15
  111. package/.storybook/preview.js +0 -21
  112. package/.storybook/static/previewImage.svg +0 -48
  113. package/.vale.ini +0 -10
  114. package/.yarnrc.yml +0 -5
  115. package/jsdoc.json +0 -16
  116. package/netlify.toml +0 -5
  117. package/pyvenv.cfg +0 -3
  118. package/share/man/man1/ttx.1 +0 -225
  119. package/styles/Vocab/Base/accept.txt +0 -0
  120. package/styles/Vocab/Base/reject.txt +0 -0
  121. package/styles/Vocab/Plone/accept.txt +0 -10
  122. package/styles/Vocab/Plone/reject.txt +0 -5
  123. package/towncrier.toml +0 -33
@@ -1,225 +0,0 @@
1
- .Dd May 18, 2004
2
- .\" ttx is not specific to any OS, but contrary to what groff_mdoc(7)
3
- .\" seems to imply, entirely omitting the .Os macro causes 'BSD' to
4
- .\" be used, so I give a zero-width space as its argument.
5
- .Os \&
6
- .\" The "FontTools Manual" argument apparently has no effect in
7
- .\" groff 1.18.1. I think it is a bug in the -mdoc groff package.
8
- .Dt TTX 1 "FontTools Manual"
9
- .Sh NAME
10
- .Nm ttx
11
- .Nd tool for manipulating TrueType and OpenType fonts
12
- .Sh SYNOPSIS
13
- .Nm
14
- .Bk
15
- .Op Ar option ...
16
- .Ek
17
- .Bk
18
- .Ar file ...
19
- .Ek
20
- .Sh DESCRIPTION
21
- .Nm
22
- is a tool for manipulating TrueType and OpenType fonts. It can convert
23
- TrueType and OpenType fonts to and from an
24
- .Tn XML Ns -based format called
25
- .Tn TTX .
26
- .Tn TTX
27
- files have a
28
- .Ql .ttx
29
- extension.
30
- .Pp
31
- For each
32
- .Ar file
33
- argument it is given,
34
- .Nm
35
- detects whether it is a
36
- .Ql .ttf ,
37
- .Ql .otf
38
- or
39
- .Ql .ttx
40
- file and acts accordingly: if it is a
41
- .Ql .ttf
42
- or
43
- .Ql .otf
44
- file, it generates a
45
- .Ql .ttx
46
- file; if it is a
47
- .Ql .ttx
48
- file, it generates a
49
- .Ql .ttf
50
- or
51
- .Ql .otf
52
- file.
53
- .Pp
54
- By default, every output file is created in the same directory as the
55
- corresponding input file and with the same name except for the
56
- extension, which is substituted appropriately.
57
- .Nm
58
- never overwrites existing files; if necessary, it appends a suffix to
59
- the output file name before the extension, as in
60
- .Pa Arial#1.ttf .
61
- .Ss "General options"
62
- .Bl -tag -width ".Fl t Ar table"
63
- .It Fl h
64
- Display usage information.
65
- .It Fl d Ar dir
66
- Write the output files to directory
67
- .Ar dir
68
- instead of writing every output file to the same directory as the
69
- corresponding input file.
70
- .It Fl o Ar file
71
- Write the output to
72
- .Ar file
73
- instead of writing it to the same directory as the
74
- corresponding input file.
75
- .It Fl v
76
- Be verbose. Write more messages to the standard output describing what
77
- is being done.
78
- .It Fl a
79
- Allow virtual glyphs ID's on compile or decompile.
80
- .El
81
- .Ss "Dump options"
82
- The following options control the process of dumping font files
83
- (TrueType or OpenType) to
84
- .Tn TTX
85
- files.
86
- .Bl -tag -width ".Fl t Ar table"
87
- .It Fl l
88
- List table information. Instead of dumping the font to a
89
- .Tn TTX
90
- file, display minimal information about each table.
91
- .It Fl t Ar table
92
- Dump table
93
- .Ar table .
94
- This option may be given multiple times to dump several tables at
95
- once. When not specified, all tables are dumped.
96
- .It Fl x Ar table
97
- Exclude table
98
- .Ar table
99
- from the list of tables to dump. This option may be given multiple
100
- times to exclude several tables from the dump. The
101
- .Fl t
102
- and
103
- .Fl x
104
- options are mutually exclusive.
105
- .It Fl s
106
- Split tables. Dump each table to a separate
107
- .Tn TTX
108
- file and write (under the name that would have been used for the output
109
- file if the
110
- .Fl s
111
- option had not been given) one small
112
- .Tn TTX
113
- file containing references to the individual table dump files. This
114
- file can be used as input to
115
- .Nm
116
- as long as the referenced files can be found in the same directory.
117
- .It Fl i
118
- .\" XXX: I suppose OpenType programs (exist and) are also affected.
119
- Don't disassemble TrueType instructions. When this option is specified,
120
- all TrueType programs (glyph programs, the font program and the
121
- pre-program) are written to the
122
- .Tn TTX
123
- file as hexadecimal data instead of
124
- assembly. This saves some time and results in smaller
125
- .Tn TTX
126
- files.
127
- .It Fl y Ar n
128
- When decompiling a TrueType Collection (TTC) file,
129
- decompile font number
130
- .Ar n ,
131
- starting from 0.
132
- .El
133
- .Ss "Compilation options"
134
- The following options control the process of compiling
135
- .Tn TTX
136
- files into font files (TrueType or OpenType):
137
- .Bl -tag -width ".Fl t Ar table"
138
- .It Fl m Ar fontfile
139
- Merge the input
140
- .Tn TTX
141
- file
142
- .Ar file
143
- with
144
- .Ar fontfile .
145
- No more than one
146
- .Ar file
147
- argument can be specified when this option is used.
148
- .It Fl b
149
- Don't recalculate glyph bounding boxes. Use the values in the
150
- .Tn TTX
151
- file as is.
152
- .El
153
- .Sh "THE TTX FILE FORMAT"
154
- You can find some information about the
155
- .Tn TTX
156
- file format in
157
- .Pa documentation.html .
158
- In particular, you will find in that file the list of tables understood by
159
- .Nm
160
- and the relations between TrueType GlyphIDs and the glyph names used in
161
- .Tn TTX
162
- files.
163
- .Sh EXAMPLES
164
- In the following examples, all files are read from and written to the
165
- current directory. Additionally, the name given for the output file
166
- assumes in every case that it did not exist before
167
- .Nm
168
- was invoked.
169
- .Pp
170
- Dump the TrueType font contained in
171
- .Pa FreeSans.ttf
172
- to
173
- .Pa FreeSans.ttx :
174
- .Pp
175
- .Dl ttx FreeSans.ttf
176
- .Pp
177
- Compile
178
- .Pa MyFont.ttx
179
- into a TrueType or OpenType font file:
180
- .Pp
181
- .Dl ttx MyFont.ttx
182
- .Pp
183
- List the tables in
184
- .Pa FreeSans.ttf
185
- along with some information:
186
- .Pp
187
- .Dl ttx -l FreeSans.ttf
188
- .Pp
189
- Dump the
190
- .Sq cmap
191
- table from
192
- .Pa FreeSans.ttf
193
- to
194
- .Pa FreeSans.ttx :
195
- .Pp
196
- .Dl ttx -t cmap FreeSans.ttf
197
- .Sh NOTES
198
- On MS\-Windows and MacOS,
199
- .Nm
200
- is available as a graphical application to which files can be dropped.
201
- .Sh SEE ALSO
202
- .Pa documentation.html
203
- .Pp
204
- .Xr fontforge 1 ,
205
- .Xr ftinfo 1 ,
206
- .Xr gfontview 1 ,
207
- .Xr xmbdfed 1 ,
208
- .Xr Font::TTF 3pm
209
- .Sh AUTHORS
210
- .Nm
211
- was written by
212
- .An -nosplit
213
- .An "Just van Rossum" Aq just@letterror.com .
214
- .Pp
215
- This manual page was written by
216
- .An "Florent Rougon" Aq f.rougon@free.fr
217
- for the Debian GNU/Linux system based on the existing FontTools
218
- documentation. It may be freely used, modified and distributed without
219
- restrictions.
220
- .\" For Emacs:
221
- .\" Local Variables:
222
- .\" fill-column: 72
223
- .\" sentence-end: "[.?!][]\"')}]*\\($\\| $\\| \\| \\)[ \n]*"
224
- .\" sentence-end-double-space: t
225
- .\" End:
File without changes
File without changes
@@ -1,10 +0,0 @@
1
- `plone.restapi`
2
- `plone.volto`
3
- npm
4
- Plone
5
- Razzle
6
- RichText
7
- Volto
8
- Zope
9
- JavaScript
10
- NodeJS
@@ -1,5 +0,0 @@
1
- node
2
- nodejs
3
- javascript
4
- js
5
- Javascript
package/towncrier.toml DELETED
@@ -1,33 +0,0 @@
1
- [tool.towncrier]
2
- filename = "CHANGELOG.md"
3
- directory = "news/"
4
- title_format = "## {version} ({project_date})"
5
- underlines = ["", "", ""]
6
- template = "packages/scripts/templates/towncrier_template.jinja"
7
- start_string = "<!-- towncrier release notes start -->\n"
8
- issue_format = "[#{issue}](https://github.com/plone/volto/issues/{issue})"
9
-
10
- [[tool.towncrier.type]]
11
- directory = "breaking"
12
- name = "Breaking"
13
- showcontent = true
14
-
15
- [[tool.towncrier.type]]
16
- directory = "feature"
17
- name = "Feature"
18
- showcontent = true
19
-
20
- [[tool.towncrier.type]]
21
- directory = "bugfix"
22
- name = "Bugfix"
23
- showcontent = true
24
-
25
- [[tool.towncrier.type]]
26
- directory = "internal"
27
- name = "Internal"
28
- showcontent = true
29
-
30
- [[tool.towncrier.type]]
31
- directory = "documentation"
32
- name = "Documentation"
33
- showcontent = true