@neovici/cosmoz-input
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,8 @@ | ||
### [1.0.4](https://github.com/neovici/cosmoz-input/compare/v1.0.3...v1.0.4) (2021-01-26) | ||
### Bug Fixes | ||
* improve cosmoz-input style compatibility ([52659a2](https://github.com/neovici/cosmoz-input/commit/52659a21f5b90429a55829a918ea596e7a624247)) | ||
### [1.0.3](https://github.com/neovici/cosmoz-input/compare/v1.0.2...v1.0.3) (2021-01-25) | ||
@@ -2,0 +9,0 @@ |
@@ -13,4 +13,13 @@ import { html, nothing } from 'lit-html'; // eslint-disable-line object-curly-newline | ||
padding: 8px 0; | ||
font-family: var(--cosmoz-font-family, 'Roboto', 'Noto', sans-serif); | ||
padding-top: var(--paper-input-container_-_padding-top); | ||
} | ||
:host, label, input { | ||
font-family: var(--cosmoz-subhead-font-family, var(--paper-font-subhead_-_font-family, 'Roboto', 'Noto', sans-serif)); | ||
font-size: var(--cosmoz-subhead-font-size, var(--paper-font-subhead_-_font-size, 16px)); | ||
line-height: var(--cosmoz-subhead-line-height, var(--paper-font-subhead_-_line-height, 24px)); | ||
display: block; | ||
} | ||
:host([disabled]) { | ||
@@ -27,6 +36,8 @@ opacity: 0.33; | ||
.control { flex: 1; } | ||
.control { | ||
flex: 1; | ||
position: relative; | ||
} | ||
input { | ||
display: block; | ||
padding: 0; | ||
@@ -38,5 +49,2 @@ margin: 0; | ||
max-width: 100%; | ||
font-size: 16px; | ||
font-family: inherit; | ||
line-height: 24px; | ||
} | ||
@@ -52,2 +60,4 @@ label { | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
@@ -54,0 +64,0 @@ |
{ | ||
"name": "@neovici/cosmoz-input", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A input web component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
10696
222