@instructure/ui-navigation 9.2.1-snapshot-11 → 9.2.1-snapshot-14
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/CHANGELOG.md +1 -1
- package/package.json +27 -27
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/AppNav/Item/index.d.ts +14 -14
- package/types/AppNav/Item/index.d.ts.map +1 -1
- package/types/AppNav/index.d.ts +12 -12
|
@@ -15,25 +15,25 @@ declare class Item extends Component<AppNavItemProps> {
|
|
|
15
15
|
renderLabel: import("@instructure/shared-types").Renderable;
|
|
16
16
|
renderAfter?: import("@instructure/shared-types").Renderable;
|
|
17
17
|
renderIcon?: import("@instructure/shared-types").Renderable;
|
|
18
|
-
href?: string
|
|
19
|
-
onClick?: (
|
|
20
|
-
isSelected?: boolean
|
|
21
|
-
elementRef?: (
|
|
22
|
-
as?: import("@instructure/shared-types").AsElementType
|
|
23
|
-
cursor?: import("@instructure/ui-prop-types").Cursor
|
|
24
|
-
isDisabled?: boolean
|
|
18
|
+
href?: string;
|
|
19
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
20
|
+
isSelected?: boolean;
|
|
21
|
+
elementRef?: (element: Element | null) => void;
|
|
22
|
+
as?: import("@instructure/shared-types").AsElementType;
|
|
23
|
+
cursor?: import("@instructure/ui-prop-types").Cursor;
|
|
24
|
+
isDisabled?: boolean;
|
|
25
25
|
})[];
|
|
26
26
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
27
27
|
renderLabel: import("@instructure/shared-types").Renderable;
|
|
28
28
|
renderAfter?: import("@instructure/shared-types").Renderable;
|
|
29
29
|
renderIcon?: import("@instructure/shared-types").Renderable;
|
|
30
|
-
href?: string
|
|
31
|
-
onClick?: (
|
|
32
|
-
isSelected?: boolean
|
|
33
|
-
elementRef?: (
|
|
34
|
-
as?: import("@instructure/shared-types").AsElementType
|
|
35
|
-
cursor?: import("@instructure/ui-prop-types").Cursor
|
|
36
|
-
isDisabled?: boolean
|
|
30
|
+
href?: string;
|
|
31
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
32
|
+
isSelected?: boolean;
|
|
33
|
+
elementRef?: (element: Element | null) => void;
|
|
34
|
+
as?: import("@instructure/shared-types").AsElementType;
|
|
35
|
+
cursor?: import("@instructure/ui-prop-types").Cursor;
|
|
36
|
+
isDisabled?: boolean;
|
|
37
37
|
}>;
|
|
38
38
|
static defaultProps: {
|
|
39
39
|
readonly children: null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AppNav/Item/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAexC,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;;;;;MAKT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,WAAW,MAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/AppNav/Item/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAexC,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;;;;;MAKT;IAEV,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,WAAW,MAAO,KAAK,CAAC,UAAU,UASjC;IAED,MAAM;CA4CP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/types/AppNav/index.d.ts
CHANGED
|
@@ -13,30 +13,30 @@ declare class AppNav extends Component<AppNavProps> {
|
|
|
13
13
|
static readonly componentId = "AppNav";
|
|
14
14
|
static allowedProps: readonly (keyof {
|
|
15
15
|
screenReaderLabel: string;
|
|
16
|
-
debounce?: number
|
|
16
|
+
debounce?: number;
|
|
17
17
|
renderBeforeItems?: import("@instructure/shared-types").Renderable;
|
|
18
18
|
renderAfterItems?: import("@instructure/shared-types").Renderable;
|
|
19
|
-
margin?: import("@instructure/emotion").Spacing
|
|
20
|
-
elementRef?: (
|
|
19
|
+
margin?: import("@instructure/emotion").Spacing;
|
|
20
|
+
elementRef?: (element: Element | null) => void;
|
|
21
21
|
renderTruncateLabel?: import("@instructure/shared-types").Renderable;
|
|
22
|
-
onUpdate?: (
|
|
22
|
+
onUpdate?: (visibleItemsCount: {
|
|
23
23
|
visibleItemsCount: number;
|
|
24
|
-
}) => void
|
|
25
|
-
visibleItemsCount?: number
|
|
24
|
+
}) => void;
|
|
25
|
+
visibleItemsCount?: number;
|
|
26
26
|
children?: React.ReactNode;
|
|
27
27
|
})[];
|
|
28
28
|
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
29
29
|
screenReaderLabel: string;
|
|
30
|
-
debounce?: number
|
|
30
|
+
debounce?: number;
|
|
31
31
|
renderBeforeItems?: import("@instructure/shared-types").Renderable;
|
|
32
32
|
renderAfterItems?: import("@instructure/shared-types").Renderable;
|
|
33
|
-
margin?: import("@instructure/emotion").Spacing
|
|
34
|
-
elementRef?: (
|
|
33
|
+
margin?: import("@instructure/emotion").Spacing;
|
|
34
|
+
elementRef?: (element: Element | null) => void;
|
|
35
35
|
renderTruncateLabel?: import("@instructure/shared-types").Renderable;
|
|
36
|
-
onUpdate?: (
|
|
36
|
+
onUpdate?: (visibleItemsCount: {
|
|
37
37
|
visibleItemsCount: number;
|
|
38
|
-
}) => void
|
|
39
|
-
visibleItemsCount?: number
|
|
38
|
+
}) => void;
|
|
39
|
+
visibleItemsCount?: number;
|
|
40
40
|
children?: React.ReactNode;
|
|
41
41
|
}>;
|
|
42
42
|
static defaultProps: {
|