diff --git a/lib/src/components/combobox/ComboboxInput.tsx b/lib/src/components/combobox/ComboboxInput.tsx index 0edefebbb..6904fa2c7 100644 --- a/lib/src/components/combobox/ComboboxInput.tsx +++ b/lib/src/components/combobox/ComboboxInput.tsx @@ -1,10 +1,9 @@ -import * as React from 'react' - import { ComboboxInput as BaseComboboxInput } from '@reach/combobox' +import * as React from 'react' import { styled, theme } from '~/stitches' -import { Override } from '~/utilities/types' import { encodeBackgroundIcon } from '~/utilities' +import { Override } from '~/utilities/types' export const StyledComboboxInput = styled(BaseComboboxInput, { boxShadow: 'none', // prevent default iOS default styling diff --git a/lib/src/components/date-input/DateInput.tsx b/lib/src/components/date-input/DateInput.tsx index 5f1567a83..0e0bc274e 100644 --- a/lib/src/components/date-input/DateInput.tsx +++ b/lib/src/components/date-input/DateInput.tsx @@ -3,6 +3,7 @@ import type { Props as DayzedInterface } from 'dayzed' import * as React from 'react' import { DIALOG_Z_INDEX } from '~/constants/zIndices' +import { getFieldIconSize } from '~/utilities' import { ActionIcon } from '../action-icon/ActionIcon' import { Box } from '../box/Box' @@ -13,7 +14,6 @@ import { Input } from '../input/Input' import { Popover } from '../popover/Popover' import { DEFAULT_DATE_FORMAT } from './constants' import { useDate } from './use-date' -import { getFieldIconSize } from '~/utilities' export type DateInputProps = Omit & CalendarTranslationProps & { diff --git a/lib/src/components/search-input/SearchInput.tsx b/lib/src/components/search-input/SearchInput.tsx index 456e9f72b..164f59c28 100644 --- a/lib/src/components/search-input/SearchInput.tsx +++ b/lib/src/components/search-input/SearchInput.tsx @@ -6,8 +6,8 @@ import { Box } from '~/components/box/' import { Icon } from '~/components/icon/' import { Input } from '~/components/input/' import { CSS, styled } from '~/stitches' -import { useCallbackRef } from '~/utilities/hooks/useCallbackRef' import { getFieldIconSize } from '~/utilities' +import { useCallbackRef } from '~/utilities/hooks/useCallbackRef' export type SearchInputProps = React.ComponentProps & { size?: 'sm' | 'md' | 'lg'