@readapt/visual-engine
Advanced tools
Comparing version 1.6.1-alpha.1 to 1.6.2
@@ -102,3 +102,7 @@ import { fontFamilyOptions, fontSizeOptions, letterSpacingOptions, wordSpacingOptions, lineSpacingOptions } from '@readapt/settings'; | ||
const globalStyles = fontFamilyStyle + fontSizeStyle + letterSpacingStyle + wordSpacingStyle + lineHeightStyle; | ||
return `${scope} .readapt-content { ${globalStyles} } .readapt-content > span { font-size: inherit } ${scope} .readapt-bold { font-weight: bold }`; | ||
return ` | ||
${scope} .readapt-content { ${globalStyles} } | ||
${scope} .readapt-content > span { font-size: inherit } | ||
${scope} .readapt-content .readapt-bold { font-weight: bold } | ||
`; | ||
}; | ||
@@ -105,0 +109,0 @@ const generateHtmlElementStyles = (settings, mainClass) => { |
@@ -110,3 +110,7 @@ 'use strict'; | ||
const globalStyles = fontFamilyStyle + fontSizeStyle + letterSpacingStyle + wordSpacingStyle + lineHeightStyle; | ||
return `${scope} .readapt-content { ${globalStyles} } .readapt-content > span { font-size: inherit } ${scope} .readapt-bold { font-weight: bold }`; | ||
return ` | ||
${scope} .readapt-content { ${globalStyles} } | ||
${scope} .readapt-content > span { font-size: inherit } | ||
${scope} .readapt-content .readapt-bold { font-weight: bold } | ||
`; | ||
}; | ||
@@ -113,0 +117,0 @@ const generateHtmlElementStyles = (settings, mainClass) => { |
{ | ||
"name": "@readapt/visual-engine", | ||
"version": "1.6.1-alpha.1", | ||
"version": "1.6.2", | ||
"main": "dist/readapt-visual-engine.js", | ||
@@ -25,9 +25,10 @@ "module": "dist/readapt-visual-engine.esm.js", | ||
"dependencies": { | ||
"@readapt/settings": "^1.6.1-alpha.1", | ||
"@readapt/text-engine": "^1.6.1-alpha.1", | ||
"@readapt/settings": "^1.6.2", | ||
"@readapt/text-engine": "^1.6.2", | ||
"lodash": "^4.17.21" | ||
}, | ||
"devDependencies": { | ||
"@types/lodash": "^4.14.179" | ||
"@types/lodash": "^4.14.179", | ||
"jest-extended": "^3.2.0" | ||
} | ||
} |
@@ -12,3 +12,7 @@ import { fontFamilyOptions, fontSizeOptions, letterSpacingOptions, lineSpacingOptions, Settings, wordSpacingOptions } from '@readapt/settings' | ||
return `${scope} .readapt-content { ${globalStyles} } .readapt-content > span { font-size: inherit } ${scope} .readapt-bold { font-weight: bold }` | ||
return ` | ||
${scope} .readapt-content { ${globalStyles} } | ||
${scope} .readapt-content > span { font-size: inherit } | ||
${scope} .readapt-content .readapt-bold { font-weight: bold } | ||
` | ||
} | ||
@@ -15,0 +19,0 @@ |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
14275395
2872
1
0
2
Updated@readapt/settings@^1.6.2
Updated@readapt/text-engine@^1.6.2