Skip to content

Commit

Permalink
refactor: chnages in import statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalzz committed Oct 13, 2023
1 parent ea6d48b commit b9fdadb
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
badgeWrapper,
badgeThemeClass,
badgeThemeVars
} from "./badge.styles.css";
} from "@hover-design/core";
import { assignInlineVars } from "@vanilla-extract/dynamic";
import { IBadgesProps } from "./badge.types";

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Breadcrumb/Breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
breadcrumbWrapper,
crumbSeparator,
crumbTitle
} from "./breadcrumb.styles.css";
} from "@hover-design/core";

const Breadcrumb: React.ForwardRefRenderFunction<
HTMLDivElement,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Divider/Divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
dividerVertical,
labelHorizontal,
labelVertical
} from "./divider.styles.css";
} from "@hover-design/core";
import { DividerProps } from "./divider.types";

export const Divider = ({
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/List/List.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { ForwardRefRenderFunction } from "react";

import { IListProps } from "./list.types";
import { listStyles, listThemeVars, listThemeClass } from "./list.styles.css";
import { listStyles, listThemeVars, listThemeClass } from "@hover-design/core";
import { assignInlineVars } from "@vanilla-extract/dynamic";

const ListComponent: ForwardRefRenderFunction<HTMLUListElement, IListProps> = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
nativeSelectIconStyle,
nativeSelectRecipe,
nativeSelectVars
} from "./nativeSelect.styles.css";
} from "@hover-design/core";
import { NativeSelectPropsType } from "./nativeSelect.types";

export const NativeSelect: FC<NativeSelectPropsType> = ({
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Portal/Portal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useMemo } from "react";
import { createPortal } from "react-dom";
import { portalStyles } from "./portal.styles.css";
import { portalStyles } from "@hover-design/core";
import { PortalType } from "./portal.types";

const Portal = ({
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Switch/Switch.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { slider, switchInputStyle, switchLayout } from "./switch.styles.css";
import { slider, switchInputStyle, switchLayout } from "@hover-design/core";
import { ISwitchProps } from "./switch.types";
import "./switch.global.styles.css";

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Tab/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
tabsHeaderContainerRecipe,
tabsRecipe,
tabsVars
} from "./tabs.styles.css";
} from "@hover-design/core";
import { TabsObjectProps, TabsProps } from "./tabs.types";

const TabComponent: ForwardRefRenderFunction<HTMLDivElement, TabsProps> = (
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/TextArea/TextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
textAreaResize,
textAreaColorClass,
textAreaColorVars
} from "./text-area.styles.css";
} from "@hover-design/core";
import { TextAreaProps } from "./text-area.types";

const TextAreaComponent: ForwardRefRenderFunction<
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { ForwardRefRenderFunction } from "react";
import { unstyledButtonClass } from "./UnstyledButton.styles.css";
import { unstyledButtonClass } from "@hover-design/core";
import { TUnstyledButtonProps } from "./UnstyledButton.types";

const UnstyledButtonComponent: ForwardRefRenderFunction<
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/components/reset/index.ts

This file was deleted.

0 comments on commit b9fdadb

Please sign in to comment.