@vaadin/vaadin-time-picker
Advanced tools
Comparing version 2.2.0-alpha1 to 2.2.0
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-time-picker", | ||
"version": "2.2.0-alpha1", | ||
"version": "2.2.0", | ||
"main": "vaadin-time-picker.js", | ||
@@ -34,4 +34,4 @@ "author": "Vaadin Ltd", | ||
"@vaadin/vaadin-material-styles": "^1.3.2", | ||
"@vaadin/vaadin-text-field": "^2.6.0-alpha4", | ||
"@vaadin/vaadin-combo-box": "^5.2.0-alpha1", | ||
"@vaadin/vaadin-text-field": "^2.6.0", | ||
"@vaadin/vaadin-combo-box": "^5.2.0", | ||
"@vaadin/vaadin-control-state-mixin": "^2.1.1" | ||
@@ -47,5 +47,5 @@ }, | ||
"wct-browser-legacy": "^1.0.1", | ||
"@vaadin/vaadin-demo-helpers": "^3.1.0-alpha1", | ||
"@vaadin/vaadin-demo-helpers": "^3.1.0", | ||
"@polymer/iron-form": "^3.0.0" | ||
} | ||
} |
@@ -8,2 +8,31 @@ /** | ||
const $_documentContainer = document.createElement('template'); | ||
$_documentContainer.innerHTML = `<dom-module id="vaadin-time-picker-text-field-styles" theme-for="vaadin-time-picker-text-field"> | ||
<template> | ||
<style> | ||
:host([dir="rtl"]) [part="input-field"] { | ||
direction: ltr; | ||
} | ||
:host([dir="rtl"]) [part="value"]::placeholder { | ||
direction: rtl; | ||
text-align: left; | ||
} | ||
:host([dir="rtl"]) [part="input-field"] ::slotted(input)::placeholder { | ||
direction: rtl; | ||
text-align: left; | ||
} | ||
:host([dir="rtl"]) [part="value"]:-ms-input-placeholder, | ||
:host([dir="rtl"]) [part="input-field"] ::slotted(input):-ms-input-placeholder { | ||
direction: rtl; | ||
text-align: left; | ||
} | ||
</style> | ||
</template> | ||
</dom-module>`; | ||
document.head.appendChild($_documentContainer.content); | ||
/** | ||
@@ -10,0 +39,0 @@ * The text-field element. |
@@ -94,3 +94,3 @@ /** | ||
</style> | ||
<vaadin-combo-box-light allow-custom-value="" item-label-path="value" filtered-items="[[__dropdownItems]]" disabled="[[disabled]]" readonly="[[readonly]]" auto-open-disabled="[[autoOpenDisabled]]" theme\$="[[theme]]"> | ||
<vaadin-combo-box-light allow-custom-value="" item-label-path="value" filtered-items="[[__dropdownItems]]" disabled="[[disabled]]" readonly="[[readonly]]" auto-open-disabled="[[autoOpenDisabled]]" dir="ltr" theme\$="[[theme]]"> | ||
<template> | ||
@@ -110,3 +110,3 @@ [[item.label]] | ||
static get version() { | ||
return '2.2.0-alpha1'; | ||
return '2.2.0'; | ||
} | ||
@@ -113,0 +113,0 @@ |
@@ -21,3 +21,8 @@ gemini.suite('vaadin-time-picker', function(rootSuite) { | ||
.setCaptureElements('#default-tests') | ||
.capture('default'); | ||
.capture('default') | ||
.capture('rtl', function(actions) { | ||
actions.executeJS(function(window) { | ||
window.document.dir = 'rtl'; | ||
}); | ||
}); | ||
}); | ||
@@ -46,2 +51,9 @@ | ||
}); | ||
}) | ||
.capture('rtl', function(actions) { | ||
actions.executeJS(function(window) { | ||
window.closeTimePickers(); | ||
window.document.dir = 'rtl'; | ||
window.document.querySelector('#plain').__dropdownElement.opened = true; | ||
}); | ||
}); | ||
@@ -48,0 +60,0 @@ }); |
import '@vaadin/vaadin-combo-box/theme/lumo/vaadin-combo-box-light.js'; | ||
import '@vaadin/vaadin-text-field/theme/lumo/vaadin-text-field.js'; | ||
import '@vaadin/vaadin-lumo-styles/mixins/field-button.js'; | ||
@@ -4,0 +3,0 @@ import '@vaadin/vaadin-lumo-styles/font-icons.js'; |
import './vaadin-time-picker-styles.js'; | ||
import './vaadin-time-picker-text-field-styles.js'; | ||
import '../../src/vaadin-time-picker.js'; |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
271664
36
986
0
0