@instructure/ui-navigation 8.11.2-snapshot.7 → 8.11.2-snapshot.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/package.json +1 -0
- package/package.json +24 -24
- package/src/AppNav/Item/index.tsx +1 -1
- package/src/AppNav/Item/props.ts +2 -1
- package/types/AppNav/Item/index.d.ts +7 -7
- package/types/AppNav/Item/index.d.ts.map +1 -1
- package/types/AppNav/Item/props.d.ts +2 -1
- package/types/AppNav/Item/props.d.ts.map +1 -1
package/es/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-navigation",
|
|
3
|
-
"version": "8.11.2-snapshot.
|
|
3
|
+
"version": "8.11.2-snapshot.70+9653a896e",
|
|
4
4
|
"description": "Main and application level navigational components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -24,31 +24,31 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@instructure/ui-babel-preset": "8.11.2-snapshot.
|
|
28
|
-
"@instructure/ui-color-utils": "8.11.2-snapshot.
|
|
29
|
-
"@instructure/ui-test-locator": "8.11.2-snapshot.
|
|
30
|
-
"@instructure/ui-test-utils": "8.11.2-snapshot.
|
|
31
|
-
"@instructure/ui-themes": "8.11.2-snapshot.
|
|
27
|
+
"@instructure/ui-babel-preset": "8.11.2-snapshot.70+9653a896e",
|
|
28
|
+
"@instructure/ui-color-utils": "8.11.2-snapshot.70+9653a896e",
|
|
29
|
+
"@instructure/ui-test-locator": "8.11.2-snapshot.70+9653a896e",
|
|
30
|
+
"@instructure/ui-test-utils": "8.11.2-snapshot.70+9653a896e",
|
|
31
|
+
"@instructure/ui-themes": "8.11.2-snapshot.70+9653a896e"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.13.10",
|
|
35
|
-
"@instructure/console": "8.11.2-snapshot.
|
|
36
|
-
"@instructure/debounce": "8.11.2-snapshot.
|
|
37
|
-
"@instructure/emotion": "8.11.2-snapshot.
|
|
38
|
-
"@instructure/shared-types": "8.11.2-snapshot.
|
|
39
|
-
"@instructure/ui-a11y-content": "8.11.2-snapshot.
|
|
40
|
-
"@instructure/ui-a11y-utils": "8.11.2-snapshot.
|
|
41
|
-
"@instructure/ui-badge": "8.11.2-snapshot.
|
|
42
|
-
"@instructure/ui-dom-utils": "8.11.2-snapshot.
|
|
43
|
-
"@instructure/ui-focusable": "8.11.2-snapshot.
|
|
44
|
-
"@instructure/ui-icons": "8.11.2-snapshot.
|
|
45
|
-
"@instructure/ui-menu": "8.11.2-snapshot.
|
|
46
|
-
"@instructure/ui-prop-types": "8.11.2-snapshot.
|
|
47
|
-
"@instructure/ui-react-utils": "8.11.2-snapshot.
|
|
48
|
-
"@instructure/ui-testable": "8.11.2-snapshot.
|
|
49
|
-
"@instructure/ui-tooltip": "8.11.2-snapshot.
|
|
50
|
-
"@instructure/ui-utils": "8.11.2-snapshot.
|
|
51
|
-
"@instructure/ui-view": "8.11.2-snapshot.
|
|
35
|
+
"@instructure/console": "8.11.2-snapshot.70+9653a896e",
|
|
36
|
+
"@instructure/debounce": "8.11.2-snapshot.70+9653a896e",
|
|
37
|
+
"@instructure/emotion": "8.11.2-snapshot.70+9653a896e",
|
|
38
|
+
"@instructure/shared-types": "8.11.2-snapshot.70+9653a896e",
|
|
39
|
+
"@instructure/ui-a11y-content": "8.11.2-snapshot.70+9653a896e",
|
|
40
|
+
"@instructure/ui-a11y-utils": "8.11.2-snapshot.70+9653a896e",
|
|
41
|
+
"@instructure/ui-badge": "8.11.2-snapshot.70+9653a896e",
|
|
42
|
+
"@instructure/ui-dom-utils": "8.11.2-snapshot.70+9653a896e",
|
|
43
|
+
"@instructure/ui-focusable": "8.11.2-snapshot.70+9653a896e",
|
|
44
|
+
"@instructure/ui-icons": "8.11.2-snapshot.70+9653a896e",
|
|
45
|
+
"@instructure/ui-menu": "8.11.2-snapshot.70+9653a896e",
|
|
46
|
+
"@instructure/ui-prop-types": "8.11.2-snapshot.70+9653a896e",
|
|
47
|
+
"@instructure/ui-react-utils": "8.11.2-snapshot.70+9653a896e",
|
|
48
|
+
"@instructure/ui-testable": "8.11.2-snapshot.70+9653a896e",
|
|
49
|
+
"@instructure/ui-tooltip": "8.11.2-snapshot.70+9653a896e",
|
|
50
|
+
"@instructure/ui-utils": "8.11.2-snapshot.70+9653a896e",
|
|
51
|
+
"@instructure/ui-view": "8.11.2-snapshot.70+9653a896e",
|
|
52
52
|
"prop-types": "^15"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "9653a896e80ba4d73335225e80807746a232d96d"
|
|
62
62
|
}
|
package/src/AppNav/Item/props.ts
CHANGED
|
@@ -30,6 +30,7 @@ import type {
|
|
|
30
30
|
OtherHTMLAttributes
|
|
31
31
|
} from '@instructure/shared-types'
|
|
32
32
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
33
|
+
import type { Cursor } from '@instructure/ui-prop-types'
|
|
33
34
|
|
|
34
35
|
type AppNavItemOwnProps = {
|
|
35
36
|
renderLabel: React.ReactNode | ((...args: any[]) => any)
|
|
@@ -40,7 +41,7 @@ type AppNavItemOwnProps = {
|
|
|
40
41
|
isSelected?: boolean
|
|
41
42
|
elementRef?: (element: Element | null) => void
|
|
42
43
|
as?: AsElementType
|
|
43
|
-
cursor?:
|
|
44
|
+
cursor?: Cursor
|
|
44
45
|
isDisabled?: boolean
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -20,7 +20,7 @@ declare class Item extends Component<AppNavItemProps> {
|
|
|
20
20
|
isSelected?: boolean | undefined;
|
|
21
21
|
elementRef?: ((element: Element | null) => void) | undefined;
|
|
22
22
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
23
|
-
cursor?:
|
|
23
|
+
cursor?: import("@instructure/ui-prop-types/types/cursor").Cursor | undefined;
|
|
24
24
|
isDisabled?: boolean | undefined;
|
|
25
25
|
})[];
|
|
26
26
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
@@ -32,15 +32,15 @@ declare class Item extends Component<AppNavItemProps> {
|
|
|
32
32
|
isSelected?: boolean | undefined;
|
|
33
33
|
elementRef?: ((element: Element | null) => void) | undefined;
|
|
34
34
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
35
|
-
cursor?:
|
|
35
|
+
cursor?: import("@instructure/ui-prop-types/types/cursor").Cursor | undefined;
|
|
36
36
|
isDisabled?: boolean | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
static defaultProps: {
|
|
39
|
-
children: null;
|
|
40
|
-
onClick: (event: any) => void;
|
|
41
|
-
isSelected:
|
|
42
|
-
cursor:
|
|
43
|
-
isDisabled:
|
|
39
|
+
readonly children: null;
|
|
40
|
+
readonly onClick: (event: any) => void;
|
|
41
|
+
readonly isSelected: false;
|
|
42
|
+
readonly cursor: "pointer";
|
|
43
|
+
readonly isDisabled: false;
|
|
44
44
|
};
|
|
45
45
|
ref: Element | null;
|
|
46
46
|
componentDidMount(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AppNav/Item/index.tsx"],"names":[],"mappings":"AAuBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAajC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C;;;;;;GAMG;AACH,cAEM,IAAK,SAAQ,SAAS,CAAC,eAAe,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,iBAAgB;IAE3C,MAAM,CAAC,YAAY;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AppNav/Item/index.tsx"],"names":[],"mappings":"AAuBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAajC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAIrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C;;;;;;GAMG;AACH,cAEM,IAAK,SAAQ,SAAS,CAAC,eAAe,CAAC;IAC3C,MAAM,CAAC,QAAQ,CAAC,WAAW,iBAAgB;IAE3C,MAAM,CAAC,YAAY;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;MAOT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAGD,WAAW,mBASV;IAED,MAAM;CAsDP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { AsElementType, PropValidators, AppNavItemTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
3
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
|
+
import type { Cursor } from '@instructure/ui-prop-types';
|
|
4
5
|
declare type AppNavItemOwnProps = {
|
|
5
6
|
renderLabel: React.ReactNode | ((...args: any[]) => any);
|
|
6
7
|
renderAfter?: React.ReactNode | ((...args: any[]) => any);
|
|
@@ -10,7 +11,7 @@ declare type AppNavItemOwnProps = {
|
|
|
10
11
|
isSelected?: boolean;
|
|
11
12
|
elementRef?: (element: Element | null) => void;
|
|
12
13
|
as?: AsElementType;
|
|
13
|
-
cursor?:
|
|
14
|
+
cursor?: Cursor;
|
|
14
15
|
isDisabled?: boolean;
|
|
15
16
|
};
|
|
16
17
|
declare type PropKeys = keyof AppNavItemOwnProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/AppNav/Item/props.ts"],"names":[],"mappings":";AAyBA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/AppNav/Item/props.ts"],"names":[],"mappings":";AAyBA,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,aAAK,kBAAkB,GAAG;IACxB,WAAW,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACxD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACzD,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACxD,IAAI,C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