@vaadin/vaadin-lumo-styles 23.3.2 → 23.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/auto-complete.css CHANGED
@@ -96,6 +96,8 @@
96
96
  --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
97
97
  --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
98
98
  --lumo-clickable-cursor: default;
99
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
100
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
99
101
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
100
102
  --lumo-font-size-xxs: 0.75rem;
101
103
  --lumo-font-size-xs: 0.8125rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/vaadin-lumo-styles",
3
- "version": "23.3.2",
3
+ "version": "23.3.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,8 +43,8 @@
43
43
  "@polymer/iron-icon": "^3.0.0",
44
44
  "@polymer/iron-iconset-svg": "^3.0.0",
45
45
  "@polymer/polymer": "^3.0.0",
46
- "@vaadin/icon": "~23.3.2",
47
- "@vaadin/vaadin-themable-mixin": "~23.3.2"
46
+ "@vaadin/icon": "~23.3.4",
47
+ "@vaadin/vaadin-themable-mixin": "~23.3.4"
48
48
  },
49
49
  "devDependencies": {
50
50
  "gulp": "^4.0.2",
@@ -53,5 +53,5 @@
53
53
  "gulp-sort": "^2.0.0",
54
54
  "gulp-svgmin": "^4.1.0"
55
55
  },
56
- "gitHead": "f60f640b01fc4f03303a9bfd6ed137503a5ada52"
56
+ "gitHead": "e896534f360fb7b7eed1ed6b3e660ca1fe44e028"
57
57
  }
package/style.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  import type { CSSResult } from 'lit';
2
2
 
3
+ export const globals: CSSResult;
4
+
3
5
  export const style: CSSResult;
package/style.js CHANGED
@@ -26,8 +26,18 @@ const style = css`
26
26
  }
27
27
  `;
28
28
 
29
+ /**
30
+ * Default values for component-specific custom properties.
31
+ */
32
+ const globals = css`
33
+ html {
34
+ --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
35
+ --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
36
+ }
37
+ `;
38
+
29
39
  const $tpl = document.createElement('template');
30
- $tpl.innerHTML = `<style>${style.toString().replace(':host', 'html')}</style>`;
40
+ $tpl.innerHTML = `<style>${style.toString().replace(':host', 'html')}$</style>`;
31
41
  document.head.appendChild($tpl.content);
32
42
 
33
- export { style };
43
+ export { globals, style };
package/version.js CHANGED
@@ -3,9 +3,16 @@
3
3
  * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
+
7
+ /**
8
+ * Dummy custom element used for collecting
9
+ * development time usage statistics.
10
+ *
11
+ * @private
12
+ */
6
13
  class Lumo extends HTMLElement {
7
14
  static get version() {
8
- return '23.3.2';
15
+ return '23.3.4';
9
16
  }
10
17
  }
11
18