@edrlab/thorium-web 1.1.0 → 1.1.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/dist/{StatefulReader-BjH7bkU1.d.mts → StatefulReader-BU_EpfhE.d.mts} +1 -1
- package/dist/{ThPreferencesAdapter-x_D4c7wI.d.mts → ThPreferencesAdapter-CYSE2wnE.d.mts} +2 -1
- package/dist/{chunk-D24O64OP.mjs → chunk-6JMWZYOA.mjs} +123 -103
- package/dist/chunk-6JMWZYOA.mjs.map +1 -0
- package/dist/{chunk-SPAC7T57.mjs → chunk-DCW6H2DC.mjs} +11 -104
- package/dist/chunk-DCW6H2DC.mjs.map +1 -0
- package/dist/chunk-J5NR3FTV.mjs +106 -0
- package/dist/chunk-J5NR3FTV.mjs.map +1 -0
- package/dist/chunk-NHUVBN7S.mjs +35 -0
- package/dist/chunk-NHUVBN7S.mjs.map +1 -0
- package/dist/chunk-RNED2SPT.mjs +69 -0
- package/dist/chunk-RNED2SPT.mjs.map +1 -0
- package/dist/components/Epub/index.d.mts +3 -3
- package/dist/components/Epub/index.mjs +9 -8
- package/dist/components/Epub/index.mjs.map +1 -1
- package/dist/components/Misc/index.mjs +2 -1
- package/dist/components/Misc/index.mjs.map +1 -1
- package/dist/components/WebPub/index.d.mts +5 -5
- package/dist/components/WebPub/index.mjs +8 -7
- package/dist/components/WebPub/index.mjs.map +1 -1
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.mjs +4 -3
- package/dist/lib/index.d.mts +1 -1
- package/dist/locales/ar/thorium-shared.json +10 -0
- package/dist/locales/ar/thorium-web.json +0 -10
- package/dist/locales/da/thorium-shared.json +144 -0
- package/dist/locales/da/thorium-web.json +16 -153
- package/dist/locales/en/thorium-shared.json +192 -0
- package/dist/locales/en/thorium-web.json +4 -141
- package/dist/locales/et/thorium-shared.json +33 -0
- package/dist/locales/fi/thorium-shared.json +138 -0
- package/dist/locales/fi/thorium-web.json +4 -141
- package/dist/locales/fr/thorium-shared.json +152 -0
- package/dist/locales/fr/thorium-web.json +2 -166
- package/dist/locales/it/thorium-shared.json +190 -0
- package/dist/locales/lt/thorium-shared.json +192 -0
- package/dist/locales/lt/thorium-web.json +13 -150
- package/dist/locales/pl/thorium-shared.json +122 -0
- package/dist/locales/pl/thorium-web.json +5 -169
- package/dist/locales/pt-BR/thorium-shared.json +192 -0
- package/dist/locales/pt-BR/thorium-web.json +2 -126
- package/dist/locales/pt-PT/thorium-shared.json +192 -0
- package/dist/locales/pt-PT/thorium-web.json +5 -142
- package/dist/locales/sv/thorium-shared.json +190 -0
- package/dist/locales/sv/thorium-web.json +18 -155
- package/dist/locales/ta/thorium-shared.json +120 -0
- package/dist/locales/ta/thorium-web.json +2 -126
- package/dist/locales/tr/thorium-shared.json +79 -0
- package/dist/preferences/index.d.mts +3 -3
- package/dist/preferences/index.mjs +2 -1
- package/dist/{usePreferences-CRjFlZvF.d.mts → usePreferences-aGLrGdNR.d.mts} +1 -1
- package/package.json +6 -3
- package/dist/chunk-D24O64OP.mjs.map +0 -1
- package/dist/chunk-FG6BJGVE.mjs +0 -64
- package/dist/chunk-FG6BJGVE.mjs.map +0 -1
- package/dist/chunk-KKJA56IZ.mjs +0 -27
- package/dist/chunk-KKJA56IZ.mjs.map +0 -1
- package/dist/chunk-SPAC7T57.mjs.map +0 -1
|
@@ -4,7 +4,7 @@ import { d as ThActionsTriggerVariant, a as ThCollapsibilityVisibility, b as ThA
|
|
|
4
4
|
import { T as ThActionButtonProps, f as ThMenuItemProps, a as ThCollapsibleActionsBarProps, t as ThSettingsEntry, W as WithRef, r as ThDropdownProps, h as ThNumberFieldProps, k as ThRadioGroupProps, m as ThSliderProps, o as ThSwitchProps } from './ThSettingsWrapper-CMLegiqy.mjs';
|
|
5
5
|
import { d as ThActionsKeys, c as ThDockingKeys, t as ThSheetTypes, g as ThTextSettingsKeys, h as ThSpacingSettingsKeys, i as ThSpacingPresetKeys, T as ThLineHeightOptions, u as ThSheetHeaderVariant, a as ThTextAlignOptions, j as ThLayoutUI } from './enums-CBaXSsr9.mjs';
|
|
6
6
|
import React__default, { RefObject, ReactNode } from 'react';
|
|
7
|
-
import { q as ThSettingsGroupPref, a as ThPreferences, D as DefaultKeys, d as defaultFontFamilyOptions } from './ThPreferencesAdapter-
|
|
7
|
+
import { q as ThSettingsGroupPref, a as ThPreferences, D as DefaultKeys, d as defaultFontFamilyOptions } from './ThPreferencesAdapter-CYSE2wnE.mjs';
|
|
8
8
|
import { PressEvent } from 'react-aria';
|
|
9
9
|
import { A as ActionsStateKeys } from './actionsReducer-BKoeohBu.mjs';
|
|
10
10
|
import { T as ThColorScheme } from './useContrast-Cgsrl7GS.mjs';
|
|
@@ -324,6 +324,7 @@ type SettingsKeyType<K extends CustomizableKeys = DefaultKeys> = K["settings"] e
|
|
|
324
324
|
type TextSettingsKeyType<K extends CustomizableKeys = DefaultKeys> = K["text"] extends string ? K["text"] : ThTextSettingsKeys;
|
|
325
325
|
type SpacingSettingsKeyType<K extends CustomizableKeys = DefaultKeys> = K["spacing"] extends string ? K["spacing"] : ThSpacingSettingsKeys;
|
|
326
326
|
|
|
327
|
+
declare const supportedLocales: string[];
|
|
327
328
|
declare const defaultActionKeysObject: ThActionsTokens;
|
|
328
329
|
declare const defaultTextSettingsMain: ThTextSettingsKeys[];
|
|
329
330
|
declare const defaultTextSettingsSubpanel: ThTextSettingsKeys[];
|
|
@@ -380,4 +381,4 @@ interface ThPreferencesAdapter<T extends CustomizableKeys = CustomizableKeys> {
|
|
|
380
381
|
unsubscribe(callback: (prefs: ThPreferences<T>) => void): void;
|
|
381
382
|
}
|
|
382
383
|
|
|
383
|
-
export { type ActionKey as A, createPreferences as B, type CustomizableKeys as C, type DefaultKeys as D, type ActionKeyType as E, type ThemeKeyType as F, type SettingsKeyType as G, type TextSettingsKeyType as H, type I18nValue as I, type SpacingSettingsKeyType as J, type useThemingProps as K,
|
|
384
|
+
export { type ActionKey as A, createPreferences as B, type CustomizableKeys as C, type DefaultKeys as D, type ActionKeyType as E, type ThemeKeyType as F, type SettingsKeyType as G, type TextSettingsKeyType as H, type I18nValue as I, type SpacingSettingsKeyType as J, type useThemingProps as K, supportedLocales as L, defaultActionKeysObject as M, defaultTextSettingsMain as N, defaultTextSettingsSubpanel as O, defaultSpacingSettingsMain as P, defaultSpacingSettingsSubpanel as Q, defaultSpacingPresetsOrder as R, type SettingsKey as S, type ThPreferencesAdapter as T, defaultParagraphSpacing as U, defaultParagraphIndent as V, defaultWordSpacing as W, defaultLetterSpacing as X, defaultLineHeights as Y, defaultZoom as Z, defaultSpacingPresets as _, type ThPreferences as a, type ThemeTokens as b, type ThBackLinkContent as c, defaultFontFamilyOptions as d, type ThBackLinkPref as e, type ThBottomSheetDetent as f, type ThActionsSnappedPref as g, type ThActionsDockedPref as h, type ThActionsTokens as i, type ThSettingsSpacingPresets as j, type ThSpacingPreset as k, type ThemeKey as l, type TextSettingsKey as m, type SpacingSettingsKey as n, type ThActionsPref as o, type ThDockingPref as p, type ThSettingsGroupPref as q, type ThSettingsRangePref as r, type ThSettingsRadioPref as s, type ThSettingsKeyTypes as t, useTheming as u, type ThConstraintKeys as v, type ThFormatPrefValue as w, type ThFormatPref as x, type ThPaginatedAffordancePrefValue as y, type ThPaginatedAffordancePref as z };
|