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 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
@@ -29,7 +29,8 @@
29
29
  "options": {
30
30
  "toc": false,
31
31
  "anchorClassName": "headerlink",
32
- "anchorLinkSymbol": "#"
32
+ "anchorLinkSymbol": "#",
33
+ "anchorLinkSpace": false
33
34
  }
34
35
  }
35
36
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umberto",
3
- "version": "10.0.0",
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.5",
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.0",
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
@@ -9,6 +9,10 @@ const KNOWN_BADGES = {
9
9
  premium: {
10
10
  name: 'premium',
11
11
  label: 'Premium feature'
12
+ },
13
+ experimental: {
14
+ name: 'experiment',
15
+ label: 'Experimental feature'
12
16
  }
13
17
  };
14
18
 
@@ -28,6 +28,10 @@
28
28
  --callout-variant-color: var(--color-success-500);
29
29
  }
30
30
 
31
+ &--cyan {
32
+ --callout-variant-color: var(--color-cyan-600);
33
+ }
34
+
31
35
  &__title {
32
36
  position: absolute;
33
37
  left: calc(var(--font-size-lg) * -0.5 - 1px);
@@ -65,6 +65,12 @@ mixin callout({ variant })
65
65
  icon: 'close-circle',
66
66
  title: 'Caution',
67
67
  role: 'alert'
68
+ },
69
+ experimental: {
70
+ className: 'c-callout--cyan',
71
+ icon: 'experiment',
72
+ title: 'Experimental',
73
+ role: 'note'
68
74
  }
69
75
  };
70
76
 
@@ -1,7 +1,11 @@
1
1
  @use 'sass:list';
2
2
 
3
3
  @mixin a11y-focus-ring-outline($inset: false) {
4
- $inset-value: if($inset, 'inset', '');
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};