@vaadin/date-picker 25.2.0-alpha1 → 25.2.0-alpha11

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.
@@ -447,6 +447,20 @@
447
447
  "description": "",
448
448
  "name": "DatePickerMixin",
449
449
  "members": [
450
+ {
451
+ "kind": "field",
452
+ "name": "autofocus",
453
+ "privacy": "public",
454
+ "type": {
455
+ "text": "boolean"
456
+ },
457
+ "description": "Specify that this control should have input focus when the page loads.",
458
+ "attribute": "autofocus",
459
+ "inheritedFrom": {
460
+ "name": "DelegateFocusMixin",
461
+ "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
462
+ }
463
+ },
450
464
  {
451
465
  "kind": "field",
452
466
  "name": "autoOpenDisabled",
@@ -465,6 +479,19 @@
465
479
  "type": {
466
480
  "text": "boolean"
467
481
  }
482
+ },
483
+ "inheritedFrom": {
484
+ "name": "ValidateMixin",
485
+ "package": "@vaadin/field-base/src/validate-mixin.js"
486
+ }
487
+ },
488
+ {
489
+ "kind": "method",
490
+ "name": "clear",
491
+ "description": "Clear the value of the field.",
492
+ "inheritedFrom": {
493
+ "name": "InputMixin",
494
+ "package": "@vaadin/field-base/src/input-mixin.js"
468
495
  }
469
496
  },
470
497
  {
@@ -472,6 +499,20 @@
472
499
  "name": "close",
473
500
  "description": "Closes the dropdown."
474
501
  },
502
+ {
503
+ "kind": "field",
504
+ "name": "disabled",
505
+ "privacy": "public",
506
+ "type": {
507
+ "text": "boolean"
508
+ },
509
+ "description": "If true, the user cannot interact with this element.",
510
+ "attribute": "disabled",
511
+ "inheritedFrom": {
512
+ "name": "TabindexMixin",
513
+ "package": "@vaadin/a11y-base/src/tabindex-mixin.js"
514
+ }
515
+ },
475
516
  {
476
517
  "kind": "field",
477
518
  "name": "i18n",
@@ -496,6 +537,20 @@
496
537
  "description": "Date which should be visible when there is no value selected.\n\nThe same date formats as for the `value` property are supported.",
497
538
  "attribute": "initial-position"
498
539
  },
540
+ {
541
+ "kind": "field",
542
+ "name": "invalid",
543
+ "privacy": "public",
544
+ "type": {
545
+ "text": "boolean"
546
+ },
547
+ "description": "Set to true when the field is invalid.",
548
+ "attribute": "invalid",
549
+ "inheritedFrom": {
550
+ "name": "ValidateMixin",
551
+ "package": "@vaadin/field-base/src/validate-mixin.js"
552
+ }
553
+ },
499
554
  {
500
555
  "kind": "field",
501
556
  "name": "isDateDisabled",
@@ -506,6 +561,20 @@
506
561
  "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
507
562
  "attribute": "is-date-disabled"
508
563
  },
564
+ {
565
+ "kind": "field",
566
+ "name": "manualValidation",
567
+ "privacy": "public",
568
+ "type": {
569
+ "text": "boolean"
570
+ },
571
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
572
+ "attribute": "manual-validation",
573
+ "inheritedFrom": {
574
+ "name": "ValidateMixin",
575
+ "package": "@vaadin/field-base/src/validate-mixin.js"
576
+ }
577
+ },
509
578
  {
510
579
  "kind": "field",
511
580
  "name": "max",
@@ -541,6 +610,20 @@
541
610
  "description": "Set true to open the date selector overlay.",
542
611
  "attribute": "opened"
543
612
  },
613
+ {
614
+ "kind": "field",
615
+ "name": "required",
616
+ "privacy": "public",
617
+ "type": {
618
+ "text": "boolean"
619
+ },
620
+ "description": "Specifies that the user must fill in a value.",
621
+ "attribute": "required",
622
+ "inheritedFrom": {
623
+ "name": "ValidateMixin",
624
+ "package": "@vaadin/field-base/src/validate-mixin.js"
625
+ }
626
+ },
544
627
  {
545
628
  "kind": "field",
546
629
  "name": "showWeekNumbers",
@@ -551,6 +634,20 @@
551
634
  "description": "Set true to display ISO-8601 week numbers in the calendar. Notice that\ndisplaying week numbers is only supported when `i18n.firstDayOfWeek`\nis 1 (Monday).",
552
635
  "attribute": "show-week-numbers"
553
636
  },
637
+ {
638
+ "kind": "method",
639
+ "name": "validate",
640
+ "description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
641
+ "return": {
642
+ "type": {
643
+ "text": "boolean"
644
+ }
645
+ },
646
+ "inheritedFrom": {
647
+ "name": "ValidateMixin",
648
+ "package": "@vaadin/field-base/src/validate-mixin.js"
649
+ }
650
+ },
554
651
  {
555
652
  "kind": "field",
556
653
  "name": "value",
@@ -559,7 +656,11 @@
559
656
  "text": "string"
560
657
  },
561
658
  "description": "Selected date.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
562
- "attribute": "value"
659
+ "attribute": "value",
660
+ "inheritedFrom": {
661
+ "name": "InputMixin",
662
+ "package": "@vaadin/field-base/src/input-mixin.js"
663
+ }
563
664
  }
564
665
  ],
565
666
  "events": [
@@ -567,6 +668,10 @@
567
668
  "name": "change",
568
669
  "type": {
569
670
  "text": "CustomEvent"
671
+ },
672
+ "inheritedFrom": {
673
+ "name": "InputConstraintsMixin",
674
+ "package": "@vaadin/field-base/src/input-constraints-mixin.js"
570
675
  }
571
676
  },
572
677
  {
@@ -574,6 +679,16 @@
574
679
  "type": {
575
680
  "text": "CustomEvent"
576
681
  }
682
+ },
683
+ {
684
+ "name": "validated",
685
+ "type": {
686
+ "text": "CustomEvent"
687
+ },
688
+ "inheritedFrom": {
689
+ "name": "ValidateMixin",
690
+ "package": "@vaadin/field-base/src/validate-mixin.js"
691
+ }
577
692
  }
578
693
  ],
579
694
  "attributes": [
@@ -585,6 +700,30 @@
585
700
  "description": "Set true to prevent the overlay from opening automatically.",
586
701
  "fieldName": "autoOpenDisabled"
587
702
  },
703
+ {
704
+ "name": "autofocus",
705
+ "type": {
706
+ "text": "boolean"
707
+ },
708
+ "description": "Specify that this control should have input focus when the page loads.",
709
+ "fieldName": "autofocus",
710
+ "inheritedFrom": {
711
+ "name": "DelegateFocusMixin",
712
+ "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
713
+ }
714
+ },
715
+ {
716
+ "name": "disabled",
717
+ "type": {
718
+ "text": "boolean"
719
+ },
720
+ "description": "If true, the user cannot interact with this element.",
721
+ "fieldName": "disabled",
722
+ "inheritedFrom": {
723
+ "name": "TabindexMixin",
724
+ "package": "@vaadin/a11y-base/src/tabindex-mixin.js"
725
+ }
726
+ },
588
727
  {
589
728
  "name": "i18n",
590
729
  "type": {
@@ -605,6 +744,18 @@
605
744
  "description": "Date which should be visible when there is no value selected.\n\nThe same date formats as for the `value` property are supported.",
606
745
  "fieldName": "initialPosition"
607
746
  },
747
+ {
748
+ "name": "invalid",
749
+ "type": {
750
+ "text": "boolean"
751
+ },
752
+ "description": "Set to true when the field is invalid.",
753
+ "fieldName": "invalid",
754
+ "inheritedFrom": {
755
+ "name": "ValidateMixin",
756
+ "package": "@vaadin/field-base/src/validate-mixin.js"
757
+ }
758
+ },
608
759
  {
609
760
  "name": "is-date-disabled",
610
761
  "type": {
@@ -613,6 +764,18 @@
613
764
  "description": "A function to be used to determine whether the user can select a given date.\nReceives a `DatePickerDate` object of the date to be selected and should return a\nboolean.",
614
765
  "fieldName": "isDateDisabled"
615
766
  },
767
+ {
768
+ "name": "manual-validation",
769
+ "type": {
770
+ "text": "boolean"
771
+ },
772
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
773
+ "fieldName": "manualValidation",
774
+ "inheritedFrom": {
775
+ "name": "ValidateMixin",
776
+ "package": "@vaadin/field-base/src/validate-mixin.js"
777
+ }
778
+ },
616
779
  {
617
780
  "name": "max",
618
781
  "type": {
@@ -637,6 +800,18 @@
637
800
  "description": "Set true to open the date selector overlay.",
638
801
  "fieldName": "opened"
639
802
  },
803
+ {
804
+ "name": "required",
805
+ "type": {
806
+ "text": "boolean"
807
+ },
808
+ "description": "Specifies that the user must fill in a value.",
809
+ "fieldName": "required",
810
+ "inheritedFrom": {
811
+ "name": "ValidateMixin",
812
+ "package": "@vaadin/field-base/src/validate-mixin.js"
813
+ }
814
+ },
640
815
  {
641
816
  "name": "show-week-numbers",
642
817
  "type": {
@@ -651,7 +826,11 @@
651
826
  "text": "string"
652
827
  },
653
828
  "description": "Selected date.\n\nSupported date formats:\n- ISO 8601 `\"YYYY-MM-DD\"` (default)\n- 6-digit extended ISO 8601 `\"+YYYYYY-MM-DD\"`, `\"-YYYYYY-MM-DD\"`",
654
- "fieldName": "value"
829
+ "fieldName": "value",
830
+ "inheritedFrom": {
831
+ "name": "InputMixin",
832
+ "package": "@vaadin/field-base/src/input-mixin.js"
833
+ }
655
834
  }
656
835
  ],
657
836
  "mixins": [
@@ -674,10 +853,7 @@
674
853
  ],
675
854
  "parameters": [
676
855
  {
677
- "name": "subclass",
678
- "type": {
679
- "text": "function(new:HTMLElement)"
680
- }
856
+ "name": "subclass"
681
857
  }
682
858
  ]
683
859
  }
@@ -1552,6 +1728,20 @@
1552
1728
  "package": "@vaadin/field-base/src/input-control-mixin.js"
1553
1729
  }
1554
1730
  },
1731
+ {
1732
+ "kind": "field",
1733
+ "name": "autofocus",
1734
+ "privacy": "public",
1735
+ "type": {
1736
+ "text": "boolean"
1737
+ },
1738
+ "description": "Specify that this control should have input focus when the page loads.",
1739
+ "attribute": "autofocus",
1740
+ "inheritedFrom": {
1741
+ "name": "DelegateFocusMixin",
1742
+ "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
1743
+ }
1744
+ },
1555
1745
  {
1556
1746
  "kind": "field",
1557
1747
  "name": "autoOpenDisabled",
@@ -1590,8 +1780,17 @@
1590
1780
  }
1591
1781
  },
1592
1782
  "inheritedFrom": {
1593
- "name": "DatePickerMixin",
1594
- "module": "src/vaadin-date-picker-mixin.js"
1783
+ "name": "InputConstraintsMixin",
1784
+ "package": "@vaadin/field-base/src/input-constraints-mixin.js"
1785
+ }
1786
+ },
1787
+ {
1788
+ "kind": "method",
1789
+ "name": "clear",
1790
+ "description": "Clear the value of the field.",
1791
+ "inheritedFrom": {
1792
+ "name": "InputMixin",
1793
+ "package": "@vaadin/field-base/src/input-mixin.js"
1595
1794
  }
1596
1795
  },
1597
1796
  {
@@ -1617,6 +1816,20 @@
1617
1816
  "module": "src/vaadin-date-picker-mixin.js"
1618
1817
  }
1619
1818
  },
1819
+ {
1820
+ "kind": "field",
1821
+ "name": "disabled",
1822
+ "privacy": "public",
1823
+ "type": {
1824
+ "text": "boolean"
1825
+ },
1826
+ "description": "If true, the user cannot interact with this element.",
1827
+ "attribute": "disabled",
1828
+ "inheritedFrom": {
1829
+ "name": "TabindexMixin",
1830
+ "package": "@vaadin/a11y-base/src/tabindex-mixin.js"
1831
+ }
1832
+ },
1620
1833
  {
1621
1834
  "kind": "field",
1622
1835
  "name": "errorMessage",
@@ -1673,6 +1886,20 @@
1673
1886
  "module": "src/vaadin-date-picker-mixin.js"
1674
1887
  }
1675
1888
  },
1889
+ {
1890
+ "kind": "field",
1891
+ "name": "invalid",
1892
+ "privacy": "public",
1893
+ "type": {
1894
+ "text": "boolean"
1895
+ },
1896
+ "description": "Set to true when the field is invalid.",
1897
+ "attribute": "invalid",
1898
+ "inheritedFrom": {
1899
+ "name": "ValidateMixin",
1900
+ "package": "@vaadin/field-base/src/validate-mixin.js"
1901
+ }
1902
+ },
1676
1903
  {
1677
1904
  "kind": "field",
1678
1905
  "name": "isDateDisabled",
@@ -1687,6 +1914,34 @@
1687
1914
  "module": "src/vaadin-date-picker-mixin.js"
1688
1915
  }
1689
1916
  },
1917
+ {
1918
+ "kind": "field",
1919
+ "name": "label",
1920
+ "privacy": "public",
1921
+ "type": {
1922
+ "text": "string"
1923
+ },
1924
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
1925
+ "attribute": "label",
1926
+ "inheritedFrom": {
1927
+ "name": "LabelMixin",
1928
+ "package": "@vaadin/field-base/src/label-mixin.js"
1929
+ }
1930
+ },
1931
+ {
1932
+ "kind": "field",
1933
+ "name": "manualValidation",
1934
+ "privacy": "public",
1935
+ "type": {
1936
+ "text": "boolean"
1937
+ },
1938
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
1939
+ "attribute": "manual-validation",
1940
+ "inheritedFrom": {
1941
+ "name": "ValidateMixin",
1942
+ "package": "@vaadin/field-base/src/validate-mixin.js"
1943
+ }
1944
+ },
1690
1945
  {
1691
1946
  "kind": "field",
1692
1947
  "name": "max",
@@ -1780,6 +2035,20 @@
1780
2035
  "package": "@vaadin/field-base/src/input-control-mixin.js"
1781
2036
  }
1782
2037
  },
2038
+ {
2039
+ "kind": "field",
2040
+ "name": "required",
2041
+ "privacy": "public",
2042
+ "type": {
2043
+ "text": "boolean"
2044
+ },
2045
+ "description": "Specifies that the user must fill in a value.",
2046
+ "attribute": "required",
2047
+ "inheritedFrom": {
2048
+ "name": "ValidateMixin",
2049
+ "package": "@vaadin/field-base/src/validate-mixin.js"
2050
+ }
2051
+ },
1783
2052
  {
1784
2053
  "kind": "field",
1785
2054
  "name": "showWeekNumbers",
@@ -1808,6 +2077,20 @@
1808
2077
  "package": "@vaadin/field-base/src/input-control-mixin.js"
1809
2078
  }
1810
2079
  },
2080
+ {
2081
+ "kind": "method",
2082
+ "name": "validate",
2083
+ "description": "Validates the field and sets the `invalid` property based on the result.\n\nThe method fires a `validated` event with the result of the validation.",
2084
+ "return": {
2085
+ "type": {
2086
+ "text": "boolean"
2087
+ }
2088
+ },
2089
+ "inheritedFrom": {
2090
+ "name": "ValidateMixin",
2091
+ "package": "@vaadin/field-base/src/validate-mixin.js"
2092
+ }
2093
+ },
1811
2094
  {
1812
2095
  "kind": "field",
1813
2096
  "name": "value",
@@ -1831,8 +2114,8 @@
1831
2114
  },
1832
2115
  "description": "Fired when the user commits a value change.",
1833
2116
  "inheritedFrom": {
1834
- "name": "DatePickerMixin",
1835
- "module": "src/vaadin-date-picker-mixin.js"
2117
+ "name": "InputConstraintsMixin",
2118
+ "package": "@vaadin/field-base/src/input-constraints-mixin.js"
1836
2119
  }
1837
2120
  },
1838
2121
  {
@@ -1924,6 +2207,18 @@
1924
2207
  "module": "src/vaadin-date-picker-mixin.js"
1925
2208
  }
1926
2209
  },
2210
+ {
2211
+ "name": "autofocus",
2212
+ "type": {
2213
+ "text": "boolean"
2214
+ },
2215
+ "description": "Specify that this control should have input focus when the page loads.",
2216
+ "fieldName": "autofocus",
2217
+ "inheritedFrom": {
2218
+ "name": "DelegateFocusMixin",
2219
+ "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
2220
+ }
2221
+ },
1927
2222
  {
1928
2223
  "name": "autoselect",
1929
2224
  "type": {
@@ -1948,6 +2243,18 @@
1948
2243
  "package": "@vaadin/field-base/src/clear-button-mixin.js"
1949
2244
  }
1950
2245
  },
2246
+ {
2247
+ "name": "disabled",
2248
+ "type": {
2249
+ "text": "boolean"
2250
+ },
2251
+ "description": "If true, the user cannot interact with this element.",
2252
+ "fieldName": "disabled",
2253
+ "inheritedFrom": {
2254
+ "name": "TabindexMixin",
2255
+ "package": "@vaadin/a11y-base/src/tabindex-mixin.js"
2256
+ }
2257
+ },
1951
2258
  {
1952
2259
  "name": "error-message",
1953
2260
  "type": {
@@ -1996,6 +2303,18 @@
1996
2303
  "module": "src/vaadin-date-picker-mixin.js"
1997
2304
  }
1998
2305
  },
2306
+ {
2307
+ "name": "invalid",
2308
+ "type": {
2309
+ "text": "boolean"
2310
+ },
2311
+ "description": "Set to true when the field is invalid.",
2312
+ "fieldName": "invalid",
2313
+ "inheritedFrom": {
2314
+ "name": "ValidateMixin",
2315
+ "package": "@vaadin/field-base/src/validate-mixin.js"
2316
+ }
2317
+ },
1999
2318
  {
2000
2319
  "name": "is-date-disabled",
2001
2320
  "type": {
@@ -2008,6 +2327,30 @@
2008
2327
  "module": "src/vaadin-date-picker-mixin.js"
2009
2328
  }
2010
2329
  },
2330
+ {
2331
+ "name": "label",
2332
+ "type": {
2333
+ "text": "string"
2334
+ },
2335
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
2336
+ "fieldName": "label",
2337
+ "inheritedFrom": {
2338
+ "name": "LabelMixin",
2339
+ "package": "@vaadin/field-base/src/label-mixin.js"
2340
+ }
2341
+ },
2342
+ {
2343
+ "name": "manual-validation",
2344
+ "type": {
2345
+ "text": "boolean"
2346
+ },
2347
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
2348
+ "fieldName": "manualValidation",
2349
+ "inheritedFrom": {
2350
+ "name": "ValidateMixin",
2351
+ "package": "@vaadin/field-base/src/validate-mixin.js"
2352
+ }
2353
+ },
2011
2354
  {
2012
2355
  "name": "max",
2013
2356
  "type": {
@@ -2080,6 +2423,18 @@
2080
2423
  "package": "@vaadin/field-base/src/input-control-mixin.js"
2081
2424
  }
2082
2425
  },
2426
+ {
2427
+ "name": "required",
2428
+ "type": {
2429
+ "text": "boolean"
2430
+ },
2431
+ "description": "Specifies that the user must fill in a value.",
2432
+ "fieldName": "required",
2433
+ "inheritedFrom": {
2434
+ "name": "ValidateMixin",
2435
+ "package": "@vaadin/field-base/src/validate-mixin.js"
2436
+ }
2437
+ },
2083
2438
  {
2084
2439
  "name": "show-week-numbers",
2085
2440
  "type": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/date-picker",
3
- "version": "25.2.0-alpha1",
3
+ "version": "25.2.0-alpha11",
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.0-alpha1",
39
- "@vaadin/button": "25.2.0-alpha1",
40
- "@vaadin/component-base": "25.2.0-alpha1",
41
- "@vaadin/field-base": "25.2.0-alpha1",
42
- "@vaadin/input-container": "25.2.0-alpha1",
43
- "@vaadin/overlay": "25.2.0-alpha1",
44
- "@vaadin/vaadin-themable-mixin": "25.2.0-alpha1",
38
+ "@vaadin/a11y-base": "25.2.0-alpha11",
39
+ "@vaadin/button": "25.2.0-alpha11",
40
+ "@vaadin/component-base": "25.2.0-alpha11",
41
+ "@vaadin/field-base": "25.2.0-alpha11",
42
+ "@vaadin/input-container": "25.2.0-alpha11",
43
+ "@vaadin/overlay": "25.2.0-alpha11",
44
+ "@vaadin/vaadin-themable-mixin": "25.2.0-alpha11",
45
45
  "lit": "^3.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@vaadin/aura": "25.2.0-alpha1",
49
- "@vaadin/chai-plugins": "25.2.0-alpha1",
50
- "@vaadin/test-runner-commands": "25.2.0-alpha1",
48
+ "@vaadin/aura": "25.2.0-alpha11",
49
+ "@vaadin/chai-plugins": "25.2.0-alpha11",
50
+ "@vaadin/test-runner-commands": "25.2.0-alpha11",
51
51
  "@vaadin/testing-helpers": "^2.0.0",
52
- "@vaadin/vaadin-lumo-styles": "25.2.0-alpha1",
52
+ "@vaadin/vaadin-lumo-styles": "25.2.0-alpha11",
53
53
  "sinon": "^21.0.2"
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": "866f813f89655a351cbd25328eba1fcb317e267d"
60
+ "gitHead": "fdc37e932709f95491a027aeb2090911cb7528c6"
61
61
  }
@@ -13,19 +13,16 @@ export const datePickerOverlayStyles = css`
13
13
  box-sizing: content-box;
14
14
  width: var(
15
15
  --vaadin-date-picker-overlay-width,
16
- calc(
16
+ round(
17
17
  var(--vaadin-date-picker-date-width, 2rem) * 7 +
18
18
  var(--vaadin-date-picker-month-padding, var(--vaadin-padding-s)) * 2 +
19
- var(--vaadin-date-picker-year-scroller-width, 3rem)
19
+ var(--vaadin-date-picker-year-scroller-width, 3rem),
20
+ 1px
20
21
  )
21
22
  );
22
23
  cursor: default;
23
24
  }
24
25
 
25
- :host([fullscreen]) {
26
- --vaadin-date-picker-date-width: calc(100% / 7);
27
- }
28
-
29
26
  :host([fullscreen]) [part='backdrop'] {
30
27
  display: block;
31
28
  }
@@ -50,13 +50,18 @@ export const overlayContentStyles = css`
50
50
  }
51
51
 
52
52
  ::slotted([slot='months']) {
53
- --vaadin-infinite-scroller-item-height: calc(
54
- 16.5rem + var(--_vaadin-date-picker-week-numbers-visible, 0) *
55
- (var(--vaadin-date-picker-week-number-font-size, 0.7rem) * 1.25 * 6)
53
+ --vaadin-infinite-scroller-item-height: round(
54
+ var(--vaadin-date-picker-month-header-font-size, 0.9375rem) + 0.75rem +
55
+ var(--vaadin-date-picker-date-height, 2rem) * 7 + var(--_vaadin-date-picker-week-numbers-visible, 0) *
56
+ (
57
+ var(--vaadin-date-picker-week-number-font-size, 0.7rem) * 6.25 +
58
+ var(--vaadin-date-picker-month-padding, var(--vaadin-padding-s)) * 3
59
+ ),
60
+ 1px
56
61
  );
57
62
  }
58
63
 
59
- :host([desktop]) ::slotted([slot='months']) {
64
+ :host(:not([fullscreen])) ::slotted([slot='months']) {
60
65
  border-bottom: 1px solid var(--vaadin-border-color-secondary);
61
66
  }
62
67