@edrlab/thorium-web 1.0.9 → 1.1.0

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.
Files changed (66) hide show
  1. package/README.md +2 -0
  2. package/dist/{StatefulReader-DdQrrgZY.d.mts → StatefulReader-BjH7bkU1.d.mts} +1 -25
  3. package/dist/chunk-7CGMWOZN.mjs +20 -0
  4. package/dist/chunk-7CGMWOZN.mjs.map +1 -0
  5. package/dist/{chunk-PVGIY5SC.mjs → chunk-D24O64OP.mjs} +375 -278
  6. package/dist/chunk-D24O64OP.mjs.map +1 -0
  7. package/dist/{chunk-G2SKPGPO.mjs → chunk-FG6BJGVE.mjs} +5 -25
  8. package/dist/chunk-FG6BJGVE.mjs.map +1 -0
  9. package/dist/{chunk-SQHOOSST.mjs → chunk-HE3WFPGE.mjs} +84 -85
  10. package/dist/chunk-HE3WFPGE.mjs.map +1 -0
  11. package/dist/chunk-KKJA56IZ.mjs +27 -0
  12. package/dist/chunk-KKJA56IZ.mjs.map +1 -0
  13. package/dist/{chunk-OXZU5FTD.mjs → chunk-SPAC7T57.mjs} +32 -21
  14. package/dist/chunk-SPAC7T57.mjs.map +1 -0
  15. package/dist/components/Epub/index.css +1282 -0
  16. package/dist/components/Epub/index.css.map +1 -0
  17. package/dist/components/Epub/index.d.mts +1 -1
  18. package/dist/components/Epub/index.mjs +47 -44
  19. package/dist/components/Epub/index.mjs.map +1 -1
  20. package/dist/components/Misc/index.css +102 -0
  21. package/dist/components/Misc/index.css.map +1 -0
  22. package/dist/components/Misc/index.d.mts +28 -0
  23. package/dist/components/Misc/index.mjs +110 -0
  24. package/dist/components/Misc/index.mjs.map +1 -0
  25. package/dist/components/WebPub/index.css +1214 -0
  26. package/dist/components/WebPub/index.css.map +1 -0
  27. package/dist/components/WebPub/index.d.mts +2 -2
  28. package/dist/components/WebPub/index.mjs +28 -25
  29. package/dist/components/WebPub/index.mjs.map +1 -1
  30. package/dist/core/Components/index.mjs +0 -1
  31. package/dist/core/Helpers/index.d.mts +12 -2
  32. package/dist/core/Helpers/index.mjs +1 -2
  33. package/dist/core/Hooks/index.mjs +0 -1
  34. package/dist/i18n/index.mjs +5 -5
  35. package/dist/lib/index.mjs +2 -3
  36. package/dist/locales/et/thorium-web.json +1 -0
  37. package/dist/locales/it/thorium-web.json +1 -0
  38. package/dist/locales/pl/thorium-web.json +26 -13
  39. package/dist/locales/sv/thorium-web.json +37 -37
  40. package/dist/next-lib/index.mjs +0 -2
  41. package/dist/next-lib/index.mjs.map +1 -1
  42. package/dist/preferences/index.mjs +3 -4
  43. package/package.json +38 -34
  44. package/dist/backLink.module-QFOMD4RA.module.css +0 -36
  45. package/dist/chunk-3QS3WKRC.mjs +0 -29
  46. package/dist/chunk-3QS3WKRC.mjs.map +0 -1
  47. package/dist/chunk-G2SKPGPO.mjs.map +0 -1
  48. package/dist/chunk-OXZU5FTD.mjs.map +0 -1
  49. package/dist/chunk-PVGIY5SC.mjs.map +0 -1
  50. package/dist/chunk-SQHOOSST.mjs.map +0 -1
  51. package/dist/chunk-TTGURRX3.mjs +0 -19
  52. package/dist/chunk-TTGURRX3.mjs.map +0 -1
  53. package/dist/docking.module-TDNYZX4H.module.css +0 -40
  54. package/dist/jumpToPosition.module-4C47UYPE.module.css +0 -41
  55. package/dist/overflowMenu.module-QL32ISXF.module.css +0 -68
  56. package/dist/publicationGrid.module-T6ISNRGM.module.css +0 -70
  57. package/dist/reader-NGCQJKLX.css +0 -261
  58. package/dist/readerArrowButton.module-EFLOIADG.module.css +0 -77
  59. package/dist/readerHeader.module-RNGQFLVS.module.css +0 -35
  60. package/dist/readerLoader.module-KDBPCQZJ.module.css +0 -40
  61. package/dist/readerPagination.module-DYBZAQ7H.module.css +0 -76
  62. package/dist/readerProgression.module-7PU7L74S.module.css +0 -5
  63. package/dist/readerSharedUI.module-Y2VDWFS5.module.css +0 -98
  64. package/dist/settings.module-H5MUDFJO.module.css +0 -437
  65. package/dist/sheets.module-LJOLY4MK.module.css +0 -195
  66. package/dist/toc.module-F47C5CDS.module.css +0 -153
@@ -1,153 +0,0 @@
1
- /* Search */
2
-
3
- .tocSearch {
4
- margin-bottom: var(--layout-spacing);
5
- display: grid;
6
- grid-template-areas: "label label"
7
- "input button";
8
- grid-template-columns: 1fr auto;
9
- align-items: center;
10
- width: 100%;
11
- }
12
-
13
- .tocSearchLabel {
14
- grid-area: label;
15
- margin-bottom: calc(var(--layout-spacing) / 2);
16
- }
17
-
18
- .tocSearchInput {
19
- grid-area: input;
20
- box-sizing: border-box;
21
- width: 100%;
22
- max-width: 100%;
23
- display: block;
24
- border-radius: var(--layout-radius);
25
- border: 2px solid var(--theme-subdue);
26
- padding: calc(var(--icon-size, 24px) * (1/4)) calc(var(--layout-spacing) / 2);
27
- }
28
-
29
- .tocSearchInput::-webkit-search-cancel-button,
30
- .tocSearchInput::-webkit-search-decoration {
31
- -webkit-appearance: none;
32
- }
33
-
34
- .tocSearchInput[data-focus-visible] {
35
- outline: 2px solid var(--theme-focus);
36
- }
37
-
38
- .tocSearchIcon,
39
- .tocClearButton {
40
- grid-area: button;
41
- margin-inline-start: calc(var(--icon-size, 24px) * -1.25);
42
- height: 100%;
43
- display: flex;
44
- align-items: center;
45
- }
46
-
47
- .tocSearchIcon svg {
48
- fill: var(--theme-subdue);
49
- width: var(--icon-size, 24px);
50
- height: var(--icon-size, 24px);
51
- }
52
-
53
- .tocClearButton svg {
54
- fill: var(--theme-text);
55
- width: var(--icon-size, 24px);
56
- height: var(--icon-size, 24px);
57
- }
58
-
59
- .tocSearchIcon[hidden],
60
- .tocClearButton[data-disabled] {
61
- display: none;
62
- }
63
-
64
- .tocTree {
65
- background: var(--theme-background);
66
- color: var(--theme-text);
67
- outline: none;
68
- width: 100%;
69
- max-height: 100%;
70
- box-sizing: border-box;
71
- }
72
-
73
- /* React Aria is providing a --tree-item-level as items are not nested */
74
- .tocTreeItem {
75
- display: flex;
76
- padding: calc(var(--layout-spacing) / 2);
77
- padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--layout-spacing)) + (var(--layout-spacing) / 2));
78
- border-radius: var(--layout-radius);
79
- border: 2px solid transparent;
80
- box-sizing: border-box;
81
- }
82
-
83
- .tocTree:has(.tocTreeItemButton) .tocTreeItem {
84
- padding-inline-start: calc((var(--tree-item-level) * var(--layout-spacing)) + (var(--layout-spacing) / 2));
85
- }
86
-
87
- .tocTree .tocTreeItem:has(.tocTreeItemButton) {
88
- padding-inline-start: calc(((var(--tree-item-level) - 1) * var(--layout-spacing)));
89
- }
90
-
91
- .tocTreeItemText {
92
- display: flex;
93
- flex: 1 1 auto;
94
- }
95
-
96
- .tocTreeItemTextTitle {
97
- text-wrap: balance;
98
- }
99
-
100
- .tocTreeItemTextPosition {
101
- margin-inline-start: auto;
102
- padding-inline-start: calc(var(--layout-spacing) / 2);
103
- color: var(--theme-subdue);
104
- font-variant-numeric: lining-nums tabular-nums;
105
- }
106
-
107
- .tocTreeItemButton {
108
- align-self: flex-start;
109
- width: calc(var(--icon-size, 24px) * 5/6);
110
- height: calc(var(--icon-size, 24px) * 5/6);
111
- margin-inline-end: calc(var(--layout-spacing) / 2);
112
- flex-shrink: 0;
113
- }
114
-
115
- .tocTreeItem[data-href] {
116
- cursor: pointer;
117
- }
118
-
119
- /* [data-hover] is only updated on tree items that can be expanded ATM… */
120
- .tocTreeItem:hover {
121
- background-color: var(--theme-hover);
122
- }
123
-
124
- .tocTreeItem[data-focus-visible] {
125
- outline: 2px solid var(--theme-focus);
126
- }
127
-
128
- .tocTreeItem[data-disabled] {
129
- color: var(--theme-disable);
130
- }
131
-
132
- .tocTreeItem[data-selected] {
133
- border: 2px solid var(--theme-subdue);
134
- }
135
-
136
- .tocTreeItemButton svg {
137
- flex: none;
138
- rotate: 0deg;
139
- transition: rotate 200ms;
140
- width: 100%;
141
- height: 100%;
142
- fill: var(--theme-text);
143
- }
144
-
145
- .tocTreeItem[data-expanded] .tocTreeItemButton svg {
146
- rotate: 90deg;
147
- }
148
-
149
- .empty {
150
- max-width: 25ch;
151
- text-align: start;
152
- text-wrap: balance;
153
- }