@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.
Files changed (58) hide show
  1. package/dist/{StatefulReader-BjH7bkU1.d.mts → StatefulReader-BU_EpfhE.d.mts} +1 -1
  2. package/dist/{ThPreferencesAdapter-x_D4c7wI.d.mts → ThPreferencesAdapter-CYSE2wnE.d.mts} +2 -1
  3. package/dist/{chunk-D24O64OP.mjs → chunk-6JMWZYOA.mjs} +123 -103
  4. package/dist/chunk-6JMWZYOA.mjs.map +1 -0
  5. package/dist/{chunk-SPAC7T57.mjs → chunk-DCW6H2DC.mjs} +11 -104
  6. package/dist/chunk-DCW6H2DC.mjs.map +1 -0
  7. package/dist/chunk-J5NR3FTV.mjs +106 -0
  8. package/dist/chunk-J5NR3FTV.mjs.map +1 -0
  9. package/dist/chunk-NHUVBN7S.mjs +35 -0
  10. package/dist/chunk-NHUVBN7S.mjs.map +1 -0
  11. package/dist/chunk-RNED2SPT.mjs +69 -0
  12. package/dist/chunk-RNED2SPT.mjs.map +1 -0
  13. package/dist/components/Epub/index.d.mts +3 -3
  14. package/dist/components/Epub/index.mjs +9 -8
  15. package/dist/components/Epub/index.mjs.map +1 -1
  16. package/dist/components/Misc/index.mjs +2 -1
  17. package/dist/components/Misc/index.mjs.map +1 -1
  18. package/dist/components/WebPub/index.d.mts +5 -5
  19. package/dist/components/WebPub/index.mjs +8 -7
  20. package/dist/components/WebPub/index.mjs.map +1 -1
  21. package/dist/i18n/index.d.mts +3 -3
  22. package/dist/i18n/index.mjs +4 -3
  23. package/dist/lib/index.d.mts +1 -1
  24. package/dist/locales/ar/thorium-shared.json +10 -0
  25. package/dist/locales/ar/thorium-web.json +0 -10
  26. package/dist/locales/da/thorium-shared.json +144 -0
  27. package/dist/locales/da/thorium-web.json +16 -153
  28. package/dist/locales/en/thorium-shared.json +192 -0
  29. package/dist/locales/en/thorium-web.json +4 -141
  30. package/dist/locales/et/thorium-shared.json +33 -0
  31. package/dist/locales/fi/thorium-shared.json +138 -0
  32. package/dist/locales/fi/thorium-web.json +4 -141
  33. package/dist/locales/fr/thorium-shared.json +152 -0
  34. package/dist/locales/fr/thorium-web.json +2 -166
  35. package/dist/locales/it/thorium-shared.json +190 -0
  36. package/dist/locales/lt/thorium-shared.json +192 -0
  37. package/dist/locales/lt/thorium-web.json +13 -150
  38. package/dist/locales/pl/thorium-shared.json +122 -0
  39. package/dist/locales/pl/thorium-web.json +5 -169
  40. package/dist/locales/pt-BR/thorium-shared.json +192 -0
  41. package/dist/locales/pt-BR/thorium-web.json +2 -126
  42. package/dist/locales/pt-PT/thorium-shared.json +192 -0
  43. package/dist/locales/pt-PT/thorium-web.json +5 -142
  44. package/dist/locales/sv/thorium-shared.json +190 -0
  45. package/dist/locales/sv/thorium-web.json +18 -155
  46. package/dist/locales/ta/thorium-shared.json +120 -0
  47. package/dist/locales/ta/thorium-web.json +2 -126
  48. package/dist/locales/tr/thorium-shared.json +79 -0
  49. package/dist/preferences/index.d.mts +3 -3
  50. package/dist/preferences/index.mjs +2 -1
  51. package/dist/{usePreferences-CRjFlZvF.d.mts → usePreferences-aGLrGdNR.d.mts} +1 -1
  52. package/package.json +6 -3
  53. package/dist/chunk-D24O64OP.mjs.map +0 -1
  54. package/dist/chunk-FG6BJGVE.mjs +0 -64
  55. package/dist/chunk-FG6BJGVE.mjs.map +0 -1
  56. package/dist/chunk-KKJA56IZ.mjs +0 -27
  57. package/dist/chunk-KKJA56IZ.mjs.map +0 -1
  58. 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-x_D4c7wI.mjs';
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, defaultActionKeysObject as L, defaultTextSettingsMain as M, defaultTextSettingsSubpanel as N, defaultSpacingSettingsMain as O, defaultSpacingSettingsSubpanel as P, defaultSpacingPresetsOrder as Q, defaultParagraphSpacing as R, type SettingsKey as S, type ThPreferencesAdapter as T, defaultParagraphIndent as U, defaultWordSpacing as V, defaultLetterSpacing as W, defaultLineHeights as X, defaultZoom as Y, defaultSpacingPresets as Z, 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 };
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 };