Skip to content

Commit 685e022

Browse files
committed
fix build error 6
1 parent 5d7322a commit 685e022

File tree

15 files changed

+4
-35
lines changed

15 files changed

+4
-35
lines changed

packages/__docs__/src/CodeSandboxButton/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525

26-
import type { PropValidators } from '@instructure/shared-types'
2726
type CodeSandboxButtonOwnProps = {
2827
code: string
2928
title: string

packages/__docs__/src/ColorBand/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525

26-
import type { PropValidators } from '@instructure/shared-types'
2726
import type { ComponentStyle, WithStyleProps } from '@instructure/emotion'
2827
type ColorBandOwnProps = {
2928
height?: string

packages/__docs__/src/ColorName/props.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424

2525

26-
import type { PropValidators, AsElementType } from '@instructure/shared-types'
26+
import type { AsElementType } from '@instructure/shared-types'
2727
type ColorNameOwnProps = {
2828
name: string
2929
as?: AsElementType

packages/__docs__/src/ColorSwatch/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525

26-
import type { PropValidators } from '@instructure/shared-types'
2726
import type { ComponentStyle, WithStyleProps } from '@instructure/emotion'
2827
type ColorSwatchOwnProps = {
2928
// TODO: once all the docs components are typed, check again whether the number type is needed.

packages/__docs__/src/ContentWrap/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525

26-
import type { PropValidators } from '@instructure/shared-types'
2726
import type { Spacing } from '@instructure/emotion'
2827

2928
type ContentWrapOwnProps = {

packages/__docs__/src/Description/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* SOFTWARE.
2323
*/
2424

25-
import type { PropValidators } from '@instructure/shared-types'
2625
type DescriptionOwnProps = {
2726
id: string
2827
content: string

packages/__docs__/src/Document/props.ts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
import type { ComponentStyle, WithStyleProps } from '@instructure/emotion'
27-
import type { PropValidators, ThemeVariables } from '@instructure/shared-types'
27+
import type { ThemeVariables } from '@instructure/shared-types'
2828
import { DocData } from '../App/props'
2929
import { Theme } from '@instructure/ui-themes'
3030

@@ -44,18 +44,6 @@ type AllowedPropKeys = Readonly<Array<PropKeys>>
4444

4545
type DocumentProps = DocumentOwnProps & WithStyleProps<null, DocumentStyle>
4646

47-
// TODO this does not match the TS type either fix or remove
48-
const DocPropType = PropTypes.shape({
49-
props: PropTypes.object,
50-
id: PropTypes.string.isRequired,
51-
description: PropTypes.string,
52-
undocumented: PropTypes.bool,
53-
srcPath: PropTypes.string,
54-
srcUrl: PropTypes.string,
55-
requirePath: PropTypes.string,
56-
packageName: PropTypes.string,
57-
children: PropTypes.array
58-
})
5947
type DocumentStyle = ComponentStyle<'githubCornerOctoArm' | 'githubCorner'>
6048

6149
type DocumentState = {
@@ -72,5 +60,5 @@ const allowedProps: AllowedPropKeys = [
7260
'themeVariables'
7361
]
7462

75-
export { propTypes, allowedProps, DocPropType }
63+
export { allowedProps }
7664
export type { DocumentProps, DocumentStyle, DocumentState, DocDataType }

packages/__docs__/src/Figure/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
* SOFTWARE.
2323
*/
2424
import type { ComponentStyle, WithStyleProps } from '@instructure/emotion'
25-
import type { PropValidators } from '@instructure/shared-types'
2625
import { Children } from '@instructure/ui-prop-types'
2726

2827
import {

packages/__docs__/src/Header/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525

26-
import type { PropValidators } from '@instructure/shared-types'
2726
type HeaderOwnProps = {
2827
name: string
2928
version: string

packages/__docs__/src/NavToggle/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525
import React from 'react'
26-
import type { PropValidators } from '@instructure/shared-types'
2726
import { ToggleDetailsProps } from '@instructure/ui-toggle-details'
2827

2928
type NavToggleOwnProps = {

0 commit comments

Comments
 (0)