Skip to content

Commit 4a95d8c

Browse files
committed
Remove unused imports from props.ts and ui-prop-types from build.json 02
1 parent ff8763b commit 4a95d8c

File tree

62 files changed

+3
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+3
-138
lines changed

packages/ui-dialog/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"devDependencies": {
3535
"@instructure/console": "10.23.0",
3636
"@instructure/ui-babel-preset": "10.23.0",
37-
3837
"@testing-library/jest-dom": "^6.6.3",
3938
"@testing-library/react": "^16.3.0",
4039
"@testing-library/user-event": "^14.6.1",

packages/ui-dialog/src/Dialog/props.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import React from 'react'
2727
import type {
2828
AsElementType,
2929
OtherHTMLAttributes,
30-
3130
UIElement
3231
} from '@instructure/shared-types'
3332
import type { FocusRegionOptions } from '@instructure/ui-a11y-utils'

packages/ui-dialog/tsconfig.build.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
{ "path": "../ui-react-utils/tsconfig.build.json" },
1414
{ "path": "../ui-testable/tsconfig.build.json" },
1515
{ "path": "../console/tsconfig.build.json" },
16-
{ "path": "../ui-babel-preset/tsconfig.build.json" },
17-
{ "path": "../ui-prop-types/tsconfig.build.json" }
16+
{ "path": "../ui-babel-preset/tsconfig.build.json" }
1817
]
1918
}

packages/ui-drawer-layout/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"@instructure/ui-motion": "10.23.0",
3535
"@instructure/ui-portal": "10.23.0",
3636
"@instructure/ui-position": "10.23.0",
37-
3837
"@instructure/ui-react-utils": "10.23.0",
3938
"@instructure/ui-testable": "10.23.0",
4039
"@instructure/ui-utils": "10.23.0",

packages/ui-drawer-layout/src/DrawerLayout/DrawerContent/props.ts

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

2525
import { AriaRole } from 'react'
2626

27-
2827
import type {
2928
DrawerLayoutContentTheme,
3029
OtherHTMLAttributes

packages/ui-drawer-layout/src/DrawerLayout/DrawerTray/props.ts

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

2525
import React from 'react'
26-
import { textDirectionContextConsumer } from '@instructure/ui-i18n'
27-
2826
import type { PositionMountNode } from '@instructure/ui-position'
2927
import type { TextDirectionContextConsumerProps } from '@instructure/ui-i18n'
3028
import type { ComponentStyle, WithStyleProps } from '@instructure/emotion'
3129
import type {
3230
DrawerLayoutTrayTheme,
3331
LiveRegion,
3432
OtherHTMLAttributes,
35-
3633
UIElement
3734
} from '@instructure/shared-types'
3835
import {
@@ -215,4 +212,4 @@ export type {
215212
DrawerLayoutTrayStyleProps,
216213
DrawerTrayPlacement
217214
}
218-
export { allowedProps, propTypes }
215+
export { allowedProps }

packages/ui-drawer-layout/src/DrawerLayout/props.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,8 @@
2323
*/
2424

2525
import React from 'react'
26-
import { Children as ChildrenPropTypes } from '@instructure/ui-prop-types'
27-
import { textDirectionContextConsumer } from '@instructure/ui-i18n'
28-
29-
import { DrawerContent } from './DrawerContent'
30-
import { DrawerTray } from './DrawerTray'
31-
3226
import type { TextDirectionContextConsumerProps } from '@instructure/ui-i18n'
3327
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
34-
import type { PropValidators } from '@instructure/shared-types'
3528
import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
3629

3730
type DrawerLayoutOwnProps = {

packages/ui-drawer-layout/tsconfig.build.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
{ "path": "../ui-motion/tsconfig.build.json" },
1818
{ "path": "../ui-portal/tsconfig.build.json" },
1919
{ "path": "../ui-position/tsconfig.build.json" },
20-
{ "path": "../ui-prop-types/tsconfig.build.json" },
2120
{ "path": "../ui-react-utils/tsconfig.build.json" },
2221
{ "path": "../ui-testable/tsconfig.build.json" },
2322
{ "path": "../ui-utils/tsconfig.build.json" },

packages/ui-drilldown/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"@instructure/ui-options": "10.23.0",
3333
"@instructure/ui-popover": "10.23.0",
3434
"@instructure/ui-position": "10.23.0",
35-
3635
"@instructure/ui-react-utils": "10.23.0",
3736
"@instructure/ui-selectable": "10.23.0",
3837
"@instructure/ui-testable": "10.23.0",

packages/ui-drilldown/src/Drilldown/DrilldownGroup/props.ts

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

2525
import React from 'react'
26-
import { Children } from '@instructure/ui-prop-types'
27-
28-
import DrilldownOption from '../DrilldownOption'
29-
import DrilldownSeparator from '../DrilldownSeparator'
3026

3127
import type {
3228
OtherHTMLAttributes,
33-
3429
OptionsTheme,
3530
AsElementType
3631
} from '@instructure/shared-types'

0 commit comments

Comments
 (0)