File tree Expand file tree Collapse file tree 8 files changed +45
-11
lines changed
ui-navigation/src/AppNav/Item Expand file tree Collapse file tree 8 files changed +45
-11
lines changed Original file line number Diff line number Diff line change @@ -84,4 +84,42 @@ export interface InstUIComponent
8484 originalType ?: any
8585}
8686
87+ export type Cursor =
88+ | 'auto'
89+ | 'default'
90+ | 'none'
91+ | 'context-menu'
92+ | 'help'
93+ | 'pointer'
94+ | 'progress'
95+ | 'wait'
96+ | 'cell'
97+ | 'crosshair'
98+ | 'text'
99+ | 'vertical-text'
100+ | 'alias'
101+ | 'copy'
102+ | 'move'
103+ | 'no-drop'
104+ | 'not-allowed'
105+ | 'grab'
106+ | 'grabbing'
107+ | 'all-scroll'
108+ | 'col-resize'
109+ | 'row-resize'
110+ | 'n-resize'
111+ | 'e-resize'
112+ | 's-resize'
113+ | 'w-resize'
114+ | 'ne-resize'
115+ | 'nw-resize'
116+ | 'se-resize'
117+ | 'sw-resize'
118+ | 'ew-resize'
119+ | 'ns-resize'
120+ | 'nesw-resize'
121+ | 'nwse-resize'
122+ | 'zoom-in'
123+ | 'zoom-out'
124+
87125export type Themes = 'contrast45' | 'contrast70'
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import type {
3434 AsElementType ,
3535 BaseButtonTheme ,
3636} from '@instructure/shared-types'
37- import type { Cursor } from '@instructure/ui-prop -types'
37+ import type { Cursor } from '@instructure/shared -types'
3838import type { ViewProps } from '@instructure/ui-view'
3939import { Renderable } from '@instructure/shared-types'
4040
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import type {
3030 BaseButtonTheme ,
3131 OtherHTMLAttributes
3232} from '@instructure/shared-types'
33- import type { Cursor } from '@instructure/ui-prop -types'
33+ import type { Cursor } from '@instructure/shared -types'
3434import type { ViewProps } from '@instructure/ui-view'
3535
3636type ButtonOwnProps = {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import type {
3434 CloseButtonTheme ,
3535 OtherHTMLAttributes
3636} from '@instructure/shared-types'
37- import type { Cursor } from '@instructure/ui-prop -types'
37+ import type { Cursor } from '@instructure/shared -types'
3838import type { ViewProps } from '@instructure/ui-view'
3939
4040type CloseButtonOwnProps = {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import type {
3030 BaseButtonTheme ,
3131 OtherHTMLAttributes
3232} from '@instructure/shared-types'
33- import type { Cursor } from '@instructure/ui-prop -types'
33+ import type { Cursor } from '@instructure/shared -types'
3434import type { ViewProps } from '@instructure/ui-view'
3535
3636type CondensedButtonOwnProps = {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import type {
3333 OtherHTMLAttributes ,
3434 Renderable
3535} from '@instructure/shared-types'
36- import type { Cursor } from '@instructure/ui-prop -types'
36+ import type { Cursor } from '@instructure/shared -types'
3737import type { ViewProps } from '@instructure/ui-view'
3838
3939type IconButtonOwnProps = {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import type {
2828 OtherHTMLAttributes
2929} from '@instructure/shared-types'
3030import type { WithStyleProps , ComponentStyle } from '@instructure/emotion'
31- import type { Cursor } from '@instructure/ui-prop -types'
31+ import type { Cursor } from '@instructure/shared -types'
3232import React from 'react'
3333import { Renderable } from '@instructure/shared-types'
3434
Original file line number Diff line number Diff line change 2323 */
2424
2525import React from 'react'
26- import { cursor as cursorPropTypes } from '@instructure/ui-prop-types'
27- import { textDirectionContextConsumer } from '@instructure/ui-i18n'
28- import type { Cursor } from '@instructure/ui-prop-types'
29- import { ThemeablePropTypes } from '@instructure/emotion'
26+ import type { Cursor } from '@instructure/shared-types'
3027
3128import type {
3229 AsElementType ,
3330 OtherHTMLAttributes ,
34-
3531 ViewTheme
3632} from '@instructure/shared-types'
3733import type {
You can’t perform that action at this time.
0 commit comments