From a4d9fd9e149e50266a2a9f1cfcd8e3a1d67b5541 Mon Sep 17 00:00:00 2001 From: Adam Thompson Date: Wed, 13 Dec 2023 12:11:25 -0500 Subject: [PATCH] fixes --- .../src/DatePicker/DatePickerMenu/DatePickerMenu.spec.tsx | 2 +- .../DatePickerMenuHeader/DatePickerMenuHeader.spec.tsx | 3 ++- .../components/DateInput/DateInputBox/DateInputBox.spec.tsx | 4 ++-- .../DateInput/DateInputSegment/DateInputSegment.spec.tsx | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenu.spec.tsx b/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenu.spec.tsx index b85af2391c..9369faf3dc 100644 --- a/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenu.spec.tsx +++ b/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenu.spec.tsx @@ -17,7 +17,7 @@ import { import { SharedDatePickerProvider, SharedDatePickerProviderProps, -} from '../../shared/components/SharedDatePickerContext'; +} from '../../shared/context'; import { DatePickerProvider, DatePickerProviderProps, diff --git a/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenuHeader/DatePickerMenuHeader.spec.tsx b/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenuHeader/DatePickerMenuHeader.spec.tsx index 544e1209dd..aecae30f3f 100644 --- a/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenuHeader/DatePickerMenuHeader.spec.tsx +++ b/packages/date-picker/src/DatePicker/DatePickerMenu/DatePickerMenuHeader/DatePickerMenuHeader.spec.tsx @@ -5,10 +5,11 @@ import userEvent from '@testing-library/user-event'; import { Month, newUTC } from '@leafygreen-ui/date-utils'; import { transitionDuration } from '@leafygreen-ui/tokens'; +import {} from '../../../shared/components'; import { defaultSharedDatePickerContext, SharedDatePickerContext, -} from '../../../shared/components'; +} from '../../../shared/context'; import { DatePickerContext, DatePickerContextProps, diff --git a/packages/date-picker/src/shared/components/DateInput/DateInputBox/DateInputBox.spec.tsx b/packages/date-picker/src/shared/components/DateInput/DateInputBox/DateInputBox.spec.tsx index 6a2673e10f..94dfe8c27d 100644 --- a/packages/date-picker/src/shared/components/DateInput/DateInputBox/DateInputBox.spec.tsx +++ b/packages/date-picker/src/shared/components/DateInput/DateInputBox/DateInputBox.spec.tsx @@ -5,12 +5,12 @@ import userEvent from '@testing-library/user-event'; import { Month, newUTC } from '@leafygreen-ui/date-utils'; -import { segmentRefsMock } from '../../../testutils'; import { defaultSharedDatePickerContext, SharedDatePickerProvider, SharedDatePickerProviderProps, -} from '../../SharedDatePickerContext'; +} from '../../../context'; +import { segmentRefsMock } from '../../../testutils'; import { DateInputSegmentChangeEventHandler } from '../DateInputSegment/DateInputSegment.types'; import { DateInputBox, type DateInputBoxProps } from '.'; diff --git a/packages/date-picker/src/shared/components/DateInput/DateInputSegment/DateInputSegment.spec.tsx b/packages/date-picker/src/shared/components/DateInput/DateInputSegment/DateInputSegment.spec.tsx index 01380014cc..90c6cde9d2 100644 --- a/packages/date-picker/src/shared/components/DateInput/DateInputSegment/DateInputSegment.spec.tsx +++ b/packages/date-picker/src/shared/components/DateInput/DateInputSegment/DateInputSegment.spec.tsx @@ -4,13 +4,13 @@ import { render, waitFor } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { defaultMax, defaultMin } from '../../../constants'; -import { DateSegment } from '../../../types'; -import { getValueFormatter } from '../../../utils'; import { defaultSharedDatePickerContext, SharedDatePickerProvider, SharedDatePickerProviderProps, -} from '../../SharedDatePickerContext'; +} from '../../../context'; +import { DateSegment } from '../../../types'; +import { getValueFormatter } from '../../../utils'; import { DateInputSegmentChangeEventHandler } from './DateInputSegment.types'; import { DateInputSegment, type DateInputSegmentProps } from '.';