@diplodoc/transform 4.76.0 → 4.76.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.
@@ -14,6 +14,9 @@
14
14
  padding: 0;
15
15
  font: inherit;
16
16
  cursor: pointer;
17
+ transition:
18
+ opacity 0.1s ease-out,
19
+ color 0.15s linear;
17
20
  }
18
21
 
19
22
  &:hover {
@@ -24,7 +27,7 @@
24
27
 
25
28
  & > pre {
26
29
  border-radius: 10px;
27
- overflow: hidden;
30
+ overflow: visible;
28
31
 
29
32
  // codeblock has line-wrapping and line-numbers
30
33
  code:has(> .yfm-line) {
@@ -34,6 +37,7 @@
34
37
 
35
38
  code.wrap {
36
39
  white-space: pre-wrap;
40
+ overflow-x: hidden;
37
41
  }
38
42
  }
39
43
 
@@ -44,6 +48,7 @@
44
48
  z-index: 1;
45
49
 
46
50
  opacity: 0;
51
+ transition: opacity 0.1s ease-out;
47
52
 
48
53
  display: flex;
49
54
  flex-wrap: nowrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diplodoc/transform",
3
- "version": "4.76.0",
3
+ "version": "4.76.2",
4
4
  "description": "A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML",
5
5
  "keywords": [
6
6
  "markdown",
@@ -73,12 +73,12 @@
73
73
  "quick-lru": "^5.1.1",
74
74
  "sanitize-html": "^2.11.0",
75
75
  "slugify": "1.6.6",
76
- "svgo": "^3.2.0",
76
+ "svgo": "3.3.2",
77
77
  "ts-dedent": "^2.2.0"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@diplodoc/babel-preset": "^1.0.2",
81
- "@diplodoc/infra": "2.0.3",
81
+ "@diplodoc/infra": "2.0.6",
82
82
  "@diplodoc/tsconfig": "^1.0.2",
83
83
  "@types/css": "0.0.34",
84
84
  "@types/github-slugger": "^1.3.0",
@@ -14,6 +14,9 @@
14
14
  padding: 0;
15
15
  font: inherit;
16
16
  cursor: pointer;
17
+ transition:
18
+ opacity 0.1s ease-out,
19
+ color 0.15s linear;
17
20
  }
18
21
 
19
22
  &:hover {
@@ -24,7 +27,7 @@
24
27
 
25
28
  & > pre {
26
29
  border-radius: 10px;
27
- overflow: hidden;
30
+ overflow: visible;
28
31
 
29
32
  // codeblock has line-wrapping and line-numbers
30
33
  code:has(> .yfm-line) {
@@ -34,6 +37,7 @@
34
37
 
35
38
  code.wrap {
36
39
  white-space: pre-wrap;
40
+ overflow-x: hidden;
37
41
  }
38
42
  }
39
43
 
@@ -44,6 +48,7 @@
44
48
  z-index: 1;
45
49
 
46
50
  opacity: 0;
51
+ transition: opacity 0.1s ease-out;
47
52
 
48
53
  display: flex;
49
54
  flex-wrap: nowrap;