Socket
Socket
Sign inDemoInstall

cpr-select

Package Overview
Dependencies
Maintainers
18
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpr-select - npm Package Compare versions

Comparing version 2.6.1 to 2.7.0

build/cpr-select.js

2

lib/select.js

@@ -287,3 +287,3 @@ 'use strict';

'div',
{ className: 'cp-select__selected', style: { color: '#afafaf' } },
{ className: 'cp-select__selected' },
placeholder

@@ -290,0 +290,0 @@ ),

{
"name": "cpr-select",
"version": "2.6.1",
"version": "2.7.0",
"description": "A consistently styled cross-browser and keyboard friendly select component",

@@ -5,0 +5,0 @@ "main": "lib/select.js",

@@ -283,3 +283,3 @@ import React from 'react';

? <div className="cp-select__selected">{selectedItem.value}</div>
: <div className="cp-select__selected" style={{color:'#afafaf'}}>{placeholder}</div>
: <div className="cp-select__selected">{placeholder}</div>
}

@@ -286,0 +286,0 @@ {options.length > 0 && <div className="cp-select__icon"></div>}

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