Skip to content

Commit

Permalink
move parser import
Browse files Browse the repository at this point in the history
  • Loading branch information
Fercas123 committed Feb 5, 2025
1 parent e731bb6 commit 149f87c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/flex-item/FlexItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import {
forwardRef,
} from "react";
import { useBreakpoint } from "../breakpoints";
import { parseSpacing } from "../flex-layout/parseSpacing";
import {
type PolymorphicComponentPropWithRef,
type PolymorphicRef,
type ResponsiveProp,
makePrefixer,
parseSpacing,
resolveResponsiveValue,
} from "../utils";
import flexItemCss from "./FlexItem.css";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/flex-layout/FlexLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import {
type PolymorphicRef,
type ResponsiveProp,
makePrefixer,
parseSpacing,
resolveResponsiveValue,
} from "../utils";
import flexLayoutCss from "./FlexLayout.css";
import { parseSpacing } from "./parseSpacing";

const withBaseName = makePrefixer("saltFlexLayout");

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/core/src/grid-item/GridItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { type ElementType, type ReactElement, forwardRef } from "react";
import { useComponentCssInjection } from "@salt-ds/styles";
import { useWindow } from "@salt-ds/window";
import { useBreakpoint } from "../breakpoints";
import { parseSpacing } from "../flex-layout/parseSpacing";
import {
type PolymorphicComponentPropWithRef,
type PolymorphicRef,
type ResponsiveProp,
makePrefixer,
parseSpacing,
resolveResponsiveValue,
} from "../utils";
import gridItemCss from "./GridItem.css";
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/grid-layout/GridLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
type PolymorphicRef,
type ResponsiveProp,
makePrefixer,
parseSpacing,
resolveResponsiveValue,
} from "../utils";

import { useComponentCssInjection } from "@salt-ds/styles";
import { useWindow } from "@salt-ds/window";
import { useBreakpoint } from "../breakpoints";
import { parseSpacing } from "../flex-layout/parseSpacing";
import gridLayoutCss from "./GridLayout.css";

export type GridLayoutProps<T extends ElementType> =
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export * from "./makePrefixer";
export * from "./marginMiddleware";
export * from "./ownerDocument";
export * from "./ownerWindow";
export * from "./parseSpacing";
export * from "./polymorphicTypes";
export * from "./renderProps";
export * from "./setRef";
Expand Down

0 comments on commit 149f87c

Please sign in to comment.