@instructure/ui-breadcrumb 8.33.2-snapshot-0 → 8.33.2

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.
@@ -11,13 +11,6 @@ declare class BreadcrumbLink extends Component<BreadcrumbLinkProps> {
11
11
  static readonly componentId = "Breadcrumb.Link";
12
12
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
13
13
  children: React.ReactNode;
14
- /**
15
- ---
16
- parent: Breadcrumb
17
- id: Breadcrumb.Link
18
- ---
19
- @tsProps
20
- **/
21
14
  href?: string | undefined;
22
15
  onClick?: ((event: React.MouseEvent<import("@instructure/ui-view/types/View/props").ViewOwnProps, MouseEvent>) => void) | undefined;
23
16
  size?: "small" | "medium" | "large" | undefined;
@@ -26,13 +19,6 @@ declare class BreadcrumbLink extends Component<BreadcrumbLinkProps> {
26
19
  }>;
27
20
  static allowedProps: readonly (keyof {
28
21
  children: React.ReactNode;
29
- /**
30
- ---
31
- parent: Breadcrumb
32
- id: Breadcrumb.Link
33
- ---
34
- @tsProps
35
- **/
36
22
  href?: string | undefined;
37
23
  onClick?: ((event: React.MouseEvent<import("@instructure/ui-view/types/View/props").ViewOwnProps, MouseEvent>) => void) | undefined;
38
24
  size?: "small" | "medium" | "large" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;GAMG;AAEH,cACM,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS;;QAZlB;;;;;;WAMG;;;;;;OAM2B;IAC5B,MAAM,CAAC,YAAY;;QAbrB;;;;;;WAMG;;;;;;SAOiC;IAClC,MAAM,CAAC,YAAY,KAAK;IAExB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,MAAM;CAmBP;AAED,eAAe,cAAc,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQxC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAElD;;;;;;GAMG;AAEH,cACM,cAAe,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,WAAW,qBAAoB;IAE/C,MAAM,CAAC,SAAS;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY,KAAK;IAExB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAE9B;IAED,MAAM;CAmBP;AAED,eAAe,cAAc,CAAA;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
- import type { OtherHTMLAttributes, PropValidators, Renderable } from '@instructure/shared-types';
2
+ import type { PickPropsWithExceptions, OtherHTMLAttributes, PropValidators, Renderable } from '@instructure/shared-types';
3
3
  import type { ViewOwnProps } from '@instructure/ui-view';
4
+ import type { LinkProps } from '@instructure/ui-link';
4
5
  declare type BreadcrumbLinkOwnProps = {
5
6
  /**
6
7
  * Content to render as the crumb, generally should be text.
@@ -29,9 +30,7 @@ declare type BreadcrumbLinkOwnProps = {
29
30
  };
30
31
  declare type PropKeys = keyof BreadcrumbLinkOwnProps;
31
32
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
32
- declare type BreadcrumbLinkProps = BreadcrumbLinkOwnProps & OtherHTMLAttributes<BreadcrumbLinkOwnProps> & {
33
- to?: string;
34
- };
33
+ declare type BreadcrumbLinkProps = PickPropsWithExceptions<LinkProps, 'children' | 'href' | 'onClick' | 'renderIcon' | 'iconPlacement' | 'isWithinText' | 'elementRef'> & BreadcrumbLinkOwnProps & OtherHTMLAttributes<BreadcrumbLinkOwnProps & LinkProps>;
35
34
  declare const propTypes: PropValidators<PropKeys>;
36
35
  declare const allowedProps: AllowedPropKeys;
37
36
  export type { BreadcrumbLinkProps };
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/Breadcrumb/BreadcrumbLink/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,UAAU,EACX,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,aAAK,sBAAsB,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,KAAK,IAAI,CAAA;IACrE;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAChC,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,sBAAsB,CAAA;AAE5C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,a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