@vaadin/input-container
Advanced tools
Comparing version 23.2.0 to 23.3.0-alpha1
{ | ||
"name": "@vaadin/input-container", | ||
"version": "23.2.0", | ||
"version": "23.3.0-alpha1", | ||
"publishConfig": { | ||
@@ -35,14 +35,14 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "^23.2.0", | ||
"@vaadin/vaadin-lumo-styles": "^23.2.0", | ||
"@vaadin/vaadin-material-styles": "^23.2.0", | ||
"@vaadin/vaadin-themable-mixin": "^23.2.0" | ||
"@vaadin/component-base": "23.3.0-alpha1", | ||
"@vaadin/vaadin-lumo-styles": "23.3.0-alpha1", | ||
"@vaadin/vaadin-material-styles": "23.3.0-alpha1", | ||
"@vaadin/vaadin-themable-mixin": "23.3.0-alpha1" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/icon": "^23.2.0", | ||
"@vaadin/icons": "^23.2.0", | ||
"@vaadin/icon": "23.3.0-alpha1", | ||
"@vaadin/icons": "23.3.0-alpha1", | ||
"@vaadin/testing-helpers": "^0.3.2" | ||
}, | ||
"gitHead": "8b1f5941f26ac41ca038e75e24c8584e331bc7a8" | ||
"gitHead": "beabc527d4b1274eb798ff701d406fed45cfe638" | ||
} |
@@ -8,3 +8,2 @@ /** | ||
import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js'; | ||
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
@@ -60,3 +59,2 @@ | ||
/* because ::slotted(...)::placeholder does not work in Safari. */ | ||
/* See the workaround at the end of this file. */ | ||
font: inherit; | ||
@@ -127,13 +125,1 @@ color: inherit; | ||
customElements.define(InputContainer.is, InputContainer); | ||
const placeholderStyleWorkaround = css` | ||
/* Needed for Safari, where ::slotted(...)::placeholder does not work */ | ||
:is(input[slot='input'], textarea[slot='textarea'])::placeholder { | ||
font: inherit; | ||
color: inherit; | ||
} | ||
`; | ||
const $tpl = document.createElement('template'); | ||
$tpl.innerHTML = `<style>${placeholderStyleWorkaround.toString()}</style>`; | ||
document.head.appendChild($tpl.content); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
23285
325
1
+ Added@vaadin/component-base@23.3.0-alpha1(transitive)
+ Added@vaadin/icon@23.3.0-alpha1(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.3.0-alpha1(transitive)
+ Added@vaadin/vaadin-material-styles@23.3.0-alpha1(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.3.0-alpha1(transitive)
- Removed@vaadin/component-base@23.5.11(transitive)
- Removed@vaadin/icon@23.5.11(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.5.11(transitive)
- Removed@vaadin/vaadin-material-styles@23.5.11(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.5.11(transitive)