Socket
Socket
Sign inDemoInstall

@vaadin/vaadin-lumo-styles

Package Overview
Dependencies
Maintainers
19
Versions
429
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 21.0.0-beta1 to 22.0.0-alpha1

8

package.json
{
"name": "@vaadin/vaadin-lumo-styles",
"version": "21.0.0-beta1",
"version": "22.0.0-alpha1",
"description": "Lumo is a design system foundation for modern web applications, used by Vaadin components",

@@ -37,4 +37,4 @@ "main": "all-imports.js",

"@polymer/polymer": "^3.0.0",
"@vaadin/vaadin-icon": "21.0.0-beta1",
"@vaadin/vaadin-themable-mixin": "21.0.0-beta1"
"@vaadin/vaadin-icon": "^22.0.0-alpha1",
"@vaadin/vaadin-themable-mixin": "^22.0.0-alpha1"
},

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

},
"gitHead": "7d08834d03228105c2ea72213a385ddf35125f79"
"gitHead": "c9694d6549bff1f7fffb9ece26178e57fc228a51"
}

@@ -5,2 +5,4 @@ import { CSSResult } from 'lit';

export const inputs: CSSResult;
export const typography: CSSResult;

@@ -31,6 +31,2 @@ /**

const $tpl = document.createElement('template');
$tpl.innerHTML = `<style>${font.toString().replace(':host', 'html')}</style>`;
document.head.appendChild($tpl.content);
const typography = css`

@@ -144,3 +140,2 @@ html {

/* RTL specific styles */
blockquote[dir='rtl'] {

@@ -154,2 +149,30 @@ border-left: none;

export { font, typography };
const inputs = css`
/* Slotted input styles */
input[slot='input']::placeholder,
textarea[slot='textarea']::placeholder {
color: inherit;
transition: opacity 0.175s 0.1s;
opacity: 0.5;
}
[readonly] > input[slot='input']::placeholder,
[readonly] > textarea[slot='textarea']::placeholder,
[disabled] > input[slot='input']::placeholder,
[disabled] > textarea[slot='textarea']::placeholder {
opacity: 0;
}
/* Hide the native arrow icons */
input[slot='input']::-webkit-outer-spin-button,
input[slot='input']::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
`;
const $tpl = document.createElement('template');
$tpl.innerHTML = `<style>${font.toString().replace(':host', 'html')}${inputs.toString()}</style>`;
document.head.appendChild($tpl.content);
export { font, inputs, typography };

@@ -8,3 +8,3 @@ /**

static get version() {
return '21.0.0-beta1';
return '22.0.0-alpha1';
}

@@ -11,0 +11,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc