accessibility-react-widget 1.0.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/LICENSE.md +21 -0
- package/README.md +111 -0
- package/dist/assets/main.css +1 -0
- package/dist/components/AccColors/AccColors.d.ts +8 -0
- package/dist/components/AccContent/AccContent.d.ts +9 -0
- package/dist/components/AccMenuContent/AccMenuContent.d.ts +12 -0
- package/dist/components/AccMenuContentBlock/AccMenuContentBlock.d.ts +14 -0
- package/dist/components/AccTools/AccTools.d.ts +8 -0
- package/dist/components/Accessibilik/index.d.ts +3 -0
- package/dist/components/AccessibilityMenu/AccessibilityMenu.d.ts +15 -0
- package/dist/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Header/Header.d.ts +7 -0
- package/dist/components/Portal/Portal.d.ts +8 -0
- package/dist/components/RcSlider/RcSlider.d.ts +12 -0
- package/dist/components/buttons/AccButton/AccButton.d.ts +23 -0
- package/dist/components/buttons/AccValueControl/AccValueControl.d.ts +8 -0
- package/dist/components/buttons/AccValueControlButton/AccValueControlButton.d.ts +9 -0
- package/dist/components/buttons/AccessibilityButton/AccessibilityButton.d.ts +7 -0
- package/dist/components/buttons/colors/BlueLightFilterButton/BlueLightFilterButton.d.ts +8 -0
- package/dist/components/buttons/colors/BrightnessControl/BrightnessControl.d.ts +8 -0
- package/dist/components/buttons/colors/DarkContrastButton/DarkContrastButton.d.ts +8 -0
- package/dist/components/buttons/colors/HighContrastButton/HighContrastButton.d.ts +8 -0
- package/dist/components/buttons/colors/HighSaturationButton/HighSaturationButton.d.ts +8 -0
- package/dist/components/buttons/colors/LightContrastButton/LightContrastButton.d.ts +8 -0
- package/dist/components/buttons/colors/LowSaturationButton/LowSaturationButton.d.ts +8 -0
- package/dist/components/buttons/colors/MonochromeButton/MonochromeButton.d.ts +8 -0
- package/dist/components/buttons/colors/TextColorPickerButton/TextColorPickerButton.d.ts +8 -0
- package/dist/components/buttons/colors/VisualImpairmentButton/VisualImpairmentButton.d.ts +8 -0
- package/dist/components/buttons/content/AdjustFontSize/AdjustFontSize.d.ts +9 -0
- package/dist/components/buttons/content/AlignTextButton/AlignTextButton.d.ts +11 -0
- package/dist/components/buttons/content/DyslexiaFontButton/DyslexiaFontButton.d.ts +8 -0
- package/dist/components/buttons/content/DyslexiaFontButton/style.d.ts +2 -0
- package/dist/components/buttons/content/FontWeightButton/FontWeightButton.d.ts +8 -0
- package/dist/components/buttons/content/HighlightLinksButton/HighlightLinksButton.d.ts +8 -0
- package/dist/components/buttons/content/HighlightTitlesButton/HighlightTitlesButton.d.ts +8 -0
- package/dist/components/buttons/content/LetterSpacingButton/LetterSpacingButton.d.ts +8 -0
- package/dist/components/buttons/content/LineHeightButton/LineHeightButton.d.ts +8 -0
- package/dist/components/buttons/content/WordSpacingButton/WordSpacingButton.d.ts +8 -0
- package/dist/components/buttons/content/ZoomButton/ZoomButton.d.ts +8 -0
- package/dist/components/buttons/tools/BigCursorButton/BigCursorButton.d.ts +8 -0
- package/dist/components/buttons/tools/BigCursorButton/cursor.d.ts +2 -0
- package/dist/components/buttons/tools/ReadingGuide/ReadingGuide.d.ts +9 -0
- package/dist/components/buttons/tools/TextToSpeech/TextToSpeech.d.ts +8 -0
- package/dist/components/main.d.ts +0 -0
- package/dist/config.d.ts +22 -0
- package/dist/constants.d.ts +4 -0
- package/dist/hooks/useFontSizeMutationObserver.d.ts +2 -0
- package/dist/hooks/useFontSizeTraverse.d.ts +2 -0
- package/dist/i18/locale/en.json.d.ts +40 -0
- package/dist/i18/locale/index.d.ts +13 -0
- package/dist/main.d.ts +2 -0
- package/dist/main.min.js +193 -0
- package/dist/types.d.ts +56 -0
- package/dist/utils.d.ts +5 -0
- package/dist/vite-env.d.ts +2 -0
- package/package.json +124 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"accessibility-menu": "Accessibility menu",
|
|
3
|
+
"content": {
|
|
4
|
+
"title": "Content adjustment",
|
|
5
|
+
"adjustFontSize": "Adjust Font Size",
|
|
6
|
+
"dyslexiaFont": "Dyslexia Font",
|
|
7
|
+
"fontWeight": "Font Weight",
|
|
8
|
+
"textAlignLeft": "Text Align Left",
|
|
9
|
+
"textAlignCenter": "Text Align Center",
|
|
10
|
+
"textAlignRight": "Text Align Right",
|
|
11
|
+
"highlightLinks": "Highlight Links",
|
|
12
|
+
"highlightTitles": "Highlight Titles",
|
|
13
|
+
"letterSpacing": "Letter Spacing",
|
|
14
|
+
"wordsSpacing": "Words Spacing",
|
|
15
|
+
"lineHeight": "Line Height",
|
|
16
|
+
"zoom": "Zoom"
|
|
17
|
+
},
|
|
18
|
+
"colors": {
|
|
19
|
+
"title": "Color adjustment",
|
|
20
|
+
"blueLightFilter": "Blue Light Filter",
|
|
21
|
+
"brightnessControl": "Brightness Control",
|
|
22
|
+
"darkContrast": "Dark Contrast",
|
|
23
|
+
"highContrast": "High Contrast",
|
|
24
|
+
"highSaturation": "High Saturation",
|
|
25
|
+
"lightContrast": "Light Contrast",
|
|
26
|
+
"lowSaturation": "Low Saturation",
|
|
27
|
+
"monochrom": "Monochrom",
|
|
28
|
+
"textColorPicker": "Text Color Picker",
|
|
29
|
+
"visualImpairment": "Visual Impairment"
|
|
30
|
+
},
|
|
31
|
+
"tools": {
|
|
32
|
+
"title": "Tools",
|
|
33
|
+
"bigCursor": "Big Cursor",
|
|
34
|
+
"readingGuide": "Reading Guide",
|
|
35
|
+
"textToSpeach": "Text To Speach",
|
|
36
|
+
"textToSpeachTooltip": "In order to activate 'Text To Speech', please click this button, after which you will have to select your preferred language, and then highlight the text in that language."
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const baseUrl = "https://rosengray.github.io/static/locale/";
|
|
2
|
+
export declare const loadJson: (url: string) => Promise<any>;
|
|
3
|
+
export type Translation = {
|
|
4
|
+
translation: string;
|
|
5
|
+
};
|
|
6
|
+
export type Resources = Record<string, Translation>;
|
|
7
|
+
export declare const languageArray: {
|
|
8
|
+
lang: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const getLanguagePromises: () => Promise<any>[];
|
|
12
|
+
export declare const languages: string[];
|
|
13
|
+
export declare const rtlLanguages: string[];
|
package/dist/main.d.ts
ADDED