just-the-docs 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/_sass/labels.scss +10 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c914f96a39d67612eb720be6798e3d98f66e6c30eb9897844857bb3eaa0c9de
4
- data.tar.gz: e0e87b2c3bfea07a57a850fa1dcac7aeed496fbb9254618312f18ecd37152cfe
3
+ metadata.gz: 986143230e171f827a5a5b1305f3e3f90483b528098811ea2abe8732dcf0ea55
4
+ data.tar.gz: f47ff09e5cbf500df3b411b496dd478a1e0f89d62daf01cab1ca7bb33a48940a
5
5
  SHA512:
6
- metadata.gz: 84f2f452bcbd0094849a076b9db382fac613ea4ca2584b1f754c8cfdcf449ea84aeb7264ed7b1f98ff3127500a5c038d93444294779a5119aa51cb160130e6b7
7
- data.tar.gz: 932fdf1cd13b62dd30ebbd507bfcb4661b81d549efed16e5ef0f61a1b3b0222668a97d5c1ac3057512f764ee8836d28e48f1962026f4de97f9b33bb153de95a6
6
+ metadata.gz: 38aa0de5e1e0d5c32c5769fdc4fc8cba569799c179688c755c4d33b84707a66e7546983d9e915677a74a2c57307e13c2436f62f9f4d21e4463bcee807bfeea5d
7
+ data.tar.gz: 31125488864c34d27ef32875b478f642cfdb9fac73131788b1933ac47a952ea3e842990dcc55c5c282eefa5b3b4261c848c727d10be80a75e6c403f0f98a7be8
data/CHANGELOG.md CHANGED
@@ -26,6 +26,18 @@ Docs changes in `main` that are *not* in the latest release:
26
26
 
27
27
  - N/A
28
28
 
29
+ ## Release v0.5.4
30
+
31
+ Hi all, this is a small patch release that only includes one change: fixing a style clash between Mermaid's labels and Just the Docs' labels.
32
+
33
+ *Note: for subsequent patch releases, we will omit migration instructions (for brevity). In all cases, immediate migration should be backwards-compatible. Refer to previous major or minor update instructions for more information.*
34
+
35
+ ### Bugfixes
36
+
37
+ - Fixed: Mermaid labels inheriting theme `.label` styling by [@mattxwang] in [#1278]
38
+
39
+ [#1278]: https://github.com/just-the-docs/just-the-docs/pull/1278
40
+
29
41
  ## Release v0.5.3
30
42
 
31
43
  Hi all, this is a minor patch release that only includes one change: changing all text-based CSS properties to use `rem` instead of hard-coded `px` values. This has two effects:
data/_sass/labels.scss CHANGED
@@ -1,7 +1,11 @@
1
1
  // Labels (not the form kind)
2
2
 
3
- .label,
4
- .label-blue {
3
+ // this :not() prevents a style clash with Mermaid.js's
4
+ // diagram labels, which also use .label
5
+ // for more, see https://github.com/just-the-docs/just-the-docs/issues/1272
6
+ // and the accompanying PR
7
+ .label:not(g),
8
+ .label-blue:not(g) {
5
9
  display: inline-block;
6
10
  padding: 0.16em 0.56em;
7
11
  margin-right: $sp-2;
@@ -15,19 +19,19 @@
15
19
  border-radius: 12px;
16
20
  }
17
21
 
18
- .label-green {
22
+ .label-green:not(g) {
19
23
  background-color: $green-200;
20
24
  }
21
25
 
22
- .label-purple {
26
+ .label-purple:not(g) {
23
27
  background-color: $purple-100;
24
28
  }
25
29
 
26
- .label-red {
30
+ .label-red:not(g) {
27
31
  background-color: $red-200;
28
32
  }
29
33
 
30
- .label-yellow {
34
+ .label-yellow:not(g) {
31
35
  color: $grey-dk-200;
32
36
  background-color: $yellow-200;
33
37
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just-the-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Marsceill
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-06-17 00:00:00.000000000 Z
12
+ date: 2023-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler