accessibility-plugin-react 2.9.0 → 2.12.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/README.md CHANGED
@@ -88,27 +88,27 @@ export function App() {
88
88
  Every controller is opt-in. Add only the controls that make sense for your
89
89
  site, and choose their order in JSX.
90
90
 
91
- | Controller | Effect |
92
- | ------------------------- | ------------------------------------------------------------------------------------------------------------ |
93
- | `TextScaleController` | Stepwise reflow-safe text enlargement (1.0x, 1.125x, 1.25x, 1.5x, 2.0x) protecting forms, code, and icons. |
94
- | `FontSizeController` | Scales eligible HTML text from 50% to 200%; supports continuous 10% steps or `stepScale` mode. |
95
- | `LineHeightController` | Scales computed line height (50%–200%, step 10); supports `stepPresets` (100%, 150%, 175%, 200%). |
96
- | `LetterSpacingController` | Applies 0–10px letter spacing with automatic cursive (Arabic/RTL) and Indic (Sinhala/Tamil) protection. |
97
- | `WordSpacingController` | Applies 0–10px word spacing while protecting tables, code, forms, and widget internals. |
98
- | `ContrastController` | Adjusts contrast levels, palettes, or semantic modes while preserving images, video, charts, and validation. |
99
- | `ContrastModeController` | Applies light, dark, high contrast, or media-safe invert tokens with native forced-colors protection. |
100
- | `SaturationController` | Reduces or increases saturation. |
101
- | `InvertColorsController` | Inverts eligible page content. |
102
- | `GrayscaleController` | Removes color while preserving the selected saturation value for later. |
103
- | `LinkHighlightController` | Highlights links or selects a link palette. |
104
- | `TextAlignController` | Scopes left, center, right, or justified alignment to text blocks; warns about justification. |
105
- | `FontFamilyController` | Applies clean system-ui or OpenDyslexic with Sinhala/Tamil fallbacks while protecting code and icons. |
106
- | `HideImagesController` | Hides images and CSS background images while retaining layout. |
107
- | `HideVideosController` | Hides video elements and recognized YouTube/Vimeo embeds visually. |
108
- | `BigCursorController` | Applies a larger high-contrast cursor where supported. |
109
- | `ReadingMaskController` | Dims the page around a transparent reading window. |
110
- | `ReadingGuideController` | Follows pointer/focus with a reading guide line. |
111
- | `ResetController` | Resets display features and custom registered features without moving the widget. |
91
+ | Controller | Effect |
92
+ | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
93
+ | `TextScaleController` | Stepwise reflow-safe text enlargement (1.0x, 1.125x, 1.25x, 1.5x, 2.0x) protecting forms, code, and icons. |
94
+ | `FontSizeController` | Scales eligible HTML text from 50% to 200%; supports continuous 10% steps or `stepScale` mode. |
95
+ | `LineHeightController` | Scales computed line height (50%–200%, step 10); supports `stepPresets` (100%, 150%, 175%, 200%). |
96
+ | `LetterSpacingController` | Applies 0–10px letter spacing with automatic cursive (Arabic/RTL) and Indic (Sinhala/Tamil) protection. |
97
+ | `WordSpacingController` | Applies 0–10px word spacing while protecting tables, code, forms, and widget internals. |
98
+ | `ContrastController` | Adjusts contrast levels, palettes, or semantic modes while preserving images, video, charts, and validation. |
99
+ | `ContrastModeController` | Applies light, dark, high contrast, or media-safe invert tokens with native forced-colors protection. |
100
+ | `SaturationController` | Reduces or increases saturation. |
101
+ | `InvertColorsController` | Inverts eligible page content. |
102
+ | `GrayscaleController` | Removes color while preserving the selected saturation value for later. |
103
+ | `LinkHighlightController` | Highlights links or selects a link palette. |
104
+ | `TextAlignController` | Scopes left, center, right, or justified alignment to text blocks; warns about justification. |
105
+ | `FontFamilyController` | Applies clean system-ui or OpenDyslexic with Sinhala/Tamil fallbacks while protecting code and icons. |
106
+ | `HideImagesController` / `HideDecorativeImagesController` | Hides only eligible decorative images while preserving controls, CAPTCHA, charts, maps, and informative graphics. |
107
+ | `HideVideosController` | Hides video elements and recognized YouTube/Vimeo embeds visually. |
108
+ | `BigCursorController` | Applies a 40px high-contrast SVG pointer; capability-aware (requires `(pointer: fine)`). |
109
+ | `ReadingMaskController` | Adjustable transparent reading window (40–400px, default 100px); pointer-transparent; follows pointer, touch, and focus. |
110
+ | `ReadingGuideController` | 4px pointer-transparent guide ruler; never blocks clicks/selection; follows pointer, touch, and focus. |
111
+ | `ResetController` | Resets display features and custom registered features without moving the widget. |
112
112
 
113
113
  Effects compose where appropriate. For example, contrast, saturation, invert,
114
114
  and grayscale are applied in a deterministic order. Defaults leave host styles
package/dist/index.d.mts CHANGED
@@ -397,6 +397,10 @@ type FontFamilyPreset = (typeof FONT_FAMILY_PRESETS)[number];
397
397
  */
398
398
  declare const CONTRAST_MODES: readonly ["off", "original", "light", "dark", "high", "invert"];
399
399
  type ContrastModeValue = (typeof CONTRAST_MODES)[number];
400
+ declare const DEFAULT_READING_MASK_HEIGHT = 100;
401
+ declare const MIN_READING_MASK_HEIGHT = 40;
402
+ declare const MAX_READING_MASK_HEIGHT = 400;
403
+ declare const READING_MASK_HEIGHT_PRESETS: readonly [60, 100, 160, 240];
400
404
 
401
405
  /** Detects whether the user's operating system has forced colors / high contrast active. */
402
406
  declare function isForcedColorsActive(): boolean;
@@ -404,6 +408,9 @@ declare function subscribeForcedColors(callback: () => void): () => void;
404
408
  /** Detects whether the user's operating system has prefers-reduced-motion active. */
405
409
  declare function isReducedMotionActive(): boolean;
406
410
  declare function subscribeReducedMotion(callback: () => void): () => void;
411
+ /** Detects whether the device supports a fine pointer (mouse, trackpad, pen). */
412
+ declare function hasFinePointer(): boolean;
413
+ declare function subscribeFinePointer(callback: () => void): () => void;
407
414
  interface ContrastPalette {
408
415
  text: string;
409
416
  background: string;
@@ -437,6 +444,19 @@ interface ScriptSpacingConstraints {
437
444
  script: "cursive" | "indic" | "standard";
438
445
  }
439
446
  declare function getScriptSpacingConstraints(element: HTMLElement): ScriptSpacingConstraints;
447
+ /**
448
+ * Determines whether an element represents functional, informative, or protected visual content
449
+ * (e.g., interactive controls, CAPTCHA, charts, graphs, maps, QR codes, or images with meaningful alt/names).
450
+ * Such content must NEVER be hidden by decorative image preferences.
451
+ */
452
+ declare function isFunctionalOrMeaningfulImage(el: Element): boolean;
453
+ /**
454
+ * Determines whether an element represents an eligible decorative image that is safe to hide.
455
+ * An image is eligible if it is not functional or meaningful, and meets standard decorative cues
456
+ * (empty alt="", role="presentation", role="none", aria-hidden="true", or decorative class/attribute).
457
+ */
458
+ declare function isEligibleDecorativeImage(el: Element): boolean;
459
+ declare function nudgeReadingAid(feature: "readingGuide" | "readingMask", delta: number): void;
440
460
 
441
461
  interface LineHeightControllerProps {
442
462
  /**
@@ -491,15 +511,30 @@ declare function TextAlignController(): react.JSX.Element;
491
511
 
492
512
  declare function FontFamilyController(): react.JSX.Element;
493
513
 
494
- declare function HideImagesController(): react.JSX.Element;
514
+ interface HideImagesControllerProps {
515
+ label?: string;
516
+ }
517
+ declare function HideImagesController({ label, }?: HideImagesControllerProps): react.JSX.Element;
518
+ declare const HideDecorativeImagesController: typeof HideImagesController;
495
519
 
496
520
  declare function HideVideosController(): react.JSX.Element;
497
521
 
498
- declare function BigCursorController(): react.JSX.Element;
522
+ interface BigCursorControllerProps {
523
+ showCapabilityHint?: boolean;
524
+ }
525
+ declare function BigCursorController({ showCapabilityHint, }?: BigCursorControllerProps): react.JSX.Element;
499
526
 
500
- declare function ReadingMaskController(): react.JSX.Element;
527
+ interface ReadingMaskControllerProps {
528
+ minHeight?: number;
529
+ maxHeight?: number;
530
+ step?: number;
531
+ }
532
+ declare function ReadingMaskController({ minHeight, maxHeight, step, }?: ReadingMaskControllerProps): react.JSX.Element;
501
533
 
502
- declare function ReadingGuideController(): react.JSX.Element;
534
+ interface ReadingGuideControllerProps {
535
+ nudgeStep?: number;
536
+ }
537
+ declare function ReadingGuideController({ nudgeStep, }?: ReadingGuideControllerProps): react.JSX.Element;
503
538
 
504
539
  /**
505
540
  * Controller to toggle enhanced focus visibility.
@@ -518,4 +553,4 @@ declare function ReduceMotionController(): react.JSX.Element;
518
553
 
519
554
  declare function ResetController(): react.JSX.Element;
520
555
 
521
- export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideImagesController, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, type ReaderMode, ReadingGuideController, ReadingMaskController, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, isForcedColorsActive, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
556
+ export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeFinePointer, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
package/dist/index.d.ts CHANGED
@@ -397,6 +397,10 @@ type FontFamilyPreset = (typeof FONT_FAMILY_PRESETS)[number];
397
397
  */
398
398
  declare const CONTRAST_MODES: readonly ["off", "original", "light", "dark", "high", "invert"];
399
399
  type ContrastModeValue = (typeof CONTRAST_MODES)[number];
400
+ declare const DEFAULT_READING_MASK_HEIGHT = 100;
401
+ declare const MIN_READING_MASK_HEIGHT = 40;
402
+ declare const MAX_READING_MASK_HEIGHT = 400;
403
+ declare const READING_MASK_HEIGHT_PRESETS: readonly [60, 100, 160, 240];
400
404
 
401
405
  /** Detects whether the user's operating system has forced colors / high contrast active. */
402
406
  declare function isForcedColorsActive(): boolean;
@@ -404,6 +408,9 @@ declare function subscribeForcedColors(callback: () => void): () => void;
404
408
  /** Detects whether the user's operating system has prefers-reduced-motion active. */
405
409
  declare function isReducedMotionActive(): boolean;
406
410
  declare function subscribeReducedMotion(callback: () => void): () => void;
411
+ /** Detects whether the device supports a fine pointer (mouse, trackpad, pen). */
412
+ declare function hasFinePointer(): boolean;
413
+ declare function subscribeFinePointer(callback: () => void): () => void;
407
414
  interface ContrastPalette {
408
415
  text: string;
409
416
  background: string;
@@ -437,6 +444,19 @@ interface ScriptSpacingConstraints {
437
444
  script: "cursive" | "indic" | "standard";
438
445
  }
439
446
  declare function getScriptSpacingConstraints(element: HTMLElement): ScriptSpacingConstraints;
447
+ /**
448
+ * Determines whether an element represents functional, informative, or protected visual content
449
+ * (e.g., interactive controls, CAPTCHA, charts, graphs, maps, QR codes, or images with meaningful alt/names).
450
+ * Such content must NEVER be hidden by decorative image preferences.
451
+ */
452
+ declare function isFunctionalOrMeaningfulImage(el: Element): boolean;
453
+ /**
454
+ * Determines whether an element represents an eligible decorative image that is safe to hide.
455
+ * An image is eligible if it is not functional or meaningful, and meets standard decorative cues
456
+ * (empty alt="", role="presentation", role="none", aria-hidden="true", or decorative class/attribute).
457
+ */
458
+ declare function isEligibleDecorativeImage(el: Element): boolean;
459
+ declare function nudgeReadingAid(feature: "readingGuide" | "readingMask", delta: number): void;
440
460
 
441
461
  interface LineHeightControllerProps {
442
462
  /**
@@ -491,15 +511,30 @@ declare function TextAlignController(): react.JSX.Element;
491
511
 
492
512
  declare function FontFamilyController(): react.JSX.Element;
493
513
 
494
- declare function HideImagesController(): react.JSX.Element;
514
+ interface HideImagesControllerProps {
515
+ label?: string;
516
+ }
517
+ declare function HideImagesController({ label, }?: HideImagesControllerProps): react.JSX.Element;
518
+ declare const HideDecorativeImagesController: typeof HideImagesController;
495
519
 
496
520
  declare function HideVideosController(): react.JSX.Element;
497
521
 
498
- declare function BigCursorController(): react.JSX.Element;
522
+ interface BigCursorControllerProps {
523
+ showCapabilityHint?: boolean;
524
+ }
525
+ declare function BigCursorController({ showCapabilityHint, }?: BigCursorControllerProps): react.JSX.Element;
499
526
 
500
- declare function ReadingMaskController(): react.JSX.Element;
527
+ interface ReadingMaskControllerProps {
528
+ minHeight?: number;
529
+ maxHeight?: number;
530
+ step?: number;
531
+ }
532
+ declare function ReadingMaskController({ minHeight, maxHeight, step, }?: ReadingMaskControllerProps): react.JSX.Element;
501
533
 
502
- declare function ReadingGuideController(): react.JSX.Element;
534
+ interface ReadingGuideControllerProps {
535
+ nudgeStep?: number;
536
+ }
537
+ declare function ReadingGuideController({ nudgeStep, }?: ReadingGuideControllerProps): react.JSX.Element;
503
538
 
504
539
  /**
505
540
  * Controller to toggle enhanced focus visibility.
@@ -518,4 +553,4 @@ declare function ReduceMotionController(): react.JSX.Element;
518
553
 
519
554
  declare function ResetController(): react.JSX.Element;
520
555
 
521
- export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideImagesController, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, type ReaderMode, ReadingGuideController, ReadingMaskController, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, isForcedColorsActive, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeForcedColors, subscribeReducedMotion, useAccessibility };
556
+ export { AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, type AccessibilityState, BigCursorController, type BigCursorControllerProps, CONTRAST_MODES, CONTRAST_PALETTES, CONTRAST_PROTECTED_SELECTOR, ChoiceControl, type ChoiceControlProps, type ChoiceGroup, type ChoiceOption, ContrastController, type ContrastMode, ContrastModeController, type ContrastModeValue, type ContrastPalette, type CursorSizePreference, DEFAULT_PREFERENCES, DEFAULT_READING_MASK_HEIGHT, DYSLEXIA_FONT_STACK, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FONT_FAMILY_PRESETS, FONT_FAMILY_PROTECTED_SELECTOR, FeatureCard, type FeatureCardProps, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SkipToMainLink, type SkipToMainLinkProps, StepperControl, type StepperControlProps, type StorageMode, type SupportedLocale, TEXT_ALIGN_BLOCK_SELECTOR, TEXT_SCALE_PROTECTED_SELECTOR, TEXT_SCALE_STEPS, TEXT_SPACING_EXCLUDED_SELECTOR, TextAlignController, type TextAlignPreference, TextScaleController, type TextScaleControllerProps, type TextScaleStep, ToggleControl, type ToggleControlProps, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, createInitialPreferencesState, enLocale, findMainLandmark, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, preferencesReducer, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, subscribeFinePointer, subscribeForcedColors, subscribeReducedMotion, useAccessibility };