umberto 4.2.4 → 4.2.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ ## [4.2.5](https://github.com/cksource/umberto/compare/v4.2.4...v4.2.5) (2024-07-25)
5
+
6
+ ### Other changes
7
+
8
+ * Fixed SASS deprecation warnings when compiling CSS files. Closes [#1200](https://github.com/cksource/umberto/issues/1200). ([commit](https://github.com/cksource/umberto/commit/5aa1aa949670f846dba02d94575a94b56a22179a))
9
+
10
+
4
11
  ## [4.2.4](https://github.com/cksource/umberto/compare/v4.2.3...v4.2.4) (2024-07-17)
5
12
 
6
13
  Internal changes only (updated dependencies, documentation, etc.).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umberto",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "description": "CKSource Documentation builder",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -2,6 +2,14 @@
2
2
  // For licensing, see LICENSE.md or http://ckeditor.com/license
3
3
 
4
4
  div.api-props-filter {
5
+ right: 0;
6
+ left: $u-sidebar-width;
7
+ padding-top: u-spacing( -1 );
8
+ margin-bottom: 0;
9
+ text-align: center;
10
+
11
+ @include u-sticky-filter;
12
+
5
13
  h4 {
6
14
  @include u-micro-header;
7
15
  }
@@ -25,14 +33,6 @@ div.api-props-filter {
25
33
  }
26
34
  }
27
35
 
28
- @include u-sticky-filter;
29
-
30
- right: 0;
31
- left: $u-sidebar-width;
32
- padding-top: u-spacing( -1 );
33
- margin-bottom: 0;
34
- text-align: center;
35
-
36
36
  &__inner {
37
37
  text-align: left;
38
38
  margin: 0 auto;
@@ -8,15 +8,14 @@
8
8
 
9
9
  .api-subheader {
10
10
  display: flex;
11
+ justify-content: space-between;
12
+ align-items: center;
13
+ margin-bottom: 20px;
11
14
 
12
15
  &.hidden-loading {
13
16
  display: none;
14
17
  }
15
18
 
16
- justify-content: space-between;
17
- align-items: center;
18
- margin-bottom: 20px;
19
-
20
19
  @include u-responsive-mobile {
21
20
  flex-wrap: wrap;
22
21
  }
@@ -46,6 +46,11 @@
46
46
 
47
47
  /* Public/Inherited/Mixed/Protected/Private/Deprecated Items filter. */
48
48
  .api-tree__filter {
49
+ text-align: center;
50
+ left: 0;
51
+ width: $u-sidebar-width;
52
+ border-right: 1px solid u-color( 'background-hue' );
53
+
49
54
  @include u-sticky-filter;
50
55
  @include u-unselectable;
51
56
 
@@ -53,11 +58,6 @@
53
58
  display: none;
54
59
  }
55
60
 
56
- text-align: center;
57
- left: 0;
58
- width: $u-sidebar-width;
59
- border-right: 1px solid u-color( 'background-hue' );
60
-
61
61
  input {
62
62
  display: none;
63
63
  }
@@ -140,16 +140,16 @@ ul.collapsing-list {
140
140
  }
141
141
 
142
142
  h3 {
143
+ margin-bottom: 0;
144
+ padding-top: 0;
145
+ width: 100%;
146
+
143
147
  @include u-baseline( 0 );
144
148
 
145
149
  code {
146
150
  font-weight: 400;
147
151
  }
148
152
 
149
- margin-bottom: 0;
150
- padding-top: 0;
151
- width: 100%;
152
-
153
153
  &:first-of-type {
154
154
  flex: 2;
155
155
  }
@@ -8,11 +8,13 @@ Note: there are also dedicated styles for API Tree and Guides & SDK Tree.
8
8
  See: `_api-tree.scss` and `_guide-sdk-tree.scss`. */
9
9
 
10
10
  .tree {
11
- @include u-unselectable;
11
+ list-style: none;
12
12
 
13
13
  // Make sure the filter never floats over the tree.
14
14
  padding-bottom: $u-line-height-base + em;
15
15
 
16
+ @include u-unselectable;
17
+
16
18
  // Generate styles for tree levels recursively.
17
19
  @include u-responsive-tablet-plus {
18
20
  @include levels( 1, 1 );
@@ -22,8 +24,6 @@ See: `_api-tree.scss` and `_guide-sdk-tree.scss`. */
22
24
  @include levels( 1, 0 );
23
25
  }
24
26
 
25
- list-style: none;
26
-
27
27
  &.guide-tree {
28
28
  opacity: 0; //prevents flickering when applying categories fold state
29
29
  }