@neovici/cosmoz-input 3.11.0 → 3.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/styles.js +8 -4
  2. package/package.json +1 -1
package/dist/styles.js CHANGED
@@ -29,6 +29,7 @@ export const styles = css `
29
29
  --bg: var(--cosmoz-input-background);
30
30
  --focused-bg: var(--cosmoz-input-focused-background, var(--bg));
31
31
  --color: var(--cosmoz-input-color, var(--secondary-text-color, #737373));
32
+ --line-color: var(--cosmoz-input-line-color, var(--color));
32
33
  --focused-color: var(
33
34
  --cosmoz-input-focused-color,
34
35
  var(--primary-color, #3f51b5)
@@ -39,10 +40,12 @@ export const styles = css `
39
40
  padding-top: var(--paper-input-container_-_padding-top, 8px);
40
41
  padding-bottom: var(--paper-input-container_-_padding-bottom, 8px);
41
42
  position: relative;
42
-
43
- font-family: var(--font-family);
43
+ border: var(--cosmoz-input-border, none);
44
+ border-radius: var(--cosmoz-input-border-radius, 0px);
45
+ max-height: var(--cosmoz-input-max-height);
44
46
  font-size: var(--font-size);
45
47
  line-height: var(--line-height);
48
+ font-family: var(--font-family);
46
49
  }
47
50
 
48
51
  :host([disabled]) {
@@ -80,6 +83,7 @@ export const styles = css `
80
83
  font-family: inherit;
81
84
  resize: none;
82
85
  }
86
+
83
87
  :host(:focus-within) .wrap {
84
88
  background: var(--focused-bg);
85
89
  }
@@ -110,13 +114,13 @@ export const styles = css `
110
114
 
111
115
  .line {
112
116
  padding-top: 1px;
113
- border-bottom: 1px solid var(--color);
117
+ border-bottom: 1px solid var(--line-color);
114
118
  position: relative;
115
119
  }
116
120
  .line::before {
117
121
  content: '';
118
122
  position: absolute;
119
- display: block;
123
+ display: var(--cosmoz-input-line-display, block);
120
124
  border-bottom: 2px solid transparent;
121
125
  border-bottom-color: inherit;
122
126
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-input",
3
- "version": "3.11.0",
3
+ "version": "3.13.0",
4
4
  "description": "A input web component",
5
5
  "keywords": [
6
6
  "lit-html",