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

@semcore/control

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semcore/control - npm Package Compare versions

Comparing version 1.1.2 to 2.0.0

6

CHANGELOG.md

@@ -5,2 +5,8 @@ # Changelog

## [2.0.0] - 2019-05-07
### Changed
- Изменены стили `control`, убраны свойства для bg, border и color
## [1.1.2] - 2019-03-27

@@ -7,0 +13,0 @@

16

lib/index.es.js

@@ -16,13 +16,13 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';

"block": {
"block": "_control_gjoa6_3",
"block": "_control_14ttn_3",
"disabled": {
"block": "_control--disabled_gjoa6_42"
"block": "_control--disabled_14ttn_38"
},
"keyboard-focused": {
"block": "_control--keyboard-focused_gjoa6_48"
"block": "_control--keyboard-focused_14ttn_44"
},
"neighbor-location": {
"right": "_control--neighbor-location_right_gjoa6_52",
"both": "_control--neighbor-location_both_gjoa6_57",
"left": "_control--neighbor-location_left_gjoa6_62"
"right": "_control--neighbor-location_right_14ttn_48",
"both": "_control--neighbor-location_both_14ttn_53",
"left": "_control--neighbor-location_left_14ttn_58"
}

@@ -38,7 +38,7 @@ }

if (prevStyle && prevStyle.insertAdjacentText) {
prevStyle.insertAdjacentText("beforeend", "._control_gjoa6_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;border-radius:0;text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;color:inherit;overflow:visible;outline:0;border:1px solid transparent;text-align:center;vertical-align:middle;cursor:pointer}._control_gjoa6_3::-moz-focus-inner{border:none;padding:0}._control_gjoa6_3:active,._control_gjoa6_3:focus,._control_gjoa6_3:hover{outline:0;text-decoration:none}._control--disabled_gjoa6_42{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_gjoa6_48{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_gjoa6_52._control--neighbor-location_right_gjoa6_52{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_gjoa6_57._control--neighbor-location_both_gjoa6_57{border-radius:0;margin-left:-1px}._control--neighbor-location_left_gjoa6_62._control--neighbor-location_left_gjoa6_62{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}");
prevStyle.insertAdjacentText("beforeend", "._control_14ttn_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;cursor:pointer}._control_14ttn_3::-moz-focus-inner{border:none;padding:0}._control_14ttn_3:active,._control_14ttn_3:focus,._control_14ttn_3:hover{outline:0;text-decoration:none}._control--disabled_14ttn_38{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_14ttn_44{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_14ttn_48._control--neighbor-location_right_14ttn_48{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_14ttn_53._control--neighbor-location_both_14ttn_53{border-radius:0;margin-left:-1px}._control--neighbor-location_left_14ttn_58._control--neighbor-location_left_14ttn_58{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}");
} else {
var style = window.document.createElement("style");
style.classList.add('_css-style');
style.innerHTML = "._control_gjoa6_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;border-radius:0;text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;color:inherit;overflow:visible;outline:0;border:1px solid transparent;text-align:center;vertical-align:middle;cursor:pointer}._control_gjoa6_3::-moz-focus-inner{border:none;padding:0}._control_gjoa6_3:active,._control_gjoa6_3:focus,._control_gjoa6_3:hover{outline:0;text-decoration:none}._control--disabled_gjoa6_42{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_gjoa6_48{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_gjoa6_52._control--neighbor-location_right_gjoa6_52{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_gjoa6_57._control--neighbor-location_both_gjoa6_57{border-radius:0;margin-left:-1px}._control--neighbor-location_left_gjoa6_62._control--neighbor-location_left_gjoa6_62{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}";
style.innerHTML = "._control_14ttn_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;cursor:pointer}._control_14ttn_3::-moz-focus-inner{border:none;padding:0}._control_14ttn_3:active,._control_14ttn_3:focus,._control_14ttn_3:hover{outline:0;text-decoration:none}._control--disabled_14ttn_38{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_14ttn_44{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_14ttn_48._control--neighbor-location_right_14ttn_48{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_14ttn_53._control--neighbor-location_both_14ttn_53{border-radius:0;margin-left:-1px}._control--neighbor-location_left_14ttn_58._control--neighbor-location_left_14ttn_58{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}";
head.appendChild(style);

@@ -45,0 +45,0 @@ }

@@ -23,13 +23,13 @@ 'use strict';

"block": {
"block": "_control_gjoa6_3",
"block": "_control_14ttn_3",
"disabled": {
"block": "_control--disabled_gjoa6_42"
"block": "_control--disabled_14ttn_38"
},
"keyboard-focused": {
"block": "_control--keyboard-focused_gjoa6_48"
"block": "_control--keyboard-focused_14ttn_44"
},
"neighbor-location": {
"right": "_control--neighbor-location_right_gjoa6_52",
"both": "_control--neighbor-location_both_gjoa6_57",
"left": "_control--neighbor-location_left_gjoa6_62"
"right": "_control--neighbor-location_right_14ttn_48",
"both": "_control--neighbor-location_both_14ttn_53",
"left": "_control--neighbor-location_left_14ttn_58"
}

@@ -45,7 +45,7 @@ }

if (prevStyle && prevStyle.insertAdjacentText) {
prevStyle.insertAdjacentText("beforeend", "._control_gjoa6_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;border-radius:0;text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;color:inherit;overflow:visible;outline:0;border:1px solid transparent;text-align:center;vertical-align:middle;cursor:pointer}._control_gjoa6_3::-moz-focus-inner{border:none;padding:0}._control_gjoa6_3:active,._control_gjoa6_3:focus,._control_gjoa6_3:hover{outline:0;text-decoration:none}._control--disabled_gjoa6_42{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_gjoa6_48{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_gjoa6_52._control--neighbor-location_right_gjoa6_52{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_gjoa6_57._control--neighbor-location_both_gjoa6_57{border-radius:0;margin-left:-1px}._control--neighbor-location_left_gjoa6_62._control--neighbor-location_left_gjoa6_62{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}");
prevStyle.insertAdjacentText("beforeend", "._control_14ttn_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;cursor:pointer}._control_14ttn_3::-moz-focus-inner{border:none;padding:0}._control_14ttn_3:active,._control_14ttn_3:focus,._control_14ttn_3:hover{outline:0;text-decoration:none}._control--disabled_14ttn_38{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_14ttn_44{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_14ttn_48._control--neighbor-location_right_14ttn_48{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_14ttn_53._control--neighbor-location_both_14ttn_53{border-radius:0;margin-left:-1px}._control--neighbor-location_left_14ttn_58._control--neighbor-location_left_14ttn_58{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}");
} else {
var style = window.document.createElement("style");
style.classList.add('_css-style');
style.innerHTML = "._control_gjoa6_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;border-radius:0;text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;color:inherit;overflow:visible;outline:0;border:1px solid transparent;text-align:center;vertical-align:middle;cursor:pointer}._control_gjoa6_3::-moz-focus-inner{border:none;padding:0}._control_gjoa6_3:active,._control_gjoa6_3:focus,._control_gjoa6_3:hover{outline:0;text-decoration:none}._control--disabled_gjoa6_42{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_gjoa6_48{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_gjoa6_52._control--neighbor-location_right_gjoa6_52{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_gjoa6_57._control--neighbor-location_both_gjoa6_57{border-radius:0;margin-left:-1px}._control--neighbor-location_left_gjoa6_62._control--neighbor-location_left_gjoa6_62{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}";
style.innerHTML = "._control_14ttn_3{display:inline-block;align-items:center;justify-content:center;line-height:normal;position:relative;touch-action:manipulation;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0;box-shadow:none;outline:none;text-decoration:none;-webkit-tap-highlight-color:transparent;overflow:visible;outline:0;text-align:center;vertical-align:middle;cursor:pointer}._control_14ttn_3::-moz-focus-inner{border:none;padding:0}._control_14ttn_3:active,._control_14ttn_3:focus,._control_14ttn_3:hover{outline:0;text-decoration:none}._control--disabled_14ttn_38{opacity:.3;cursor:default;pointer-events:none}._control--keyboard-focused_14ttn_44{box-shadow:0 0 0 3px rgba(42,148,224,.3)}._control--neighbor-location_right_14ttn_48._control--neighbor-location_right_14ttn_48{border-top-right-radius:0;border-bottom-right-radius:0}._control--neighbor-location_both_14ttn_53._control--neighbor-location_both_14ttn_53{border-radius:0;margin-left:-1px}._control--neighbor-location_left_14ttn_58._control--neighbor-location_left_14ttn_58{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}";
head.appendChild(style);

@@ -52,0 +52,0 @@ }

{
"name": "@semcore/control",
"description": "SEMRush Control Component",
"version": "1.1.2",
"version": "2.0.0",
"main": "lib/index.js",

@@ -15,7 +15,7 @@ "module": "lib/index.es.js",

"dependencies": {
"@babel/runtime": "^7.3.4",
"@semcore/utils": "^2.1.0",
"@babel/runtime": "^7.4.4",
"@semcore/utils": "^2.2.2",
"@semcore/neighbor-location": "^1.0.0",
"@semcore/flex-box": "^3.1.0",
"@types/react": "^16.8.8",
"@types/react": "^16.8.16",
"classnames": "^2.2.6"

@@ -22,0 +22,0 @@ },

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