Skip to content

Commit e1521bc

Browse files
committed
fix(bug fix): Fix circular reference problems
1 parent 9d70e31 commit e1521bc

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

packages/fluent-ui-hooks/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"react-dom": ">= 16.8.0"
3939
},
4040
"dependencies": {
41-
"@fluent-ui/core": "^0.10.1",
4241
"json2mq": "^0.2.0",
4342
"popper.js": "^1.15.0"
4443
},

packages/fluent-ui-hooks/src/index.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
export * from './useAction'
2+
export * from './useMedia'
3+
export * from './useGlobal'
4+
25
export * from './useClickOutside'
3-
export * from './useReveal'
4-
export * from './usePopper'
56
export * from './useHover'
67
export * from './useClick'
78
export * from './useTouch'
89
export * from './useFocus'
9-
export * from './useMedia'
10-
export * from './useGlobal'
10+
11+
export * from './useReveal'
12+
export * from './usePopper'

packages/fluent-ui/src/Command/Command.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const Command = React.forwardRef<HTMLDivElement, CommandProps>(
5252
})
5353
useClickOutside(
5454
popperRef,
55-
(event): void => {
55+
(event: MouseEvent | TouchEvent): void => {
5656
// @ts-ignore
5757
if (!referenceRef.current || referenceRef.current.contains(event.target)) return
5858
setSecondaryVisible((visible: boolean): boolean => !visible)

packages/fluent-ui/src/styles/styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export { styled, system, th, variant, breakpoints }
55

66
export * from 'styled-components'
77
export * from '@xstyled/system'
8-
export * from '@xstyled/prop-types'
8+
// export * from '@xstyled/prop-types'
99

1010
export * from './stylize'

0 commit comments

Comments
 (0)