@readium/navigator 2.5.1 → 2.5.2-beta.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/{ReadiumCSS-after-AX2xHXM6.js → ReadiumCSS-after-CPAYSG9F.js} +7 -6
- package/dist/{ReadiumCSS-after-DwG-6hYO.js → ReadiumCSS-after-CVNJvQab.js} +4 -4
- package/dist/{ReadiumCSS-after-Djsq77vV.js → ReadiumCSS-after-Cpw6SSeZ.js} +12 -11
- package/dist/{ReadiumCSS-after-DIfxADJu.js → ReadiumCSS-after-DBPN8It0.js} +4 -4
- package/dist/{ReadiumCSS-before-BA9Irzag.js → ReadiumCSS-before-CA1r4W7i.js} +1 -1
- package/dist/{ReadiumCSS-before-B8zaPxhu.js → ReadiumCSS-before-D5x0zuZP.js} +1 -1
- package/dist/{ReadiumCSS-before-DKjdmFso.js → ReadiumCSS-before-DXNoxSjL.js} +1 -1
- package/dist/{ReadiumCSS-before-Cz5-ynli.js → ReadiumCSS-before-DtkzLMzT.js} +1 -1
- package/dist/{ReadiumCSS-default-BGrBd7Sk.js → ReadiumCSS-default-BMLfH2r9.js} +1 -1
- package/dist/{ReadiumCSS-default-DsgDIxGa.js → ReadiumCSS-default-BTgk8NbH.js} +1 -1
- package/dist/{ReadiumCSS-default-DzJEDDcb.js → ReadiumCSS-default-C7kHIm6s.js} +1 -1
- package/dist/{ReadiumCSS-default-CcWmjgaR.js → ReadiumCSS-default-C_BHdXWz.js} +1 -1
- package/dist/index.js +536 -512
- package/dist/index.umd.cjs +77 -74
- package/package.json +1 -1
- package/src/epub/EpubNavigator.ts +15 -3
- package/src/epub/css/Properties.ts +0 -1
- package/src/webpub/WebPubNavigator.ts +12 -4
- package/types/src/epub/EpubNavigator.d.ts +5 -2
- package/types/src/epub/css/Properties.d.ts +0 -1
- package/types/src/webpub/WebPubNavigator.d.ts +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const
|
|
2
|
-
* Readium CSS v.2.0.
|
|
1
|
+
const t = `/*!
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -295,7 +295,7 @@ body{
|
|
|
295
295
|
:root[style*="--USER__lineHeight"] p,
|
|
296
296
|
:root[style*="--USER__lineHeight"] li,
|
|
297
297
|
:root[style*="--USER__lineHeight"] div{
|
|
298
|
-
line-height:
|
|
298
|
+
line-height:inherit;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
:root[style*="--USER__paraSpacing"] p{
|
|
@@ -315,7 +315,8 @@ body{
|
|
|
315
315
|
text-indent:var(--USER__paraIndent) !important;
|
|
316
316
|
}
|
|
317
317
|
|
|
318
|
-
:root[style*="--USER__paraIndent"] p
|
|
318
|
+
:root[style*="--USER__paraIndent"] p *,
|
|
319
|
+
:root[style*="--USER__paraIndent"] p:first-letter{
|
|
319
320
|
text-indent:0 !important;
|
|
320
321
|
}
|
|
321
322
|
|
|
@@ -330,7 +331,7 @@ body{
|
|
|
330
331
|
:root[style*="--USER__wordSpacing"] div,
|
|
331
332
|
:root[style*="--USER__wordSpacing"] dt,
|
|
332
333
|
:root[style*="--USER__wordSpacing"] dd{
|
|
333
|
-
word-spacing:var(--USER__wordSpacing)
|
|
334
|
+
word-spacing:var(--USER__wordSpacing);
|
|
334
335
|
}
|
|
335
336
|
|
|
336
337
|
:root[style*="--USER__ligatures"]{
|
|
@@ -526,5 +527,5 @@ body{
|
|
|
526
527
|
-webkit-text-zoom:normal;
|
|
527
528
|
}`;
|
|
528
529
|
export {
|
|
529
|
-
|
|
530
|
+
t as default
|
|
530
531
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const t = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -273,7 +273,7 @@ body{
|
|
|
273
273
|
:root[style*="--USER__lineHeight"] p,
|
|
274
274
|
:root[style*="--USER__lineHeight"] li,
|
|
275
275
|
:root[style*="--USER__lineHeight"] div{
|
|
276
|
-
line-height:
|
|
276
|
+
line-height:inherit;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
:root[style*="--USER__paraSpacing"] p{
|
|
@@ -309,8 +309,8 @@ body{
|
|
|
309
309
|
:root[style*="--USER__letterSpacing"] div,
|
|
310
310
|
:root[style*="--USER__letterSpacing"] dt,
|
|
311
311
|
:root[style*="--USER__letterSpacing"] dd{
|
|
312
|
-
letter-spacing:var(--USER__letterSpacing)
|
|
313
|
-
font-variant:none
|
|
312
|
+
letter-spacing:var(--USER__letterSpacing);
|
|
313
|
+
font-variant:none;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
:root[style*="readium-noRuby-on"] body rt,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -247,11 +247,11 @@ body{
|
|
|
247
247
|
:root[style*="--USER__bodyHyphens"] li,
|
|
248
248
|
:root[style*="--USER__bodyHyphens"] div,
|
|
249
249
|
:root[style*="--USER__bodyHyphens"] dd{
|
|
250
|
-
-webkit-hyphens:
|
|
251
|
-
-moz-hyphens:
|
|
252
|
-
-ms-hyphens:
|
|
253
|
-
-epub-hyphens:
|
|
254
|
-
hyphens:
|
|
250
|
+
-webkit-hyphens:inherit;
|
|
251
|
+
-moz-hyphens:inherit;
|
|
252
|
+
-ms-hyphens:inherit;
|
|
253
|
+
-epub-hyphens:inherit;
|
|
254
|
+
hyphens:inherit;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
:root[style*="--USER__fontFamily"]{
|
|
@@ -342,7 +342,7 @@ body{
|
|
|
342
342
|
:root[style*="--USER__lineHeight"] p,
|
|
343
343
|
:root[style*="--USER__lineHeight"] li,
|
|
344
344
|
:root[style*="--USER__lineHeight"] div{
|
|
345
|
-
line-height:
|
|
345
|
+
line-height:inherit;
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
:root[style*="--USER__paraSpacing"] p{
|
|
@@ -362,7 +362,8 @@ body{
|
|
|
362
362
|
text-indent:var(--USER__paraIndent) !important;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
:root[style*="--USER__paraIndent"] p
|
|
365
|
+
:root[style*="--USER__paraIndent"] p *,
|
|
366
|
+
:root[style*="--USER__paraIndent"] p:first-letter{
|
|
366
367
|
text-indent:0 !important;
|
|
367
368
|
}
|
|
368
369
|
|
|
@@ -377,7 +378,7 @@ body{
|
|
|
377
378
|
:root[style*="--USER__wordSpacing"] div,
|
|
378
379
|
:root[style*="--USER__wordSpacing"] dt,
|
|
379
380
|
:root[style*="--USER__wordSpacing"] dd{
|
|
380
|
-
word-spacing:var(--USER__wordSpacing)
|
|
381
|
+
word-spacing:var(--USER__wordSpacing);
|
|
381
382
|
}
|
|
382
383
|
|
|
383
384
|
:root[style*="--USER__letterSpacing"] h1,
|
|
@@ -391,8 +392,8 @@ body{
|
|
|
391
392
|
:root[style*="--USER__letterSpacing"] div,
|
|
392
393
|
:root[style*="--USER__letterSpacing"] dt,
|
|
393
394
|
:root[style*="--USER__letterSpacing"] dd{
|
|
394
|
-
letter-spacing:var(--USER__letterSpacing)
|
|
395
|
-
font-variant:none
|
|
395
|
+
letter-spacing:var(--USER__letterSpacing);
|
|
396
|
+
font-variant:none;
|
|
396
397
|
}
|
|
397
398
|
|
|
398
399
|
:root[style*="--USER__ligatures"]{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -258,7 +258,7 @@ body{
|
|
|
258
258
|
:root[style*="--USER__lineHeight"] p,
|
|
259
259
|
:root[style*="--USER__lineHeight"] li,
|
|
260
260
|
:root[style*="--USER__lineHeight"] div{
|
|
261
|
-
line-height:
|
|
261
|
+
line-height:inherit;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
:root[style*="--USER__paraSpacing"] p{
|
|
@@ -294,8 +294,8 @@ body{
|
|
|
294
294
|
:root[style*="--USER__letterSpacing"] div,
|
|
295
295
|
:root[style*="--USER__letterSpacing"] dt,
|
|
296
296
|
:root[style*="--USER__letterSpacing"] dd{
|
|
297
|
-
letter-spacing:var(--USER__letterSpacing)
|
|
298
|
-
font-variant:none
|
|
297
|
+
letter-spacing:var(--USER__letterSpacing);
|
|
298
|
+
font-variant:none;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
:root[style*="readium-noRuby-on"] body rt,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const n = `/*!
|
|
2
|
-
* Readium CSS v.2.0.
|
|
2
|
+
* Readium CSS v.2.0.0
|
|
3
3
|
* Copyright (c) 2017–2026. Readium Foundation. All rights reserved.
|
|
4
4
|
* Use of this source code is governed by a BSD-style license which is detailed in the
|
|
5
5
|
* LICENSE file present in the project repository where this source code is maintained.
|