Skip to content

Commit

Permalink
Update dependency flatpickr to v4.6.13 (#14993)
Browse files Browse the repository at this point in the history
* Update dependency flatpickr to v4.6.13

* test(datepicker): update tests to reflect proper focus order

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <tw15egan@gmail.com>
Co-authored-by: Alison Joseph <alison.joseph@us.ibm.com>
Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
Co-authored-by: Taylor Jones <taylor.jones826@gmail.com>
Co-authored-by: Guilherme Datilio Ribeiro <guilhermedatilio@gmail.com>
Co-authored-by: Andrea N. Cardona <cardona.n.andrea@gmail.com>
  • Loading branch information
7 people committed Feb 20, 2024
1 parent bac2f4f commit effcba6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
Binary file not shown.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md) and our
<td align="center"><a href="https://github.com/ggdawson"><img src="https://avatars.githubusercontent.com/u/37080130?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Garrett Dawson</b></sub></a><br /><a href="https://github.com/carbon-design-system/carbon/commits?author=ggdawson" title="Code">💻</a> <a href="https://github.com/carbon-design-system/carbon/commits?author=ggdawson" title="Documentation">📖</a></td>
</tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

Expand Down
2 changes: 1 addition & 1 deletion e2e/components/DatePicker/DatePicker-test.avt.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ test.describe('DatePicker @avt', () => {
await expect(page.locator('div.flatpickr-calendar')).toHaveClass(/open/);
await page.keyboard.press('Escape');
await expect(
page.locator('input#date-picker-input-id-start')
page.locator('input#date-picker-input-id-finish')
).toBeFocused();
await expect(page.locator('div.flatpickr-calendar')).not.toHaveClass(
/open/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ test.describe('FluidDatePicker @avt', () => {
await expect(page.locator('div.flatpickr-calendar')).toHaveClass(/open/);
await page.keyboard.press('Escape');
await expect(
page.locator('input#date-picker-input-id-start')
page.locator('input#date-picker-input-id-finish')
).toBeFocused();
await expect(page.locator('div.flatpickr-calendar')).not.toHaveClass(
/open/
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"classnames": "2.5.1",
"copy-to-clipboard": "^3.3.1",
"downshift": "8.3.1",
"flatpickr": "4.6.9",
"flatpickr": "4.6.13",
"invariant": "^2.2.3",
"lodash.debounce": "^4.0.8",
"lodash.findlast": "^4.5.0",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,7 @@ __metadata:
downshift: "npm:8.3.1"
enquirer: "npm:^2.3.6"
fast-glob: "npm:^3.2.7"
flatpickr: "npm:4.6.9"
flatpickr: "npm:4.6.13"
fs-extra: "npm:^11.0.0"
html-webpack-plugin: "npm:^5.5.0"
invariant: "npm:^2.2.3"
Expand Down Expand Up @@ -14313,6 +14313,13 @@ __metadata:
languageName: node
linkType: hard

"flatpickr@npm:4.6.13":
version: 4.6.13
resolution: "flatpickr@npm:4.6.13"
checksum: 0e32f2fbd427aa8d838da8fb0cf2e56b65efc22783dcebcc32c11b7fbb6bbc8c3532f9410915f3acb7dc0feebb49202bea03e49cc80b9d4d11b3bdce49488bc0
languageName: node
linkType: hard

"flatpickr@npm:4.6.9":
version: 4.6.9
resolution: "flatpickr@npm:4.6.9"
Expand Down

0 comments on commit effcba6

Please sign in to comment.