umberto 5.0.0 → 5.0.2

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 CHANGED
@@ -1,6 +1,18 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## [5.0.2](https://github.com/cksource/umberto/compare/v5.0.1...v5.0.2) (2025-03-24)
5
+
6
+ ### Bug fixes
7
+
8
+ * Improve handling CKEditor 5 icons on the API pages. ([commit](https://github.com/cksource/umberto/commit/89f1856de2fcbd99dbdf24d17cdd05b89a08a147))
9
+
10
+
11
+ ## [5.0.1](https://github.com/cksource/umberto/compare/v5.0.0...v5.0.1) (2025-03-13)
12
+
13
+ Internal changes only (updated dependencies, documentation, etc.).
14
+
15
+
4
16
  ## [5.0.0](https://github.com/cksource/umberto/compare/v4.4.2...v5.0.0) (2025-03-12)
5
17
 
6
18
  ### BREAKING CHANGES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umberto",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "CKSource Documentation builder",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -172,6 +172,25 @@ class TypedocConverter {
172
172
  * @param {String|null} [parentName=null]
173
173
  */
174
174
  _convertChild( reflection, parentName = null ) {
175
+ // For unknown reasons, TypeScript or TypeDoc treats all CKEditor 5 icons (except for the first one)
176
+ // as a reference to the first exported member by a module.
177
+ // We map them manually to display a proper list of the available doclets.
178
+ // See: https://github.com/cksource/ckeditor5-internal/issues/3993.
179
+ if ( parentName === 'module:icons/index' && reflection.kindString === 'Reference' ) {
180
+ reflection = {
181
+ ...reflection,
182
+ kind: 32,
183
+ kindString: 'Variable',
184
+ flags: {
185
+ isConst: true
186
+ },
187
+ type: {
188
+ type: 'intrinsic',
189
+ name: 'string'
190
+ }
191
+ };
192
+ }
193
+
175
194
  const parser = this._parsers.find( parser => parser.canParse( reflection ) );
176
195
 
177
196
  let doclets;