From 56ce0d3ac0068a252a979d38a4b2f989e9da5cef Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Wed, 17 Apr 2024 12:56:42 +0200 Subject: [PATCH 1/3] fix:add missing popperProps type on EuiDatePicker --- src/components/date_picker/react-datepicker/src/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/date_picker/react-datepicker/src/index.d.ts b/src/components/date_picker/react-datepicker/src/index.d.ts index 99e8a3ced8b..c89db3e28e6 100644 --- a/src/components/date_picker/react-datepicker/src/index.d.ts +++ b/src/components/date_picker/react-datepicker/src/index.d.ts @@ -22,7 +22,7 @@ import * as React from 'react'; import * as moment from 'moment'; -import {PopoverAnchorPosition} from '../../../popover'; +import { EuiPopoverProps, PopoverAnchorPosition } from '../../../popover'; export interface ReactDatePickerProps { /** @@ -136,6 +136,7 @@ export interface ReactDatePickerProps { popperClassName?: string; popperContainer?(props: { children: React.ReactNode[] }): React.ReactNode; popperPlacement?: PopoverAnchorPosition; + popperProps?: Partial; preventOpenOnFocus?: boolean; readOnly?: boolean; required?: boolean; From ea120f996839fd480d4f396210e76614485dfe6e Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Wed, 17 Apr 2024 13:13:09 +0200 Subject: [PATCH 2/3] chore: add changelog --- changelogs/upcoming/7694.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/upcoming/7694.md diff --git a/changelogs/upcoming/7694.md b/changelogs/upcoming/7694.md new file mode 100644 index 00000000000..ce69d47f735 --- /dev/null +++ b/changelogs/upcoming/7694.md @@ -0,0 +1 @@ +- Fixes missing prop type for `popperProps` on `EuiDatePicker` \ No newline at end of file From f66137064d3640ac2b784b7c959290c20d2a5129 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Wed, 17 Apr 2024 17:37:40 +0200 Subject: [PATCH 3/3] chore: update changelog --- changelogs/upcoming/7694.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelogs/upcoming/7694.md b/changelogs/upcoming/7694.md index ce69d47f735..fd37afaf2ed 100644 --- a/changelogs/upcoming/7694.md +++ b/changelogs/upcoming/7694.md @@ -1 +1,3 @@ +**Bug fixes** + - Fixes missing prop type for `popperProps` on `EuiDatePicker` \ No newline at end of file