Skip to content

Commit a63b068

Browse files
rluderspaghar
authored andcommitted
fix: remove alias import (themesberg#1058)
1 parent bea3fa2 commit a63b068

File tree

102 files changed

+274
-274
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+274
-274
lines changed

src/components/Accordion/Accordion.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import type { ComponentProps, FC, PropsWithChildren, ReactElement } from 'react'
44
import { Children, cloneElement, useMemo, useState } from 'react';
55
import { HiChevronDown } from 'react-icons/hi';
66
import { twMerge } from 'tailwind-merge';
7-
import { mergeDeep } from '~/src/helpers/merge-deep';
8-
import { getTheme } from '~/src/theme-store';
9-
import type { DeepPartial } from '~/src/types';
7+
import { mergeDeep } from '../../helpers/merge-deep';
8+
import { getTheme } from '../../theme-store';
9+
import type { DeepPartial } from '../../types';
1010
import type { FlowbiteBoolean } from '../Flowbite';
1111
import type { FlowbiteAccordionComponentTheme } from './AccordionContent';
1212
import { AccordionContent } from './AccordionContent';

src/components/Accordion/AccordionContent.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import type { ComponentProps, FC, PropsWithChildren } from 'react';
44
import { twMerge } from 'tailwind-merge';
5-
import { mergeDeep } from '~/src/helpers/merge-deep';
6-
import { getTheme } from '~/src/theme-store';
7-
import type { DeepPartial } from '~/src/types';
5+
import { mergeDeep } from '../../helpers/merge-deep';
6+
import { getTheme } from '../../theme-store';
7+
import type { DeepPartial } from '../../types';
88
import { useAccordionContext } from './AccordionPanelContext';
99

1010
export interface FlowbiteAccordionComponentTheme {

src/components/Accordion/AccordionTitle.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import type { ComponentProps, FC } from 'react';
44
import { twMerge } from 'tailwind-merge';
5-
import { mergeDeep } from '~/src/helpers/merge-deep';
6-
import { getTheme } from '~/src/theme-store';
7-
import type { DeepPartial } from '~/src/types';
5+
import { mergeDeep } from '../../helpers/merge-deep';
6+
import { getTheme } from '../../theme-store';
7+
import type { DeepPartial } from '../../types';
88
import type { FlowbiteBoolean, FlowbiteHeadingLevel } from '../Flowbite';
99
import { useAccordionContext } from './AccordionPanelContext';
1010

src/components/Alert/Alert.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Meta, StoryFn } from '@storybook/react';
22
import { HiEye, HiInformationCircle } from 'react-icons/hi';
3-
import { theme } from '~/src/theme';
3+
import { theme } from '../../theme';
44
import type { AlertProps } from './Alert';
55
import { Alert } from './Alert';
66

src/components/Alert/Alert.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { ComponentProps, FC, PropsWithChildren, ReactNode } from 'react';
22
import { HiX } from 'react-icons/hi';
33
import { twMerge } from 'tailwind-merge';
4-
import { mergeDeep } from '~/src/helpers/merge-deep';
5-
import { getTheme } from '~/src/theme-store';
6-
import type { DeepPartial } from '~/src/types';
4+
import { mergeDeep } from '../../helpers/merge-deep';
5+
import { getTheme } from '../../theme-store';
6+
import type { DeepPartial } from '../../types';
77
import type { FlowbiteColors } from '../Flowbite';
88

99
export interface FlowbiteAlertTheme {

src/components/Avatar/Avatar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { ComponentProps, FC, PropsWithChildren, ReactElement } from 'react';
22
import { twMerge } from 'tailwind-merge';
3-
import { mergeDeep } from '~/src/helpers/merge-deep';
4-
import { getTheme } from '~/src/theme-store';
5-
import type { DeepPartial } from '~/src/types';
3+
import { mergeDeep } from '../../helpers/merge-deep';
4+
import { getTheme } from '../../theme-store';
5+
import type { DeepPartial } from '../../types';
66
import type { FlowbiteBoolean, FlowbiteColors, FlowbitePositions, FlowbiteSizes } from '../Flowbite';
77
import type { FlowbiteAvatarGroupTheme } from './AvatarGroup';
88
import { AvatarGroup } from './AvatarGroup';

src/components/Avatar/AvatarGroup.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { ComponentProps, PropsWithChildren } from 'react';
22
import React from 'react';
33
import { twMerge } from 'tailwind-merge';
4-
import { mergeDeep } from '~/src/helpers/merge-deep';
5-
import { getTheme } from '~/src/theme-store';
6-
import type { DeepPartial } from '~/src/types';
4+
import { mergeDeep } from '../../helpers/merge-deep';
5+
import { getTheme } from '../../theme-store';
6+
import type { DeepPartial } from '../../types';
77

88
export interface FlowbiteAvatarGroupTheme {
99
base: string;

src/components/Avatar/AvatarGroupCounter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { ComponentProps, FC, PropsWithChildren } from 'react';
22
import { twMerge } from 'tailwind-merge';
3-
import { mergeDeep } from '~/src/helpers/merge-deep';
4-
import { getTheme } from '~/src/theme-store';
5-
import type { DeepPartial } from '~/src/types';
3+
import { mergeDeep } from '../../helpers/merge-deep';
4+
import { getTheme } from '../../theme-store';
5+
import type { DeepPartial } from '../../types';
66

77
export interface FlowbiteAvatarGroupCounterTheme {
88
base: string;

src/components/Badge/Badge.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Meta, StoryFn } from '@storybook/react';
22
import { HiCheck } from 'react-icons/hi';
3-
import { theme } from '~/src/theme';
3+
import { theme } from '../../theme';
44
import type { BadgeProps } from './Badge';
55
import { Badge } from './Badge';
66

src/components/Badge/Badge.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type { ComponentProps, FC, PropsWithChildren } from 'react';
22
import { twMerge } from 'tailwind-merge';
3-
import { mergeDeep } from '~/src/helpers/merge-deep';
4-
import { getTheme } from '~/src/theme-store';
5-
import type { DeepPartial } from '~/src/types';
3+
import { mergeDeep } from '../../helpers/merge-deep';
4+
import { getTheme } from '../../theme-store';
5+
import type { DeepPartial } from '../../types';
66
import type { FlowbiteBoolean, FlowbiteColors, FlowbiteSizes } from '../Flowbite';
77

88
export interface FlowbiteBadgeTheme {

0 commit comments

Comments
 (0)