@readapt/settings
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -253,21 +253,3 @@ const fontFamilyOptions = [ | ||
const frSettings = language === 'fr' ? { liaisonsActive: false, liaisonsOpacity: opacityOptions[0].value } : {}; | ||
return { | ||
language, | ||
fontFamily: fontFamilyOptions[0].value, | ||
fontSize: fontSizeOptions[0].value, | ||
letterSpacing: letterSpacingOptions[0].value, | ||
wordSpacing: wordSpacingOptions[0].value, | ||
lineSpacing: lineSpacingOptions[0].value, | ||
syllableActive: false, | ||
syllableOpacity: opacityOptions[0].value, | ||
silentLetterActive: false, | ||
silentLetterOpacity: opacityOptions[0].value, | ||
shadeAlternateLinesActive: false, | ||
shadeAlternateLinesOpacity: opacityOptions[0].value, | ||
phonemesActive: true, | ||
phonemes: buildDefaultPhonemeSettings(language), | ||
lettersActive: true, | ||
letters: buildDefaultLetterSettings(language), | ||
...frSettings | ||
}; | ||
return Object.assign({ language, fontFamily: fontFamilyOptions[0].value, fontSize: fontSizeOptions[0].value, letterSpacing: letterSpacingOptions[0].value, wordSpacing: wordSpacingOptions[0].value, lineSpacing: lineSpacingOptions[0].value, syllableActive: false, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: opacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings); | ||
}; | ||
@@ -274,0 +256,0 @@ |
@@ -257,21 +257,3 @@ 'use strict'; | ||
const frSettings = language === 'fr' ? { liaisonsActive: false, liaisonsOpacity: opacityOptions[0].value } : {}; | ||
return { | ||
language, | ||
fontFamily: fontFamilyOptions[0].value, | ||
fontSize: fontSizeOptions[0].value, | ||
letterSpacing: letterSpacingOptions[0].value, | ||
wordSpacing: wordSpacingOptions[0].value, | ||
lineSpacing: lineSpacingOptions[0].value, | ||
syllableActive: false, | ||
syllableOpacity: opacityOptions[0].value, | ||
silentLetterActive: false, | ||
silentLetterOpacity: opacityOptions[0].value, | ||
shadeAlternateLinesActive: false, | ||
shadeAlternateLinesOpacity: opacityOptions[0].value, | ||
phonemesActive: true, | ||
phonemes: buildDefaultPhonemeSettings(language), | ||
lettersActive: true, | ||
letters: buildDefaultLetterSettings(language), | ||
...frSettings | ||
}; | ||
return Object.assign({ language, fontFamily: fontFamilyOptions[0].value, fontSize: fontSizeOptions[0].value, letterSpacing: letterSpacingOptions[0].value, wordSpacing: wordSpacingOptions[0].value, lineSpacing: lineSpacingOptions[0].value, syllableActive: false, syllableOpacity: opacityOptions[0].value, silentLetterActive: false, silentLetterOpacity: opacityOptions[0].value, shadeAlternateLinesActive: false, shadeAlternateLinesOpacity: opacityOptions[0].value, phonemesActive: true, phonemes: buildDefaultPhonemeSettings(language), lettersActive: true, letters: buildDefaultLetterSettings(language) }, frSettings); | ||
}; | ||
@@ -278,0 +260,0 @@ |
{ | ||
"name": "@readapt/settings", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"main": "dist/readapt-settings.js", | ||
"module": "dist/readapt-settings.esm.js", | ||
"types": "dist/types.d.ts", | ||
"types": "dist/types/index.d.ts", | ||
"scripts": { | ||
@@ -24,3 +24,3 @@ "clean": "shx rm -rf dist", | ||
], | ||
"gitHead": "4ede971994fed7176191dc9eb25b94359b7ad831" | ||
"gitHead": "ffb76e6ae504fe8ce6c8f0a727efb0a6358be909" | ||
} |
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
77568
92
1031