Skip to content

Commit ea9b4a1

Browse files
committed
fix build error 11
1 parent 1f7e48c commit ea9b4a1

File tree

4 files changed

+2
-26
lines changed

4 files changed

+2
-26
lines changed

packages/ui-pages/src/Pages/props.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,13 @@
2222
* SOFTWARE.
2323
*/
2424
import React from 'react'
25-
import { Children, controllable } from '@instructure/ui-prop-types'
26-
27-
import { Page } from './Page'
28-
2925
import type {
3026
Spacing,
3127
WithStyleProps,
3228
ComponentStyle
3329
} from '@instructure/emotion'
3430
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
35-
import type { PropValidators, PagesTheme } from '@instructure/shared-types'
31+
import type { PagesTheme } from '@instructure/shared-types'
3632
import type { PagesContextType } from './PagesContext'
3733

3834
type PagesOwnProps = {

packages/ui-top-nav-bar/src/TopNavBar/TopNavBarActionItems/props.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,14 @@
2323
*/
2424

2525
import React from 'react'
26-
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
2726
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
2827
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
2928
import type {
3029
TopNavBarActionItemsTheme,
3130
OtherHTMLAttributes,
32-
3331
ChildrenOfType
3432
} from '@instructure/shared-types'
3533

36-
import { TopNavBarItem } from '../TopNavBarItem'
37-
import { topNavBarItemTooltipPropType } from '../TopNavBarItem/props'
3834
import type {
3935
ItemChild,
4036
TopNavBarItemTooltipType

packages/ui-top-nav-bar/src/TopNavBar/TopNavBarBreadcrumb/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import {
3131
OtherHTMLAttributes,
3232
} from '@instructure/shared-types'
3333
import TopNavBarBreadcrumb from './index'
34-
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
3534

3635
import { Breadcrumb } from '@instructure/ui-breadcrumb'
3736
import type { BreadcrumbProps } from '@instructure/ui-breadcrumb'

packages/ui-top-nav-bar/src/TopNavBar/TopNavBarItem/props.ts

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@
2323
*/
2424

2525
import React from 'react'
26-
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
2726

2827
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
2928
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
3029
import type {
3130
TopNavBarItemTheme,
3231
OtherHTMLAttributes,
33-
3432
Renderable,
3533
AsElementType
3634
} from '@instructure/shared-types'
@@ -61,19 +59,6 @@ type TopNavBarItemTooltipType =
6159
onHideContent?: TooltipProps['onHideContent']
6260
}
6361

64-
const topNavBarItemTooltipPropType = PropTypes.oneOfType([
65-
PropTypes.string,
66-
PropTypes.shape({
67-
renderTip: PropTypes.oneOfType([PropTypes.node, PropTypes.func]).isRequired,
68-
color: PropTypes.oneOf(['primary', 'primary-inverse']),
69-
placement: PropTypes.string,
70-
offsetX: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
71-
offsetY: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
72-
onShowContent: PropTypes.func,
73-
onHideContent: PropTypes.func
74-
})
75-
])
76-
7762
type TopNavBarItemOwnProps = {
7863
/**
7964
* the element type to render as (will default to `<a>` if href is provided)
@@ -332,4 +317,4 @@ export type {
332317
DrilldownSubmenu,
333318
TopNavBarItemTooltipType
334319
}
335-
export { propTypes, allowedProps, topNavBarItemTooltipPropType }
320+
export { allowedProps }

0 commit comments

Comments
 (0)