polythene-core-css
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -268,13 +268,14 @@ (function (global, factory) { | ||
} | ||
return _extends({}, { | ||
return [{ | ||
"@supports (-webkit-line-clamp: 2)": _extends({}, lines !== undefined ? { | ||
"-webkit-line-clamp": lines, | ||
"-webkit-box-orient": "vertical", | ||
display: "-webkit-box", | ||
wordBreak: "break-word" | ||
} : null) | ||
}, _extends({}, { | ||
overflow: "hidden", | ||
textOverflow: "ellipsis", | ||
textRendering: "auto" // Samsung Android | ||
}, lines !== undefined ? { | ||
"-webkit-line-clamp": lines, | ||
"-webkit-box-orient": "vertical", | ||
display: "-webkit-box" | ||
} : null, lineHeight !== undefined ? { | ||
maxHeight: lines * lineHeight + unit | ||
} : null); | ||
}, lineHeight !== undefined ? { maxHeight: lines * lineHeight + unit } : null, lineHeight === 1 ? { wordWrap: "nowrap" } : null)]; | ||
}; | ||
@@ -281,0 +282,0 @@ |
{ | ||
"name": "polythene-core-css", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "dist/polythene-core-css", | ||
"write-css": "node ./scripts/writeCSS.js", | ||
"build": "yarn run clean && yarn run rollup && yarn run write-css" | ||
"build": "npm run clean && npm run rollup && npm run write-css" | ||
}, | ||
@@ -21,6 +21,6 @@ "files": [ | ||
"j2c-plugin-prefix-browser": "^1.0.7", | ||
"polythene-core": "^1.1.2" | ||
"polythene-core": "^1.2.0" | ||
}, | ||
"devDependencies": { | ||
"polythene-scripts": "^1.1.2" | ||
"polythene-scripts": "^1.2.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "author": "Arthur Clemens <arthurclemens@gmail.com> (http://arthurclemens.com)", |
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
156698
2333
Updatedpolythene-core@^1.2.0