@vaadin/vaadin-lumo-styles 25.0.0-alpha12 → 25.0.0-alpha14

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": "25.0.0-alpha12",
3
+ "version": "25.0.0-alpha14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,9 +42,9 @@
42
42
  "web-component"
43
43
  ],
44
44
  "dependencies": {
45
- "@vaadin/component-base": "25.0.0-alpha12",
46
- "@vaadin/icon": "25.0.0-alpha12",
47
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha12"
45
+ "@vaadin/component-base": "25.0.0-alpha14",
46
+ "@vaadin/icon": "25.0.0-alpha14",
47
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha14"
48
48
  },
49
49
  "devDependencies": {
50
50
  "gulp": "^5.0.1",
@@ -54,5 +54,5 @@
54
54
  "imagemin": "^9.0.0",
55
55
  "imagemin-svgo": "^10.0.1"
56
56
  },
57
- "gitHead": "e75527348f9ba7c363d068c868b9f030c15b84a1"
57
+ "gitHead": "8ebeeeca4b5b6564eff954d6582d0d6760464e51"
58
58
  }
@@ -4,7 +4,8 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  @media lumo_components_chart {
7
- :host {
7
+ :host,
8
+ :root {
8
9
  --vaadin-charts-background: var(--lumo-base-color);
9
10
  --vaadin-charts-title-label: var(--lumo-header-text-color);
10
11
  --vaadin-charts-axis-title: var(--lumo-secondary-text-color);
@@ -191,10 +191,9 @@
191
191
 
192
192
  /* Disable hover for touch devices */
193
193
  @media (pointer: coarse) {
194
- /* prettier-ignore */
195
194
  :host(:not([checked]):not([indeterminate]):not([disabled]):not([readonly]):not([invalid]):hover) [part='checkbox'] {
196
- background: var(--vaadin-checkbox-background, var(--lumo-contrast-20pct));
197
- }
195
+ background: var(--vaadin-checkbox-background, var(--lumo-contrast-20pct));
196
+ }
198
197
  }
199
198
 
200
199
  /* Active */
@@ -4,10 +4,6 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  @media lumo_components_confirm-dialog-overlay {
7
- #resizerContainer {
8
- height: 100%;
9
- }
10
-
11
7
  [part='header'] {
12
8
  pointer-events: auto;
13
9
  margin-inline-start: calc(var(--lumo-space-l) - var(--lumo-space-m));
@@ -7,20 +7,8 @@
7
7
  [part='overlay'] {
8
8
  display: flex;
9
9
  flex: auto;
10
-
11
- /*
12
- Width:
13
- date cell widths
14
- + month calendar side padding
15
- + year scroller width
16
- */
17
- /* prettier-ignore */
18
- width:
19
- calc(
20
- var(--lumo-size-m) * 7
21
- + var(--lumo-space-xs) * 2
22
- + 57px
23
- );
10
+ /* Width: date cell widths + month calendar side padding + year scroller width */
11
+ width: calc(var(--lumo-size-m) * 7 + var(--lumo-space-xs) * 2 + 57px);
24
12
  height: 100%;
25
13
  max-height: calc(var(--lumo-size-m) * 14);
26
14
  overflow: hidden;
@@ -37,14 +37,14 @@
37
37
 
38
38
  /* prettier-ignore */
39
39
  :host([theme~='highlight-read-only-cells']) [tabindex]:not([part~='editable-cell']):not([part~='header-cell']):not([part~='footer-cell']) {
40
- background-image: repeating-linear-gradient(
41
- 135deg,
42
- transparent,
43
- transparent 6px,
44
- var(--lumo-contrast-5pct) 6px,
45
- var(--lumo-contrast-5pct) 14px
46
- );
47
- }
40
+ background-image: repeating-linear-gradient(
41
+ 135deg,
42
+ transparent,
43
+ transparent 6px,
44
+ var(--lumo-contrast-5pct) 6px,
45
+ var(--lumo-contrast-5pct) 14px
46
+ );
47
+ }
48
48
 
49
49
  /* Loading editor cell styles are used by Flow GridPro */
50
50
  :host([loading-editor]) [part~='focused-cell']::before {
@@ -81,4 +81,10 @@
81
81
  background-position: max(300%, 8em) 0;
82
82
  }
83
83
  }
84
+
85
+ :host([loading-editor]) [part~='focused-cell'] ::slotted(vaadin-grid-cell-content),
86
+ [part~='updating-cell'] ::slotted(vaadin-grid-cell-content) {
87
+ opacity: 0;
88
+ pointer-events: none;
89
+ }
84
90
  }
@@ -95,19 +95,19 @@
95
95
 
96
96
  /* prettier-ignore */
97
97
  :host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[aria-haspopup]) [part='suffix']::after {
98
- font-family: lumo-icons;
99
- content: var(--lumo-icons-dropdown);
100
- }
98
+ font-family: lumo-icons;
99
+ content: var(--lumo-icons-dropdown);
100
+ }
101
101
 
102
102
  /* prettier-ignore */
103
103
  :host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[theme~='tertiary'][aria-haspopup]) [part='suffix'] {
104
- inset-inline-start: 0.05em;
105
- }
104
+ inset-inline-start: 0.05em;
105
+ }
106
106
 
107
107
  /* prettier-ignore */
108
108
  :host([theme~='dropdown-indicators']:not([slot='overflow']):not([theme~='icon'])[theme~='tertiary-inline'][aria-haspopup]) [part='suffix'] {
109
- inset-inline-start: 0;
110
- }
109
+ inset-inline-start: 0;
110
+ }
111
111
 
112
112
  /* RTL styles */
113
113
  :host([dir='rtl']) {
@@ -426,25 +426,51 @@
426
426
  .ql-align-right {
427
427
  text-align: right;
428
428
  }
429
- /* quill core end */
430
-
431
- blockquote {
432
- padding-left: 1em;
433
- }
434
-
435
- code,
436
- pre {
437
- background-color: #f0f0f0;
438
- }
439
429
 
440
- pre {
430
+ .ql-code-block-container {
431
+ font-family: monospace;
432
+ background-color: var(--lumo-contrast-10pct);
433
+ border-radius: var(--lumo-border-radius-m);
441
434
  white-space: pre-wrap;
442
435
  margin-bottom: 0.3125em;
443
436
  margin-top: 0.3125em;
444
437
  padding: 0.3125em 0.625em;
445
438
  }
446
439
 
440
+ .ql-editor li {
441
+ list-style-type: none;
442
+ position: relative;
443
+ }
444
+
445
+ .ql-editor li > .ql-ui::before {
446
+ display: inline-block;
447
+ margin-left: -1.5em;
448
+ margin-right: 0.3em;
449
+ text-align: right;
450
+ white-space: nowrap;
451
+ width: 1.2em;
452
+ }
453
+
454
+ .ql-editor li[data-list='bullet'] {
455
+ list-style-type: disc;
456
+ }
457
+
458
+ .ql-editor li[data-list='ordered'] {
459
+ counter-increment: list-0;
460
+ }
461
+
462
+ .ql-editor li[data-list='ordered'] > .ql-ui::before {
463
+ content: counter(list-0, decimal) '. ';
464
+ }
465
+
466
+ /* quill core end */
467
+
468
+ blockquote {
469
+ padding-left: 1em;
470
+ }
471
+
447
472
  code {
473
+ background-color: var(--lumo-contrast-10pct);
448
474
  font-size: 85%;
449
475
  padding: 0.125em 0.25em;
450
476
  }