fix: 🐛 Fix imports for ui-next (#4394)

This commit is contained in:
Igor Octaviano 2024-09-30 18:45:14 -03:00 committed by GitHub
parent dd8e69a8cf
commit 43efed207e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 10 deletions

View File

@ -2,8 +2,8 @@ import * as React from 'react';
import { format, parse, isValid } from 'date-fns';
import { Calendar as CalendarIcon } from 'lucide-react';
import { cn } from '../../lib/utils';
import Calendar from '../Calendar';
import Popover from '../Popover';
import { Calendar } from '../Calendar';
import * as Popover from '../Popover';
export type DatePickerWithRangeProps = {
id: string;
@ -90,7 +90,7 @@ export function DatePickerWithRange({
value={start}
onChange={e => handleInputChange(e, 'start')}
className={cn(
'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-sm font-normal hover:bg-black hover:text-white',
'border-inputfield-main focus:border-inputfield-focus h-[32px] w-full justify-start rounded border bg-black py-[6.5px] pl-[6.5px] pr-[6.5px] text-left text-sm font-normal hover:bg-black hover:text-white',
!start && 'text-muted-foreground'
)}
data-cy="input-date-range-start"

View File

@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import React, { useCallback, useEffect, useState } from 'react';
import { Icons } from '../Icons';
import { TooltipTrigger, TooltipContent, TooltipProvider, Tooltip } from '../Tooltip';
import Separator from '../Separator';
import { Separator } from '../Separator';
type StyleMap = {
open: {

View File

@ -1,9 +1,9 @@
import React from 'react';
import PropTypes from 'prop-types';
import StudyItem from '../StudyItem';
import StudyBrowserSort from '../StudyBrowserSort';
import StudyBrowserViewOptions from '../StudyBrowserViewOptions';
import { StudyItem } from '../StudyItem';
import { StudyBrowserSort } from '../StudyBrowserSort';
import { StudyBrowserViewOptions } from '../StudyBrowserViewOptions';
const getTrackedSeries = displaySets => {
let trackedSeries = 0;

View File

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import ThumbnailList from '../ThumbnailList';
import { ThumbnailList } from '../ThumbnailList';
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from '../Accordion';

View File

@ -3,7 +3,7 @@ import { useToolbar } from '@ohif/core';
import { ToolboxUI } from './';
// Migrate this file to the new UI eventually
import { useToolbox } from '@ohif/ui';
import Separator from '../Separator';
import { Separator } from '../Separator';
/**
* A toolbox is a collection of buttons and commands that they invoke, used to provide

View File

@ -23,7 +23,7 @@ const getTrackedSeries = displaySets => {
return trackedSeries;
};
const noop = () => { };
const noop = () => {};
const StudyBrowser = ({
tabs,