@readapt/visual-engine
Advanced tools
Comparing version 1.6.2 to 1.6.3
export declare const colors: readonly ["#5fa2ce", "#76b7b2", "#b07aa1", "#fc7d0b", "#a3cce9", "#c85200", "#7b848f", "#59a14f", "#ff9da7", "#edc948", "#9c755f", "#ffbc79"]; | ||
export declare type ColorOption = typeof colors[number]; | ||
export type ColorOption = typeof colors[number]; | ||
//# sourceMappingURL=colors.d.ts.map |
import { Option } from '../models'; | ||
export declare type FontFamilyOption = 'inherit' | 'Arial' | 'OpenDyslexic' | 'Luciole'; | ||
export type FontFamilyOption = 'inherit' | 'Arial' | 'OpenDyslexic' | 'Luciole'; | ||
export declare const fontFamilyOptions: Option<FontFamilyOption>[]; | ||
//# sourceMappingURL=fontFamilyOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type FontSizeOption = 'inherit' | '140%' | '170%' | '200%'; | ||
export type FontSizeOption = 'inherit' | '140%' | '170%' | '200%'; | ||
export declare const fontSizeOptions: Option<FontSizeOption>[]; | ||
//# sourceMappingURL=fontSizeOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type LetterSpacingOption = 'inherit' | '2px' | '3.5px' | '5px'; | ||
export type LetterSpacingOption = 'inherit' | '2px' | '3.5px' | '5px'; | ||
export declare const letterSpacingOptions: Option<LetterSpacingOption>[]; | ||
//# sourceMappingURL=letterSpacingOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type LineSpacingOption = 'inherit' | '2.1' | '2.55' | '3'; | ||
export type LineSpacingOption = 'inherit' | '2.1' | '2.55' | '3'; | ||
export declare const lineSpacingOptions: Option<LineSpacingOption>[]; | ||
//# sourceMappingURL=lineSpacingOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type OpacityOption = '33' | '66' | '99' | 'CC' | 'FF'; | ||
export type OpacityOption = '33' | '66' | '99' | 'CC' | 'FF'; | ||
export declare const opacityOptions: Option<OpacityOption>[]; | ||
//# sourceMappingURL=opacityOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type SilentLetterOpacityOption = '0.2' | '0.4' | '0.5' | '0.6' | '0.8'; | ||
export type SilentLetterOpacityOption = '0.2' | '0.4' | '0.5' | '0.6' | '0.8'; | ||
export declare const silentLetterOpacityOptions: Option<SilentLetterOpacityOption>[]; | ||
//# sourceMappingURL=silentLetterOpacityOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type ThicknessOption = '1' | '2' | '3'; | ||
export type ThicknessOption = '1' | '2' | '3'; | ||
export declare const thicknessOptions: Option<ThicknessOption>[]; | ||
//# sourceMappingURL=thicknessOptions.d.ts.map |
import { Option } from '../models'; | ||
export declare type WordSpacingOption = 'inherit' | '2px' | '3.5px' | '5px'; | ||
export type WordSpacingOption = 'inherit' | '2px' | '3.5px' | '5px'; | ||
export declare const wordSpacingOptions: Option<WordSpacingOption>[]; | ||
//# sourceMappingURL=wordSpacingOptions.d.ts.map |
@@ -24,3 +24,3 @@ /** | ||
*/ | ||
export declare type Liaison = [number, number, string]; | ||
export type Liaison = [number, number, string]; | ||
/** | ||
@@ -31,3 +31,3 @@ * A Syllable is represented as a tuple [startIndex, endIndex] | ||
*/ | ||
export declare type Syllable = [number, number]; | ||
export type Syllable = [number, number]; | ||
/** | ||
@@ -37,7 +37,7 @@ * A Phoneme is represented by a phoneme index or in some cases a tuple of two phonemes index. | ||
*/ | ||
export declare type Phoneme = number | [number, number]; | ||
export type Phoneme = number | [number, number]; | ||
/** | ||
* Available Languages | ||
*/ | ||
export declare type Lang = 'en' | 'fr'; | ||
export type Lang = 'en' | 'fr'; | ||
/** | ||
@@ -68,3 +68,3 @@ * Used to analise a text in a specified Lang | ||
*/ | ||
export declare type AnaliseTextFn = (text: string, lang: Lang) => TextAnalysis; | ||
export type AnaliseTextFn = (text: string, lang: Lang) => TextAnalysis; | ||
//# sourceMappingURL=models.d.ts.map |
import { Settings } from '@readapt/settings'; | ||
declare const generateHtmlElementStyles: (settings: Settings, mainClass?: string | undefined) => string; | ||
declare const generateHtmlElementStyles: (settings: Settings, mainClass?: string) => string; | ||
export { generateHtmlElementStyles }; | ||
//# sourceMappingURL=adaptHtmlElementStyle.d.ts.map |
@@ -7,3 +7,3 @@ import { AnaliseTextFn } from '@readapt/text-engine'; | ||
*/ | ||
export declare type AdaptHtmlElementFn = (htmlElement: HTMLElement, settings: Settings, scope: string) => void; | ||
export type AdaptHtmlElementFn = (htmlElement: HTMLElement, settings: Settings, scope: string) => void; | ||
/** | ||
@@ -17,3 +17,3 @@ * build a function to adapt an html element | ||
*/ | ||
export declare type AdaptHtmlTextFn = (htmlText: string, settings: Settings) => string; | ||
export type AdaptHtmlTextFn = (htmlText: string, settings: Settings) => string; | ||
/** | ||
@@ -20,0 +20,0 @@ * build a function to adapt an html text |
import { Settings } from '@readapt/settings'; | ||
declare const generateHtmlElementStyles: (settings: Settings, mainClass?: string | undefined) => string; | ||
declare const generateHtmlElementStyles: (settings: Settings, mainClass?: string) => string; | ||
export { generateHtmlElementStyles }; | ||
//# sourceMappingURL=adaptHtmlElementStyle.d.ts.map |
@@ -7,3 +7,3 @@ import { AnaliseTextFn } from '@readapt/text-engine'; | ||
*/ | ||
export declare type AdaptHtmlElementFn = (htmlElement: HTMLElement, settings: Settings, scope: string) => void; | ||
export type AdaptHtmlElementFn = (htmlElement: HTMLElement, settings: Settings, scope: string) => void; | ||
/** | ||
@@ -17,3 +17,3 @@ * build a function to adapt an html element | ||
*/ | ||
export declare type AdaptHtmlTextFn = (htmlText: string, settings: Settings) => string; | ||
export type AdaptHtmlTextFn = (htmlText: string, settings: Settings) => string; | ||
/** | ||
@@ -20,0 +20,0 @@ * build a function to adapt an html text |
{ | ||
"name": "@readapt/visual-engine", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"main": "dist/readapt-visual-engine.js", | ||
@@ -25,4 +25,4 @@ "module": "dist/readapt-visual-engine.esm.js", | ||
"dependencies": { | ||
"@readapt/settings": "^1.6.2", | ||
"@readapt/text-engine": "^1.6.2", | ||
"@readapt/settings": "^1.6.3", | ||
"@readapt/text-engine": "^1.6.3", | ||
"lodash": "^4.17.21" | ||
@@ -29,0 +29,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14275315
Updated@readapt/settings@^1.6.3
Updated@readapt/text-engine@^1.6.3