@vaadin/date-picker 25.2.14 → 25.2.16
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/custom-elements.json +2 -2
- package/package.json +13 -13
- package/src/vaadin-month-calendar-mixin.js +2 -0
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -1206,7 +1206,7 @@
|
|
|
1206
1206
|
"type": {
|
|
1207
1207
|
"text": "boolean"
|
|
1208
1208
|
},
|
|
1209
|
-
"description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.",
|
|
1209
|
+
"description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.\n\nAn element inside the overlay that has `autofocus` set, such as\n`<vaadin-text-field autofocus>`, receives focus on open instead.",
|
|
1210
1210
|
"attribute": "focus-trap",
|
|
1211
1211
|
"inheritedFrom": {
|
|
1212
1212
|
"name": "OverlayFocusMixin",
|
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
"type": {
|
|
1479
1479
|
"text": "boolean"
|
|
1480
1480
|
},
|
|
1481
|
-
"description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.",
|
|
1481
|
+
"description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.\n\nAn element inside the overlay that has `autofocus` set, such as\n`<vaadin-text-field autofocus>`, receives focus on open instead.",
|
|
1482
1482
|
"fieldName": "focusTrap",
|
|
1483
1483
|
"inheritedFrom": {
|
|
1484
1484
|
"name": "OverlayFocusMixin",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/date-picker",
|
|
3
|
-
"version": "25.2.
|
|
3
|
+
"version": "25.2.16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "~25.2.
|
|
39
|
-
"@vaadin/button": "~25.2.
|
|
40
|
-
"@vaadin/component-base": "~25.2.
|
|
41
|
-
"@vaadin/field-base": "~25.2.
|
|
42
|
-
"@vaadin/input-container": "~25.2.
|
|
43
|
-
"@vaadin/overlay": "~25.2.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "~25.2.
|
|
38
|
+
"@vaadin/a11y-base": "~25.2.16",
|
|
39
|
+
"@vaadin/button": "~25.2.16",
|
|
40
|
+
"@vaadin/component-base": "~25.2.16",
|
|
41
|
+
"@vaadin/field-base": "~25.2.16",
|
|
42
|
+
"@vaadin/input-container": "~25.2.16",
|
|
43
|
+
"@vaadin/overlay": "~25.2.16",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "~25.2.16",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/aura": "~25.2.
|
|
49
|
-
"@vaadin/chai-plugins": "~25.2.
|
|
50
|
-
"@vaadin/test-runner-commands": "~25.2.
|
|
48
|
+
"@vaadin/aura": "~25.2.16",
|
|
49
|
+
"@vaadin/chai-plugins": "~25.2.16",
|
|
50
|
+
"@vaadin/test-runner-commands": "~25.2.16",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
|
-
"@vaadin/vaadin-lumo-styles": "~25.2.
|
|
52
|
+
"@vaadin/vaadin-lumo-styles": "~25.2.16",
|
|
53
53
|
"sinon": "^22.0.0"
|
|
54
54
|
},
|
|
55
55
|
"customElements": "custom-elements.json",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"web-types.json",
|
|
58
58
|
"web-types.lit.json"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "27fa0a103889067b99d5d1fad4648357c5281d59"
|
|
61
61
|
}
|
|
@@ -163,6 +163,8 @@ export const MonthCalendarMixin = (superClass) =>
|
|
|
163
163
|
if (
|
|
164
164
|
minDate &&
|
|
165
165
|
maxDate &&
|
|
166
|
+
minDate.getFullYear() === maxDate.getFullYear() &&
|
|
167
|
+
minDate.getFullYear() === month.getFullYear() &&
|
|
166
168
|
minDate.getMonth() === maxDate.getMonth() &&
|
|
167
169
|
minDate.getMonth() === month.getMonth() &&
|
|
168
170
|
maxDate.getDate() - minDate.getDate() >= 0
|
package/web-types.json
CHANGED