Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 4f3356c

Browse files
committed
chore(build): removed circular dependencies
1 parent 5f5062f commit 4f3356c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/chakra-ui-core/src/CPseudoBox/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { map } from 'lodash-es'
2-
import { tx, splitProps, forwardProps, isEmpty } from '../utils'
2+
import { splitProps, pickProperty as forwardProps, isEmpty } from '../utils/object'
3+
import { transformAlias as tx } from '../utils/transform'
34

45
/**
56
* PseudoBox pseudo selectors

packages/chakra-ui-core/src/utils/components.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
import { css } from 'emotion'
22
import __css from '@styled-system/css'
3-
import { hasOwn } from '../utils'
43
import { parsePseudoStyles } from '../CPseudoBox/utils'
54
import { systemProps } from './styled-system'
6-
import { purgeChakraAttrs, extractChakraAttrs } from './object'
5+
import { purgeChakraAttrs, hasOwn, extractChakraAttrs } from './object'
76

87
export const isVueComponent = (value) => {
98
return (!!value && !!value.$el)

packages/chakra-ui-core/src/utils/object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { pickBy, startsWith } from 'lodash-es'
2-
import { camelize, kebabify } from '../utils'
32
import styleProps from '../config/props'
3+
import { camelize, kebabify } from './strings'
44

55
/**
66
* Clears out all undefined properties from an object.

0 commit comments

Comments
 (0)