sling-web-component-select
Advanced tools
Comparing version 1.8.0 to 1.11.0
{ | ||
"name": "sling-web-component-select", | ||
"version": "1.8.0", | ||
"version": "1.11.0", | ||
"description": "Sling Select", | ||
@@ -10,5 +10,5 @@ "module": "src/index.js", | ||
"dependencies": { | ||
"sling-framework": "^1.8.0", | ||
"sling-helpers": "^1.8.0" | ||
"sling-framework": "^1.11.0", | ||
"sling-helpers": "^1.11.0" | ||
} | ||
} |
@@ -6,3 +6,3 @@ # sling-web-component-select | ||
``` | ||
npm instal sling-web-component-select | ||
npm install sling-web-component-select | ||
``` | ||
@@ -9,0 +9,0 @@ |
@@ -65,98 +65,3 @@ import { SlingElement, html } from 'sling-framework'; | ||
<style> | ||
.emd-select { | ||
border: 1px solid #C3C8D2; | ||
border-radius: 2px; | ||
box-sizing: border-box; | ||
font-size: 12px; | ||
font-weight: 400; | ||
line-height: 18px; | ||
letter-spacing: 0; | ||
width: 100%; | ||
height: 50px; | ||
background: #fff; | ||
} | ||
.emd-select:focus { | ||
border: 1px solid #95C93D; | ||
color: #2D3844; | ||
outline: none; | ||
} | ||
.emd-select__label { | ||
display: block; | ||
font-family: 'Heebo', sans-serif; | ||
font-size: 11px; | ||
font-weight: 500; | ||
letter-spacing: 0.4px; | ||
line-height: 16px; | ||
} | ||
.emd-select__tips { | ||
color: #96A0AF; | ||
font-family: 'Heebo', sans-serif; | ||
font-size: 11px; | ||
font-weight: 400; | ||
letter-spacing: 0; | ||
line-height: 13px; | ||
} | ||
:host { | ||
display: block; | ||
} | ||
:host([validationstatus="success"]) .emd-select { | ||
border: 1px solid #2ECC71; | ||
} | ||
:host([validationstatus="success"]) .emd-select__tips { | ||
color: #2ECC71; | ||
} | ||
:host([validationstatus="warning"]) .emd-select { | ||
border: 1px solid #F9BF09; | ||
} | ||
:host([validationstatus="warning"]) .emd-select__tips { | ||
color: #F9BF09; | ||
} | ||
:host([validationstatus="error"]) .emd-select { | ||
border: 1px solid #E74C3C; | ||
} | ||
:host([validationstatus="error"]) .emd-select__tips { | ||
color: #E74C3C; | ||
} | ||
/* for compatibility */ | ||
sling-input { | ||
display: block; | ||
} | ||
sling-input[validationstatus="success"] .emd-select { | ||
border: 1px solid #2ECC71; | ||
} | ||
sling-input[validationstatus="success"] .emd-select__tips { | ||
color: #2ECC71; | ||
} | ||
sling-input[validationstatus="warning"] .emd-select { | ||
border: 1px solid #F9BF09; | ||
} | ||
sling-input[validationstatus="warning"] .emd-select__tips { | ||
color: #F9BF09; | ||
} | ||
sling-input[validationstatus="error"] .emd-select { | ||
border: 1px solid #E74C3C; | ||
} | ||
sling-input[validationstatus="error"] .emd-select__tips { | ||
color: #E74C3C; | ||
} | ||
@import url('sling-web-component-select/src/index.css'); | ||
</style> | ||
@@ -163,0 +68,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1
8733
10
199
1
Updatedsling-framework@^1.11.0
Updatedsling-helpers@^1.11.0