hyperbook 0.76.0 → 0.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.
- package/dist/assets/content.css +3 -3
- package/dist/assets/directive-abc-music/style.css +6 -6
- package/dist/assets/directive-alert/style.css +1 -1
- package/dist/assets/directive-bookmarks/style.css +1 -1
- package/dist/assets/directive-collapsible/style.css +1 -1
- package/dist/assets/directive-pagelist/style.css +1 -1
- package/dist/assets/directive-protect/style.css +1 -1
- package/dist/assets/directive-qr/style.css +2 -2
- package/dist/assets/directive-slideshow/style.css +1 -1
- package/dist/assets/directive-typst/style.css +12 -12
- package/dist/assets/prism/prism-theme-github-dark.css +1 -1
- package/dist/assets/prism/prism-theme-github-light.css +1 -1
- package/dist/assets/shell.css +2 -2
- package/dist/index.js +2 -3
- package/package.json +2 -2
package/dist/assets/content.css
CHANGED
|
@@ -111,7 +111,7 @@ figure {
|
|
|
111
111
|
|
|
112
112
|
.hyperbook-markdown figure.normal figcaption {
|
|
113
113
|
font-style: italic;
|
|
114
|
-
font-size:
|
|
114
|
+
font-size: 0.875rem;
|
|
115
115
|
max-width: 400px;
|
|
116
116
|
margin: 0 auto;
|
|
117
117
|
}
|
|
@@ -126,7 +126,7 @@ figure {
|
|
|
126
126
|
.hyperbook-markdown a.heading:hover::before {
|
|
127
127
|
position: absolute;
|
|
128
128
|
content: "📎";
|
|
129
|
-
font-size:
|
|
129
|
+
font-size: 0.75rem;
|
|
130
130
|
top: 50%;
|
|
131
131
|
transform: translateY(-50%);
|
|
132
132
|
left: 0px;
|
|
@@ -311,7 +311,7 @@ figure {
|
|
|
311
311
|
background: none;
|
|
312
312
|
border: none;
|
|
313
313
|
opacity: 0.5;
|
|
314
|
-
font-size:
|
|
314
|
+
font-size: 1rem;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
.hyperbook-markdown .bookmark:hover {
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
margin-right: 2px;
|
|
105
105
|
display: inline-block;
|
|
106
106
|
font-family: sans-serif;
|
|
107
|
-
font-size:
|
|
107
|
+
font-size: 1rem;
|
|
108
108
|
box-sizing: border-box;
|
|
109
109
|
color: #f4f4f4;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.abcjs-inline-audio .abcjs-tempo-wrapper {
|
|
113
|
-
font-size:
|
|
113
|
+
font-size: 0.625rem;
|
|
114
114
|
color: #f4f4f4;
|
|
115
115
|
box-sizing: border-box;
|
|
116
116
|
display: flex;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
.abcjs-large .abcjs-btn {
|
|
158
158
|
width: 56px;
|
|
159
159
|
height: 52px;
|
|
160
|
-
font-size:
|
|
160
|
+
font-size: 1.75rem;
|
|
161
161
|
padding: 6px 8px;
|
|
162
162
|
}
|
|
163
163
|
.abcjs-large .abcjs-midi-progress-background {
|
|
@@ -170,17 +170,17 @@
|
|
|
170
170
|
width: 40px;
|
|
171
171
|
}
|
|
172
172
|
.abcjs-large .abcjs-midi-clock {
|
|
173
|
-
font-size:
|
|
173
|
+
font-size: 2rem;
|
|
174
174
|
margin-right: 10px;
|
|
175
175
|
margin-left: 10px;
|
|
176
176
|
margin-top: -1px;
|
|
177
177
|
}
|
|
178
178
|
.abcjs-large .abcjs-midi-tempo {
|
|
179
|
-
font-size:
|
|
179
|
+
font-size: 1.25rem;
|
|
180
180
|
width: 50px;
|
|
181
181
|
}
|
|
182
182
|
.abcjs-large .abcjs-tempo-wrapper {
|
|
183
|
-
font-size:
|
|
183
|
+
font-size: 1.25rem;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.abcjs-css-warning {
|
|
@@ -125,7 +125,7 @@ code-input {
|
|
|
125
125
|
|
|
126
126
|
.directive-typst .typst-error-title {
|
|
127
127
|
font-weight: 600;
|
|
128
|
-
font-size:
|
|
128
|
+
font-size: 0.875rem;
|
|
129
129
|
display: flex;
|
|
130
130
|
align-items: center;
|
|
131
131
|
gap: 8px;
|
|
@@ -136,7 +136,7 @@ code-input {
|
|
|
136
136
|
border: none;
|
|
137
137
|
color: white;
|
|
138
138
|
cursor: pointer;
|
|
139
|
-
font-size:
|
|
139
|
+
font-size: 1.5rem;
|
|
140
140
|
line-height: 1;
|
|
141
141
|
padding: 0;
|
|
142
142
|
margin: 0;
|
|
@@ -158,7 +158,7 @@ code-input {
|
|
|
158
158
|
padding: 16px;
|
|
159
159
|
color: #dc2626;
|
|
160
160
|
font-family: monospace;
|
|
161
|
-
font-size:
|
|
161
|
+
font-size: 0.8125rem;
|
|
162
162
|
white-space: pre-wrap;
|
|
163
163
|
word-break: break-word;
|
|
164
164
|
line-height: 1.5;
|
|
@@ -201,7 +201,7 @@ code-input {
|
|
|
201
201
|
border-radius: 4px;
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
white-space: nowrap;
|
|
204
|
-
font-size:
|
|
204
|
+
font-size: 0.875rem;
|
|
205
205
|
transition: all 0.2s;
|
|
206
206
|
}
|
|
207
207
|
|
|
@@ -224,7 +224,7 @@ code-input {
|
|
|
224
224
|
border: none;
|
|
225
225
|
color: inherit;
|
|
226
226
|
cursor: pointer;
|
|
227
|
-
font-size:
|
|
227
|
+
font-size: 1.125rem;
|
|
228
228
|
line-height: 1;
|
|
229
229
|
padding: 0;
|
|
230
230
|
margin: 0;
|
|
@@ -247,7 +247,7 @@ code-input {
|
|
|
247
247
|
|
|
248
248
|
.directive-typst .add-source-file {
|
|
249
249
|
padding: 6px 12px;
|
|
250
|
-
font-size:
|
|
250
|
+
font-size: 1rem;
|
|
251
251
|
flex: none;
|
|
252
252
|
font-weight: bold;
|
|
253
253
|
white-space: nowrap;
|
|
@@ -295,7 +295,7 @@ code-input {
|
|
|
295
295
|
.directive-typst .binary-files-section summary .summary-indicator {
|
|
296
296
|
transition: transform 0.2s;
|
|
297
297
|
display: inline-block;
|
|
298
|
-
font-size:
|
|
298
|
+
font-size: 0.75rem;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.directive-typst .binary-files-section[open] summary .summary-indicator {
|
|
@@ -308,7 +308,7 @@ code-input {
|
|
|
308
308
|
|
|
309
309
|
.directive-typst .add-binary-file {
|
|
310
310
|
padding: 6px 12px;
|
|
311
|
-
font-size:
|
|
311
|
+
font-size: 0.875rem;
|
|
312
312
|
border: 1px solid var(--color-spacer);
|
|
313
313
|
border-radius: 4px;
|
|
314
314
|
background-color: var(--color--background);
|
|
@@ -338,7 +338,7 @@ code-input {
|
|
|
338
338
|
color: var(--color-text);
|
|
339
339
|
opacity: 0.6;
|
|
340
340
|
font-style: italic;
|
|
341
|
-
font-size:
|
|
341
|
+
font-size: 0.875rem;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
.directive-typst .binary-file-item {
|
|
@@ -346,11 +346,11 @@ code-input {
|
|
|
346
346
|
align-items: center;
|
|
347
347
|
gap: 8px;
|
|
348
348
|
padding: 8px 12px;
|
|
349
|
-
font-size:
|
|
349
|
+
font-size: 0.875rem;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
.directive-typst .binary-file-icon {
|
|
353
|
-
font-size:
|
|
353
|
+
font-size: 1rem;
|
|
354
354
|
flex-shrink: 0;
|
|
355
355
|
}
|
|
356
356
|
|
|
@@ -364,7 +364,7 @@ code-input {
|
|
|
364
364
|
border: none;
|
|
365
365
|
color: var(--color-text);
|
|
366
366
|
cursor: pointer;
|
|
367
|
-
font-size:
|
|
367
|
+
font-size: 1.125rem;
|
|
368
368
|
line-height: 1;
|
|
369
369
|
padding: 0;
|
|
370
370
|
margin: 0;
|
package/dist/assets/shell.css
CHANGED
|
@@ -298,7 +298,7 @@ a.jump.previous::before {
|
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
.mobile-nav .toggle {
|
|
301
|
-
font-size:
|
|
301
|
+
font-size: 2.625rem;
|
|
302
302
|
border: none;
|
|
303
303
|
padding: 0;
|
|
304
304
|
margin: 0;
|
|
@@ -702,7 +702,7 @@ nav li+li {
|
|
|
702
702
|
align-items: center;
|
|
703
703
|
justify-content: center;
|
|
704
704
|
overflow: none;
|
|
705
|
-
font-size:
|
|
705
|
+
font-size: 2rem;
|
|
706
706
|
position: absolute;
|
|
707
707
|
top: 0;
|
|
708
708
|
left: 0;
|
package/dist/index.js
CHANGED
|
@@ -179161,7 +179161,6 @@ body::-webkit-scrollbar {
|
|
|
179161
179161
|
--header-height: 60px;
|
|
179162
179162
|
--nav-width: minmax(300px, 0.33fr);
|
|
179163
179163
|
--nav-font-size: 0.9rem;
|
|
179164
|
-
--body-font-size: 14px;
|
|
179165
179164
|
}`;
|
|
179166
179165
|
if (font) {
|
|
179167
179166
|
rootCss += `
|
|
@@ -179216,7 +179215,7 @@ body {
|
|
|
179216
179215
|
color: var(--color-text);
|
|
179217
179216
|
font-family: hyperbook-body;
|
|
179218
179217
|
font-weight: normal;
|
|
179219
|
-
font-size:
|
|
179218
|
+
font-size: 1rem;
|
|
179220
179219
|
margin: 0;
|
|
179221
179220
|
padding: 0;
|
|
179222
179221
|
}
|
|
@@ -201544,7 +201543,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"application/1d-interleaved-parityfec
|
|
|
201544
201543
|
/***/ ((module) => {
|
|
201545
201544
|
|
|
201546
201545
|
"use strict";
|
|
201547
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.76.
|
|
201546
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"hyperbook","version":"0.76.2","author":"Mike Barkmin","homepage":"https://github.com/openpatch/hyperbook#readme","license":"MIT","bin":{"hyperbook":"./dist/index.js"},"files":["dist"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/openpatch/hyperbook.git","directory":"packages/hyperbook"},"bugs":{"url":"https://github.com/openpatch/hyperbook/issues"},"engines":{"node":">=18"},"scripts":{"version":"pnpm build","lint":"tsc --noEmit","dev":"ncc build ./index.ts -w -o dist/","build":"rimraf dist && ncc build ./index.ts -o ./dist/ --no-cache --no-source-map-register --external favicons --external sharp && node postbuild.mjs"},"dependencies":{"favicons":"^7.2.0"},"devDependencies":{"create-hyperbook":"workspace:*","@hyperbook/fs":"workspace:*","@hyperbook/markdown":"workspace:*","@hyperbook/types":"workspace:*","@pnpm/exportable-manifest":"1000.0.6","@types/archiver":"6.0.3","@types/async-retry":"1.4.9","@types/cross-spawn":"6.0.6","@types/lunr":"^2.3.7","@types/prompts":"2.4.9","@types/tar":"6.1.13","@types/ws":"^8.5.14","@vercel/ncc":"0.38.3","archiver":"7.0.1","async-retry":"1.3.3","chalk":"5.4.1","chokidar":"4.0.3","commander":"12.1.0","cpy":"11.1.0","cross-spawn":"7.0.6","domutils":"^3.2.2","extract-zip":"^2.0.1","got":"12.6.0","htmlparser2":"^10.0.0","lunr":"^2.3.9","lunr-languages":"^1.14.0","mime":"^4.0.6","prompts":"2.4.2","rimraf":"6.0.1","tar":"7.4.3","update-check":"1.5.4","ws":"^8.18.0"}}');
|
|
201548
201547
|
|
|
201549
201548
|
/***/ })
|
|
201550
201549
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperbook",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.2",
|
|
4
4
|
"author": "Mike Barkmin",
|
|
5
5
|
"homepage": "https://github.com/openpatch/hyperbook#readme",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"ws": "^8.18.0",
|
|
59
59
|
"create-hyperbook": "0.3.1",
|
|
60
60
|
"@hyperbook/fs": "0.23.0",
|
|
61
|
-
"@hyperbook/markdown": "0.47.
|
|
61
|
+
"@hyperbook/markdown": "0.47.2",
|
|
62
62
|
"@hyperbook/types": "0.19.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|