accessibility-plugin-react 2.16.0 → 2.17.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 +1 -0
- package/dist/index.d.mts +47 -7
- package/dist/index.d.ts +47 -7
- package/dist/index.js +308 -85
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +261 -40
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +59 -1
- package/docs/API.md +2 -2
- package/docs/BUILD_AND_RELEASE_PLAN.md +1 -1
- package/docs/FEATURES.md +1 -0
- package/docs/LOCALES.md +149 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -283,6 +283,7 @@ See [troubleshooting](docs/TROUBLESHOOTING.md) before filing an issue.
|
|
|
283
283
|
- [Feature behavior and bounds](docs/FEATURES.md)
|
|
284
284
|
- [Link highlighting, focus visibility, and landmark skip links](docs/LINKS_AND_FOCUS.md)
|
|
285
285
|
- [Reduce motion and media controls](docs/REDUCE_MOTION.md)
|
|
286
|
+
- [Internationalization and locale packs](docs/LOCALES.md)
|
|
286
287
|
- [Contrast modes and forced-colors protection](docs/CONTRAST.md)
|
|
287
288
|
- [Legible and dyslexia font stacks](docs/FONTS.md)
|
|
288
289
|
- [Installation and Next.js](docs/INSTALLATION.md)
|
package/dist/index.d.mts
CHANGED
|
@@ -83,6 +83,25 @@ declare function resolveEffectivePreferences(base: AccessibilityPreferences, pro
|
|
|
83
83
|
declare function createInitialPreferencesState(initial?: Partial<AccessibilityPreferences> | null): PreferencesState;
|
|
84
84
|
declare function preferencesReducer(state: PreferencesState, action: PreferencesAction): PreferencesState;
|
|
85
85
|
|
|
86
|
+
interface FeatureLocaleLabels {
|
|
87
|
+
textScale?: string;
|
|
88
|
+
lineHeight?: string;
|
|
89
|
+
letterSpacing?: string;
|
|
90
|
+
wordSpacing?: string;
|
|
91
|
+
paragraphSpacing?: string;
|
|
92
|
+
textAlign?: string;
|
|
93
|
+
fontFamily?: string;
|
|
94
|
+
contrast?: string;
|
|
95
|
+
highlightLinks?: string;
|
|
96
|
+
focusOutline?: string;
|
|
97
|
+
reduceMotion?: string;
|
|
98
|
+
cursorGuide?: string;
|
|
99
|
+
headingsNavigator?: string;
|
|
100
|
+
profiles?: string;
|
|
101
|
+
presets?: string;
|
|
102
|
+
readingMode?: string;
|
|
103
|
+
[key: string]: string | undefined;
|
|
104
|
+
}
|
|
86
105
|
interface LocaleStrings {
|
|
87
106
|
title: string;
|
|
88
107
|
description: string;
|
|
@@ -112,13 +131,32 @@ interface LocaleStrings {
|
|
|
112
131
|
moveDown: string;
|
|
113
132
|
moveRight: string;
|
|
114
133
|
largeControlsLabel: string;
|
|
134
|
+
cornerNames?: Record<string, string>;
|
|
115
135
|
formatPointPosition?: (x: number, y: number) => string;
|
|
116
136
|
formatCornerPosition?: (corner: string) => string;
|
|
117
|
-
|
|
118
|
-
|
|
137
|
+
searchPlaceholder?: string;
|
|
138
|
+
searchClearLabel?: string;
|
|
139
|
+
formatSearchCount?: (matched: number, total: number, query?: string) => string;
|
|
140
|
+
emptySearchTitle?: string;
|
|
141
|
+
emptySearchDescription?: string;
|
|
142
|
+
clearSearchLabel?: string;
|
|
143
|
+
formatProfileApplied?: (profileName: string) => string;
|
|
144
|
+
formatProfileReverted?: () => string;
|
|
145
|
+
formatPresetSaved?: (presetName: string) => string;
|
|
146
|
+
formatPresetApplied?: (presetName: string) => string;
|
|
147
|
+
formatPresetDeleted?: (presetName: string) => string;
|
|
148
|
+
decreaseTextSize?: string;
|
|
149
|
+
increaseTextSize?: string;
|
|
150
|
+
features?: FeatureLocaleLabels;
|
|
151
|
+
}
|
|
152
|
+
type SupportedLocale = "en" | "en-US" | "en-GB" | "si" | "si-LK" | "ta" | "ta-LK" | string;
|
|
119
153
|
|
|
120
154
|
declare const enLocale: Readonly<LocaleStrings>;
|
|
121
155
|
|
|
156
|
+
declare const siLocale: Readonly<LocaleStrings>;
|
|
157
|
+
|
|
158
|
+
declare const taLocale: Readonly<LocaleStrings>;
|
|
159
|
+
|
|
122
160
|
declare function registerLocale(code: string, strings: LocaleStrings): void;
|
|
123
161
|
declare function isRtlLocale(localeProp?: string): boolean;
|
|
124
162
|
declare function resolveLocaleStrings(localeProp?: string): LocaleStrings;
|
|
@@ -209,8 +247,9 @@ interface SearchCountProps {
|
|
|
209
247
|
query?: string;
|
|
210
248
|
className?: string;
|
|
211
249
|
style?: CSSProperties;
|
|
250
|
+
locale?: string;
|
|
212
251
|
}
|
|
213
|
-
declare function SearchCount({ totalCount, matchedCount, query, className, style, }: SearchCountProps): react.JSX.Element;
|
|
252
|
+
declare function SearchCount({ totalCount, matchedCount, query, className, style, locale, }: SearchCountProps): react.JSX.Element;
|
|
214
253
|
interface EmptyStateProps {
|
|
215
254
|
title?: string;
|
|
216
255
|
description?: string;
|
|
@@ -219,8 +258,9 @@ interface EmptyStateProps {
|
|
|
219
258
|
icon?: ReactNode;
|
|
220
259
|
className?: string;
|
|
221
260
|
style?: CSSProperties;
|
|
261
|
+
locale?: string;
|
|
222
262
|
}
|
|
223
|
-
declare function EmptyState({ title, description, actionLabel, onAction, icon, className, style, }: EmptyStateProps): react.JSX.Element;
|
|
263
|
+
declare function EmptyState({ title, description, actionLabel, onAction, icon, className, style, locale, }: EmptyStateProps): react.JSX.Element;
|
|
224
264
|
interface ErrorStateProps {
|
|
225
265
|
title?: string;
|
|
226
266
|
message: string;
|
|
@@ -426,7 +466,7 @@ interface TextScaleControllerProps {
|
|
|
426
466
|
*/
|
|
427
467
|
steps?: readonly number[];
|
|
428
468
|
/**
|
|
429
|
-
* Accessible group label and visible title. Default: "Bigger Text".
|
|
469
|
+
* Accessible group label and visible title. Default: "Bigger Text" (or localized).
|
|
430
470
|
*/
|
|
431
471
|
label?: string;
|
|
432
472
|
}
|
|
@@ -704,7 +744,7 @@ interface PresetsControllerProps {
|
|
|
704
744
|
description?: string;
|
|
705
745
|
largeControls?: boolean;
|
|
706
746
|
}
|
|
707
|
-
declare function PresetsController({ className, label, description, largeControls, }
|
|
747
|
+
declare function PresetsController({ className, label, description, largeControls, }?: PresetsControllerProps): react.JSX.Element;
|
|
708
748
|
declare const CustomPresetsController: typeof PresetsController;
|
|
709
749
|
declare const SettingsImportExportController: typeof PresetsController;
|
|
710
750
|
declare const PresetsBackupController: typeof PresetsController;
|
|
@@ -797,4 +837,4 @@ interface UsePresetsResult {
|
|
|
797
837
|
*/
|
|
798
838
|
declare function usePresets(): UsePresetsResult;
|
|
799
839
|
|
|
800
|
-
export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, 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, type CustomPreset, CustomPresetsController, 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, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, 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, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, exportPresetsToJson, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, useAccessibility, usePresets, useProfiles, validateAndParseImport };
|
|
840
|
+
export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, 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, type CustomPreset, CustomPresetsController, 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 FeatureLocaleLabels, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, 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, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, exportPresetsToJson, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, siLocale, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, taLocale, useAccessibility, usePresets, useProfiles, validateAndParseImport };
|
package/dist/index.d.ts
CHANGED
|
@@ -83,6 +83,25 @@ declare function resolveEffectivePreferences(base: AccessibilityPreferences, pro
|
|
|
83
83
|
declare function createInitialPreferencesState(initial?: Partial<AccessibilityPreferences> | null): PreferencesState;
|
|
84
84
|
declare function preferencesReducer(state: PreferencesState, action: PreferencesAction): PreferencesState;
|
|
85
85
|
|
|
86
|
+
interface FeatureLocaleLabels {
|
|
87
|
+
textScale?: string;
|
|
88
|
+
lineHeight?: string;
|
|
89
|
+
letterSpacing?: string;
|
|
90
|
+
wordSpacing?: string;
|
|
91
|
+
paragraphSpacing?: string;
|
|
92
|
+
textAlign?: string;
|
|
93
|
+
fontFamily?: string;
|
|
94
|
+
contrast?: string;
|
|
95
|
+
highlightLinks?: string;
|
|
96
|
+
focusOutline?: string;
|
|
97
|
+
reduceMotion?: string;
|
|
98
|
+
cursorGuide?: string;
|
|
99
|
+
headingsNavigator?: string;
|
|
100
|
+
profiles?: string;
|
|
101
|
+
presets?: string;
|
|
102
|
+
readingMode?: string;
|
|
103
|
+
[key: string]: string | undefined;
|
|
104
|
+
}
|
|
86
105
|
interface LocaleStrings {
|
|
87
106
|
title: string;
|
|
88
107
|
description: string;
|
|
@@ -112,13 +131,32 @@ interface LocaleStrings {
|
|
|
112
131
|
moveDown: string;
|
|
113
132
|
moveRight: string;
|
|
114
133
|
largeControlsLabel: string;
|
|
134
|
+
cornerNames?: Record<string, string>;
|
|
115
135
|
formatPointPosition?: (x: number, y: number) => string;
|
|
116
136
|
formatCornerPosition?: (corner: string) => string;
|
|
117
|
-
|
|
118
|
-
|
|
137
|
+
searchPlaceholder?: string;
|
|
138
|
+
searchClearLabel?: string;
|
|
139
|
+
formatSearchCount?: (matched: number, total: number, query?: string) => string;
|
|
140
|
+
emptySearchTitle?: string;
|
|
141
|
+
emptySearchDescription?: string;
|
|
142
|
+
clearSearchLabel?: string;
|
|
143
|
+
formatProfileApplied?: (profileName: string) => string;
|
|
144
|
+
formatProfileReverted?: () => string;
|
|
145
|
+
formatPresetSaved?: (presetName: string) => string;
|
|
146
|
+
formatPresetApplied?: (presetName: string) => string;
|
|
147
|
+
formatPresetDeleted?: (presetName: string) => string;
|
|
148
|
+
decreaseTextSize?: string;
|
|
149
|
+
increaseTextSize?: string;
|
|
150
|
+
features?: FeatureLocaleLabels;
|
|
151
|
+
}
|
|
152
|
+
type SupportedLocale = "en" | "en-US" | "en-GB" | "si" | "si-LK" | "ta" | "ta-LK" | string;
|
|
119
153
|
|
|
120
154
|
declare const enLocale: Readonly<LocaleStrings>;
|
|
121
155
|
|
|
156
|
+
declare const siLocale: Readonly<LocaleStrings>;
|
|
157
|
+
|
|
158
|
+
declare const taLocale: Readonly<LocaleStrings>;
|
|
159
|
+
|
|
122
160
|
declare function registerLocale(code: string, strings: LocaleStrings): void;
|
|
123
161
|
declare function isRtlLocale(localeProp?: string): boolean;
|
|
124
162
|
declare function resolveLocaleStrings(localeProp?: string): LocaleStrings;
|
|
@@ -209,8 +247,9 @@ interface SearchCountProps {
|
|
|
209
247
|
query?: string;
|
|
210
248
|
className?: string;
|
|
211
249
|
style?: CSSProperties;
|
|
250
|
+
locale?: string;
|
|
212
251
|
}
|
|
213
|
-
declare function SearchCount({ totalCount, matchedCount, query, className, style, }: SearchCountProps): react.JSX.Element;
|
|
252
|
+
declare function SearchCount({ totalCount, matchedCount, query, className, style, locale, }: SearchCountProps): react.JSX.Element;
|
|
214
253
|
interface EmptyStateProps {
|
|
215
254
|
title?: string;
|
|
216
255
|
description?: string;
|
|
@@ -219,8 +258,9 @@ interface EmptyStateProps {
|
|
|
219
258
|
icon?: ReactNode;
|
|
220
259
|
className?: string;
|
|
221
260
|
style?: CSSProperties;
|
|
261
|
+
locale?: string;
|
|
222
262
|
}
|
|
223
|
-
declare function EmptyState({ title, description, actionLabel, onAction, icon, className, style, }: EmptyStateProps): react.JSX.Element;
|
|
263
|
+
declare function EmptyState({ title, description, actionLabel, onAction, icon, className, style, locale, }: EmptyStateProps): react.JSX.Element;
|
|
224
264
|
interface ErrorStateProps {
|
|
225
265
|
title?: string;
|
|
226
266
|
message: string;
|
|
@@ -426,7 +466,7 @@ interface TextScaleControllerProps {
|
|
|
426
466
|
*/
|
|
427
467
|
steps?: readonly number[];
|
|
428
468
|
/**
|
|
429
|
-
* Accessible group label and visible title. Default: "Bigger Text".
|
|
469
|
+
* Accessible group label and visible title. Default: "Bigger Text" (or localized).
|
|
430
470
|
*/
|
|
431
471
|
label?: string;
|
|
432
472
|
}
|
|
@@ -704,7 +744,7 @@ interface PresetsControllerProps {
|
|
|
704
744
|
description?: string;
|
|
705
745
|
largeControls?: boolean;
|
|
706
746
|
}
|
|
707
|
-
declare function PresetsController({ className, label, description, largeControls, }
|
|
747
|
+
declare function PresetsController({ className, label, description, largeControls, }?: PresetsControllerProps): react.JSX.Element;
|
|
708
748
|
declare const CustomPresetsController: typeof PresetsController;
|
|
709
749
|
declare const SettingsImportExportController: typeof PresetsController;
|
|
710
750
|
declare const PresetsBackupController: typeof PresetsController;
|
|
@@ -797,4 +837,4 @@ interface UsePresetsResult {
|
|
|
797
837
|
*/
|
|
798
838
|
declare function usePresets(): UsePresetsResult;
|
|
799
839
|
|
|
800
|
-
export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, 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, type CustomPreset, CustomPresetsController, 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, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, 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, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, exportPresetsToJson, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, useAccessibility, usePresets, useProfiles, validateAndParseImport };
|
|
840
|
+
export { ALLOWED_PREFERENCE_KEYS, ALL_PROFILE_IDS, AccessibilityButton, type AccessibilityButtonProps, AccessibilityContext, type AccessibilityContextValue, AccessibilityList, type AccessibilityListProps, AccessibilityPlugin, type AccessibilityPluginProps, type AccessibilityPreferences, AccessibilityProfilesController, type AccessibilityState, AccessibleTooltipsController, type ActiveProfileState, 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, type CustomPreset, CustomPresetsController, 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 FeatureLocaleLabels, type FeatureOptions, type FeatureRegistration, type FeatureStatus, FocusHighlightController, FontFamilyController, type FontFamilyPreference, type FontFamilyPreset, FontSizeController, type FontSizeControllerProps, GrayscaleController, type HeadingItem, HeadingsNavigatorController, HideDecorativeImagesController, HideImagesController, type HideImagesControllerProps, HideVideosController, HighlightFocusController, type ImportResult, InvertColorsController, LEGIBLE_FONT_STACK, LINE_HEIGHT_RATIOS, LINE_HEIGHT_STEPS, type LandmarkItem, LetterSpacingController, type LetterSpacingControllerProps, LineHeightController, type LineHeightControllerProps, LinkHighlightController, type LocaleStrings, MAX_READING_MASK_HEIGHT, MIN_READING_MASK_HEIGHT, PROFILE_DEFINITIONS, PageNavigatorController, type PageNavigatorControllerProps, PageStructureController, ParagraphSpacingController, type ParagraphSpacingControllerProps, type PluginPosition, PresetsBackupController, PresetsController, type PresetsControllerProps, type PresetsExportV1, ProfileController, type ProfileDefinition, type ProfilePresetId, ProfilePreviewCard, type ProfilePreviewCardProps, ProfilesController, type ProfilesControllerProps, READING_MASK_HEIGHT_PRESETS, type ReaderMode, ReadingGuideController, type ReadingGuideControllerProps, ReadingMaskController, type ReadingMaskControllerProps, ReduceMotionController, ResetController, SaturationController, type SaturationPreference, type ScriptSpacingConstraints, SearchCount, type SearchCountProps, SettingsImportExportController, 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, TooltipsController, type TooltipsControllerProps, type UsePresetsResult, type UseProfilesResult, type WidgetPlacement, WordSpacingController, type WordSpacingControllerProps, applyCustomPresetToStore, applyProfileToStore, createCustomPreset, createInitialPreferencesState, downloadJsonFile, enLocale, enableAccessibleTooltips, exportPresetsToJson, findMainLandmark, getAuthoredDescription, getProfileDefinition, getScriptSpacingConstraints, hasFinePointer, isEligibleDecorativeImage, isForcedColorsActive, isFunctionalOrMeaningfulImage, isProtectedFromContrast, isProtectedFromFontFamily, isProtectedFromTextAlign, isProtectedFromTextScale, isProtectedFromTextSpacing, isReducedMotionActive, isRtlLocale, isValidCustomPreset, mapFeaturesToProfileSettings, mapProfileSettingsToFeatures, navigateToElement, normalizePreferenceValue, normalizePreferences, nudgeReadingAid, positionTooltip, preferencesReducer, recordProfileOverride, registerLocale, resolveEffectivePreferences, resolveLocaleStrings, revertProfileFromStore, sanitizePreferences, scanHeadings, scanLandmarks, siLocale, subscribeFinePointer, subscribeForcedColors, subscribePageStructure, subscribeReducedMotion, taLocale, useAccessibility, usePresets, useProfiles, validateAndParseImport };
|