svelte-highlight 7.2.0 → 7.2.1
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 +7 -0
- package/LineNumbers.svelte +6 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [7.2.1](https://github.com/metonym/svelte-highlight/releases/tag/v7.2.1) - 2023-04-01
|
|
9
|
+
|
|
10
|
+
**Fixes**
|
|
11
|
+
|
|
12
|
+
- line numbers should not be covered by a solid fill, custom line background color
|
|
13
|
+
- line numbers column should not be covered by code if scrollable
|
|
14
|
+
|
|
8
15
|
## [7.2.0](https://github.com/metonym/svelte-highlight/releases/tag/v7.2.0) - 2023-02-14
|
|
9
16
|
|
|
10
17
|
**Features**
|
package/LineNumbers.svelte
CHANGED
|
@@ -84,6 +84,10 @@ $:
|
|
|
84
84
|
padding-bottom: 1em;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
tr td:first-of-type {
|
|
88
|
+
z-index: 2;
|
|
89
|
+
}
|
|
90
|
+
|
|
87
91
|
td {
|
|
88
92
|
padding-left: var(--padding-left, 1em);
|
|
89
93
|
padding-right: var(--padding-right, 1em);
|
|
@@ -104,10 +108,12 @@ $:
|
|
|
104
108
|
}
|
|
105
109
|
|
|
106
110
|
td,
|
|
111
|
+
td > code,
|
|
107
112
|
pre {
|
|
108
113
|
position: relative;
|
|
109
114
|
}
|
|
110
115
|
|
|
116
|
+
td > code,
|
|
111
117
|
pre {
|
|
112
118
|
z-index: 1;
|
|
113
119
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-highlight",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Syntax Highlighting for Svelte using highlight.js",
|
|
6
6
|
"author": "Eric Liu (https://github.com/metonym)",
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@sveltejs/adapter-static": "2.0.1",
|
|
16
|
-
"@sveltejs/kit": "1.
|
|
16
|
+
"@sveltejs/kit": "1.11.0",
|
|
17
17
|
"@sveltejs/package": "^1.0.2",
|
|
18
18
|
"@testing-library/svelte": "^3.2.2",
|
|
19
19
|
"@testing-library/user-event": "^14.4.3",
|
|
20
20
|
"@types/prettier": "^2.7.2",
|
|
21
|
-
"carbon-components-svelte": "^0.
|
|
21
|
+
"carbon-components-svelte": "^0.73.3",
|
|
22
22
|
"carbon-icons-svelte": "^11.4.0",
|
|
23
23
|
"carbon-preprocess-svelte": "^0.9.1",
|
|
24
24
|
"jsdom": "^21.1.0",
|
|
25
25
|
"prettier": "^2.8.4",
|
|
26
26
|
"prettier-plugin-svelte": "^2.9.0",
|
|
27
27
|
"svelte": "^3.55.1",
|
|
28
|
-
"svelte-check": "^3.
|
|
28
|
+
"svelte-check": "^3.1.2",
|
|
29
29
|
"svelte-focus-key": "^0.3.2",
|
|
30
|
-
"svelte2tsx": "^0.6.
|
|
30
|
+
"svelte2tsx": "^0.6.7",
|
|
31
31
|
"totalist": "^3.0.0",
|
|
32
32
|
"typescript": "^4.9.5",
|
|
33
|
-
"vite": "^4.1.
|
|
34
|
-
"vitest": "^0.
|
|
33
|
+
"vite": "^4.1.4",
|
|
34
|
+
"vitest": "^0.29.2"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|