New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-time-picker

Package Overview
Dependencies
Maintainers
16
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-time-picker - npm Package Compare versions

Comparing version 2.2.0-alpha1 to 2.2.0

test/visual/screens/vaadin-time-picker/default-tests/rtl/chrome.png

8

package.json

@@ -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';
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc