Skip to content

Commit

Permalink
🚨 Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed Jun 6, 2024
1 parent 6ef6be5 commit 9e30ac5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-insects-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@design-sync/w3c-dtfm': patch
---

Change some import and use utils package instead of internal one
3 changes: 2 additions & 1 deletion packages/w3c-dtfm/src/normalize/border.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { isObject, isTokenAlias } from '../guards';
import { isObject } from '@design-sync/utils';
import { isTokenAlias } from '../guards';
import { normalizeColorValue } from './color';
import { normalizeDimensionValue } from './dimension';
import { normalizeStrokeStyleValue } from './stroke';
Expand Down
3 changes: 2 additions & 1 deletion packages/w3c-dtfm/src/normalize/stroke.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { isObject, isString, isTokenAlias } from '../guards';
import { isObject, isString } from '@design-sync/utils';
import { isTokenAlias } from '../guards';
import { StrokeStyleName } from '../types';

const VALID_STROKE_STYLES = ['solid', 'dashed', 'dotted', 'double', 'groove', 'ridge', 'outset', 'inset'];
Expand Down
3 changes: 1 addition & 2 deletions packages/w3c-dtfm/src/walker/walker.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { get, toArray } from '@design-sync/utils';
import { get, isObject, toArray } from '@design-sync/utils';
import { normalizeTokenAlias } from '../alias';
import {
hasModeExtension,
hasModesExtension,
isDesignToken,
isDesignTokenGroup,
isDesignTokenLike,
isObject,
isTokenAlias,
} from '../guards';
import {
Expand Down

0 comments on commit 9e30ac5

Please sign in to comment.