@instructure/ui-navigation 9.2.1-snapshot-11 → 9.2.1-snapshot-15

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.
@@ -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 | undefined;
19
- onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
20
- isSelected?: boolean | undefined;
21
- elementRef?: ((element: Element | null) => void) | undefined;
22
- as?: import("@instructure/shared-types").AsElementType | undefined;
23
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
24
- isDisabled?: boolean | undefined;
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 | undefined;
31
- onClick?: ((event: React.MouseEvent<Element, MouseEvent>) => void) | undefined;
32
- isSelected?: boolean | undefined;
33
- elementRef?: ((element: Element | null) => void) | undefined;
34
- as?: import("@instructure/shared-types").AsElementType | undefined;
35
- cursor?: import("@instructure/ui-prop-types").Cursor | undefined;
36
- isDisabled?: boolean | undefined;
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,gBAAgB,UASjC;IAED,MAAM;CA4CP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
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"}
@@ -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 | undefined;
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 | undefined;
20
- elementRef?: ((element: Element | null) => void) | undefined;
19
+ margin?: import("@instructure/emotion").Spacing;
20
+ elementRef?: (element: Element | null) => void;
21
21
  renderTruncateLabel?: import("@instructure/shared-types").Renderable;
22
- onUpdate?: ((visibleItemsCount: {
22
+ onUpdate?: (visibleItemsCount: {
23
23
  visibleItemsCount: number;
24
- }) => void) | undefined;
25
- visibleItemsCount?: number | undefined;
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 | undefined;
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 | undefined;
34
- elementRef?: ((element: Element | null) => void) | undefined;
33
+ margin?: import("@instructure/emotion").Spacing;
34
+ elementRef?: (element: Element | null) => void;
35
35
  renderTruncateLabel?: import("@instructure/shared-types").Renderable;
36
- onUpdate?: ((visibleItemsCount: {
36
+ onUpdate?: (visibleItemsCount: {
37
37
  visibleItemsCount: number;
38
- }) => void) | undefined;
39
- visibleItemsCount?: number | undefined;
38
+ }) => void;
39
+ visibleItemsCount?: number;
40
40
  children?: React.ReactNode;
41
41
  }>;
42
42
  static defaultProps: {