Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

font-picker

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-picker - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

lib/font-picker.js

@@ -603,3 +603,3 @@ (function (global, factory) {

var css = "@charset \"UTF-8\";\ndiv[id^=\"font-picker\"] {\n position: relative;\n display: inline-block;\n width: 200px;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); }\n div[id^=\"font-picker\"] * {\n box-sizing: border-box; }\n div[id^=\"font-picker\"] p {\n margin: 0;\n padding: 0; }\n div[id^=\"font-picker\"] button {\n background: none;\n border: 0;\n color: inherit;\n cursor: pointer;\n font-size: inherit;\n outline: none; }\n div[id^=\"font-picker\"] .dropdown-button {\n height: 35px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 10px;\n background: #CBCBCB; }\n div[id^=\"font-picker\"] .dropdown-button:hover, div[id^=\"font-picker\"] .dropdown-button.expanded, div[id^=\"font-picker\"] .dropdown-button:focus {\n background: #bebebe; }\n div[id^=\"font-picker\"] .dropdown-button .dropdown-font-name {\n overflow: hidden;\n white-space: nowrap; }\n div[id^=\"font-picker\"] .dropdown-icon {\n margin-left: 10px; }\n\n@keyframes spinner {\n to {\n transform: rotate(360deg); } }\n div[id^=\"font-picker\"] .dropdown-icon.loading:before {\n content: '';\n display: block;\n height: 10px;\n width: 10px;\n border-radius: 50%;\n border: 2px solid #b2b2b2;\n border-top-color: black;\n animation: spinner 0.6s linear infinite; }\n div[id^=\"font-picker\"] .dropdown-icon.finished:before {\n content: '';\n display: block;\n height: 0;\n width: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 6px solid black;\n transition: transform 0.3s;\n margin: 0 2px; }\n div[id^=\"font-picker\"] .dropdown-icon.error:before {\n content: '⚠'; }\n div[id^=\"font-picker\"] .dropdown-button.expanded .dropdown-icon.finished:before {\n transform: rotate(-180deg); }\n div[id^=\"font-picker\"] ul {\n position: absolute;\n z-index: 1;\n max-height: 0;\n width: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n margin: 0;\n padding: 0;\n background: #EAEAEA;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);\n transition: 0.3s; }\n div[id^=\"font-picker\"] ul.expanded {\n max-height: 200px; }\n div[id^=\"font-picker\"] ul li {\n height: 35px;\n list-style: none; }\n div[id^=\"font-picker\"] ul li button {\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n padding: 0 10px;\n white-space: nowrap; }\n div[id^=\"font-picker\"] ul li button:hover, div[id^=\"font-picker\"] ul li button:focus {\n background: #dddddd; }\n div[id^=\"font-picker\"] ul li button.active-font {\n background: #d1d1d1; }\n";
var css = "@charset \"UTF-8\";\ndiv[id^=\"font-picker\"] {\n position: relative;\n display: inline-block;\n width: 200px;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); }\n div[id^=\"font-picker\"] * {\n box-sizing: border-box; }\n div[id^=\"font-picker\"] p {\n margin: 0;\n padding: 0; }\n div[id^=\"font-picker\"] button {\n background: none;\n border: 0;\n color: inherit;\n cursor: pointer;\n font-size: inherit;\n outline: none; }\n div[id^=\"font-picker\"] .dropdown-button {\n height: 35px;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 10px;\n background: #CBCBCB; }\n div[id^=\"font-picker\"] .dropdown-button:hover, div[id^=\"font-picker\"] .dropdown-button.expanded, div[id^=\"font-picker\"] .dropdown-button:focus {\n background: #bebebe; }\n div[id^=\"font-picker\"] .dropdown-button .dropdown-font-name {\n overflow: hidden;\n white-space: nowrap; }\n div[id^=\"font-picker\"] .dropdown-icon {\n margin-left: 10px; }\n\n@-webkit-keyframes spinner {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes spinner {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n div[id^=\"font-picker\"] .dropdown-icon.loading:before {\n content: '';\n display: block;\n height: 10px;\n width: 10px;\n border-radius: 50%;\n border: 2px solid #b2b2b2;\n border-top-color: black;\n -webkit-animation: spinner 0.6s linear infinite;\n animation: spinner 0.6s linear infinite; }\n div[id^=\"font-picker\"] .dropdown-icon.finished:before {\n content: '';\n display: block;\n height: 0;\n width: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 6px solid black;\n transition: -webkit-transform 0.3s;\n transition: transform 0.3s;\n transition: transform 0.3s, -webkit-transform 0.3s;\n margin: 0 2px; }\n div[id^=\"font-picker\"] .dropdown-icon.error:before {\n content: '⚠'; }\n div[id^=\"font-picker\"] .dropdown-button.expanded .dropdown-icon.finished:before {\n -webkit-transform: rotate(-180deg);\n transform: rotate(-180deg); }\n div[id^=\"font-picker\"] ul {\n position: absolute;\n z-index: 1;\n max-height: 0;\n width: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n margin: 0;\n padding: 0;\n background: #EAEAEA;\n box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);\n transition: 0.3s; }\n div[id^=\"font-picker\"] ul.expanded {\n max-height: 200px; }\n div[id^=\"font-picker\"] ul li {\n height: 35px;\n list-style: none; }\n div[id^=\"font-picker\"] ul li button {\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n padding: 0 10px;\n white-space: nowrap; }\n div[id^=\"font-picker\"] ul li button:hover, div[id^=\"font-picker\"] ul li button:focus {\n background: #dddddd; }\n div[id^=\"font-picker\"] ul li button.active-font {\n background: #d1d1d1; }\n";
styleInject(css);

@@ -606,0 +606,0 @@

{
"name": "font-picker",
"version": "2.0.3",
"version": "2.0.4",
"description": "Font selector component for Google Fonts",

@@ -29,2 +29,3 @@ "keywords": [

"devDependencies": {
"autoprefixer": "^8.5.0",
"babel-core": "^6.26.0",

@@ -31,0 +32,0 @@ "babel-plugin-external-helpers": "^6.22.0",

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