@edrlab/thorium-web 1.4.0 → 1.5.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.
- package/dist/{ThPreferencesAdapter-L1H6gzmu.d.mts → ThPreferencesAdapter-B3a-f5v-.d.mts} +25 -18
- package/dist/{ThSettingsWrapper-DWEA4hYF.d.mts → ThSettingsWrapper-DtzcwzYX.d.mts} +4 -4
- package/dist/{actions-BjeRjaJU.d.mts → actions-C33UN3Ji.d.mts} +18 -4
- package/dist/{actionsReducer-B32cq2mB.d.mts → actionsReducer-Bzcj3wk3.d.mts} +1 -1
- package/dist/{chunk-NUXGQWED.mjs → chunk-2NCN2AG2.mjs} +3 -3
- package/dist/{chunk-NUXGQWED.mjs.map → chunk-2NCN2AG2.mjs.map} +1 -1
- package/dist/{chunk-IVXRCKWR.mjs → chunk-2T65MDBR.mjs} +4 -4
- package/dist/{chunk-IVXRCKWR.mjs.map → chunk-2T65MDBR.mjs.map} +1 -1
- package/dist/{chunk-KVUG6BNI.mjs → chunk-63LKYJFG.mjs} +62 -56
- package/dist/chunk-63LKYJFG.mjs.map +1 -0
- package/dist/chunk-AQSJDL63.mjs +193 -0
- package/dist/chunk-AQSJDL63.mjs.map +1 -0
- package/dist/{chunk-TSLTLQ6O.mjs → chunk-BBCSLDQT.mjs} +144 -86
- package/dist/chunk-BBCSLDQT.mjs.map +1 -0
- package/dist/{chunk-QUSGPT5M.mjs → chunk-BCXKBHU3.mjs} +34 -15
- package/dist/chunk-BCXKBHU3.mjs.map +1 -0
- package/dist/{chunk-T5ENYSDJ.mjs → chunk-DQDOOTCE.mjs} +3 -3
- package/dist/{chunk-T5ENYSDJ.mjs.map → chunk-DQDOOTCE.mjs.map} +1 -1
- package/dist/chunk-GNROODJB.mjs +9 -0
- package/dist/chunk-GNROODJB.mjs.map +1 -0
- package/dist/{chunk-SZAVAQ6S.mjs → chunk-GRYEOCGD.mjs} +8 -5
- package/dist/chunk-GRYEOCGD.mjs.map +1 -0
- package/dist/{chunk-PXXWEMNL.mjs → chunk-KJ55Q63A.mjs} +220 -106
- package/dist/chunk-KJ55Q63A.mjs.map +1 -0
- package/dist/{chunk-5LUMM7FW.mjs → chunk-KOR74F6M.mjs} +9 -41
- package/dist/chunk-KOR74F6M.mjs.map +1 -0
- package/dist/{chunk-WLVE3WNW.mjs → chunk-PAFJZH7O.mjs} +12 -7
- package/dist/chunk-PAFJZH7O.mjs.map +1 -0
- package/dist/{chunk-XRFLDNAY.mjs → chunk-PRQBFBJ7.mjs} +123 -56
- package/dist/chunk-PRQBFBJ7.mjs.map +1 -0
- package/dist/{chunk-6MONB2DN.mjs → chunk-Y5X74VW7.mjs} +52 -146
- package/dist/chunk-Y5X74VW7.mjs.map +1 -0
- package/dist/{chunk-P6ILEQ5P.mjs → chunk-ZD4LTF6G.mjs} +17 -9
- package/dist/chunk-ZD4LTF6G.mjs.map +1 -0
- package/dist/components/Audio/index.css +12 -1
- package/dist/components/Audio/index.css.map +1 -1
- package/dist/components/Audio/index.d.mts +17 -15
- package/dist/components/Audio/index.mjs +11 -11
- package/dist/components/Epub/index.css +12 -1
- package/dist/components/Epub/index.css.map +1 -1
- package/dist/components/Epub/index.d.mts +14 -13
- package/dist/components/Epub/index.mjs +12 -12
- package/dist/components/Misc/index.mjs +5 -5
- package/dist/components/Reader/index.css +12 -1
- package/dist/components/Reader/index.css.map +1 -1
- package/dist/components/Reader/index.d.mts +12 -11
- package/dist/components/Reader/index.mjs +26 -24
- package/dist/components/Reader/index.mjs.map +1 -1
- package/dist/components/WebPub/index.css +12 -1
- package/dist/components/WebPub/index.css.map +1 -1
- package/dist/components/WebPub/index.d.mts +14 -13
- package/dist/components/WebPub/index.mjs +12 -12
- package/dist/core/Components/index.d.mts +7 -6
- package/dist/core/Components/index.mjs +2 -2
- package/dist/core/Helpers/index.d.mts +1 -1
- package/dist/core/Helpers/index.mjs +1 -1
- package/dist/core/Hooks/index.d.mts +6 -5
- package/dist/core/Hooks/index.mjs +1 -1
- package/dist/i18n/index.mjs +3 -3
- package/dist/keyboardUtilities-BCP3UcLb.d.mts +30 -0
- package/dist/lib/index.d.mts +17 -9
- package/dist/lib/index.mjs +2 -2
- package/dist/locales/da/thorium-web.json +37 -2
- package/dist/locales/fi/thorium-web.json +1 -1
- package/dist/locales/fr/thorium-web.json +1 -1
- package/dist/locales/he/thorium-web.json +9 -0
- package/dist/locales/it/thorium-web.json +22 -0
- package/dist/locales/lt/thorium-web.json +26 -1
- package/dist/locales/sv/thorium-web.json +22 -0
- package/dist/next-lib/index.mjs +1 -1
- package/dist/next-lib/index.mjs.map +1 -1
- package/dist/preferences/index.d.mts +14 -23
- package/dist/preferences/index.mjs +4 -4
- package/dist/{settingsReducer-DLaT2wUB.d.mts → settingsReducer-Pp9aoiiC.d.mts} +1 -1
- package/dist/{useAudioNavigator-CWXyNWq1.d.mts → useAudioNavigator-pGwxhXLj.d.mts} +4 -1
- package/dist/{useContrast-Bo7cDw_X.d.mts → useContrast-Bl08zDTU.d.mts} +2 -7
- package/dist/{usePreferences-D8NU1yhP.d.mts → usePreferences-Cy7-JN2x.d.mts} +4 -8
- package/dist/{useReaderTransitions-BQGzKeY2.d.mts → useReaderTransitions-Zvomj9RQ.d.mts} +30 -21
- package/package.json +7 -7
- package/dist/chunk-5LUMM7FW.mjs.map +0 -1
- package/dist/chunk-6MONB2DN.mjs.map +0 -1
- package/dist/chunk-B3WDMWCT.mjs +0 -9
- package/dist/chunk-B3WDMWCT.mjs.map +0 -1
- package/dist/chunk-KVUG6BNI.mjs.map +0 -1
- package/dist/chunk-MLEYTQGK.mjs +0 -60
- package/dist/chunk-MLEYTQGK.mjs.map +0 -1
- package/dist/chunk-P6ILEQ5P.mjs.map +0 -1
- package/dist/chunk-PXXWEMNL.mjs.map +0 -1
- package/dist/chunk-QUSGPT5M.mjs.map +0 -1
- package/dist/chunk-SZAVAQ6S.mjs.map +0 -1
- package/dist/chunk-TSLTLQ6O.mjs.map +0 -1
- package/dist/chunk-WLVE3WNW.mjs.map +0 -1
- package/dist/chunk-XRFLDNAY.mjs.map +0 -1
- package/dist/keyboardUtilities-BWAyLS_D.d.mts +0 -56
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
interface UnstableKey {
|
|
2
|
-
[key: string]: string;
|
|
3
|
-
longform: string;
|
|
4
|
-
shortform: string;
|
|
5
|
-
}
|
|
6
|
-
interface UnstableMetaKey extends UnstableKey {
|
|
7
|
-
modifier: "altKey" | "ctrlKey" | "metaKey" | "shiftKey";
|
|
8
|
-
symbol: "⌥" | "^" | "⌘" | "⊞" | "⇧";
|
|
9
|
-
}
|
|
10
|
-
interface UnstablePlatformModifier extends UnstableKey {
|
|
11
|
-
modifier: "ctrlKey" | "metaKey";
|
|
12
|
-
symbol: "^" | "⌘";
|
|
13
|
-
}
|
|
14
|
-
interface UnstableMetaKeys {
|
|
15
|
-
[key: string]: UnstableMetaKey;
|
|
16
|
-
altKey: UnstableMetaKey;
|
|
17
|
-
ctrlKey: UnstableMetaKey;
|
|
18
|
-
metaKey: UnstableMetaKey;
|
|
19
|
-
shiftKey: UnstableMetaKey;
|
|
20
|
-
}
|
|
21
|
-
declare enum UnstableShortcutMetaKeywords {
|
|
22
|
-
alt = "altKey",
|
|
23
|
-
ctrl = "ctrlKey",
|
|
24
|
-
meta = "metaKey",
|
|
25
|
-
platform = "platformKey",
|
|
26
|
-
shift = "shiftKey"
|
|
27
|
-
}
|
|
28
|
-
declare enum UnstableShortcutRepresentation {
|
|
29
|
-
symbol = "symbol",
|
|
30
|
-
short = "shortform",
|
|
31
|
-
long = "longform"
|
|
32
|
-
}
|
|
33
|
-
interface UnstableShortcut {
|
|
34
|
-
className?: string;
|
|
35
|
-
rawForm: string;
|
|
36
|
-
representation?: UnstableShortcutRepresentation;
|
|
37
|
-
joiner?: string;
|
|
38
|
-
}
|
|
39
|
-
interface UnstablePShortcut {
|
|
40
|
-
key?: string;
|
|
41
|
-
char?: string;
|
|
42
|
-
modifiers: {
|
|
43
|
-
[key: string]: boolean;
|
|
44
|
-
altKey: boolean;
|
|
45
|
-
ctrlKey: boolean;
|
|
46
|
-
metaKey: boolean;
|
|
47
|
-
platformKey: boolean;
|
|
48
|
-
shiftKey: boolean;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
declare const metaKeys: UnstableMetaKeys;
|
|
52
|
-
declare const defaultPlatformModifier: UnstableMetaKey & UnstablePlatformModifier;
|
|
53
|
-
declare const getPlatformModifier: () => UnstablePlatformModifier;
|
|
54
|
-
declare const buildShortcut: (str: string) => UnstablePShortcut | null;
|
|
55
|
-
|
|
56
|
-
export { type UnstableKey as U, type UnstableMetaKey as a, type UnstablePlatformModifier as b, type UnstableMetaKeys as c, UnstableShortcutMetaKeywords as d, UnstableShortcutRepresentation as e, type UnstableShortcut as f, type UnstablePShortcut as g, defaultPlatformModifier as h, getPlatformModifier as i, buildShortcut as j, metaKeys as m };
|