@vaadin/vaadin-lumo-styles 23.2.12 → 23.2.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/vaadin-lumo-styles",
3
- "version": "23.2.12",
3
+ "version": "23.2.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,8 +42,8 @@
42
42
  "@polymer/iron-icon": "^3.0.0",
43
43
  "@polymer/iron-iconset-svg": "^3.0.0",
44
44
  "@polymer/polymer": "^3.0.0",
45
- "@vaadin/icon": "~23.2.12",
46
- "@vaadin/vaadin-themable-mixin": "~23.2.12"
45
+ "@vaadin/icon": "~23.2.13",
46
+ "@vaadin/vaadin-themable-mixin": "~23.2.13"
47
47
  },
48
48
  "devDependencies": {
49
49
  "gulp": "^4.0.2",
@@ -52,5 +52,5 @@
52
52
  "gulp-sort": "^2.0.0",
53
53
  "gulp-svgmin": "^4.1.0"
54
54
  },
55
- "gitHead": "ab3cb30a6af93cb7ea2891ba1f688cb68d4cf928"
55
+ "gitHead": "0b8786d43b6b4e419d8482f29595719bf0c9e5e5"
56
56
  }
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
@@ -12,7 +12,7 @@
12
12
  */
13
13
  class Lumo extends HTMLElement {
14
14
  static get version() {
15
- return '23.2.12';
15
+ return '23.2.13';
16
16
  }
17
17
  }
18
18