react-day-picker 9.1.1 → 9.1.2

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 (197) hide show
  1. package/README.md +8 -8
  2. package/dist/cjs/DayPicker.js +10 -10
  3. package/dist/cjs/DayPicker.js.map +1 -1
  4. package/dist/cjs/classes/CalendarDay.d.ts +1 -1
  5. package/dist/cjs/classes/CalendarDay.js.map +1 -1
  6. package/dist/cjs/components/WeekNumber.d.ts +1 -1
  7. package/dist/cjs/components/WeekNumber.js +2 -2
  8. package/dist/cjs/formatters/formatCaption.d.ts +1 -2
  9. package/dist/cjs/formatters/formatCaption.js.map +1 -1
  10. package/dist/cjs/formatters/formatDay.d.ts +1 -2
  11. package/dist/cjs/formatters/formatDay.js.map +1 -1
  12. package/dist/cjs/formatters/formatWeekdayName.d.ts +1 -2
  13. package/dist/cjs/formatters/formatWeekdayName.js.map +1 -1
  14. package/dist/cjs/helpers/getDateLib.d.ts +2 -1
  15. package/dist/cjs/helpers/getDateLib.js.map +1 -1
  16. package/dist/cjs/helpers/getDates.js +2 -2
  17. package/dist/cjs/helpers/getDates.js.map +1 -1
  18. package/dist/cjs/helpers/getDisplayMonths.d.ts +2 -1
  19. package/dist/cjs/helpers/getDisplayMonths.js.map +1 -1
  20. package/dist/cjs/helpers/getFocusableDate.d.ts +2 -1
  21. package/dist/cjs/helpers/getInitialMonth.js +5 -1
  22. package/dist/cjs/helpers/getInitialMonth.js.map +1 -1
  23. package/dist/cjs/helpers/getMonthOptions.d.ts +2 -2
  24. package/dist/cjs/helpers/getMonthOptions.js +6 -3
  25. package/dist/cjs/helpers/getMonthOptions.js.map +1 -1
  26. package/dist/cjs/helpers/getMonths.d.ts +2 -1
  27. package/dist/cjs/helpers/getMonths.js.map +1 -1
  28. package/dist/cjs/helpers/getNavMonth.d.ts +3 -2
  29. package/dist/cjs/helpers/getNavMonth.js +11 -3
  30. package/dist/cjs/helpers/getNavMonth.js.map +1 -1
  31. package/dist/cjs/helpers/getNextFocus.d.ts +2 -1
  32. package/dist/cjs/helpers/getNextMonth.d.ts +2 -1
  33. package/dist/cjs/helpers/getNextMonth.js.map +1 -1
  34. package/dist/cjs/helpers/getPreviousMonth.d.ts +2 -1
  35. package/dist/cjs/helpers/getPreviousMonth.js.map +1 -1
  36. package/dist/cjs/helpers/getWeekdays.d.ts +1 -2
  37. package/dist/cjs/helpers/getWeekdays.js +5 -1
  38. package/dist/cjs/helpers/getWeekdays.js.map +1 -1
  39. package/dist/cjs/helpers/getYearOptions.d.ts +2 -1
  40. package/dist/cjs/helpers/getYearOptions.js +6 -5
  41. package/dist/cjs/helpers/getYearOptions.js.map +1 -1
  42. package/dist/cjs/labels/labelGrid.d.ts +1 -2
  43. package/dist/cjs/labels/labelGrid.js.map +1 -1
  44. package/dist/cjs/labels/labelWeekday.d.ts +1 -2
  45. package/dist/cjs/labels/labelWeekday.js.map +1 -1
  46. package/dist/cjs/lib/dateLib.d.ts +66 -3
  47. package/dist/cjs/lib/dateLib.js +0 -2
  48. package/dist/cjs/lib/dateLib.js.map +1 -1
  49. package/dist/cjs/selection/useMulti.d.ts +2 -1
  50. package/dist/cjs/selection/useRange.d.ts +2 -1
  51. package/dist/cjs/selection/useSingle.d.ts +2 -1
  52. package/dist/cjs/types/props.d.ts +15 -5
  53. package/dist/cjs/types/selection.d.ts +14 -5
  54. package/dist/cjs/types/shared.d.ts +17 -8
  55. package/dist/cjs/useCalendar.d.ts +1 -1
  56. package/dist/cjs/useDayPicker.d.ts +30 -6
  57. package/dist/cjs/useDayPicker.js +10 -2
  58. package/dist/cjs/useDayPicker.js.map +1 -1
  59. package/dist/cjs/useFocus.d.ts +2 -1
  60. package/dist/cjs/useGetModifiers.d.ts +2 -1
  61. package/dist/cjs/useGetModifiers.js +6 -1
  62. package/dist/cjs/useGetModifiers.js.map +1 -1
  63. package/dist/cjs/useSelection.d.ts +2 -1
  64. package/dist/cjs/useSelection.js.map +1 -1
  65. package/dist/cjs/utils/addToRange.d.ts +2 -1
  66. package/dist/cjs/utils/addToRange.js.map +1 -1
  67. package/dist/cjs/utils/dateMatchModifiers.d.ts +2 -1
  68. package/dist/cjs/utils/dateMatchModifiers.js.map +1 -1
  69. package/dist/cjs/utils/rangeIncludesDate.d.ts +2 -1
  70. package/dist/cjs/utils/rangeIncludesDate.js.map +1 -1
  71. package/dist/cjs/utils/typeguards.d.ts +2 -1
  72. package/dist/esm/DayPicker.js +10 -10
  73. package/dist/esm/DayPicker.js.map +1 -1
  74. package/dist/esm/classes/CalendarDay.d.ts +1 -1
  75. package/dist/esm/classes/CalendarDay.js.map +1 -1
  76. package/dist/esm/components/WeekNumber.d.ts +1 -1
  77. package/dist/esm/components/WeekNumber.js +2 -2
  78. package/dist/esm/formatters/formatCaption.d.ts +1 -2
  79. package/dist/esm/formatters/formatCaption.js.map +1 -1
  80. package/dist/esm/formatters/formatDay.d.ts +1 -2
  81. package/dist/esm/formatters/formatDay.js.map +1 -1
  82. package/dist/esm/formatters/formatWeekdayName.d.ts +1 -2
  83. package/dist/esm/formatters/formatWeekdayName.js.map +1 -1
  84. package/dist/esm/helpers/getDateLib.d.ts +2 -1
  85. package/dist/esm/helpers/getDateLib.js.map +1 -1
  86. package/dist/esm/helpers/getDates.js +2 -2
  87. package/dist/esm/helpers/getDates.js.map +1 -1
  88. package/dist/esm/helpers/getDisplayMonths.d.ts +2 -1
  89. package/dist/esm/helpers/getDisplayMonths.js.map +1 -1
  90. package/dist/esm/helpers/getFocusableDate.d.ts +2 -1
  91. package/dist/esm/helpers/getInitialMonth.js +5 -1
  92. package/dist/esm/helpers/getInitialMonth.js.map +1 -1
  93. package/dist/esm/helpers/getMonthOptions.d.ts +2 -2
  94. package/dist/esm/helpers/getMonthOptions.js +6 -3
  95. package/dist/esm/helpers/getMonthOptions.js.map +1 -1
  96. package/dist/esm/helpers/getMonths.d.ts +2 -1
  97. package/dist/esm/helpers/getMonths.js.map +1 -1
  98. package/dist/esm/helpers/getNavMonth.d.ts +3 -2
  99. package/dist/esm/helpers/getNavMonth.js +11 -3
  100. package/dist/esm/helpers/getNavMonth.js.map +1 -1
  101. package/dist/esm/helpers/getNextFocus.d.ts +2 -1
  102. package/dist/esm/helpers/getNextMonth.d.ts +2 -1
  103. package/dist/esm/helpers/getNextMonth.js.map +1 -1
  104. package/dist/esm/helpers/getPreviousMonth.d.ts +2 -1
  105. package/dist/esm/helpers/getPreviousMonth.js.map +1 -1
  106. package/dist/esm/helpers/getWeekdays.d.ts +1 -2
  107. package/dist/esm/helpers/getWeekdays.js +5 -1
  108. package/dist/esm/helpers/getWeekdays.js.map +1 -1
  109. package/dist/esm/helpers/getYearOptions.d.ts +2 -1
  110. package/dist/esm/helpers/getYearOptions.js +6 -5
  111. package/dist/esm/helpers/getYearOptions.js.map +1 -1
  112. package/dist/esm/labels/labelGrid.d.ts +1 -2
  113. package/dist/esm/labels/labelGrid.js.map +1 -1
  114. package/dist/esm/labels/labelWeekday.d.ts +1 -2
  115. package/dist/esm/labels/labelWeekday.js.map +1 -1
  116. package/dist/esm/lib/dateLib.d.ts +66 -3
  117. package/dist/esm/lib/dateLib.js +0 -2
  118. package/dist/esm/lib/dateLib.js.map +1 -1
  119. package/dist/esm/selection/useMulti.d.ts +2 -1
  120. package/dist/esm/selection/useRange.d.ts +2 -1
  121. package/dist/esm/selection/useSingle.d.ts +2 -1
  122. package/dist/esm/types/props.d.ts +15 -5
  123. package/dist/esm/types/selection.d.ts +14 -5
  124. package/dist/esm/types/shared.d.ts +17 -8
  125. package/dist/esm/useCalendar.d.ts +1 -1
  126. package/dist/esm/useDayPicker.d.ts +30 -6
  127. package/dist/esm/useDayPicker.js +10 -2
  128. package/dist/esm/useDayPicker.js.map +1 -1
  129. package/dist/esm/useFocus.d.ts +2 -1
  130. package/dist/esm/useGetModifiers.d.ts +2 -1
  131. package/dist/esm/useGetModifiers.js +6 -1
  132. package/dist/esm/useGetModifiers.js.map +1 -1
  133. package/dist/esm/useSelection.d.ts +2 -1
  134. package/dist/esm/useSelection.js.map +1 -1
  135. package/dist/esm/utils/addToRange.d.ts +2 -1
  136. package/dist/esm/utils/addToRange.js.map +1 -1
  137. package/dist/esm/utils/dateMatchModifiers.d.ts +2 -1
  138. package/dist/esm/utils/dateMatchModifiers.js.map +1 -1
  139. package/dist/esm/utils/rangeIncludesDate.d.ts +2 -1
  140. package/dist/esm/utils/rangeIncludesDate.js.map +1 -1
  141. package/dist/esm/utils/typeguards.d.ts +2 -1
  142. package/examples/Input.test.tsx +1 -1
  143. package/examples/ModifiersHidden.test.tsx +1 -1
  144. package/examples/Range.test.tsx +1 -1
  145. package/examples/RangeShiftKey.tsx +1 -1
  146. package/examples/SingleMockDate.test.tsx +39 -0
  147. package/examples/WeekStartsOn.tsx +7 -0
  148. package/examples/Weeknumber.test.tsx +2 -2
  149. package/examples/WeeknumberCustom.tsx +2 -2
  150. package/examples/__snapshots__/Range.test.tsx.snap +84 -100
  151. package/examples/__snapshots__/StylingCssModules.test.tsx.snap +42 -50
  152. package/examples/index.ts +1 -0
  153. package/package.json +4 -3
  154. package/src/DayPicker.test.tsx +13 -0
  155. package/src/DayPicker.tsx +4 -8
  156. package/src/classes/CalendarDay.ts +1 -1
  157. package/src/components/WeekNumber.tsx +3 -3
  158. package/src/formatters/formatCaption.ts +5 -2
  159. package/src/formatters/formatDay.ts +1 -2
  160. package/src/formatters/formatWeekdayName.ts +1 -2
  161. package/src/helpers/getDateLib.ts +2 -2
  162. package/src/helpers/getDates.ts +2 -3
  163. package/src/helpers/getDisplayMonths.ts +2 -1
  164. package/src/helpers/getFocusableDate.ts +1 -1
  165. package/src/helpers/getInitialMonth.ts +5 -1
  166. package/src/helpers/getMonthOptions.ts +8 -5
  167. package/src/helpers/getMonths.ts +2 -1
  168. package/src/helpers/getNavMonth.ts +14 -5
  169. package/src/helpers/getNextFocus.tsx +1 -1
  170. package/src/helpers/getNextMonth.ts +2 -1
  171. package/src/helpers/getPreviousMonth.ts +2 -1
  172. package/src/helpers/getWeekdays.ts +6 -3
  173. package/src/helpers/getYearOptions.ts +8 -7
  174. package/src/labels/labelGrid.ts +1 -2
  175. package/src/labels/labelWeekday.ts +1 -2
  176. package/src/lib/dateLib.ts +95 -3
  177. package/src/selection/useMulti.tsx +1 -1
  178. package/src/selection/useRange.tsx +1 -1
  179. package/src/selection/useSingle.tsx +1 -1
  180. package/src/types/props.ts +15 -6
  181. package/src/types/selection.ts +12 -9
  182. package/src/types/shared.ts +17 -9
  183. package/src/useCalendar.ts +1 -1
  184. package/src/useDayPicker.ts +30 -6
  185. package/src/useFocus.ts +1 -1
  186. package/src/useGetModifiers.tsx +8 -2
  187. package/src/useSelection.ts +2 -1
  188. package/src/utils/addToRange.ts +2 -2
  189. package/src/utils/dateMatchModifiers.ts +2 -2
  190. package/src/utils/rangeIncludesDate.ts +2 -2
  191. package/src/utils/typeguards.ts +1 -1
  192. package/website/docs/development/code-of-conduct.md +5 -7
  193. package/website/docs/development/contributing.md +9 -0
  194. package/website/docs/docs/localization.mdx +23 -29
  195. package/website/docs/docs/selection-modes.mdx +21 -21
  196. package/website/docs/guides/custom-components.mdx +10 -10
  197. package/website/docs/development/contributing.mdx +0 -11
@@ -13,7 +13,6 @@ exports[`should match the snapshot 1`] = `
13
13
  <nav
14
14
  aria-label=""
15
15
  class="rdp-nav"
16
- role="navigation"
17
16
  >
18
17
  <button
19
18
  aria-label="Go to the Previous Month"
@@ -71,54 +70,53 @@ exports[`should match the snapshot 1`] = `
71
70
  <thead>
72
71
  <tr
73
72
  class="rdp-weekdays"
74
- role="row"
75
73
  >
76
74
  <th
77
75
  aria-label="Sunday"
78
76
  class="rdp-weekday"
79
- role="columnheader"
77
+ scope="col"
80
78
  >
81
79
  Su
82
80
  </th>
83
81
  <th
84
82
  aria-label="Monday"
85
83
  class="rdp-weekday"
86
- role="columnheader"
84
+ scope="col"
87
85
  >
88
86
  Mo
89
87
  </th>
90
88
  <th
91
89
  aria-label="Tuesday"
92
90
  class="rdp-weekday"
93
- role="columnheader"
91
+ scope="col"
94
92
  >
95
93
  Tu
96
94
  </th>
97
95
  <th
98
96
  aria-label="Wednesday"
99
97
  class="rdp-weekday"
100
- role="columnheader"
98
+ scope="col"
101
99
  >
102
100
  We
103
101
  </th>
104
102
  <th
105
103
  aria-label="Thursday"
106
104
  class="rdp-weekday"
107
- role="columnheader"
105
+ scope="col"
108
106
  >
109
107
  Th
110
108
  </th>
111
109
  <th
112
110
  aria-label="Friday"
113
111
  class="rdp-weekday"
114
- role="columnheader"
112
+ scope="col"
115
113
  >
116
114
  Fr
117
115
  </th>
118
116
  <th
119
117
  aria-label="Saturday"
120
118
  class="rdp-weekday"
121
- role="columnheader"
119
+ scope="col"
122
120
  >
123
121
  Sa
124
122
  </th>
@@ -126,11 +124,9 @@ exports[`should match the snapshot 1`] = `
126
124
  </thead>
127
125
  <tbody
128
126
  class="rdp-weeks"
129
- role="rowgroup"
130
127
  >
131
128
  <tr
132
129
  class="rdp-week"
133
- role="row"
134
130
  >
135
131
  <td
136
132
  aria-hidden="true"
@@ -139,12 +135,12 @@ exports[`should match the snapshot 1`] = `
139
135
  data-hidden="true"
140
136
  data-month="2020-05"
141
137
  data-outside="true"
142
- role="gridcell"
143
138
  >
144
139
  <button
145
140
  aria-label="Sunday, May 31st, 2020"
146
141
  class="rdp-day_button"
147
142
  tabindex="-1"
143
+ type="button"
148
144
  >
149
145
  31
150
146
  </button>
@@ -152,12 +148,12 @@ exports[`should match the snapshot 1`] = `
152
148
  <td
153
149
  class="rdp-day"
154
150
  data-day="2020-06-01"
155
- role="gridcell"
156
151
  >
157
152
  <button
158
153
  aria-label="Monday, June 1st, 2020"
159
154
  class="rdp-day_button"
160
155
  tabindex="-1"
156
+ type="button"
161
157
  >
162
158
  1
163
159
  </button>
@@ -165,12 +161,12 @@ exports[`should match the snapshot 1`] = `
165
161
  <td
166
162
  class="rdp-day"
167
163
  data-day="2020-06-02"
168
- role="gridcell"
169
164
  >
170
165
  <button
171
166
  aria-label="Tuesday, June 2nd, 2020"
172
167
  class="rdp-day_button"
173
168
  tabindex="-1"
169
+ type="button"
174
170
  >
175
171
  2
176
172
  </button>
@@ -178,12 +174,12 @@ exports[`should match the snapshot 1`] = `
178
174
  <td
179
175
  class="rdp-day"
180
176
  data-day="2020-06-03"
181
- role="gridcell"
182
177
  >
183
178
  <button
184
179
  aria-label="Wednesday, June 3rd, 2020"
185
180
  class="rdp-day_button"
186
181
  tabindex="-1"
182
+ type="button"
187
183
  >
188
184
  3
189
185
  </button>
@@ -191,12 +187,12 @@ exports[`should match the snapshot 1`] = `
191
187
  <td
192
188
  class="rdp-day"
193
189
  data-day="2020-06-04"
194
- role="gridcell"
195
190
  >
196
191
  <button
197
192
  aria-label="Thursday, June 4th, 2020"
198
193
  class="rdp-day_button"
199
194
  tabindex="-1"
195
+ type="button"
200
196
  >
201
197
  4
202
198
  </button>
@@ -204,12 +200,12 @@ exports[`should match the snapshot 1`] = `
204
200
  <td
205
201
  class="rdp-day"
206
202
  data-day="2020-06-05"
207
- role="gridcell"
208
203
  >
209
204
  <button
210
205
  aria-label="Friday, June 5th, 2020"
211
206
  class="rdp-day_button"
212
207
  tabindex="-1"
208
+ type="button"
213
209
  >
214
210
  5
215
211
  </button>
@@ -217,12 +213,12 @@ exports[`should match the snapshot 1`] = `
217
213
  <td
218
214
  class="rdp-day"
219
215
  data-day="2020-06-06"
220
- role="gridcell"
221
216
  >
222
217
  <button
223
218
  aria-label="Saturday, June 6th, 2020"
224
219
  class="rdp-day_button"
225
220
  tabindex="-1"
221
+ type="button"
226
222
  >
227
223
  6
228
224
  </button>
@@ -230,17 +226,16 @@ exports[`should match the snapshot 1`] = `
230
226
  </tr>
231
227
  <tr
232
228
  class="rdp-week"
233
- role="row"
234
229
  >
235
230
  <td
236
231
  class="rdp-day"
237
232
  data-day="2020-06-07"
238
- role="gridcell"
239
233
  >
240
234
  <button
241
235
  aria-label="Sunday, June 7th, 2020"
242
236
  class="rdp-day_button"
243
237
  tabindex="-1"
238
+ type="button"
244
239
  >
245
240
  7
246
241
  </button>
@@ -248,12 +243,12 @@ exports[`should match the snapshot 1`] = `
248
243
  <td
249
244
  class="rdp-day"
250
245
  data-day="2020-06-08"
251
- role="gridcell"
252
246
  >
253
247
  <button
254
248
  aria-label="Monday, June 8th, 2020"
255
249
  class="rdp-day_button"
256
250
  tabindex="-1"
251
+ type="button"
257
252
  >
258
253
  8
259
254
  </button>
@@ -261,12 +256,12 @@ exports[`should match the snapshot 1`] = `
261
256
  <td
262
257
  class="rdp-day"
263
258
  data-day="2020-06-09"
264
- role="gridcell"
265
259
  >
266
260
  <button
267
261
  aria-label="Tuesday, June 9th, 2020"
268
262
  class="rdp-day_button"
269
263
  tabindex="-1"
264
+ type="button"
270
265
  >
271
266
  9
272
267
  </button>
@@ -274,12 +269,12 @@ exports[`should match the snapshot 1`] = `
274
269
  <td
275
270
  class="rdp-day"
276
271
  data-day="2020-06-10"
277
- role="gridcell"
278
272
  >
279
273
  <button
280
274
  aria-label="Wednesday, June 10th, 2020"
281
275
  class="rdp-day_button"
282
276
  tabindex="-1"
277
+ type="button"
283
278
  >
284
279
  10
285
280
  </button>
@@ -287,12 +282,12 @@ exports[`should match the snapshot 1`] = `
287
282
  <td
288
283
  class="rdp-day"
289
284
  data-day="2020-06-11"
290
- role="gridcell"
291
285
  >
292
286
  <button
293
287
  aria-label="Thursday, June 11th, 2020"
294
288
  class="rdp-day_button"
295
289
  tabindex="-1"
290
+ type="button"
296
291
  >
297
292
  11
298
293
  </button>
@@ -300,12 +295,12 @@ exports[`should match the snapshot 1`] = `
300
295
  <td
301
296
  class="rdp-day"
302
297
  data-day="2020-06-12"
303
- role="gridcell"
304
298
  >
305
299
  <button
306
300
  aria-label="Friday, June 12th, 2020"
307
301
  class="rdp-day_button"
308
302
  tabindex="-1"
303
+ type="button"
309
304
  >
310
305
  12
311
306
  </button>
@@ -313,12 +308,12 @@ exports[`should match the snapshot 1`] = `
313
308
  <td
314
309
  class="rdp-day"
315
310
  data-day="2020-06-13"
316
- role="gridcell"
317
311
  >
318
312
  <button
319
313
  aria-label="Saturday, June 13th, 2020"
320
314
  class="rdp-day_button"
321
315
  tabindex="-1"
316
+ type="button"
322
317
  >
323
318
  13
324
319
  </button>
@@ -326,17 +321,16 @@ exports[`should match the snapshot 1`] = `
326
321
  </tr>
327
322
  <tr
328
323
  class="rdp-week"
329
- role="row"
330
324
  >
331
325
  <td
332
326
  class="rdp-day"
333
327
  data-day="2020-06-14"
334
- role="gridcell"
335
328
  >
336
329
  <button
337
330
  aria-label="Sunday, June 14th, 2020"
338
331
  class="rdp-day_button"
339
332
  tabindex="-1"
333
+ type="button"
340
334
  >
341
335
  14
342
336
  </button>
@@ -346,12 +340,12 @@ exports[`should match the snapshot 1`] = `
346
340
  class="rdp-day rdp-range_start rdp-selected"
347
341
  data-day="2020-06-15"
348
342
  data-selected="true"
349
- role="gridcell"
350
343
  >
351
344
  <button
352
345
  aria-label="Monday, June 15th, 2020, selected"
353
346
  class="rdp-day_button"
354
347
  tabindex="0"
348
+ type="button"
355
349
  >
356
350
  15
357
351
  </button>
@@ -361,12 +355,12 @@ exports[`should match the snapshot 1`] = `
361
355
  class="rdp-day rdp-range_middle rdp-selected"
362
356
  data-day="2020-06-16"
363
357
  data-selected="true"
364
- role="gridcell"
365
358
  >
366
359
  <button
367
360
  aria-label="Tuesday, June 16th, 2020, selected"
368
361
  class="rdp-day_button"
369
362
  tabindex="-1"
363
+ type="button"
370
364
  >
371
365
  16
372
366
  </button>
@@ -376,12 +370,12 @@ exports[`should match the snapshot 1`] = `
376
370
  class="rdp-day rdp-range_middle rdp-selected"
377
371
  data-day="2020-06-17"
378
372
  data-selected="true"
379
- role="gridcell"
380
373
  >
381
374
  <button
382
375
  aria-label="Wednesday, June 17th, 2020, selected"
383
376
  class="rdp-day_button"
384
377
  tabindex="-1"
378
+ type="button"
385
379
  >
386
380
  17
387
381
  </button>
@@ -391,12 +385,12 @@ exports[`should match the snapshot 1`] = `
391
385
  class="rdp-day rdp-range_middle rdp-selected"
392
386
  data-day="2020-06-18"
393
387
  data-selected="true"
394
- role="gridcell"
395
388
  >
396
389
  <button
397
390
  aria-label="Thursday, June 18th, 2020, selected"
398
391
  class="rdp-day_button"
399
392
  tabindex="-1"
393
+ type="button"
400
394
  >
401
395
  18
402
396
  </button>
@@ -406,12 +400,12 @@ exports[`should match the snapshot 1`] = `
406
400
  class="rdp-day rdp-range_end rdp-selected"
407
401
  data-day="2020-06-19"
408
402
  data-selected="true"
409
- role="gridcell"
410
403
  >
411
404
  <button
412
405
  aria-label="Friday, June 19th, 2020, selected"
413
406
  class="rdp-day_button"
414
407
  tabindex="-1"
408
+ type="button"
415
409
  >
416
410
  19
417
411
  </button>
@@ -419,12 +413,12 @@ exports[`should match the snapshot 1`] = `
419
413
  <td
420
414
  class="rdp-day"
421
415
  data-day="2020-06-20"
422
- role="gridcell"
423
416
  >
424
417
  <button
425
418
  aria-label="Saturday, June 20th, 2020"
426
419
  class="rdp-day_button"
427
420
  tabindex="-1"
421
+ type="button"
428
422
  >
429
423
  20
430
424
  </button>
@@ -432,17 +426,16 @@ exports[`should match the snapshot 1`] = `
432
426
  </tr>
433
427
  <tr
434
428
  class="rdp-week"
435
- role="row"
436
429
  >
437
430
  <td
438
431
  class="rdp-day"
439
432
  data-day="2020-06-21"
440
- role="gridcell"
441
433
  >
442
434
  <button
443
435
  aria-label="Sunday, June 21st, 2020"
444
436
  class="rdp-day_button"
445
437
  tabindex="-1"
438
+ type="button"
446
439
  >
447
440
  21
448
441
  </button>
@@ -450,12 +443,12 @@ exports[`should match the snapshot 1`] = `
450
443
  <td
451
444
  class="rdp-day"
452
445
  data-day="2020-06-22"
453
- role="gridcell"
454
446
  >
455
447
  <button
456
448
  aria-label="Monday, June 22nd, 2020"
457
449
  class="rdp-day_button"
458
450
  tabindex="-1"
451
+ type="button"
459
452
  >
460
453
  22
461
454
  </button>
@@ -463,12 +456,12 @@ exports[`should match the snapshot 1`] = `
463
456
  <td
464
457
  class="rdp-day"
465
458
  data-day="2020-06-23"
466
- role="gridcell"
467
459
  >
468
460
  <button
469
461
  aria-label="Tuesday, June 23rd, 2020"
470
462
  class="rdp-day_button"
471
463
  tabindex="-1"
464
+ type="button"
472
465
  >
473
466
  23
474
467
  </button>
@@ -476,12 +469,12 @@ exports[`should match the snapshot 1`] = `
476
469
  <td
477
470
  class="rdp-day"
478
471
  data-day="2020-06-24"
479
- role="gridcell"
480
472
  >
481
473
  <button
482
474
  aria-label="Wednesday, June 24th, 2020"
483
475
  class="rdp-day_button"
484
476
  tabindex="-1"
477
+ type="button"
485
478
  >
486
479
  24
487
480
  </button>
@@ -489,12 +482,12 @@ exports[`should match the snapshot 1`] = `
489
482
  <td
490
483
  class="rdp-day"
491
484
  data-day="2020-06-25"
492
- role="gridcell"
493
485
  >
494
486
  <button
495
487
  aria-label="Thursday, June 25th, 2020"
496
488
  class="rdp-day_button"
497
489
  tabindex="-1"
490
+ type="button"
498
491
  >
499
492
  25
500
493
  </button>
@@ -502,12 +495,12 @@ exports[`should match the snapshot 1`] = `
502
495
  <td
503
496
  class="rdp-day"
504
497
  data-day="2020-06-26"
505
- role="gridcell"
506
498
  >
507
499
  <button
508
500
  aria-label="Friday, June 26th, 2020"
509
501
  class="rdp-day_button"
510
502
  tabindex="-1"
503
+ type="button"
511
504
  >
512
505
  26
513
506
  </button>
@@ -515,12 +508,12 @@ exports[`should match the snapshot 1`] = `
515
508
  <td
516
509
  class="rdp-day"
517
510
  data-day="2020-06-27"
518
- role="gridcell"
519
511
  >
520
512
  <button
521
513
  aria-label="Saturday, June 27th, 2020"
522
514
  class="rdp-day_button"
523
515
  tabindex="-1"
516
+ type="button"
524
517
  >
525
518
  27
526
519
  </button>
@@ -528,17 +521,16 @@ exports[`should match the snapshot 1`] = `
528
521
  </tr>
529
522
  <tr
530
523
  class="rdp-week"
531
- role="row"
532
524
  >
533
525
  <td
534
526
  class="rdp-day"
535
527
  data-day="2020-06-28"
536
- role="gridcell"
537
528
  >
538
529
  <button
539
530
  aria-label="Sunday, June 28th, 2020"
540
531
  class="rdp-day_button"
541
532
  tabindex="-1"
533
+ type="button"
542
534
  >
543
535
  28
544
536
  </button>
@@ -546,12 +538,12 @@ exports[`should match the snapshot 1`] = `
546
538
  <td
547
539
  class="rdp-day"
548
540
  data-day="2020-06-29"
549
- role="gridcell"
550
541
  >
551
542
  <button
552
543
  aria-label="Monday, June 29th, 2020"
553
544
  class="rdp-day_button"
554
545
  tabindex="-1"
546
+ type="button"
555
547
  >
556
548
  29
557
549
  </button>
@@ -559,12 +551,12 @@ exports[`should match the snapshot 1`] = `
559
551
  <td
560
552
  class="rdp-day"
561
553
  data-day="2020-06-30"
562
- role="gridcell"
563
554
  >
564
555
  <button
565
556
  aria-label="Tuesday, June 30th, 2020"
566
557
  class="rdp-day_button"
567
558
  tabindex="-1"
559
+ type="button"
568
560
  >
569
561
  30
570
562
  </button>
@@ -576,12 +568,12 @@ exports[`should match the snapshot 1`] = `
576
568
  data-hidden="true"
577
569
  data-month="2020-07"
578
570
  data-outside="true"
579
- role="gridcell"
580
571
  >
581
572
  <button
582
573
  aria-label="Wednesday, July 1st, 2020"
583
574
  class="rdp-day_button"
584
575
  tabindex="-1"
576
+ type="button"
585
577
  >
586
578
  1
587
579
  </button>
@@ -593,12 +585,12 @@ exports[`should match the snapshot 1`] = `
593
585
  data-hidden="true"
594
586
  data-month="2020-07"
595
587
  data-outside="true"
596
- role="gridcell"
597
588
  >
598
589
  <button
599
590
  aria-label="Thursday, July 2nd, 2020"
600
591
  class="rdp-day_button"
601
592
  tabindex="-1"
593
+ type="button"
602
594
  >
603
595
  2
604
596
  </button>
@@ -610,12 +602,12 @@ exports[`should match the snapshot 1`] = `
610
602
  data-hidden="true"
611
603
  data-month="2020-07"
612
604
  data-outside="true"
613
- role="gridcell"
614
605
  >
615
606
  <button
616
607
  aria-label="Friday, July 3rd, 2020"
617
608
  class="rdp-day_button"
618
609
  tabindex="-1"
610
+ type="button"
619
611
  >
620
612
  3
621
613
  </button>
@@ -627,12 +619,12 @@ exports[`should match the snapshot 1`] = `
627
619
  data-hidden="true"
628
620
  data-month="2020-07"
629
621
  data-outside="true"
630
- role="gridcell"
631
622
  >
632
623
  <button
633
624
  aria-label="Saturday, July 4th, 2020"
634
625
  class="rdp-day_button"
635
626
  tabindex="-1"
627
+ type="button"
636
628
  >
637
629
  4
638
630
  </button>
@@ -666,7 +658,6 @@ exports[`when a day in the range is clicked when the day is clicked again when a
666
658
  <nav
667
659
  aria-label=""
668
660
  class="rdp-nav"
669
- role="navigation"
670
661
  >
671
662
  <button
672
663
  aria-label="Go to the Previous Month"
@@ -724,54 +715,53 @@ exports[`when a day in the range is clicked when the day is clicked again when a
724
715
  <thead>
725
716
  <tr
726
717
  class="rdp-weekdays"
727
- role="row"
728
718
  >
729
719
  <th
730
720
  aria-label="Sunday"
731
721
  class="rdp-weekday"
732
- role="columnheader"
722
+ scope="col"
733
723
  >
734
724
  Su
735
725
  </th>
736
726
  <th
737
727
  aria-label="Monday"
738
728
  class="rdp-weekday"
739
- role="columnheader"
729
+ scope="col"
740
730
  >
741
731
  Mo
742
732
  </th>
743
733
  <th
744
734
  aria-label="Tuesday"
745
735
  class="rdp-weekday"
746
- role="columnheader"
736
+ scope="col"
747
737
  >
748
738
  Tu
749
739
  </th>
750
740
  <th
751
741
  aria-label="Wednesday"
752
742
  class="rdp-weekday"
753
- role="columnheader"
743
+ scope="col"
754
744
  >
755
745
  We
756
746
  </th>
757
747
  <th
758
748
  aria-label="Thursday"
759
749
  class="rdp-weekday"
760
- role="columnheader"
750
+ scope="col"
761
751
  >
762
752
  Th
763
753
  </th>
764
754
  <th
765
755
  aria-label="Friday"
766
756
  class="rdp-weekday"
767
- role="columnheader"
757
+ scope="col"
768
758
  >
769
759
  Fr
770
760
  </th>
771
761
  <th
772
762
  aria-label="Saturday"
773
763
  class="rdp-weekday"
774
- role="columnheader"
764
+ scope="col"
775
765
  >
776
766
  Sa
777
767
  </th>
@@ -779,11 +769,9 @@ exports[`when a day in the range is clicked when the day is clicked again when a
779
769
  </thead>
780
770
  <tbody
781
771
  class="rdp-weeks"
782
- role="rowgroup"
783
772
  >
784
773
  <tr
785
774
  class="rdp-week"
786
- role="row"
787
775
  >
788
776
  <td
789
777
  aria-hidden="true"
@@ -792,12 +780,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
792
780
  data-hidden="true"
793
781
  data-month="2020-05"
794
782
  data-outside="true"
795
- role="gridcell"
796
783
  >
797
784
  <button
798
785
  aria-label="Sunday, May 31st, 2020"
799
786
  class="rdp-day_button"
800
787
  tabindex="-1"
788
+ type="button"
801
789
  >
802
790
  31
803
791
  </button>
@@ -805,12 +793,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
805
793
  <td
806
794
  class="rdp-day"
807
795
  data-day="2020-06-01"
808
- role="gridcell"
809
796
  >
810
797
  <button
811
798
  aria-label="Monday, June 1st, 2020"
812
799
  class="rdp-day_button"
813
800
  tabindex="0"
801
+ type="button"
814
802
  >
815
803
  1
816
804
  </button>
@@ -818,12 +806,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
818
806
  <td
819
807
  class="rdp-day"
820
808
  data-day="2020-06-02"
821
- role="gridcell"
822
809
  >
823
810
  <button
824
811
  aria-label="Tuesday, June 2nd, 2020"
825
812
  class="rdp-day_button"
826
813
  tabindex="-1"
814
+ type="button"
827
815
  >
828
816
  2
829
817
  </button>
@@ -831,12 +819,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
831
819
  <td
832
820
  class="rdp-day"
833
821
  data-day="2020-06-03"
834
- role="gridcell"
835
822
  >
836
823
  <button
837
824
  aria-label="Wednesday, June 3rd, 2020"
838
825
  class="rdp-day_button"
839
826
  tabindex="-1"
827
+ type="button"
840
828
  >
841
829
  3
842
830
  </button>
@@ -844,12 +832,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
844
832
  <td
845
833
  class="rdp-day"
846
834
  data-day="2020-06-04"
847
- role="gridcell"
848
835
  >
849
836
  <button
850
837
  aria-label="Thursday, June 4th, 2020"
851
838
  class="rdp-day_button"
852
839
  tabindex="-1"
840
+ type="button"
853
841
  >
854
842
  4
855
843
  </button>
@@ -857,12 +845,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
857
845
  <td
858
846
  class="rdp-day"
859
847
  data-day="2020-06-05"
860
- role="gridcell"
861
848
  >
862
849
  <button
863
850
  aria-label="Friday, June 5th, 2020"
864
851
  class="rdp-day_button"
865
852
  tabindex="-1"
853
+ type="button"
866
854
  >
867
855
  5
868
856
  </button>
@@ -870,12 +858,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
870
858
  <td
871
859
  class="rdp-day"
872
860
  data-day="2020-06-06"
873
- role="gridcell"
874
861
  >
875
862
  <button
876
863
  aria-label="Saturday, June 6th, 2020"
877
864
  class="rdp-day_button"
878
865
  tabindex="-1"
866
+ type="button"
879
867
  >
880
868
  6
881
869
  </button>
@@ -883,17 +871,16 @@ exports[`when a day in the range is clicked when the day is clicked again when a
883
871
  </tr>
884
872
  <tr
885
873
  class="rdp-week"
886
- role="row"
887
874
  >
888
875
  <td
889
876
  class="rdp-day"
890
877
  data-day="2020-06-07"
891
- role="gridcell"
892
878
  >
893
879
  <button
894
880
  aria-label="Sunday, June 7th, 2020"
895
881
  class="rdp-day_button"
896
882
  tabindex="-1"
883
+ type="button"
897
884
  >
898
885
  7
899
886
  </button>
@@ -901,12 +888,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
901
888
  <td
902
889
  class="rdp-day"
903
890
  data-day="2020-06-08"
904
- role="gridcell"
905
891
  >
906
892
  <button
907
893
  aria-label="Monday, June 8th, 2020"
908
894
  class="rdp-day_button"
909
895
  tabindex="-1"
896
+ type="button"
910
897
  >
911
898
  8
912
899
  </button>
@@ -914,12 +901,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
914
901
  <td
915
902
  class="rdp-day"
916
903
  data-day="2020-06-09"
917
- role="gridcell"
918
904
  >
919
905
  <button
920
906
  aria-label="Tuesday, June 9th, 2020"
921
907
  class="rdp-day_button"
922
908
  tabindex="-1"
909
+ type="button"
923
910
  >
924
911
  9
925
912
  </button>
@@ -927,12 +914,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
927
914
  <td
928
915
  class="rdp-day"
929
916
  data-day="2020-06-10"
930
- role="gridcell"
931
917
  >
932
918
  <button
933
919
  aria-label="Wednesday, June 10th, 2020"
934
920
  class="rdp-day_button"
935
921
  tabindex="-1"
922
+ type="button"
936
923
  >
937
924
  10
938
925
  </button>
@@ -940,12 +927,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
940
927
  <td
941
928
  class="rdp-day"
942
929
  data-day="2020-06-11"
943
- role="gridcell"
944
930
  >
945
931
  <button
946
932
  aria-label="Thursday, June 11th, 2020"
947
933
  class="rdp-day_button"
948
934
  tabindex="-1"
935
+ type="button"
949
936
  >
950
937
  11
951
938
  </button>
@@ -953,12 +940,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
953
940
  <td
954
941
  class="rdp-day"
955
942
  data-day="2020-06-12"
956
- role="gridcell"
957
943
  >
958
944
  <button
959
945
  aria-label="Friday, June 12th, 2020"
960
946
  class="rdp-day_button"
961
947
  tabindex="-1"
948
+ type="button"
962
949
  >
963
950
  12
964
951
  </button>
@@ -966,12 +953,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
966
953
  <td
967
954
  class="rdp-day"
968
955
  data-day="2020-06-13"
969
- role="gridcell"
970
956
  >
971
957
  <button
972
958
  aria-label="Saturday, June 13th, 2020"
973
959
  class="rdp-day_button"
974
960
  tabindex="-1"
961
+ type="button"
975
962
  >
976
963
  13
977
964
  </button>
@@ -979,17 +966,16 @@ exports[`when a day in the range is clicked when the day is clicked again when a
979
966
  </tr>
980
967
  <tr
981
968
  class="rdp-week"
982
- role="row"
983
969
  >
984
970
  <td
985
971
  class="rdp-day"
986
972
  data-day="2020-06-14"
987
- role="gridcell"
988
973
  >
989
974
  <button
990
975
  aria-label="Sunday, June 14th, 2020"
991
976
  class="rdp-day_button"
992
977
  tabindex="-1"
978
+ type="button"
993
979
  >
994
980
  14
995
981
  </button>
@@ -997,12 +983,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
997
983
  <td
998
984
  class="rdp-day"
999
985
  data-day="2020-06-15"
1000
- role="gridcell"
1001
986
  >
1002
987
  <button
1003
988
  aria-label="Monday, June 15th, 2020"
1004
989
  class="rdp-day_button"
1005
990
  tabindex="-1"
991
+ type="button"
1006
992
  >
1007
993
  15
1008
994
  </button>
@@ -1010,12 +996,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1010
996
  <td
1011
997
  class="rdp-day"
1012
998
  data-day="2020-06-16"
1013
- role="gridcell"
1014
999
  >
1015
1000
  <button
1016
1001
  aria-label="Tuesday, June 16th, 2020"
1017
1002
  class="rdp-day_button"
1018
1003
  tabindex="-1"
1004
+ type="button"
1019
1005
  >
1020
1006
  16
1021
1007
  </button>
@@ -1024,12 +1010,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1024
1010
  class="rdp-day rdp-focused"
1025
1011
  data-day="2020-06-17"
1026
1012
  data-focused="true"
1027
- role="gridcell"
1028
1013
  >
1029
1014
  <button
1030
1015
  aria-label="Wednesday, June 17th, 2020"
1031
1016
  class="rdp-day_button"
1032
1017
  tabindex="-1"
1018
+ type="button"
1033
1019
  >
1034
1020
  17
1035
1021
  </button>
@@ -1037,12 +1023,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1037
1023
  <td
1038
1024
  class="rdp-day"
1039
1025
  data-day="2020-06-18"
1040
- role="gridcell"
1041
1026
  >
1042
1027
  <button
1043
1028
  aria-label="Thursday, June 18th, 2020"
1044
1029
  class="rdp-day_button"
1045
1030
  tabindex="-1"
1031
+ type="button"
1046
1032
  >
1047
1033
  18
1048
1034
  </button>
@@ -1050,12 +1036,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1050
1036
  <td
1051
1037
  class="rdp-day"
1052
1038
  data-day="2020-06-19"
1053
- role="gridcell"
1054
1039
  >
1055
1040
  <button
1056
1041
  aria-label="Friday, June 19th, 2020"
1057
1042
  class="rdp-day_button"
1058
1043
  tabindex="-1"
1044
+ type="button"
1059
1045
  >
1060
1046
  19
1061
1047
  </button>
@@ -1063,12 +1049,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1063
1049
  <td
1064
1050
  class="rdp-day"
1065
1051
  data-day="2020-06-20"
1066
- role="gridcell"
1067
1052
  >
1068
1053
  <button
1069
1054
  aria-label="Saturday, June 20th, 2020"
1070
1055
  class="rdp-day_button"
1071
1056
  tabindex="-1"
1057
+ type="button"
1072
1058
  >
1073
1059
  20
1074
1060
  </button>
@@ -1076,17 +1062,16 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1076
1062
  </tr>
1077
1063
  <tr
1078
1064
  class="rdp-week"
1079
- role="row"
1080
1065
  >
1081
1066
  <td
1082
1067
  class="rdp-day"
1083
1068
  data-day="2020-06-21"
1084
- role="gridcell"
1085
1069
  >
1086
1070
  <button
1087
1071
  aria-label="Sunday, June 21st, 2020"
1088
1072
  class="rdp-day_button"
1089
1073
  tabindex="-1"
1074
+ type="button"
1090
1075
  >
1091
1076
  21
1092
1077
  </button>
@@ -1094,12 +1079,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1094
1079
  <td
1095
1080
  class="rdp-day"
1096
1081
  data-day="2020-06-22"
1097
- role="gridcell"
1098
1082
  >
1099
1083
  <button
1100
1084
  aria-label="Monday, June 22nd, 2020"
1101
1085
  class="rdp-day_button"
1102
1086
  tabindex="-1"
1087
+ type="button"
1103
1088
  >
1104
1089
  22
1105
1090
  </button>
@@ -1107,12 +1092,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1107
1092
  <td
1108
1093
  class="rdp-day"
1109
1094
  data-day="2020-06-23"
1110
- role="gridcell"
1111
1095
  >
1112
1096
  <button
1113
1097
  aria-label="Tuesday, June 23rd, 2020"
1114
1098
  class="rdp-day_button"
1115
1099
  tabindex="-1"
1100
+ type="button"
1116
1101
  >
1117
1102
  23
1118
1103
  </button>
@@ -1120,12 +1105,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1120
1105
  <td
1121
1106
  class="rdp-day"
1122
1107
  data-day="2020-06-24"
1123
- role="gridcell"
1124
1108
  >
1125
1109
  <button
1126
1110
  aria-label="Wednesday, June 24th, 2020"
1127
1111
  class="rdp-day_button"
1128
1112
  tabindex="-1"
1113
+ type="button"
1129
1114
  >
1130
1115
  24
1131
1116
  </button>
@@ -1133,12 +1118,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1133
1118
  <td
1134
1119
  class="rdp-day"
1135
1120
  data-day="2020-06-25"
1136
- role="gridcell"
1137
1121
  >
1138
1122
  <button
1139
1123
  aria-label="Thursday, June 25th, 2020"
1140
1124
  class="rdp-day_button"
1141
1125
  tabindex="-1"
1126
+ type="button"
1142
1127
  >
1143
1128
  25
1144
1129
  </button>
@@ -1146,12 +1131,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1146
1131
  <td
1147
1132
  class="rdp-day"
1148
1133
  data-day="2020-06-26"
1149
- role="gridcell"
1150
1134
  >
1151
1135
  <button
1152
1136
  aria-label="Friday, June 26th, 2020"
1153
1137
  class="rdp-day_button"
1154
1138
  tabindex="-1"
1139
+ type="button"
1155
1140
  >
1156
1141
  26
1157
1142
  </button>
@@ -1159,12 +1144,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1159
1144
  <td
1160
1145
  class="rdp-day"
1161
1146
  data-day="2020-06-27"
1162
- role="gridcell"
1163
1147
  >
1164
1148
  <button
1165
1149
  aria-label="Saturday, June 27th, 2020"
1166
1150
  class="rdp-day_button"
1167
1151
  tabindex="-1"
1152
+ type="button"
1168
1153
  >
1169
1154
  27
1170
1155
  </button>
@@ -1172,17 +1157,16 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1172
1157
  </tr>
1173
1158
  <tr
1174
1159
  class="rdp-week"
1175
- role="row"
1176
1160
  >
1177
1161
  <td
1178
1162
  class="rdp-day"
1179
1163
  data-day="2020-06-28"
1180
- role="gridcell"
1181
1164
  >
1182
1165
  <button
1183
1166
  aria-label="Sunday, June 28th, 2020"
1184
1167
  class="rdp-day_button"
1185
1168
  tabindex="-1"
1169
+ type="button"
1186
1170
  >
1187
1171
  28
1188
1172
  </button>
@@ -1190,12 +1174,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1190
1174
  <td
1191
1175
  class="rdp-day"
1192
1176
  data-day="2020-06-29"
1193
- role="gridcell"
1194
1177
  >
1195
1178
  <button
1196
1179
  aria-label="Monday, June 29th, 2020"
1197
1180
  class="rdp-day_button"
1198
1181
  tabindex="-1"
1182
+ type="button"
1199
1183
  >
1200
1184
  29
1201
1185
  </button>
@@ -1203,12 +1187,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1203
1187
  <td
1204
1188
  class="rdp-day"
1205
1189
  data-day="2020-06-30"
1206
- role="gridcell"
1207
1190
  >
1208
1191
  <button
1209
1192
  aria-label="Tuesday, June 30th, 2020"
1210
1193
  class="rdp-day_button"
1211
1194
  tabindex="-1"
1195
+ type="button"
1212
1196
  >
1213
1197
  30
1214
1198
  </button>
@@ -1220,12 +1204,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1220
1204
  data-hidden="true"
1221
1205
  data-month="2020-07"
1222
1206
  data-outside="true"
1223
- role="gridcell"
1224
1207
  >
1225
1208
  <button
1226
1209
  aria-label="Wednesday, July 1st, 2020"
1227
1210
  class="rdp-day_button"
1228
1211
  tabindex="-1"
1212
+ type="button"
1229
1213
  >
1230
1214
  1
1231
1215
  </button>
@@ -1237,12 +1221,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1237
1221
  data-hidden="true"
1238
1222
  data-month="2020-07"
1239
1223
  data-outside="true"
1240
- role="gridcell"
1241
1224
  >
1242
1225
  <button
1243
1226
  aria-label="Thursday, July 2nd, 2020"
1244
1227
  class="rdp-day_button"
1245
1228
  tabindex="-1"
1229
+ type="button"
1246
1230
  >
1247
1231
  2
1248
1232
  </button>
@@ -1254,12 +1238,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1254
1238
  data-hidden="true"
1255
1239
  data-month="2020-07"
1256
1240
  data-outside="true"
1257
- role="gridcell"
1258
1241
  >
1259
1242
  <button
1260
1243
  aria-label="Friday, July 3rd, 2020"
1261
1244
  class="rdp-day_button"
1262
1245
  tabindex="-1"
1246
+ type="button"
1263
1247
  >
1264
1248
  3
1265
1249
  </button>
@@ -1271,12 +1255,12 @@ exports[`when a day in the range is clicked when the day is clicked again when a
1271
1255
  data-hidden="true"
1272
1256
  data-month="2020-07"
1273
1257
  data-outside="true"
1274
- role="gridcell"
1275
1258
  >
1276
1259
  <button
1277
1260
  aria-label="Saturday, July 4th, 2020"
1278
1261
  class="rdp-day_button"
1279
1262
  tabindex="-1"
1263
+ type="button"
1280
1264
  >
1281
1265
  4
1282
1266
  </button>