Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/list-box

Package Overview
Dependencies
Maintainers
19
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/list-box - npm Package Compare versions

Comparing version 22.0.0-alpha9 to 22.0.0-beta1

16

package.json
{
"name": "@vaadin/list-box",
"version": "22.0.0-alpha9",
"version": "22.0.0-beta1",
"publishConfig": {

@@ -36,8 +36,8 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "22.0.0-alpha9",
"@vaadin/item": "22.0.0-alpha9",
"@vaadin/vaadin-list-mixin": "22.0.0-alpha9",
"@vaadin/vaadin-lumo-styles": "22.0.0-alpha9",
"@vaadin/vaadin-material-styles": "22.0.0-alpha9",
"@vaadin/vaadin-themable-mixin": "22.0.0-alpha9"
"@vaadin/component-base": "22.0.0-beta1",
"@vaadin/item": "22.0.0-beta1",
"@vaadin/vaadin-list-mixin": "22.0.0-beta1",
"@vaadin/vaadin-lumo-styles": "22.0.0-beta1",
"@vaadin/vaadin-material-styles": "22.0.0-beta1",
"@vaadin/vaadin-themable-mixin": "22.0.0-beta1"
},

@@ -49,3 +49,3 @@ "devDependencies": {

},
"gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274"
"gitHead": "4cf8a9d0504994200c610e44b3676114fef49c1e"
}

@@ -14,42 +14,2 @@ import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';

/* Normal item */
[part='items'] ::slotted(vaadin-item) {
-webkit-tap-highlight-color: var(--lumo-primary-color-10pct);
cursor: var(--lumo-clickable-cursor);
outline: none;
border-radius: var(--lumo-border-radius-m);
padding-left: var(--_lumo-list-box-item-padding-left, calc(var(--lumo-border-radius-m) / 4));
padding-right: calc(var(--lumo-space-l) + var(--lumo-border-radius-m) / 4);
}
[part='items'] ::slotted(vaadin-item[disabled]) {
cursor: default;
}
/* Workaround to display checkmark in IE11 when list-box is not used in dropdown-menu */
[part='items'] ::slotted(vaadin-item)::before {
display: var(--_lumo-item-selected-icon-display);
}
/* Hovered item */
/* TODO a workaround until we have "focus-follows-mouse". After that, use the hover style for focus-ring as well */
[part='items'] ::slotted(vaadin-item:hover:not([disabled])) {
background-color: var(--lumo-primary-color-10pct);
}
/* Focused item */
[part='items'] ::slotted([focus-ring]:not([disabled])) {
box-shadow: inset 0 0 0 2px var(--lumo-primary-color-50pct);
}
@media (pointer: coarse) {
[part='items'] ::slotted(vaadin-item:hover:not([disabled])) {
background-color: transparent;
}
[part='items'] ::slotted([focus-ring]:not([disabled])) {
box-shadow: none;
}
}
/* Dividers */

@@ -63,10 +23,4 @@ [part='items'] ::slotted(hr) {

}
/* RTL specific styles */
:host([dir='rtl']) [part='items'] ::slotted(vaadin-item) {
padding-left: calc(var(--lumo-space-l) + var(--lumo-border-radius-m) / 4);
padding-right: var(--_lumo-list-box-item-padding-left, calc(var(--lumo-border-radius-m) / 4));
}
`,
{ moduleId: 'lumo-list-box' }
);

@@ -17,24 +17,2 @@ import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';

[part='items'] ::slotted(vaadin-item) {
min-height: 36px;
padding: 8px 32px 8px 10px;
font-size: var(--material-small-font-size);
line-height: 24px;
}
[part='items'] ::slotted(vaadin-item:hover:not([disabled])) {
background-color: var(--material-secondary-background-color);
}
[part='items'] ::slotted(vaadin-item[focused]:not([disabled])) {
background-color: var(--material-divider-color);
}
@media (pointer: coarse) {
[part='items'] ::slotted(vaadin-item:hover:not([disabled])),
[part='items'] ::slotted(vaadin-item[focused]:not([disabled])) {
background-color: transparent;
}
}
/* Dividers */

@@ -48,9 +26,4 @@ [part='items'] ::slotted(hr) {

}
/* RTL specific styles */
:host([dir='rtl']) [part='items'] ::slotted(vaadin-item) {
padding: 8px 10px 8px 32px;
}
`,
{ moduleId: 'material-list-box' }
);
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