Socket
Socket
Sign inDemoInstall

polythene-core-css

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polythene-core-css - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

17

dist/polythene-core-css.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc