@neovici/cosmoz-input 6.0.0-beta.6 → 6.0.0-beta.8

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 +6 -2
  2. package/package.json +2 -2
package/dist/styles.js CHANGED
@@ -44,8 +44,11 @@ export const styles = css `
44
44
  position: relative;
45
45
  width: 100%;
46
46
  border-radius: var(--cz-radius-md);
47
- box-shadow: 0 0 0 1px var(--cz-color-border-primary);
47
+ box-shadow: inset 0 0 0 1px var(--cz-color-border-primary);
48
48
  overflow: hidden;
49
+ transition-duration: 0.1s;
50
+ transition-timing-function: linear;
51
+ transition-property: box-shadow, background;
49
52
  }
50
53
 
51
54
  .wrap:has(#input:focus) {
@@ -53,7 +56,7 @@ export const styles = css `
53
56
  }
54
57
 
55
58
  :host([invalid]) .wrap {
56
- box-shadow: 0 0 0 1px var(--cz-color-border-error);
59
+ box-shadow: inset 0 0 0 1px var(--cz-color-border-error);
57
60
  }
58
61
 
59
62
  :host([invalid]) .wrap:has(#input:focus) {
@@ -181,6 +184,7 @@ export const styles = css `
181
184
  top: 25%;
182
185
  left: 0;
183
186
  width: 100%;
187
+ pointer-events: none;
184
188
  transform-origin: left;
185
189
  transition:
186
190
  transform 0.25s,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-input",
3
- "version": "6.0.0-beta.6",
3
+ "version": "6.0.0-beta.8",
4
4
  "description": "A input web component",
5
5
  "keywords": [
6
6
  "lit-html",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@neovici/cosmoz-icons": "^1.6.0",
62
- "@neovici/cosmoz-tokens": "^3.3.2",
62
+ "@neovici/cosmoz-tokens": "^3.5.1",
63
63
  "@neovici/cosmoz-tooltip": "^1.2.1",
64
64
  "@neovici/cosmoz-utils": "^6.0.0",
65
65
  "@pionjs/pion": "^2.0.0",