@vuetify/nightly 2.6.8 → 2.6.9

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +8 -5
  2. package/dist/json/web-types.json +21 -7
  3. package/dist/vuetify.css +3 -2
  4. package/dist/vuetify.css.map +1 -1
  5. package/dist/vuetify.js +49 -26
  6. package/dist/vuetify.js.map +1 -1
  7. package/dist/vuetify.min.css +2 -2
  8. package/dist/vuetify.min.js +2 -2
  9. package/es5/components/VCalendar/VCalendar.js +3 -0
  10. package/es5/components/VCalendar/VCalendar.js.map +1 -1
  11. package/es5/components/VCalendar/VCalendarWeekly.js +15 -3
  12. package/es5/components/VCalendar/VCalendarWeekly.js.map +1 -1
  13. package/es5/components/VCalendar/mixins/mouse.js +14 -22
  14. package/es5/components/VCalendar/mixins/mouse.js.map +1 -1
  15. package/es5/components/VCarousel/VCarousel.js +2 -1
  16. package/es5/components/VCarousel/VCarousel.js.map +1 -1
  17. package/es5/components/VPagination/VPagination.js +1 -1
  18. package/es5/components/VPagination/VPagination.js.map +1 -1
  19. package/es5/components/VRadioGroup/VRadio.js +1 -0
  20. package/es5/components/VRadioGroup/VRadio.js.map +1 -1
  21. package/es5/framework.js +1 -1
  22. package/lib/components/VCalendar/VCalendar.js +3 -0
  23. package/lib/components/VCalendar/VCalendar.js.map +1 -1
  24. package/lib/components/VCalendar/VCalendarWeekly.js +15 -3
  25. package/lib/components/VCalendar/VCalendarWeekly.js.map +1 -1
  26. package/lib/components/VCalendar/mixins/mouse.js +7 -28
  27. package/lib/components/VCalendar/mixins/mouse.js.map +1 -1
  28. package/lib/components/VCarousel/VCarousel.js +2 -1
  29. package/lib/components/VCarousel/VCarousel.js.map +1 -1
  30. package/lib/components/VPagination/VPagination.js +1 -1
  31. package/lib/components/VPagination/VPagination.js.map +1 -1
  32. package/lib/components/VRadioGroup/VRadio.js +1 -0
  33. package/lib/components/VRadioGroup/VRadio.js.map +1 -1
  34. package/lib/framework.js +1 -1
  35. package/package.json +1 -1
  36. package/src/components/VCalendar/VCalendar.ts +3 -0
  37. package/src/components/VCalendar/VCalendarWeekly.ts +12 -0
  38. package/src/components/VCalendar/__tests__/__snapshots__/VCalendar.spec.ts.snap +165 -55
  39. package/src/components/VCalendar/mixins/__tests__/mouse.spec.ts +2 -2
  40. package/src/components/VCalendar/mixins/mouse.ts +8 -9
  41. package/src/components/VCarousel/VCarousel.ts +1 -0
  42. package/src/components/VInput/VInput.sass +1 -1
  43. package/src/components/VPagination/VPagination.ts +1 -1
  44. package/src/components/VRadioGroup/VRadio.ts +1 -0
  45. package/src/components/VSwitch/VSwitch.sass +3 -2
@@ -1,7 +1,9 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`VCalendar should go to correct day when using next/prev public functions 1`] = `
4
- <div class="v-calendar v-calendar-daily theme--light">
4
+ <div class="v-calendar v-calendar-daily theme--light"
5
+ role="grid"
6
+ >
5
7
  <div class="v-calendar-daily__head"
6
8
  style="margin-right: 0px;"
7
9
  >
@@ -307,7 +309,9 @@ exports[`VCalendar should go to correct day when using next/prev public function
307
309
  `;
308
310
 
309
311
  exports[`VCalendar should go to correct day when using next/prev public functions 2`] = `
310
- <div class="v-calendar v-calendar-daily theme--light">
312
+ <div class="v-calendar v-calendar-daily theme--light"
313
+ role="grid"
314
+ >
311
315
  <div class="v-calendar-daily__head"
312
316
  style="margin-right: 0px;"
313
317
  >
@@ -613,7 +617,9 @@ exports[`VCalendar should go to correct day when using next/prev public function
613
617
  `;
614
618
 
615
619
  exports[`VCalendar should go to correct day when using next/prev public functions 3`] = `
616
- <div class="v-calendar v-calendar-daily theme--light">
620
+ <div class="v-calendar v-calendar-daily theme--light"
621
+ role="grid"
622
+ >
617
623
  <div class="v-calendar-daily__head"
618
624
  style="margin-right: 0px;"
619
625
  >
@@ -919,7 +925,9 @@ exports[`VCalendar should go to correct day when using next/prev public function
919
925
  `;
920
926
 
921
927
  exports[`VCalendar should render 4-day view 1`] = `
922
- <div class="v-calendar v-calendar-daily theme--light">
928
+ <div class="v-calendar v-calendar-daily theme--light"
929
+ role="grid"
930
+ >
923
931
  <div class="v-calendar-daily__head"
924
932
  style="margin-right: 0px;"
925
933
  >
@@ -1561,7 +1569,9 @@ exports[`VCalendar should render 4-day view 1`] = `
1561
1569
  `;
1562
1570
 
1563
1571
  exports[`VCalendar should render day view 1`] = `
1564
- <div class="v-calendar v-calendar-daily theme--light">
1572
+ <div class="v-calendar v-calendar-daily theme--light"
1573
+ role="grid"
1574
+ >
1565
1575
  <div class="v-calendar-daily__head"
1566
1576
  style="margin-right: 0px;"
1567
1577
  >
@@ -1867,32 +1877,54 @@ exports[`VCalendar should render day view 1`] = `
1867
1877
  `;
1868
1878
 
1869
1879
  exports[`VCalendar should render month view 1`] = `
1870
- <div class="v-calendar-monthly v-calendar-weekly v-calendar theme--light">
1871
- <div class="v-calendar-weekly__head">
1872
- <div class="v-calendar-weekly__head-weekday v-present v-outside">
1880
+ <div class="v-calendar-monthly v-calendar-weekly v-calendar theme--light"
1881
+ role="grid"
1882
+ >
1883
+ <div role="row"
1884
+ class="v-calendar-weekly__head"
1885
+ >
1886
+ <div role="columnheader"
1887
+ class="v-calendar-weekly__head-weekday v-present v-outside"
1888
+ >
1873
1889
  Sun
1874
1890
  </div>
1875
- <div class="v-calendar-weekly__head-weekday v-future">
1891
+ <div role="columnheader"
1892
+ class="v-calendar-weekly__head-weekday v-future"
1893
+ >
1876
1894
  Mon
1877
1895
  </div>
1878
- <div class="v-calendar-weekly__head-weekday v-future">
1896
+ <div role="columnheader"
1897
+ class="v-calendar-weekly__head-weekday v-future"
1898
+ >
1879
1899
  Tue
1880
1900
  </div>
1881
- <div class="v-calendar-weekly__head-weekday v-future">
1901
+ <div role="columnheader"
1902
+ class="v-calendar-weekly__head-weekday v-future"
1903
+ >
1882
1904
  Wed
1883
1905
  </div>
1884
- <div class="v-calendar-weekly__head-weekday v-future">
1906
+ <div role="columnheader"
1907
+ class="v-calendar-weekly__head-weekday v-future"
1908
+ >
1885
1909
  Thu
1886
1910
  </div>
1887
- <div class="v-calendar-weekly__head-weekday v-future">
1911
+ <div role="columnheader"
1912
+ class="v-calendar-weekly__head-weekday v-future"
1913
+ >
1888
1914
  Fri
1889
1915
  </div>
1890
- <div class="v-calendar-weekly__head-weekday v-future">
1916
+ <div role="columnheader"
1917
+ class="v-calendar-weekly__head-weekday v-future"
1918
+ >
1891
1919
  Sat
1892
1920
  </div>
1893
1921
  </div>
1894
- <div class="v-calendar-weekly__week">
1895
- <div class="v-calendar-weekly__day v-past v-outside">
1922
+ <div role="row"
1923
+ class="v-calendar-weekly__week"
1924
+ >
1925
+ <div role="cell"
1926
+ class="v-calendar-weekly__day v-past v-outside"
1927
+ >
1896
1928
  <div class="v-calendar-weekly__day-label">
1897
1929
  <button type="button"
1898
1930
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1903,7 +1935,9 @@ exports[`VCalendar should render month view 1`] = `
1903
1935
  </button>
1904
1936
  </div>
1905
1937
  </div>
1906
- <div class="v-calendar-weekly__day v-past">
1938
+ <div role="cell"
1939
+ class="v-calendar-weekly__day v-past"
1940
+ >
1907
1941
  <div class="v-calendar-weekly__day-label">
1908
1942
  <button type="button"
1909
1943
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1914,7 +1948,9 @@ exports[`VCalendar should render month view 1`] = `
1914
1948
  </button>
1915
1949
  </div>
1916
1950
  </div>
1917
- <div class="v-calendar-weekly__day v-past">
1951
+ <div role="cell"
1952
+ class="v-calendar-weekly__day v-past"
1953
+ >
1918
1954
  <div class="v-calendar-weekly__day-label">
1919
1955
  <button type="button"
1920
1956
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1925,7 +1961,9 @@ exports[`VCalendar should render month view 1`] = `
1925
1961
  </button>
1926
1962
  </div>
1927
1963
  </div>
1928
- <div class="v-calendar-weekly__day v-past">
1964
+ <div role="cell"
1965
+ class="v-calendar-weekly__day v-past"
1966
+ >
1929
1967
  <div class="v-calendar-weekly__day-label">
1930
1968
  <button type="button"
1931
1969
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1936,7 +1974,9 @@ exports[`VCalendar should render month view 1`] = `
1936
1974
  </button>
1937
1975
  </div>
1938
1976
  </div>
1939
- <div class="v-calendar-weekly__day v-past">
1977
+ <div role="cell"
1978
+ class="v-calendar-weekly__day v-past"
1979
+ >
1940
1980
  <div class="v-calendar-weekly__day-label">
1941
1981
  <button type="button"
1942
1982
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1947,7 +1987,9 @@ exports[`VCalendar should render month view 1`] = `
1947
1987
  </button>
1948
1988
  </div>
1949
1989
  </div>
1950
- <div class="v-calendar-weekly__day v-past">
1990
+ <div role="cell"
1991
+ class="v-calendar-weekly__day v-past"
1992
+ >
1951
1993
  <div class="v-calendar-weekly__day-label">
1952
1994
  <button type="button"
1953
1995
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1958,7 +2000,9 @@ exports[`VCalendar should render month view 1`] = `
1958
2000
  </button>
1959
2001
  </div>
1960
2002
  </div>
1961
- <div class="v-calendar-weekly__day v-past">
2003
+ <div role="cell"
2004
+ class="v-calendar-weekly__day v-past"
2005
+ >
1962
2006
  <div class="v-calendar-weekly__day-label">
1963
2007
  <button type="button"
1964
2008
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1970,8 +2014,12 @@ exports[`VCalendar should render month view 1`] = `
1970
2014
  </div>
1971
2015
  </div>
1972
2016
  </div>
1973
- <div class="v-calendar-weekly__week">
1974
- <div class="v-calendar-weekly__day v-past">
2017
+ <div role="row"
2018
+ class="v-calendar-weekly__week"
2019
+ >
2020
+ <div role="cell"
2021
+ class="v-calendar-weekly__day v-past"
2022
+ >
1975
2023
  <div class="v-calendar-weekly__day-label">
1976
2024
  <button type="button"
1977
2025
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1982,7 +2030,9 @@ exports[`VCalendar should render month view 1`] = `
1982
2030
  </button>
1983
2031
  </div>
1984
2032
  </div>
1985
- <div class="v-calendar-weekly__day v-past">
2033
+ <div role="cell"
2034
+ class="v-calendar-weekly__day v-past"
2035
+ >
1986
2036
  <div class="v-calendar-weekly__day-label">
1987
2037
  <button type="button"
1988
2038
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -1993,7 +2043,9 @@ exports[`VCalendar should render month view 1`] = `
1993
2043
  </button>
1994
2044
  </div>
1995
2045
  </div>
1996
- <div class="v-calendar-weekly__day v-past">
2046
+ <div role="cell"
2047
+ class="v-calendar-weekly__day v-past"
2048
+ >
1997
2049
  <div class="v-calendar-weekly__day-label">
1998
2050
  <button type="button"
1999
2051
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2004,7 +2056,9 @@ exports[`VCalendar should render month view 1`] = `
2004
2056
  </button>
2005
2057
  </div>
2006
2058
  </div>
2007
- <div class="v-calendar-weekly__day v-past">
2059
+ <div role="cell"
2060
+ class="v-calendar-weekly__day v-past"
2061
+ >
2008
2062
  <div class="v-calendar-weekly__day-label">
2009
2063
  <button type="button"
2010
2064
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2015,7 +2069,9 @@ exports[`VCalendar should render month view 1`] = `
2015
2069
  </button>
2016
2070
  </div>
2017
2071
  </div>
2018
- <div class="v-calendar-weekly__day v-past">
2072
+ <div role="cell"
2073
+ class="v-calendar-weekly__day v-past"
2074
+ >
2019
2075
  <div class="v-calendar-weekly__day-label">
2020
2076
  <button type="button"
2021
2077
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2026,7 +2082,9 @@ exports[`VCalendar should render month view 1`] = `
2026
2082
  </button>
2027
2083
  </div>
2028
2084
  </div>
2029
- <div class="v-calendar-weekly__day v-past">
2085
+ <div role="cell"
2086
+ class="v-calendar-weekly__day v-past"
2087
+ >
2030
2088
  <div class="v-calendar-weekly__day-label">
2031
2089
  <button type="button"
2032
2090
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2037,7 +2095,9 @@ exports[`VCalendar should render month view 1`] = `
2037
2095
  </button>
2038
2096
  </div>
2039
2097
  </div>
2040
- <div class="v-calendar-weekly__day v-past">
2098
+ <div role="cell"
2099
+ class="v-calendar-weekly__day v-past"
2100
+ >
2041
2101
  <div class="v-calendar-weekly__day-label">
2042
2102
  <button type="button"
2043
2103
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2049,8 +2109,12 @@ exports[`VCalendar should render month view 1`] = `
2049
2109
  </div>
2050
2110
  </div>
2051
2111
  </div>
2052
- <div class="v-calendar-weekly__week">
2053
- <div class="v-calendar-weekly__day v-past">
2112
+ <div role="row"
2113
+ class="v-calendar-weekly__week"
2114
+ >
2115
+ <div role="cell"
2116
+ class="v-calendar-weekly__day v-past"
2117
+ >
2054
2118
  <div class="v-calendar-weekly__day-label">
2055
2119
  <button type="button"
2056
2120
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2061,7 +2125,9 @@ exports[`VCalendar should render month view 1`] = `
2061
2125
  </button>
2062
2126
  </div>
2063
2127
  </div>
2064
- <div class="v-calendar-weekly__day v-past">
2128
+ <div role="cell"
2129
+ class="v-calendar-weekly__day v-past"
2130
+ >
2065
2131
  <div class="v-calendar-weekly__day-label">
2066
2132
  <button type="button"
2067
2133
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2072,7 +2138,9 @@ exports[`VCalendar should render month view 1`] = `
2072
2138
  </button>
2073
2139
  </div>
2074
2140
  </div>
2075
- <div class="v-calendar-weekly__day v-past">
2141
+ <div role="cell"
2142
+ class="v-calendar-weekly__day v-past"
2143
+ >
2076
2144
  <div class="v-calendar-weekly__day-label">
2077
2145
  <button type="button"
2078
2146
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2083,7 +2151,9 @@ exports[`VCalendar should render month view 1`] = `
2083
2151
  </button>
2084
2152
  </div>
2085
2153
  </div>
2086
- <div class="v-calendar-weekly__day v-past">
2154
+ <div role="cell"
2155
+ class="v-calendar-weekly__day v-past"
2156
+ >
2087
2157
  <div class="v-calendar-weekly__day-label">
2088
2158
  <button type="button"
2089
2159
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2094,7 +2164,9 @@ exports[`VCalendar should render month view 1`] = `
2094
2164
  </button>
2095
2165
  </div>
2096
2166
  </div>
2097
- <div class="v-calendar-weekly__day v-past">
2167
+ <div role="cell"
2168
+ class="v-calendar-weekly__day v-past"
2169
+ >
2098
2170
  <div class="v-calendar-weekly__day-label">
2099
2171
  <button type="button"
2100
2172
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2105,7 +2177,9 @@ exports[`VCalendar should render month view 1`] = `
2105
2177
  </button>
2106
2178
  </div>
2107
2179
  </div>
2108
- <div class="v-calendar-weekly__day v-past">
2180
+ <div role="cell"
2181
+ class="v-calendar-weekly__day v-past"
2182
+ >
2109
2183
  <div class="v-calendar-weekly__day-label">
2110
2184
  <button type="button"
2111
2185
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2116,7 +2190,9 @@ exports[`VCalendar should render month view 1`] = `
2116
2190
  </button>
2117
2191
  </div>
2118
2192
  </div>
2119
- <div class="v-calendar-weekly__day v-past">
2193
+ <div role="cell"
2194
+ class="v-calendar-weekly__day v-past"
2195
+ >
2120
2196
  <div class="v-calendar-weekly__day-label">
2121
2197
  <button type="button"
2122
2198
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2128,8 +2204,12 @@ exports[`VCalendar should render month view 1`] = `
2128
2204
  </div>
2129
2205
  </div>
2130
2206
  </div>
2131
- <div class="v-calendar-weekly__week">
2132
- <div class="v-calendar-weekly__day v-past">
2207
+ <div role="row"
2208
+ class="v-calendar-weekly__week"
2209
+ >
2210
+ <div role="cell"
2211
+ class="v-calendar-weekly__day v-past"
2212
+ >
2133
2213
  <div class="v-calendar-weekly__day-label">
2134
2214
  <button type="button"
2135
2215
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2140,7 +2220,9 @@ exports[`VCalendar should render month view 1`] = `
2140
2220
  </button>
2141
2221
  </div>
2142
2222
  </div>
2143
- <div class="v-calendar-weekly__day v-past">
2223
+ <div role="cell"
2224
+ class="v-calendar-weekly__day v-past"
2225
+ >
2144
2226
  <div class="v-calendar-weekly__day-label">
2145
2227
  <button type="button"
2146
2228
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2151,7 +2233,9 @@ exports[`VCalendar should render month view 1`] = `
2151
2233
  </button>
2152
2234
  </div>
2153
2235
  </div>
2154
- <div class="v-calendar-weekly__day v-past">
2236
+ <div role="cell"
2237
+ class="v-calendar-weekly__day v-past"
2238
+ >
2155
2239
  <div class="v-calendar-weekly__day-label">
2156
2240
  <button type="button"
2157
2241
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2162,7 +2246,9 @@ exports[`VCalendar should render month view 1`] = `
2162
2246
  </button>
2163
2247
  </div>
2164
2248
  </div>
2165
- <div class="v-calendar-weekly__day v-past">
2249
+ <div role="cell"
2250
+ class="v-calendar-weekly__day v-past"
2251
+ >
2166
2252
  <div class="v-calendar-weekly__day-label">
2167
2253
  <button type="button"
2168
2254
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2173,7 +2259,9 @@ exports[`VCalendar should render month view 1`] = `
2173
2259
  </button>
2174
2260
  </div>
2175
2261
  </div>
2176
- <div class="v-calendar-weekly__day v-past">
2262
+ <div role="cell"
2263
+ class="v-calendar-weekly__day v-past"
2264
+ >
2177
2265
  <div class="v-calendar-weekly__day-label">
2178
2266
  <button type="button"
2179
2267
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2184,7 +2272,9 @@ exports[`VCalendar should render month view 1`] = `
2184
2272
  </button>
2185
2273
  </div>
2186
2274
  </div>
2187
- <div class="v-calendar-weekly__day v-past">
2275
+ <div role="cell"
2276
+ class="v-calendar-weekly__day v-past"
2277
+ >
2188
2278
  <div class="v-calendar-weekly__day-label">
2189
2279
  <button type="button"
2190
2280
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2195,7 +2285,9 @@ exports[`VCalendar should render month view 1`] = `
2195
2285
  </button>
2196
2286
  </div>
2197
2287
  </div>
2198
- <div class="v-calendar-weekly__day v-past">
2288
+ <div role="cell"
2289
+ class="v-calendar-weekly__day v-past"
2290
+ >
2199
2291
  <div class="v-calendar-weekly__day-label">
2200
2292
  <button type="button"
2201
2293
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2207,8 +2299,12 @@ exports[`VCalendar should render month view 1`] = `
2207
2299
  </div>
2208
2300
  </div>
2209
2301
  </div>
2210
- <div class="v-calendar-weekly__week">
2211
- <div class="v-calendar-weekly__day v-past">
2302
+ <div role="row"
2303
+ class="v-calendar-weekly__week"
2304
+ >
2305
+ <div role="cell"
2306
+ class="v-calendar-weekly__day v-past"
2307
+ >
2212
2308
  <div class="v-calendar-weekly__day-label">
2213
2309
  <button type="button"
2214
2310
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2219,7 +2315,9 @@ exports[`VCalendar should render month view 1`] = `
2219
2315
  </button>
2220
2316
  </div>
2221
2317
  </div>
2222
- <div class="v-calendar-weekly__day v-past">
2318
+ <div role="cell"
2319
+ class="v-calendar-weekly__day v-past"
2320
+ >
2223
2321
  <div class="v-calendar-weekly__day-label">
2224
2322
  <button type="button"
2225
2323
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2230,7 +2328,9 @@ exports[`VCalendar should render month view 1`] = `
2230
2328
  </button>
2231
2329
  </div>
2232
2330
  </div>
2233
- <div class="v-calendar-weekly__day v-past">
2331
+ <div role="cell"
2332
+ class="v-calendar-weekly__day v-past"
2333
+ >
2234
2334
  <div class="v-calendar-weekly__day-label">
2235
2335
  <button type="button"
2236
2336
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2241,7 +2341,9 @@ exports[`VCalendar should render month view 1`] = `
2241
2341
  </button>
2242
2342
  </div>
2243
2343
  </div>
2244
- <div class="v-calendar-weekly__day v-past">
2344
+ <div role="cell"
2345
+ class="v-calendar-weekly__day v-past"
2346
+ >
2245
2347
  <div class="v-calendar-weekly__day-label">
2246
2348
  <button type="button"
2247
2349
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2252,7 +2354,9 @@ exports[`VCalendar should render month view 1`] = `
2252
2354
  </button>
2253
2355
  </div>
2254
2356
  </div>
2255
- <div class="v-calendar-weekly__day v-past v-outside">
2357
+ <div role="cell"
2358
+ class="v-calendar-weekly__day v-past v-outside"
2359
+ >
2256
2360
  <div class="v-calendar-weekly__day-label">
2257
2361
  <button type="button"
2258
2362
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2263,7 +2367,9 @@ exports[`VCalendar should render month view 1`] = `
2263
2367
  </button>
2264
2368
  </div>
2265
2369
  </div>
2266
- <div class="v-calendar-weekly__day v-past v-outside">
2370
+ <div role="cell"
2371
+ class="v-calendar-weekly__day v-past v-outside"
2372
+ >
2267
2373
  <div class="v-calendar-weekly__day-label">
2268
2374
  <button type="button"
2269
2375
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2274,7 +2380,9 @@ exports[`VCalendar should render month view 1`] = `
2274
2380
  </button>
2275
2381
  </div>
2276
2382
  </div>
2277
- <div class="v-calendar-weekly__day v-past v-outside">
2383
+ <div role="cell"
2384
+ class="v-calendar-weekly__day v-past v-outside"
2385
+ >
2278
2386
  <div class="v-calendar-weekly__day-label">
2279
2387
  <button type="button"
2280
2388
  class="v-btn v-btn--fab v-btn--has-bg v-btn--round theme--light v-size--small transparent"
@@ -2290,7 +2398,9 @@ exports[`VCalendar should render month view 1`] = `
2290
2398
  `;
2291
2399
 
2292
2400
  exports[`VCalendar should render week view 1`] = `
2293
- <div class="v-calendar v-calendar-daily theme--light">
2401
+ <div class="v-calendar v-calendar-daily theme--light"
2402
+ role="grid"
2403
+ >
2294
2404
  <div class="v-calendar-daily__head"
2295
2405
  style="margin-right: 0px;"
2296
2406
  >
@@ -35,11 +35,11 @@ describe('mouse.ts', () => {
35
35
  const noop = e => e
36
36
  const wrapper = mount(Mock, {
37
37
  listeners: {
38
- click: noop,
38
+ 'click:foo': noop,
39
39
  },
40
40
  })
41
41
 
42
- expect(typeof wrapper.vm.getDefaultMouseEventHandlers('', noop).click).toBe('function')
42
+ expect(typeof wrapper.vm.getDefaultMouseEventHandlers(':foo', noop).click).toBe('function')
43
43
  expect(Object.keys(typeof wrapper.vm.getDefaultMouseEventHandlers('', noop))).toHaveLength(6)
44
44
  })
45
45
 
@@ -24,17 +24,16 @@ export default Vue.extend({
24
24
 
25
25
  methods: {
26
26
  getDefaultMouseEventHandlers (suffix: string, getEvent: MouseHandler): MouseEventsMap {
27
+ const listeners = Object.keys(this.$listeners)
28
+ .filter(key => key.endsWith(suffix))
29
+ .reduce((acc, key) => {
30
+ acc[key] = { event: key.slice(0, -suffix.length) }
31
+ return acc
32
+ }, {} as MouseEvents)
33
+
27
34
  return this.getMouseEventHandlers({
28
- ['click' + suffix]: { event: 'click' },
35
+ ...listeners,
29
36
  ['contextmenu' + suffix]: { event: 'contextmenu', prevent: true, result: false },
30
- ['mousedown' + suffix]: { event: 'mousedown' },
31
- ['mousemove' + suffix]: { event: 'mousemove' },
32
- ['mouseup' + suffix]: { event: 'mouseup' },
33
- ['mouseenter' + suffix]: { event: 'mouseenter' },
34
- ['mouseleave' + suffix]: { event: 'mouseleave' },
35
- ['touchstart' + suffix]: { event: 'touchstart' },
36
- ['touchmove' + suffix]: { event: 'touchmove' },
37
- ['touchend' + suffix]: { event: 'touchend' },
38
37
  }, getEvent)
39
38
  },
40
39
  getMouseEventHandlers (events: MouseEvents, getEvent: MouseHandler): MouseEventsMap {
@@ -149,6 +149,7 @@ export default VWindow.extend({
149
149
  small: true,
150
150
  value: this.getValue(this.items[i], i),
151
151
  },
152
+ key: i,
152
153
  }, [
153
154
  this.$createElement(VIcon, {
154
155
  props: { size: 18 },
@@ -100,12 +100,12 @@
100
100
 
101
101
  &__slot
102
102
  align-items: center
103
- color: inherit
104
103
  display: flex
105
104
  margin-bottom: $input-slot-margin-bottom
106
105
  min-height: inherit
107
106
  position: relative
108
107
  transition: $primary-transition
108
+ transition-property: height, min-height
109
109
  width: 100%
110
110
 
111
111
  &--dense > .v-input__control > .v-input__slot
@@ -89,7 +89,7 @@ export default mixins(
89
89
  items (): (string | number)[] {
90
90
  const totalVisible = parseInt(this.totalVisible, 10)
91
91
 
92
- if (totalVisible === 0) {
92
+ if (totalVisible === 0 || isNaN(this.length) || this.length > Number.MAX_SAFE_INTEGER) {
93
93
  return []
94
94
  }
95
95
 
@@ -74,6 +74,7 @@ export default baseMixins.extend<options>().extend({
74
74
  }
75
75
  },
76
76
  computedColor (): string | undefined {
77
+ if (this.isDisabled) return undefined
77
78
  return Selectable.options.computed.computedColor.call(this)
78
79
  },
79
80
  computedIcon (): string {
@@ -45,6 +45,7 @@
45
45
 
46
46
  .v-input--selection-controls__input
47
47
  width: $switch-width
48
+ transition: opacity $primary-transition
48
49
 
49
50
  .v-input--selection-controls__ripple
50
51
  top: $switch-ripple-top
@@ -68,8 +69,8 @@
68
69
  .v-input--selection-controls__ripple
69
70
  top: $switch-ripple-dense-top
70
71
 
71
- &.v-input--is-dirty
72
- &.v-input--is-disabled
72
+ &.v-input--is-dirty.v-input--is-disabled
73
+ .v-input--selection-controls__input
73
74
  opacity: $switch-disabled-opacity
74
75
 
75
76
  +ltr()