@instructure/ui-breadcrumb 9.2.1-snapshot-10 → 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.
@@ -10,21 +10,21 @@ declare class BreadcrumbLink extends Component<BreadcrumbLinkProps> {
10
10
  static readonly componentId = "Breadcrumb.Link";
11
11
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
12
12
  children: React.ReactNode;
13
- href?: string | undefined;
14
- onClick?: ((event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void) | undefined;
15
- onMouseEnter?: ((event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void) | undefined;
16
- size?: "small" | "medium" | "large" | undefined;
13
+ href?: string;
14
+ onClick?: (event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void;
15
+ onMouseEnter?: (event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void;
16
+ size?: "small" | "medium" | "large";
17
17
  renderIcon?: import("@instructure/shared-types").Renderable;
18
- iconPlacement?: "start" | "end" | undefined;
18
+ iconPlacement?: "start" | "end";
19
19
  }>;
20
20
  static allowedProps: readonly (keyof {
21
21
  children: React.ReactNode;
22
- href?: string | undefined;
23
- onClick?: ((event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void) | undefined;
24
- onMouseEnter?: ((event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void) | undefined;
25
- size?: "small" | "medium" | "large" | undefined;
22
+ href?: string;
23
+ onClick?: (event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void;
24
+ onMouseEnter?: (event: React.MouseEvent<import("@instructure/ui-view").ViewOwnProps, MouseEvent>) => void;
25
+ size?: "small" | "medium" | "large";
26
26
  renderIcon?: import("@instructure/shared-types").Renderable;
27
- iconPlacement?: "start" | "end" | undefined;
27
+ iconPlacement?: "start" | "end";
28
28
  })[];
29
29
  static defaultProps: {};
30
30
  ref: Element | null;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import React, { Component } from 'react';
2
+ import { Component } from 'react';
3
3
  import { jsx } from '@instructure/emotion';
4
4
  import { BreadcrumbLink } from './BreadcrumbLink';
5
5
  import type { BreadcrumbProps } from './props';
@@ -13,14 +13,14 @@ declare class Breadcrumb extends Component<BreadcrumbProps> {
13
13
  static propTypes: import("@instructure/shared-types").PropValidators<keyof {
14
14
  children?: React.ReactNode;
15
15
  label: string;
16
- size?: "small" | "medium" | "large" | undefined;
17
- margin?: import("@instructure/emotion").Spacing | undefined;
16
+ size?: "small" | "medium" | "large";
17
+ margin?: import("@instructure/emotion").Spacing;
18
18
  }>;
19
19
  static allowedProps: readonly (keyof {
20
20
  children?: React.ReactNode;
21
21
  label: string;
22
- size?: "small" | "medium" | "large" | undefined;
23
- margin?: import("@instructure/emotion").Spacing | undefined;
22
+ size?: "small" | "medium" | "large";
23
+ margin?: import("@instructure/emotion").Spacing;
24
24
  })[];
25
25
  static defaultProps: {
26
26
  size: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Breadcrumb/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKxC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAMjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AAEH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAGjB,kBAAkB;IAIlB,MAAM,CAAC,IAAI,wBAAiB;IAE5B,cAAc;IAkBd,MAAM;CAeP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Breadcrumb/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKxC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAMjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AAEH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS;mBAbX,MAAO,SAAS;;;;OAaO;IAC5B,MAAM,CAAC,YAAY;yBAdP,SAAS;;;;SAca;IAClC,MAAM,CAAC,YAAY;;;MAGlB;IAED,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,iBAAiB;IAGjB,kBAAkB;IAIlB,MAAM,CAAC,IAAI,wBAAiB;IAE5B,cAAc;IAkBd,MAAM;CAeP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
3
2
  import type { BreadcrumbTheme, PropValidators } from '@instructure/shared-types';
4
3
  type BreadcrumbOwnProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Breadcrumb/props.ts"],"names":[],"mappings":";AA+BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAEhF,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,QAAQ,GAAG,MAAM,kBAAkB,CAAA;AAExC,KAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,KAAK,eAAe,GAAG,kBAAkB,GACvC,cAAc,CAAC,eAAe,EAAE,eAAe,CAAC,CAAA;AAElD,KAAK,eAAe,GAAG,cAAc,CAAC,YAAY,GAAG,OAAO,GAAG,WAAW,CAAC,CAAA;AAE3E,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAKvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAAyD,CAAA;AAE7E,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Breadcrumb/props.ts"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAEhF,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,QAAQ,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