@helpwave/hightide-native 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/package.json +4 -3
  2. package/src/components/chat/ChatAttachmentCard.tsx +4 -4
  3. package/src/components/chat/ChatConversationList.tsx +3 -3
  4. package/src/components/chat/ChatConversationRow.tsx +3 -3
  5. package/src/components/chat/ChatDateDivider.tsx +3 -3
  6. package/src/components/chat/ChatMessageBubble.tsx +3 -3
  7. package/src/components/chat/ChatMessageCard.tsx +4 -4
  8. package/src/components/chat/ChatMessageComposer.tsx +4 -4
  9. package/src/components/chat/ChatMessageList.tsx +3 -3
  10. package/src/components/chat/ChatQuickReplyChip.tsx +3 -3
  11. package/src/components/chat/ChatSystemLine.tsx +4 -4
  12. package/src/components/chat/ChatThreadHeader.tsx +3 -3
  13. package/src/components/menu/Menu.tsx +3 -3
  14. package/src/components/menu/MenuActionItem.tsx +3 -3
  15. package/src/components/menu/MenuItem.tsx +3 -3
  16. package/src/components/menu/MenuNavigationItem.tsx +3 -3
  17. package/src/components/user-interaction/Button.tsx +4 -4
  18. package/src/components/user-interaction/Checkbox.tsx +5 -5
  19. package/src/components/user-interaction/IconButton.tsx +5 -5
  20. package/src/components/user-interaction/Input.tsx +4 -4
  21. package/src/components/user-interaction/MultiSelect.tsx +6 -6
  22. package/src/components/user-interaction/Select.tsx +4 -4
  23. package/src/components/visualization-and-display/Avatar.tsx +286 -0
  24. package/src/components/visualization-and-display/Chip.tsx +4 -4
  25. package/src/components/visualization-and-display/Icon.tsx +1 -1
  26. package/src/components/visualization-and-display/index.ts +1 -0
  27. package/src/global-contexts/HightideProvider.tsx +5 -5
  28. package/src/global-contexts/hightide-config/HightideConfigUtils.ts +4 -4
  29. package/src/global-contexts/localization/LocalizationProvider.tsx +2 -2
  30. package/src/global-contexts/theme/ThemeContext.ts +3 -3
  31. package/src/global-contexts/theme/ThemeProvider.tsx +7 -7
  32. package/src/theme/resolvers/avatar.ts +231 -0
  33. package/src/theme/resolvers/button.ts +6 -6
  34. package/src/theme/resolvers/chat.ts +6 -6
  35. package/src/theme/resolvers/checkbox.ts +4 -4
  36. package/src/theme/resolvers/chip.ts +6 -6
  37. package/src/theme/resolvers/coloring.ts +4 -4
  38. package/src/theme/resolvers/iconButton.ts +6 -6
  39. package/src/theme/resolvers/index.ts +1 -0
  40. package/src/theme/resolvers/input.ts +4 -4
  41. package/src/theme/resolvers/menu.ts +4 -4
  42. package/src/theme/resolvers/multiSelect.ts +4 -4
  43. package/src/theme/resolvers/select.ts +4 -4
  44. package/src/theme/themes/{createTheme.ts → createHightideTheme.ts} +16 -14
  45. package/src/theme/themes/hightideThemes.ts +14 -0
  46. package/src/theme/themes/index.ts +2 -2
  47. package/src/theme/types/components/avatar.ts +77 -0
  48. package/src/theme/types/components/button.ts +2 -2
  49. package/src/theme/types/components/chat.ts +3 -3
  50. package/src/theme/types/components/checkbox.ts +2 -2
  51. package/src/theme/types/components/chip.ts +2 -2
  52. package/src/theme/types/components/hightide.ts +12 -10
  53. package/src/theme/types/components/iconButton.ts +3 -3
  54. package/src/theme/types/components/index.ts +1 -0
  55. package/src/theme/types/components/input.ts +2 -2
  56. package/src/theme/types/components/menu.ts +2 -2
  57. package/src/theme/types/components/multiSelect.ts +3 -3
  58. package/src/theme/types/components/select.ts +2 -2
  59. package/src/theme/types/layout.ts +12 -0
  60. package/src/theme/types/theme.ts +20 -11
  61. package/src/theme/themes/nativeThemes.ts +0 -16
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "access": "public"
11
11
  },
12
12
  "license": "AGPL-3.0-only",
13
- "version": "0.0.5",
13
+ "version": "0.0.7",
14
14
  "type": "module",
15
15
  "files": [
16
16
  "src"
@@ -43,8 +43,8 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "lucide-react-native": "0.561.0",
46
- "@helpwave/hightide-design": "0.0.3",
47
- "@helpwave/hightide-utils": "0.0.3"
46
+ "@helpwave/hightide-design": "0.0.5",
47
+ "@helpwave/hightide-utils": "0.0.5"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@react-native-async-storage/async-storage": ">=2.0.0",
@@ -61,6 +61,7 @@
61
61
  "@types/react": "19.2.3",
62
62
  "@types/react-dom": "19.2.3",
63
63
  "eslint": "9.31.0",
64
+ "eslint-plugin-import": "2.32.0",
64
65
  "eslint-plugin-storybook": "10.4.5",
65
66
  "react": "19.2.3",
66
67
  "react-dom": "19.2.3",
@@ -14,16 +14,16 @@ import {
14
14
  FileText
15
15
  } from 'lucide-react-native'
16
16
 
17
- import { IconButton } from '@/src/components/user-interaction/IconButton'
18
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
17
+ import { IconButton } from '../user-interaction/IconButton'
18
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
19
19
  import type {
20
20
  ChatAttachmentCardMetadataStyle,
21
21
  ChatAttachmentCardNameStyle,
22
22
  ChatAttachmentCardState,
23
23
  ChatAttachmentCardStyle,
24
24
  ChatMessageDirection
25
- } from '@/src/theme/types/components/chat'
26
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
25
+ } from '../../theme/types/components/chat'
26
+ import type { StyleOverwrite } from '../../theme/types/resolver'
27
27
 
28
28
  export type ChatAttachmentCardProps = Omit<ViewProps, 'style'> & {
29
29
  name: ReactNode,
@@ -10,13 +10,13 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
13
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
14
14
  import type {
15
15
  ChatConversationListFooterStyle,
16
16
  ChatConversationListHeaderStyle,
17
17
  ChatConversationListStyle
18
- } from '@/src/theme/types/components/chat'
19
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
18
+ } from '../../theme/types/components/chat'
19
+ import type { StyleOverwrite } from '../../theme/types/resolver'
20
20
 
21
21
  export type ChatConversationListProps = Omit<ViewProps, 'children' | 'style'> & {
22
22
  header?: ReactNode,
@@ -16,15 +16,15 @@ import {
16
16
  CheckCheck
17
17
  } from 'lucide-react-native'
18
18
 
19
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
19
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
20
20
  import type {
21
21
  ChatConversationRowPreviewStyle,
22
22
  ChatConversationRowState,
23
23
  ChatConversationRowStyle,
24
24
  ChatConversationRowTimestampStyle,
25
25
  ChatConversationRowTitleStyle
26
- } from '@/src/theme/types/components/chat'
27
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
26
+ } from '../../theme/types/components/chat'
27
+ import type { StyleOverwrite } from '../../theme/types/resolver'
28
28
 
29
29
  export type ChatConversationSentIndicator = 'sent' | 'sentAndReceived'
30
30
 
@@ -10,12 +10,12 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
13
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
14
14
  import type {
15
15
  ChatDateDividerStyle,
16
16
  ChatDateDividerTextStyle
17
- } from '@/src/theme/types/components/chat'
18
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
17
+ } from '../../theme/types/components/chat'
18
+ import type { StyleOverwrite } from '../../theme/types/resolver'
19
19
 
20
20
  export type ChatDateDividerProps = Omit<ViewProps, 'children' | 'style'> & {
21
21
  children?: ReactNode,
@@ -11,7 +11,7 @@ import {
11
11
  } from 'react-native'
12
12
  import { CheckCheck } from 'lucide-react-native'
13
13
 
14
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
14
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
15
15
  import type {
16
16
  ChatMessageBubbleContainerStyle,
17
17
  ChatMessageBubbleContentStyle,
@@ -19,8 +19,8 @@ import type {
19
19
  ChatMessageBubbleStyle,
20
20
  ChatMessageBubbleTimestampStyle,
21
21
  ChatMessageDirection
22
- } from '@/src/theme/types/components/chat'
23
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
22
+ } from '../../theme/types/components/chat'
23
+ import type { StyleOverwrite } from '../../theme/types/resolver'
24
24
 
25
25
  export type { ChatMessageDirection }
26
26
 
@@ -10,17 +10,17 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import type { ColoringType } from '@helpwave/hightide-design/helpers'
13
+ import type { ColoringType } from '@helpwave/hightide-design/utils'
14
14
 
15
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
15
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
16
16
  import type {
17
17
  ChatMessageCardState,
18
18
  ChatMessageCardStyle,
19
19
  ChatMessageCardSubtitleStyle,
20
20
  ChatMessageCardTitleStyle,
21
21
  ChatMessageDirection
22
- } from '@/src/theme/types/components/chat'
23
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
22
+ } from '../../theme/types/components/chat'
23
+ import type { StyleOverwrite } from '../../theme/types/resolver'
24
24
 
25
25
  export type ChatMessageCardProps = Omit<ViewProps, 'children' | 'style'> & {
26
26
  icon?: ReactNode,
@@ -13,13 +13,13 @@ import { SendHorizontal } from 'lucide-react-native'
13
13
 
14
14
  import { useControlledState } from '@helpwave/hightide-utils/hooks'
15
15
 
16
- import { IconButton } from '@/src/components/user-interaction/IconButton'
17
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
16
+ import { IconButton } from '../user-interaction/IconButton'
17
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
18
18
  import type {
19
19
  ChatMessageComposerInputStyle,
20
20
  ChatMessageComposerStyle
21
- } from '@/src/theme/types/components/chat'
22
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
21
+ } from '../../theme/types/components/chat'
22
+ import type { StyleOverwrite } from '../../theme/types/resolver'
23
23
 
24
24
  export type ChatMessageComposerProps = Omit<ViewProps, 'style'> & {
25
25
  value?: string,
@@ -12,9 +12,9 @@ import {
12
12
  type ViewStyle
13
13
  } from 'react-native'
14
14
 
15
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
16
- import type { ChatMessageListStyle } from '@/src/theme/types/components/chat'
17
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
15
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
16
+ import type { ChatMessageListStyle } from '../../theme/types/components/chat'
17
+ import type { StyleOverwrite } from '../../theme/types/resolver'
18
18
 
19
19
  export type ChatMessageListProps = {
20
20
  autoScroll?: boolean,
@@ -7,13 +7,13 @@ import {
7
7
  type ViewStyle
8
8
  } from 'react-native'
9
9
 
10
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
10
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
11
11
  import type {
12
12
  ChatQuickReplyChipState,
13
13
  ChatQuickReplyChipStyle,
14
14
  ChatQuickReplyChipTextStyle
15
- } from '@/src/theme/types/components/chat'
16
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
15
+ } from '../../theme/types/components/chat'
16
+ import type { StyleOverwrite } from '../../theme/types/resolver'
17
17
 
18
18
  export type ChatQuickReplyChipProps = Omit<PressableProps, 'children' | 'style'> & {
19
19
  isActive?: boolean,
@@ -11,15 +11,15 @@ import {
11
11
  } from 'react-native'
12
12
  import { CheckCheck } from 'lucide-react-native'
13
13
 
14
- import type { ColoringType } from '@helpwave/hightide-design/helpers'
14
+ import type { ColoringType } from '@helpwave/hightide-design/utils'
15
15
 
16
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
16
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
17
17
  import type {
18
18
  ChatSystemLineState,
19
19
  ChatSystemLineStyle,
20
20
  ChatSystemLineTextStyle
21
- } from '@/src/theme/types/components/chat'
22
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
21
+ } from '../../theme/types/components/chat'
22
+ import type { StyleOverwrite } from '../../theme/types/resolver'
23
23
 
24
24
  export type ChatSystemLineProps = Omit<ViewProps, 'children' | 'style'> & {
25
25
  icon?: ReactNode,
@@ -10,13 +10,13 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
13
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
14
14
  import type {
15
15
  ChatThreadHeaderStyle,
16
16
  ChatThreadHeaderSubtitleStyle,
17
17
  ChatThreadHeaderTitleStyle
18
- } from '@/src/theme/types/components/chat'
19
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
18
+ } from '../../theme/types/components/chat'
19
+ import type { StyleOverwrite } from '../../theme/types/resolver'
20
20
 
21
21
  export type ChatThreadHeaderProps = Omit<ViewProps, 'style'> & {
22
22
  avatar?: ReactNode,
@@ -10,13 +10,13 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
13
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
14
14
  import type {
15
15
  MenuCardStyle,
16
16
  MenuSectionStyle,
17
17
  MenuSectionTitleStyle
18
- } from '@/src/theme/types/components/menu'
19
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
18
+ } from '../../theme/types/components/menu'
19
+ import type { StyleOverwrite } from '../../theme/types/resolver'
20
20
 
21
21
  export type MenuProps = Omit<ViewProps, 'children' | 'style'> & {
22
22
  title: string,
@@ -12,13 +12,13 @@ import {
12
12
  type ViewStyle
13
13
  } from 'react-native'
14
14
 
15
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
15
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
16
16
  import type {
17
17
  MenuActionItemLabelStyle,
18
18
  MenuActionItemState,
19
19
  MenuActionItemStyle
20
- } from '@/src/theme/types/components/menu'
21
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
20
+ } from '../../theme/types/components/menu'
21
+ import type { StyleOverwrite } from '../../theme/types/resolver'
22
22
 
23
23
  export type MenuActionItemProps = Omit<PressableProps, 'children' | 'style'> & {
24
24
  label: string,
@@ -10,13 +10,13 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
13
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
14
14
  import type {
15
15
  MenuItemLabelStyle,
16
16
  MenuItemStyle,
17
17
  MenuItemValueStyle
18
- } from '@/src/theme/types/components/menu'
19
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
18
+ } from '../../theme/types/components/menu'
19
+ import type { StyleOverwrite } from '../../theme/types/resolver'
20
20
 
21
21
  export type MenuItemProps = Omit<ViewProps, 'style'> & {
22
22
  label: string,
@@ -13,13 +13,13 @@ import {
13
13
  } from 'react-native'
14
14
  import { ChevronRight } from 'lucide-react-native'
15
15
 
16
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
16
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
17
17
  import type {
18
18
  MenuActionItemLabelStyle,
19
19
  MenuActionItemState,
20
20
  MenuActionItemStyle
21
- } from '@/src/theme/types/components/menu'
22
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
21
+ } from '../../theme/types/components/menu'
22
+ import type { StyleOverwrite } from '../../theme/types/resolver'
23
23
 
24
24
  export type MenuNavigationItemProps = Omit<PressableProps, 'children' | 'style'> & {
25
25
  label: string,
@@ -13,19 +13,19 @@ import {
13
13
  import {
14
14
  coloringTypes,
15
15
  type ColoringType
16
- } from '@helpwave/hightide-design/helpers'
16
+ } from '@helpwave/hightide-design/utils'
17
17
  import type {
18
18
  ButtonColoringStyle,
19
19
  ElementSize
20
20
  } from '@helpwave/hightide-design/types'
21
21
 
22
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
22
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
23
23
  import type {
24
24
  ButtonState,
25
25
  ButtonStyle,
26
26
  ButtonTextStyle
27
- } from '@/src/theme/types/components/button'
28
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
27
+ } from '../../theme/types/components/button'
28
+ import type { StyleOverwrite } from '../../theme/types/resolver'
29
29
 
30
30
  export type ButtonSize = ElementSize
31
31
 
@@ -18,18 +18,18 @@ import {
18
18
  useEventCallbackStabilizer
19
19
  } from '@helpwave/hightide-utils/hooks'
20
20
 
21
- import { Icon } from '@/src/components/visualization-and-display/Icon'
22
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
21
+ import { Icon } from '../visualization-and-display/Icon'
22
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
23
23
  import type {
24
24
  CheckboxSize,
25
25
  CheckboxState,
26
26
  CheckboxStyle
27
- } from '@/src/theme/types/components/checkbox'
28
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
27
+ } from '../../theme/types/components/checkbox'
28
+ import type { StyleOverwrite } from '../../theme/types/resolver'
29
29
  import type {
30
30
  FormFieldDataHandling,
31
31
  FormFieldInteractionStates
32
- } from '@/src/types/formField'
32
+ } from '../../types/formField'
33
33
 
34
34
  export type { CheckboxSize }
35
35
 
@@ -10,19 +10,19 @@ import {
10
10
  } from 'react-native'
11
11
  import type { LucideIcon } from 'lucide-react-native'
12
12
 
13
- import type { ColoringType } from '@helpwave/hightide-design/helpers'
13
+ import type { ColoringType } from '@helpwave/hightide-design/utils'
14
14
  import type {
15
15
  ButtonColoringStyle,
16
16
  ElementSize
17
17
  } from '@helpwave/hightide-design/types'
18
18
 
19
- import { Icon } from '@/src/components/visualization-and-display/Icon'
20
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
19
+ import { Icon } from '../visualization-and-display/Icon'
20
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
21
21
  import type {
22
22
  IconButtonState,
23
23
  IconButtonStyle
24
- } from '@/src/theme/types/components/iconButton'
25
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
24
+ } from '../../theme/types/components/iconButton'
25
+ import type { StyleOverwrite } from '../../theme/types/resolver'
26
26
 
27
27
  export type IconButtonSize = ElementSize
28
28
 
@@ -15,16 +15,16 @@ import {
15
15
  type UseDelayOptionsResolved
16
16
  } from '@helpwave/hightide-utils/hooks'
17
17
 
18
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
18
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
19
19
  import type {
20
20
  InputState,
21
21
  InputStyle
22
- } from '@/src/theme/types/components/input'
23
- import type { StyleOverwrite } from '@/src/theme/types/resolver'
22
+ } from '../../theme/types/components/input'
23
+ import type { StyleOverwrite } from '../../theme/types/resolver'
24
24
  import type {
25
25
  FormFieldDataHandling,
26
26
  FormFieldInteractionStates
27
- } from '@/src/types/formField'
27
+ } from '../../types/formField'
28
28
 
29
29
  export type EditCompleteOptionsResolved = {
30
30
  onBlur: boolean,
@@ -11,18 +11,18 @@ import {
11
11
  } from 'react-native'
12
12
  import { Check } from 'lucide-react-native'
13
13
 
14
- import { Chip } from '@/src/components/visualization-and-display/Chip'
15
- import { Icon } from '@/src/components/visualization-and-display/Icon'
16
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
14
+ import { Chip } from '../visualization-and-display/Chip'
15
+ import { Icon } from '../visualization-and-display/Icon'
16
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
17
17
  import {
18
18
  useMultiSelect,
19
19
  type UseMultiSelectOption
20
- } from '@/src/hooks/useMultiSelect'
21
- import type { MultiSelectState } from '@/src/theme/types/components/multiSelect'
20
+ } from '../../hooks/useMultiSelect'
21
+ import type { MultiSelectState } from '../../theme/types/components/multiSelect'
22
22
  import type {
23
23
  FormFieldDataHandling,
24
24
  FormFieldInteractionStates
25
- } from '@/src/types/formField'
25
+ } from '../../types/formField'
26
26
 
27
27
  export type MultiSelectOption = UseMultiSelectOption
28
28
 
@@ -10,16 +10,16 @@ import {
10
10
  type ViewStyle
11
11
  } from 'react-native'
12
12
 
13
- import { useTheme } from '@/src/global-contexts/theme/ThemeContext'
13
+ import { useTheme } from '../../global-contexts/theme/ThemeContext'
14
14
  import {
15
15
  useSelect,
16
16
  type UseSelectOption
17
- } from '@/src/hooks/useSelect'
18
- import type { SelectState } from '@/src/theme/types/components/select'
17
+ } from '../../hooks/useSelect'
18
+ import type { SelectState } from '../../theme/types/components/select'
19
19
  import type {
20
20
  FormFieldDataHandling,
21
21
  FormFieldInteractionStates
22
- } from '@/src/types/formField'
22
+ } from '../../types/formField'
23
23
 
24
24
  export type SelectOption<T extends string = string> = UseSelectOption & {
25
25
  value?: T,