umberto 10.0.0 → 10.1.0
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 +12 -11
- package/hexo-config.json +2 -1
- package/package.json +3 -3
- package/scripts/filter/before-post-render/gloria/prerender-xml-pug-components.cjs +2 -1
- package/scripts/utils/normalizebadges.cjs +4 -0
- package/themes/umberto/layout/gloria/_components/callout/_style.scss +4 -0
- package/themes/umberto/layout/gloria/_components/callout/index.pug +6 -0
- package/themes/umberto/src/gloria/css/a11y/_mixins.scss +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
## [10.1.0](https://github.com/cksource/umberto/compare/v10.0.0...v10.1.0) (March 4, 2026)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add support for experimental features in the callout component and in the badges normalization script.
|
|
9
|
+
|
|
10
|
+
### Bug fixes
|
|
11
|
+
|
|
12
|
+
* Fixed the deprecation warning regarding the `Sass if() syntax` thrown during building docs.
|
|
13
|
+
* Disabled inserting a space between the anchor link and heading when converting a document from Markdown to HTML.
|
|
14
|
+
|
|
15
|
+
|
|
4
16
|
## [10.0.0](https://github.com/cksource/umberto/compare/v9.4.0...v10.0.0) (February 16, 2026)
|
|
5
17
|
|
|
6
18
|
### BREAKING CHANGES
|
|
@@ -51,17 +63,6 @@ Changelog
|
|
|
51
63
|
* Fix crashes of Table of Contents on some pages where headings are not placed in expected HTML structure.
|
|
52
64
|
* No longer stop building of the document when invalid links are found during link validation if some parts of the documentation are skipped (API, SDK, Guides).
|
|
53
65
|
|
|
54
|
-
|
|
55
|
-
## [9.1.3](https://github.com/cksource/umberto/compare/v9.1.2...v9.1.3) (December 19, 2025)
|
|
56
|
-
|
|
57
|
-
### Bug fixes
|
|
58
|
-
|
|
59
|
-
* Fixed the conflict where typing the forward slash in the Kapa widget would trigger the Algolia search.
|
|
60
|
-
|
|
61
|
-
### Other changes
|
|
62
|
-
|
|
63
|
-
* Added CKBox (`CKBOX_VERSION`) and CKEditor 5 (`CKEDITOR_VERSION`) versions to events sent to Sentry integration.
|
|
64
|
-
|
|
65
66
|
---
|
|
66
67
|
|
|
67
68
|
To see all releases, visit the [release page](https://github.com/cksource/umberto/releases).
|
package/hexo-config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umberto",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"description": "CKSource Documentation builder",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"hexo-generator-category": "^2.0.0",
|
|
34
34
|
"hexo-generator-index": "^4.0.0",
|
|
35
35
|
"hexo-generator-tag": "^2.0.0",
|
|
36
|
-
"hexo-renderer-markdown-it-plus": "^1.0.
|
|
36
|
+
"hexo-renderer-markdown-it-plus": "^1.0.6",
|
|
37
37
|
"hexo-renderer-pug": "^3.0.0",
|
|
38
38
|
"htmlparser2": "^10.0.0",
|
|
39
39
|
"javascript-stringify": "^2.1.0",
|
|
40
40
|
"jquery": "~3.7.1",
|
|
41
41
|
"js-beautify": "^1.14.4",
|
|
42
42
|
"lodash": "^4.17.21",
|
|
43
|
-
"markdown-it": "^14.1.
|
|
43
|
+
"markdown-it": "^14.1.1",
|
|
44
44
|
"markdown-it-expand-tabs": "^1.0.13",
|
|
45
45
|
"markdown-it-toc-and-anchor": "^4.2.0",
|
|
46
46
|
"medium-zoom": "^1.0.6",
|
|
@@ -65,7 +65,8 @@ const PATTERN_ELEMENTS = [
|
|
|
65
65
|
attributesMapper: ( { attributes } ) => {
|
|
66
66
|
const variants = [
|
|
67
67
|
'info', 'warning', 'error', 'success',
|
|
68
|
-
'note', 'tip', 'important', 'caution'
|
|
68
|
+
'note', 'tip', 'important', 'caution',
|
|
69
|
+
'experimental'
|
|
69
70
|
];
|
|
70
71
|
|
|
71
72
|
// First check if variant is directly specified
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
@use 'sass:list';
|
|
2
2
|
|
|
3
3
|
@mixin a11y-focus-ring-outline($inset: false) {
|
|
4
|
-
$inset-value:
|
|
4
|
+
$inset-value: '';
|
|
5
|
+
|
|
6
|
+
@if $inset {
|
|
7
|
+
$inset-value: 'inset';
|
|
8
|
+
}
|
|
5
9
|
|
|
6
10
|
outline: 0;
|
|
7
11
|
box-shadow: 0 0 0 .2rem var(--a11y-focus-ring-color, color-mix(in srgb, var(--color-primary-500) 20%, transparent)) #{$inset-value};
|